[ESS] ess-eldoc and insert-parentheses
Daniel Sabanés Bové
daniel.sabanesbove at campus.lmu.de
Sun Dec 23 11:54:31 CET 2007
Dear ESS users,
[I'm using https://svn.r-project.org/ESS/trunk/lisp/ess-eldoc.el
with GNU Emacs 22.1.1 and ESS 5.3.6. on openSuse 10.3]
The syntax help works great, if I explicitly type the braces in
a function call, i.e. "plot("
then the arguments, and then the closing brace.
However, I always avoid typing single braces to reduce brace matching
problems and use insert-parentheses, which is bound to "M-(". Unfortunately
this destroys the online syntax help provided by ess-eldoc, because
the command inserts a space before the opening brace
("plot ()" instead of the required "plot()")
and the minibuffer is empty when I'm inside the brace pair.
Is it possible to retain the space between the function name and the
(which enhances readability of the code) and benefit from ess-eldoc at
the same time?
thank you very much in advance,
and merry Christmas :-)
More information about the ESS-help