running R under ESS inside emacs 21 prerelease
Stephen Eglen
stephen at cogsci.ed.ac.uk
Mon Jul 30 21:20:49 CEST 2001
>
> FM> Dear People, This is likely not news to anyone, but I'm
> FM> running Debian with a prerelase version of emacs 21
> FM> (21.0.104.2), ESS version (5.1.18-0), R (1.3.0-1) and doing
> FM> M-x-R locks it up solid. I've never seen any version of emacs
> FM> do this, ever. I guess that is why they call it a prerelease.
Hi, I'm running Ess 5.1.18 with the 21.0.104 release of Emacs (redhat
6.1 though). I had problems with earlier pre-releases on compaq Alpha
due to the change in comint code - I would eventually get a timout
error after trying M-x R. Try the followign code in your .emacs to
see if it helps:
(if (string-match "GNU Emacs 21" (emacs-version))
(add-hook 'inferior-ess-mode-hook 'my-inf-ess-hook))
(defun my-inf-ess-hook ()
"Use regexps rather than field boundarys for movement in inferior buffers.
Only needed for GNU Emacs 21."
(set (make-local-variable 'comint-use-prompt-regexp-instead-of-fields) t))
look at the doc for that comint- variable for more information.
Cheers, Stephen
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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