[ESS] confusion with Perl and R-mode in XEmacs

Stephen Eglen S.J.Eglen at damtp.cam.ac.uk
Thu Oct 21 22:46:39 CEST 2010

hi Alex,
I've just changed ess-site.el in the repository to the following:

;; Rscript and littler interpreters recognized.  XEmacs entries can 
;; be regexps, which complicates matters as "r" on its own matches 
;; other interpeters like "perl".
(add-to-list 'interpreter-mode-alist '("Rscript" . r-mode))
(add-to-list 'interpreter-mode-alist
	     (cons (if (featurep 'xemacs) "r$" "r")    'r-mode))


More information about the ESS-help mailing list