"<=" in R or S

mikalzet at libero.it mikalzet at libero.it
Tue Oct 3 20:16:54 CEST 2000


On Mon, 2 Oct 2000, Hans Ehrbar wrote:

> Pierre, the function bound to a key must be an interactive
> command.  Furthermore, I did not have success assigning
> anything to control-=, but I found that Ctrl-^ was
> unassigned in my version of ess-mode, therefore the
> following worked for me:
> 
>   (defun R-equals () (interactive) (insert " <- "))
>   (define-key ess-mode-map "\C-^" 'R-equals)

whereas Pierre wrote :

> >   (defun R-equals () (insert "<-"))
> >   (global-set-key [?\C-=] 'R-equals)

Neither work for me ( xemacs on linux mandrake 7.1 ).

The first says that ess-mode-map doesn't exist or something like that,
- gives an error message on startup and suggests I debug -
the second says that  the key is undefined.

R on Xemacs seems to work OK for the rest.

-- 
Dr. Michele Alzetta


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
ess-help mailing list -- To (un)subscribe, send
subscribe	or	unsubscribe
(in the "body", not the subject !)  To: ess-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the ESS-help mailing list