[ESS] elisp code: show function arguments
Charles C. Berry
cberry at tajo.ucsd.edu
Tue Apr 3 18:26:15 CEST 2007
Thanks, great!
Works fine on emacs 21.3 on Windows XP, running R version 2.4.1, ESS
version 5.3.3.
Also fine on emacs 21.3, Gentoo Linux 2006.1 x86_64, running R version
2.4.1, ESS version 5.3.3.
Only difficulties were in binding a key - and these were my own problems
since the key I wanted ( C-\t ) is not properly transmitted from my
keyboard here at home to my remote Linux box.
FWIW, it may help users to check that the system passes the keystroke to
emacs (e.g. C-h k F2) before binding it and/or check that
'M-x my-r-show-args RET' works.
Some desktop environments don't pass [f2].
Chuck
On Mon, 2 Apr 2007, Sven Hartenstein wrote:
> Dear friends of Emacs and R,
>
> I wrote an emacs lisp function that shows a R-function's arguments and
> their default values on a single keystroke or as you type the opening
> paranthesis ("(") after a function name. People like me who can't
> remember all the parameter's names can thus very easily see them.
>
> See screenshots and get it here:
> http://www.svenhartenstein.de/emacs-ess.php
>
> The function uses ESS functions. I consider it quite handy and would
> be interested to know whether anything similar existed already and how
> it could be improved in case someone else considers it useful. (This
> is one of my first lisp functions, I'm sure there's much to optimize.)
> In fact, any feedback is highly appreciated.
>
> Happy R-coding,
>
> Sven
>
> ______________________________________________
> ESS-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help
>
Charles C. Berry (858) 534-2098
Dept of Family/Preventive Medicine
E mailto:cberry at tajo.ucsd.edu UC San Diego
http://biostat.ucsd.edu/~cberry/ La Jolla, San Diego 92093-0901
More information about the ESS-help
mailing list