[ESS] File mode specification error

Tobias Verbeke tobias.verbeke at telenet.be
Sat Dec 29 19:36:37 CET 2007


Dear list,

When opening a .Rnw file using emacs22, things work flawlessly.

On the other hand, when using emacs22 -nw, the following error
is displayed on opening the same file:

File mode specification error: (void-function noweb-font-lock-mode)

The document opens and the modes displayed after this error message
are Fundamental Noweb. There is no appropriate font-locking and
the usual commands to interact with an R process (C-c C-n etc.)
appear not to function.

Any ideas about what might be the cause ?

Thanks in advance,
Tobias

P.S. emacs 22.1.1, ess 5.3.6 on ubuntu gutsy;
apart from

(load "/home/tobias/emacs/ess-5.3.6/lisp/ess-site")

no ESS-related things were put in my .emacs. The only other
snippet which might (?) be relevant is

   ;; turn on font lock
   (cond ((fboundp 'global-font-lock-mode)
          ;; Turn on font-lock in all modes that support it
          (global-font-lock-mode t)
          ;; Maximum colors
          (setq font-lock-maximum-decoration t)))




More information about the ESS-help mailing list