I could narrow the problem a bit. When installing ada-mode via ELPA I
get a (elisp)compiler error:
Leaving directory `/home/re/.emacs.d/elpa/wisi-1.0.4'
Compiling file /home/re/.emacs.d/elpa/wisi-1.0.4/wisi-compat-24.2.el at
Sun May 11 16:14:20 2014
Entering directory `/home/re/.emacs.d/elpa/wisi-1.0.4/'
Compiling file /home/re/.emacs.d/elpa/wisi-1.0.4/wisi-compile.el at Sun
May 11 16:14:20 2014
wisi-compile.el:53:10:Error: Wrong type argument: stringp, nil
Looking at wisi-compile.el, the offending line is:
(load (locate-library "semantic/wisent/comp.el")))
I cannot find semantic/wisent/comp.el, neither, on my computer. Where do
I get it?
Later on there are other errors:
Compiling file /home/re/.emacs.d/elpa/ada-mode-5.1.3/ada-wisi.el at Sun
May 11 16:14:24 2014
ada-wisi.el:31:1:Error: Wrong type argument: stringp, nil
Line 31 is
(require 'ada-grammar-wy)
And
Compiling file /home/re/.emacs.d/elpa/ada-mode-5.1.3/gpr-grammar-wy.el
at Sun May 11 16:14:24 2014
gpr-grammar-wy.el:20:1:Error: Wrong type argument: stringp, nil
Line 20 is:
(require 'wisi-compile)
and we're back.
Regards
Rolf
Am 11.05.2014 16:30, schrieb Rolf Ebert:
I installed Debian Wheezy with the latests Emacs (24.3)
Emacs already comes with a recent ada-mode. I didn't find the
corresponding gpr-mode, however. In the attempt to install it, I
followed Stephe's hints on his homepage and added (package-initialize)
and installed ada-mode from there. Now I get an error whenever I
(require 'ada-mode) or (require 'gpr-mode):
Debugger entered--Lisp error: (wrong-type-argument stringp nil)
load(nil)
(progn (load (locate-library "semantic/wisent/comp.el")))
eval-buffer(#<buffer *load*-284567> nil
"/home/re/.emacs.d/elpa/wisi-1.0.4/wisi-compile.el" nil t) ; Reading at
buffer position 2179
load-with-code-conversion("/home/re/.emacs.d/elpa/wisi-1.0.4/wisi-compile.el"
"/home/re/.emacs.d/elpa/wisi-1.0.4/wisi-compile.el" nil t)
require(wisi-compile)
eval-buffer(#<buffer *load*-533928> nil
"/home/re/.emacs.d/elpa/ada-mode-5.1.3/ada-grammar-wy.el" nil t) ;
Reading at buffer position 806
load-with-code-conversion("/home/re/.emacs.d/elpa/ada-mode-5.1.3/ada-grammar-wy.el"
"/home/re/.emacs.d/elpa/ada-mode-5.1.3/ada-grammar-wy.el" nil t)
require(ada-grammar-wy)
eval-buffer(#<buffer *load*-979973> nil
"/home/re/.emacs.d/elpa/ada-mode-5.1.3/ada-wisi.el" nil t) ; Reading at
buffer position 1052
load-with-code-conversion("/home/re/.emacs.d/elpa/ada-mode-5.1.3/ada-wisi.el"
"/home/re/.emacs.d/elpa/ada-mode-5.1.3/ada-wisi.el" nil t)
require(ada-wisi)
(if (featurep (quote ada-indent-engine)) nil (require (quote ada-wisi)))
eval-buffer(#<buffer *load*-688761> nil
"/home/re/.emacs.d/elpa/ada-mode-5.1.3/ada-mode.el" nil t) ; Reading at
buffer position 94351
load-with-code-conversion("/home/re/.emacs.d/elpa/ada-mode-5.1.3/ada-mode.el"
"/home/re/.emacs.d/elpa/ada-mode-5.1.3/ada-mode.el" nil t)
require(ada-mode)
eval-buffer(#<buffer *load*> nil "/home/re/.emacs" nil t) ; Reading
at buffer position 859
load-with-code-conversion("/home/re/.emacs" "/home/re/.emacs" t t)
load("~/.emacs" t t)
#[0 "�\205\262
There must be some byte-compiled code that Emacs doesn't like, but I
couldn't find it.
What is the appropriate way to get the official gpr-mode into Emacs? (as
afallback I can still use my own old gpr-mode)
best regards
Rolf
_______________________________________________
Emacs-ada-mode mailing list
[email protected]
http://host114.hostmonster.com/mailman/listinfo/emacs-ada-mode_stephe-leake.org