[ESS] error when activating R-mode
Rainer M Krug
Rainer at krugs.de
Wed Sep 4 15:33:09 CEST 2013
Hi
yesterday I discovered that I can't use R-mode anymore.
The git version is not working, 5.14 is.
The error message when opening an .R file is:
,----
| File mode specification error: (invalid-function
| with-silent-modifications)
`----
although the function exists
I tried it with starting with -Q and loading my ess config file (below)
Emacs version:
,----
| GNU Emacs 24.3.1 (x86_64-apple-darwin, NS apple-appkit-1038.36) of 2013-03-13 on bob.porkrind.org
`----
Any suggestions?
Thanks,
Rainer
,----
| (add-to-list 'load-path "~/.emacs.d/ess/lisp")
| ;; (load "~/.emacs.d/ess/lisp/ess-site")
| (require 'ess-site)
|
| (setq ess-help-kill-bogus-buffers t)
|
| (setq ess-help-own-frame 'one)
|
| (setq ess-tab-complete-in-script t)
|
| ;; (define-key ac-completing-map (kbd "M-h") 'ac-quick-help)
|
| (setq ess-tracebug-prefix "\M-t")
| (setq ess-use-tracebug t)
|
| (setq inferior-R-args "--vanilla")
| (setq ess-eval-visibly-p nil)
| (setq inferior-ess-same-window t)
| (setq inferior-ess-client-command "Initial")
| (setq inferior-ess-own-frame nil)
| (setq ess-ask-for-ess-directory "TRUE")
|
| (add-hook 'ess-mode-hook
| '(lambda()
| (font-lock-add-keywords nil
| '(
| ("\\<\\(FIXME\\|TODO\\|COMMENT\\|DONE\\|CHANGES\\|FIXED\\)\\>" 1 font-lock-warning-face prepend) ; highlight certain keywords
| ("\\<\\(if\\|for\\|function\\|return\\)\\>[\n[:blank:]]*(" 1 font-lock-keyword-face) ; must go first to override highlighting below
| ("\\<\\([.A-Za-z][._A-Za-z0-9]*\\)[\n[:blank:]]*(" 1 font-lock-function-name-face) ; highlight function names
| ("\\([(,]\\|[\n[:blank:]]*\\)\\([.A-Za-z][._A-Za-z0-9]*\\)[\n[:blank:]]*=[^=]" 2 font-lock-reference-face) ; highlight argument names
| ))
| ))
`----
--
Rainer M. Krug
email: RMKrug<at>gmail<dot>com
More information about the ESS-help
mailing list