[ESS] ess-r-args-show
Sven Hartenstein
lists at svenhartenstein.de
Mon Aug 15 20:22:59 CEST 2011
Hi,
not an answer to your question, but you might like r-autoyas, which
inserts the arguments as a yasnippet.
Details: http://www.svenhartenstein.de/Software/R-autoyas
Screencast of old version: http://www.youtube.com/watch?v=jLJPorf2LBE
Sven
Am 15.08.2011 10:57, schrieb Patrick Connolly:
> Dear ESS genii,
>
> At some stage, I found this bit for my ~/.emacs file which I find very
> useful.
>
>
> ;; Show function argument completion while editing R code and
> ;; interacting with an inferior R process
> (define-key ess-mode-map [f5] 'ess-r-args-show)
> (define-key ess-mode-map [f6] 'ess-r-args-insert)
> (define-key inferior-ess-mode-map [f5] 'ess-r-args-show)
> (define-key inferior-ess-mode-map [f6] 'ess-r-args-insert)
>
>
> Being a fan of lazy typing, I find it arduous to press the F5 key
> after I've gone to all the bother of typing a function name and then
> an opening bracket. My question is what would I need to add to the
> .emacs file so that the args appeared as though I'd pressed F5? I
> seem to remember seeing that happen when a colleague was using Vincent
> Goulet's GNU Emacs Windows distribution.
>
> TIA
>
>
More information about the ESS-help
mailing list