Kyle R. Burton on 8 Jul 2008 06:39:52 -0700 |
On Tue, Jul 8, 2008 at 9:29 AM, Andrew Gwozdziewycz <apgwoz@gmail.com> wrote: > > So, do these enhancements benefit the entire perl community? If so, would > it be useful to temporarily fork cperl-mode and integrate them into it > and maybe then merged back into the distributed cperl-mode? The > derived mode seems like a good approach, but you're probably unlikely > to get much traction. cperl-mode already has a major audience, > enhancing it itself will get you fame, fortune and lots of women. The whole point of us doing this is to benefit the community rather than just keeping them to ourselves. That is perhaps true (should offer back to cperl-mode), and once we've got traction with our extensions (working code outside of our enviornment) we should seek to offer them back to cperl-mode. That's a great suggestion! Thanks. Initially the thing I worry about is, philosophically, many of our extensions champion a few ideals, all based on not interrupting the programmer's flow, that I don't always see people adapting to (some of them have taken me some effort to decide that it was worth the investment of changing how I worked/thought about writing code): - work with the language constructions, not the text - this is not how all emacs users think (based on my observations) - you'll be using a logging system (Log4perl) - you'll be using a unit testing system (Test::Unit::TestCase) - and the tests (currently) are organized as Module::Test::Foo for Moudle::Foo's test - and run them from within emacs, we've implemented a rudimentary next-error/prev-error and stacktrace walker - we're keybinding crazy - if a feature hits 90% of the cases and fails on 10% we'll still implement and use it with the hope that we'll work at chipping down the 10%. One thing that we just discussed adding, possibly to the existing 'organize imports/use statements' feature, was a prompt driven CPAN auto-install - so you can just use modules in your app and then invoke one of the functions to have it go and install the necessary libraries. We're open to more ideas as well. Thanks for the discussion. Kyle
|
|