in reply to Re^5: How has your coding style changed over the years?
in thread How has your coding style changed over the years?
I'm sure you know this already, but just in case
> Be able to restrict the perltidy-run to the current function,
M-x mark-defun aka C-M-h selects the current function.
> or the current region (i.e. avoid cosmetic changes in untouched places of the file which mess up VC history)
That's what M-x shell-command-on-region does, if you don't mark-whole-buffer
IOW the right combination of these three commands do the job.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
|
---|
In Section
Meditations