Re: [ESS] void-function ess-message [SOLVED?]

2017-09-25 Thread Boylan, Ross
I did a make clean and then make, and now everything seems to be working.

If anyone has a more precise understanding of the source of the previous error, 
I'd love to know.  My theory was that the old elc files were screwing things up.

There were also a bunch of warnings associated with the make; I can share them 
if anyone is interested.

Ross
__
ESS-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help


[ESS] void-function ess-message

2017-09-25 Thread Boylan, Ross
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.


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(# 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()

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

__
ESS-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help