[ESS] void-function ess-message
Boylan, Ross
Ross.Boylan at ucsf.edu
Mon Sep 25 21:42:46 CEST 2017
I just updated ESS to the latest git version (62994e21c816e2bdd0e5b74f8cfdc00e6bb6c088), and now get the error about ess-message being undefined on startup. Any ideas what the problem is?
The function ess-message seems to be defined in both ess-comp and ess-utils, so perhaps this is some kind of sequencing issue? Or it should only be defined once?
Details:
Debian GNU/Linux 8.9. Emacs 24.4.1.
My .emacs file has
----------------------
let ((mydir "~ross/ESS/lisp"))
(if (file-readable-p mydir)
(setq load-path (append load-path (list mydir)))
(load "ess-site")))
(load "ess-site")
----------------------------------------------
The condition in the if is true.
<emacs debug>
ebugger entered--Lisp error: (void-function ess-message)
ess-message("[ess-site:] ess-lisp-directory = '/home/ross/ESS/lisp'")
byte-code("\301\302\303^H!\"\210\304\305!\210\306\307\310^H\"!\207" [ess-lisp-directory add-to-list load-path file-name-as-directory r$
load("ess-site")
eval-buffer(#<buffer *load*> nil "/home/ross/.emacs" nil t) ; Reading at buffer position 316
load-with-code-conversion("/home/ross/.emacs" "/home/ross/.emacs" t t)
load("~/.emacs" t t)
#[0 "^H\205\262^@ \306=\203^Q^@\307^H\310Q\202;^@ \311=\204^^^@\307^H\312Q\202;^@\313\307\314\315#\203*^@\316\202;^@\313\307\314\3$
command-line()
normal-top-level()
</emacs debug>
Buffer position 316 is just after the second (load "ess-site").
So I am using the directory from git directly. I don't always run make, but I did this time, and there were complaints at ess-compat:
[ess-site:] require 'ess-julia
Source file `/home/ross/ESS/lisp/ess-julia.el' newer than byte-compiled file
[ess-site:] require 'ess-sp3-d
Source file `/home/ross/ESS/lisp/ess-sp3-d.el' newer than byte-compiled file
[ess-s-l:] (def** ) only ...
Symbol's value as variable is void: ess-etc-directory
Makefile:115: recipe for target 'ess-compat.elc' failed
make[1]: *** [ess-compat.elc] Error 255
make[1]: Leaving directory '/home/ross/ESS/lisp'
Makefile:10: recipe for target 'all' failed
make: *** [all] Error 2
Maybe it was cut off early and somehow that messed things up? ess-utils.elc (among others) is much older than ess-utils.el.
Thanks.
Ross Boylan
More information about the ESS-help
mailing list