[ESS] elisp code: show function arguments

Mathieu Basille basille at biomserv.univ-lyon1.fr
Tue Apr 3 19:41:19 CEST 2007


Hi again,

One issue with the very convenient tool Sven made up: there is a 
conflict with the function I use to automagically close parentheses when 
I open one. I use the following:

(defun insert-parentheses () "insert parentheses and go between them"
  (interactive)
(insert "()")
(backward-char 1))
(global-set-key "(" 'insert-parentheses) ;; inserts "()"

which doesn't work any more in a ESS buffer with Sven's function. Any 
idea how to circumvent this problem and having the best of both worlds? 
One solution would be not to use the automatic mode of Sven's function 
and just the call by F2 (oe any other key). But I like very much the 
automatic mode!
Mathieu

-- 

           Mathieu Basille - Doctorant

.------------------------------------------------.
| Laboratoire de Biométrie et Biologie Evolutive |
|    Université Claude Bernard Lyon1 - France    |
`------------------------------------------------'
     basille(at)biomserv(dot)univ-lyon1(dot)fr




More information about the ESS-help mailing list