[ESS-bugs] ess-mode 5.1.13; font lock functions redefined?

Edward Susko susko at chase.mathstat.dal.ca
Fri Feb 6 01:29:31 CET 2004


Hello;

 I did a quick install of ess in site-lisp, copying ess-site.el to site-lisp and
 changing the lisp directory to
(defvar ess-lisp-directory
    (directory-file-name "/opt/share/emacs/site-lisp/ess-5.1.13/lisp"))
 Originally this created difficulties with font-lock mode: lines like
(global-font-lock-mode t)
 in .emacs files gave error messages. My guess is that font-lock functions are
 being redefined in a way that conflicts with usual font-lock mode. Recompiling
 emacs with the changes described below fixed all apparent
 problems. This is a relatively time consuming solution for other machines
 however. 

    Ed Susko 

In src/epaths.h, changing the ordering of directories in the path:

define PATH_LOADSEARCH
"/usr/local/share/emacs/21.2/site-lisp:/usr/local/share/emacs/site-lisp:/usr/local/share/emacs/21.2/leim:/usr/local/share/emacs/21.2/lisp"

to

#define PATH_LOADSEARCH
 "/usr/local/share/emacs/21.2/lisp:/usr/local/share/emacs/21.2/site-lisp:/usr/local/share/emacs/site-lisp"

SEEMS to fix things.

Emacs  : GNU Emacs 21.2.2 (sparc-sun-solaris2.6, X toolkit)
 of 2003-02-19 on chase
Package: ess-mode 5.1.13

current state:
==============
(setq
 ess-language "Initial"
 ess-dialect "Initial-dialect"
 ess-ask-for-ess-directory t
 ess-ask-about-transfile nil
 ess-directory nil
 ess-keep-dump-files "always"
 ess-source-directory "/tmp/"
 )
[ess-site.el]: ess-customize-alist=nil 
[ess-site.el _2_]: ess-customize-alist=nil




More information about the ESS-bugs mailing list