[ESS] File mode specification error

Martin Maechler maechler at stat.math.ethz.ch
Mon Dec 31 13:43:09 CET 2007


>>>>> "TobiasV" == Tobias Verbeke <tobias.verbeke at telenet.be>
>>>>>     on Sat, 29 Dec 2007 19:36:37 +0100 writes:

    TobiasV> Dear list, When opening a .Rnw file using emacs22,
    TobiasV> things work flawlessly.

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

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

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

    TobiasV> Any ideas about what might be the cause ?

Not yet..  I'm busy today with other matters.. but it is a bug

I can reproduce it; 
interestingly it does *not* happen with emacs 21.x
(ubuntu/debian package "emacs-21")
but  happens with 22.1  

Regards,
Martin

    TobiasV> Thanks in advance,
    TobiasV> Tobias

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

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

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

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

    TobiasV> ______________________________________________
    TobiasV> ESS-help at stat.math.ethz.ch mailing list
    TobiasV> https://stat.ethz.ch/mailman/listinfo/ess-help


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

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

    TobiasV> Any ideas about what might be the cause ?

    TobiasV> Thanks in advance, Tobias

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

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

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

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

    TobiasV> ______________________________________________
    TobiasV> ESS-help at stat.math.ethz.ch mailing list
    TobiasV> https://stat.ethz.ch/mailman/listinfo/ess-help




More information about the ESS-help mailing list