[ESS] ess-r-args-show

Patrick Connolly p_connolly at slingshot.co.nz
Mon Aug 15 10:57:35 CEST 2011


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


-- 
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.   
   ___    Patrick Connolly   
 {~._.~}                   Great minds discuss ideas    
 _( Y )_  	         Average minds discuss events 
(:_~*~_:)                  Small minds discuss people  
 (_)-(_)  	                      ..... Eleanor Roosevelt
	  
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.



More information about the ESS-help mailing list