[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

ESS 5.1.18 with Emacs 21 (was Re: minor problems with new emacs21 installation)



On Mon, 30 Jul 2001, Faheem Mitha wrote:

> > 3) M-x R locks up emacs 21. I've never seen anything do this before. This
> > command uses ESS to start up R. It is unlikely that someone else who is
> > reading this is using ESS, R and emacs 21, but I thought it worth
> > mentioning. I probably need to take this to the ESS mailing list.
> 
> This still seems to be a problem. I will have to address this to the
> specific forum, I think.

I just heard from someone on the ESS mailing list who suggested putting
the following in .emacs

;;Use this for ESS if using GNU Emacs 21

(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))

This works for me, though I don't have any idea what it is doing.

                          Sincerely, Faheem Mitha.






Reply to: