Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Using Emacs 22 with CPerl mode and using cperl-hairy, with electric parentheses, after typing "if ", rather than this:
if () { }
I want to get this:
if ( ) { }
That is, I want extra space around whatever I put in the parens (with the point placed between the two spaces). Would be nice to get the same sort of behaviour for brackets and curlies (braces) too. Does anyone know how to get cperl mode to do that? I checked the CPerlMode page on the Emacswiki but didn't see anything that specific.
Seems like not having the extra space in there is too cramped, but might have to just get used to it because typing "Space Space C-b" all the time is beginning to wear on me. :)
|
|---|