"<=" in R or S
Ed Kademan
kademan at phz.com
Wed Oct 4 19:06:30 CEST 2000
Hans Ehrbar <ehrbar at econ.utah.edu> writes:
> ...
> What is the difference between inferior-ess-mode-map
> and ess-mode-map?
> ...
The maps, as you probably know, map key sequences to commands. ESS
uses inferior-ess-mode-map in the interactive buffer that is running
the program---S or R for example---and uses ess-mode-map in the editor
buffer that is visiting a source file. I had forgotten that I equated
the underscore to "<-" in both maps, so the way to get ESS to
substitute "<-" for "_" both when you are editing and when you are
interacting is to put the following in your .emacs file
(add-hook
'inferior-ess-mode-hook
'(lambda ()
(define-key inferior-ess-mode-map "_" "<-")))
(add-hook
'ess-mode-hook
'(lambda ()
(define-key ess-mode-map "_" "<-")))
--
Ed Kademan 508.651.3700
PHZ Capital Partners 508.653.1745 (fax)
321 Commonwealth Road <kademan at phz.com>
Wayland, MA 01778
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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