in reply to Re^3: How has your coding style changed over the years?
in thread How has your coding style changed over the years?
I'm not sure I understand, isn't that just a shell-command-on-region command after a mark-whole-buffer ° ?
> For older versions of cperl-mode.el, here's the list of settings:
Thanks, especially (cperl-indent-parens-as-block . t) fixed a longstanding issue I had.
It would be nice tho to have a split screen scenario for experimentation.
Like with code on one side and "live" config on the other side, where every change is temporarily activated and demonstrated in the other screen. When happy you just save the config buffer to a file.
Hmm ... probably could be done with a macro already ...
I'm getting this result now when formatting, but neither my emacs nor my cperl-mode is the newest, and probably other configs are jinxed too...
for my $x (@x) { my %h = ( 'truncate' => { 'desc' => 'shorten a file', 'usage' => [ 'truncate FILEHANDLE,LENGTH', 'truncate EXPR,LENGTH', ] }, ); };
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
update
°) I'm pretty sure such code was included in PBP.