When using 'electric braces' in Visual Studio, MonoDevelop and other
tools, I like the behaviour where the closing brace is auto-detected.
(In the example, I show the insertion point as a bar)
If I type
the screen shows
I then key in my test expression, say isFalse (or whatever):
At this point, Visual studio and MonoDevelop realise that the next ')'
key I hit, really represents the ')' which is already there. It does not
add an additional ')' :
But in Emacs, currently using cperl, but also when using c#-mode, or
IIRC ruby-mode, emacs does add an additional ')' which leads to
following erroneous code:
I am pretty cinfident that Emacs can mimic the VS/MD behaviour. I just
did not find yet how to request it from good old Emacs.
Thanks in advance for any suggestions,
Expect a letter from a friend who will ask a favor of you.
http://vanhoecke.org ... and go2 places!