in reply to Re: Emacs CPerl mode electric parentheses: get extra space in there?
in thread Emacs CPerl mode electric parentheses: get extra space in there?

Let me be the first to say "ick."

You're the first! ;)

By the way, I don't like the extra spaces everywhere. For example, "$foo{bar}" and "$baz[1]" need no extra spaces. However, things like "if ( -e $file ) ..." look better to me with that extra space. More visual separatation I guess.

  • Comment on Re^2: Emacs CPerl mode electric parentheses: get extra space in there?

Replies are listed 'Best First'.
Re^3: Emacs CPerl mode electric parentheses: get extra space in there?
by educated_foo (Vicar) on Jul 01, 2008 at 22:53 UTC
    To me, it's uber-yuck on the level of putting spaces *before* commas. That said, I should also say something useful: download snippet.el. It's much better than cperl's electric mode, with a simple syntax to defined your own abbreviations, e.g. here.