[ESS] function syntax help

Ross Darnell r.darnell at uq.edu.au
Thu Oct 11 12:25:09 CEST 2007


Thanks Martin

I tried it on Windows Emacs and it works well.
This is GNU Emacs 22.1.50.1 (i386-mingw-nt5.1.2600)
 of 2007-07-08 on NEUTRINO
with R 2.5.1  and ESS 5.3.6


Thanks

Ross Darnell

-----Original Message-----
From: Martin Maechler [mailto:maechler at stat.math.ethz.ch] 
Sent: Thursday, 11 October 2007 7:00 PM
To: Frede Aakmann Tøgersen
Cc: Ross Darnell; ess-help at stat.math.ethz.ch
Subject: Re: [ESS] function syntax help

>>>>> "FAT" == Frede Aakmann Tøgersen <FredeA.Togersen at agrsci.dk>
>>>>>     on Thu, 11 Oct 2007 09:37:50 +0200 writes:

    FAT> See the answer by Stephen Eglen to a similar question:
    FAT> https://stat.ethz.ch/pipermail/ess-help/2007-August/004274.html

Also

- you can always look in the *Messages* buffer {but that's not
  what you want here}

- if you use the current default where "(" triggers the function
  argument "show", you can do something like

  (add-hook 'ess-mode-hook
	    '(lambda()
	       (define-key ess-mode-map '[f1] 'ess-r-args-show)))

  which makes [F1] show the function arguments {of the "current function"}.

 Unfortunately, I think [F1] is not something an Emacs mode like
 ESS is ``allowed'' to just redefine locally.

 Or is it, Stephen?   
 Do we have alternative unused (in ess-mode) "keys" that we
 could use?
 
- - - - 
    
The longer term approach is the one Stephen mentioned above:
    "ess-eldoc" which requires Emacs >= 22 
    		(and may not work in Xemacs at all ??) 

Martin  
 

    >> -----Oprindelig meddelelse----- Fra:
    >> ess-help-bounces at stat.math.ethz.ch
    >> [mailto:ess-help-bounces at stat.math.ethz.ch] På vegne af
    >> Ross Darnell Sendt: 11. oktober 2007 01:55 Til:
    >> ess-help at stat.math.ethz.ch Emne: [ESS] function syntax
    >> help
    >> 
    >> I notice the useful function syntax help in the
    >> minibuffer window for R.
    >> 
    >> 
    >> Sorry I don't have the technical term for this feature.
    >> 
    >> How can I ask ESS to display this as long as the function
    >> is incomplete?  It disappears a little quickly for my
    >> mind to digest.
    >> 
    >> 
    >> 
    >> Thanks
    >> 
    >> 
    >> 
    >> Ross Darnell
    >> 
    >> 
    >> 
    >> 
    >> [[alternative HTML version deleted]]
    >> 
    >> ______________________________________________
    >> ESS-help at stat.math.ethz.ch mailing list
    >> https://stat.ethz.ch/mailman/listinfo/ess-help
    >> 

______________________________________________
    FAT> ESS-help at stat.math.ethz.ch mailing list
    FAT> https://stat.ethz.ch/mailman/listinfo/ess-help




More information about the ESS-help mailing list