in reply to
The One True Style of indentation:
When faced with this dilemma Brothers you need only ask:
There's more than one way to do it, but only some of them actually work.
Actually, that's ambiguous...
Enter style: <TAB>
BSD CPerl GNU PerlStyle
C++ Current K&R Whitesmith
So, Emacs Would Do one of the seven/eight styles above, depending on how it's customized. :-)
perl -pe "s/\b;([mnst])/'\1/mg"
Not my Emacs -- I use XEmacs 21, which defaults into cperl-mode. The version and type of Emacs wasn't specified in the original post.
By rote learning.
Via Genetic memory.
It's provided by my firmware.
I just remember them.
Thirty days hath September
My computer gets it right, usually.
I just ask someone else.
Someone punches me on the first of the month.
Results (241 votes),