Re: Wrong type argument: stringp, nil on global-ede-mode
Dumsani Ndzinisa <[email protected]> Mon, 4 Jan 2016 10:58:56 +0200
| Newsgroups | gmane.emacs.cedet |
|---|---|
| Message-ID | <CADfKch0uMN=0J0xZmfj+y7+XXrD9yh0nwk15YzTGTdZaR4FVaw@mail.gmail.com> |
--===============6969661433728428738==
Content-Type: multipart/alternative; boundary=047d7b418403c5e20005287e5420
--047d7b418403c5e20005287e5420
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Hi Eric, Everyone,
Below is the error message and a backtrace from the Emacs debugger. I opene=
d
Emacs with the -q option and then evaluated the statements in my .emacs
init file
individually using C-x C-e.
Debugger entered--Lisp error: (wrong-type-argument stringp nil)
file-name-as-directory(nil)
#[(this dir) "\306=08!=19\307\n\310\"\211=1B;\205=12\311
\"\211=1C\203!\f\205D\312\f!\202D\307\n\313\"\211=1D;\203/\314\202C\315
!\205C
\205C\316
!\205C\317
=08\")+\207" [dir d this pf f dirmatch file-name-as-directory eieio-oref
proj-file expand-file-name file-exists-p proj-root-dirmatch nil
ede-project-autoload-dirmatch-p ede-dirmatch-installed ede-do-dirmatch] 4
"Return non-nil if THIS project autoload is found in
DIR."]([eieio-class-tag--ede-project-autoload "Make" ede/proj "Project.ede"
nil nil unbound nil ede-proj-load ede-proj-project nil t nil] nil)
apply(#[(this dir) "\306=08!=19\307\n\310\"\211=1B;\205=12\311
\"\211=1C\203!\f\205D\312\f!\202D\307\n\313\"\211=1D;\203/\314\202C\315
!\205C
\205C\316
!\205C\317
=08\")+\207" [dir d this pf f dirmatch file-name-as-directory eieio-oref
proj-file expand-file-name file-exists-p proj-root-dirmatch nil
ede-project-autoload-dirmatch-p ede-dirmatch-installed ede-do-dirmatch] 4
"Return non-nil if THIS project autoload is found in DIR."]
[eieio-class-tag--ede-project-autoload "Make" ede/proj "Project.ede" nil
nil unbound nil ede-proj-load ede-proj-project nil t nil] nil)
ede-auto-detect-in-dir([eieio-class-tag--ede-project-autoload "Make"
ede/proj "Project.ede" nil nil unbound nil ede-proj-load ede-proj-project
nil t nil] nil)
ede--detect-ldf-root-predicate("~/")
locate-dominating-file("~/" ede--detect-ldf-root-predicate)
ede--detect-scan-directory-for-project-root("~/"
[eieio-class-tag--ede-project-autoload "Make" ede/proj "Project.ede" nil
nil unbound nil ede-proj-load ede-proj-project nil t nil])
ede-detect-directory-for-project("/home/dumsani/")
ede-directory-project-cons("~/")
ede-initialize-state-current-buffer()
ede-reset-all-buffers()
global-ede-mode(t)
eval-buffer(#<buffer *load*> nil
"/home/dumsani/.emacs.d/custom/setup-cedet.el" nil t) ; Reading at buffer
position 512
load-with-code-conversion("/home/dumsani/.emacs.d/custom/setup-cedet.el"
"/home/dumsani/.emacs.d/custom/setup-cedet.el" nil t)
require(setup-cedet)
eval((require (quote setup-cedet)) nil)
elisp--eval-last-sexp(nil)
eval-last-sexp(nil)
funcall-interactively(eval-last-sexp nil)
call-interactively(eval-last-sexp nil nil)
command-execute(eval-last-sexp)
On Mon, Jan 4, 2016 at 2:05 AM, Eric Ludlam <[email protected]> wrote:
> On 01/03/2016 01:54 PM, Dumsani Ndzinisa wrote:
>
>> Hi,
>>
> [...]
>
>> However, the process always fails when the line (global-ede-mode) gets
>> executed in my
>> init file. I am attaching my init file (~/.emacs) as well as my
>> customization file for setting
>> up CEDET (as guided by one of the sources I mentioned above).
>>
>> I'm using Emacs 25.1.5, installed from source (on GNU Linux Mint,
>> gcc/g++ 4.8, x86) after
>> cloning the Emacs' git repo. There is a stock CEDET installation coming
>> with this version
>> of Emacs, and according to my Emacs package manager (M-x cedet-version),
>> the version
>> of CEDET in here is 2.0.
>>
>>
> I tried your setup file w/ a fresh Emacs from git, and it seemed to load
> with no error for me. Could you paste in what the error message is? Your
> setup seems fine to me.
>
> Thanks
> Eric
>
--=20
Dumsani
--047d7b418403c5e20005287e5420
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr">Hi Eric, Everyone,<div><br></div><div>Below is the error m=
essage and a backtrace from the Emacs debugger. I opened</div><div>Emacs wi=
th the -q option and then evaluated the statements in my .emacs init file</=
div><div>individually using C-x C-e.=C2=A0</div><div><br></div><div><div>De=
bugger entered--Lisp error: (wrong-type-argument stringp nil)</div><div>=C2=
=A0 file-name-as-directory(nil)</div><div>=C2=A0 #[(this dir) "\306=08=
!=19\307\n\310\"\211=1B;\205=12\311=0B<span class=3D"" style=3D"white-=
space:pre"> </span>\"\211=1C\203!\f\205D\312\f!\202D\307\n\313\"\=
211=1D;\203/\314\202C\315</div><div>!\205C</div><div>\205C\316</div><div>!\=
205C\317</div><div>=08\")+\207" [dir d this pf f dirmatch file-na=
me-as-directory eieio-oref proj-file expand-file-name file-exists-p proj-ro=
ot-dirmatch nil ede-project-autoload-dirmatch-p ede-dirmatch-installed ede-=
do-dirmatch] 4 "Return non-nil if THIS project autoload is found in DI=
R."]([eieio-class-tag--ede-project-autoload "Make" ede/proj =
"Project.ede" nil nil unbound nil ede-proj-load ede-proj-project =
nil t nil] nil)</div><div>=C2=A0 apply(#[(this dir) "\306=08!=19\307\n=
\310\"\211=1B;\205=12\311=0B<span class=3D"" style=3D"white-space:pre"=
> </span>\"\211=1C\203!\f\205D\312\f!\202D\307\n\313\"\211=1D;\20=
3/\314\202C\315</div><div>!\205C</div><div>\205C\316</div><div>!\205C\317</=
div><div>=08\")+\207" [dir d this pf f dirmatch file-name-as-dire=
ctory eieio-oref proj-file expand-file-name file-exists-p proj-root-dirmatc=
h nil ede-project-autoload-dirmatch-p ede-dirmatch-installed ede-do-dirmatc=
h] 4 "Return non-nil if THIS project autoload is found in DIR."] =
[eieio-class-tag--ede-project-autoload "Make" ede/proj "Proj=
ect.ede" nil nil unbound nil ede-proj-load ede-proj-project nil t nil]=
nil)</div><div>=C2=A0 ede-auto-detect-in-dir([eieio-class-tag--ede-project=
-autoload "Make" ede/proj "Project.ede" nil nil unbound=
nil ede-proj-load ede-proj-project nil t nil] nil)</div><div>=C2=A0 ede--d=
etect-ldf-root-predicate("~/")</div><div>=C2=A0 locate-dominating=
-file("~/" ede--detect-ldf-root-predicate)</div><div>=C2=A0 ede--=
detect-scan-directory-for-project-root("~/" [eieio-class-tag--ede=
-project-autoload "Make" ede/proj "Project.ede" nil nil=
unbound nil ede-proj-load ede-proj-project nil t nil])</div><div>=C2=A0 ed=
e-detect-directory-for-project("/home/dumsani/")</div><div>=C2=A0=
ede-directory-project-cons("~/")</div><div>=C2=A0 ede-initialize=
-state-current-buffer()</div><div>=C2=A0 ede-reset-all-buffers()</div><div>=
=C2=A0 global-ede-mode(t)</div><div>=C2=A0 eval-buffer(#<buffer =C2=A0*l=
oad*> nil "/home/dumsani/.emacs.d/custom/setup-cedet.el" nil t=
) =C2=A0; Reading at buffer position 512</div><div>=C2=A0 load-with-code-co=
nversion("/home/dumsani/.emacs.d/custom/setup-cedet.el" "/ho=
me/dumsani/.emacs.d/custom/setup-cedet.el" nil t)</div><div>=C2=A0 req=
uire(setup-cedet)</div><div>=C2=A0 eval((require (quote setup-cedet)) nil)<=
/div><div>=C2=A0 elisp--eval-last-sexp(nil)</div><div>=C2=A0 eval-last-sexp=
(nil)</div><div>=C2=A0 funcall-interactively(eval-last-sexp nil)</div><div>=
=C2=A0 call-interactively(eval-last-sexp nil nil)</div><div>=C2=A0 command-=
execute(eval-last-sexp)</div></div></div><div class=3D"gmail_extra"><br><di=
v class=3D"gmail_quote">On Mon, Jan 4, 2016 at 2:05 AM, Eric Ludlam <span d=
ir=3D"ltr"><<a href=3D"mailto:[email protected]" target=3D"_blank">e=
[email protected]</a>></span> wrote:<br><blockquote class=3D"gmail_qu=
ote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex=
">On 01/03/2016 01:54 PM, Dumsani Ndzinisa wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
Hi,<br>
</blockquote>
[...]<span class=3D""><br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
However, the process always fails when the line (global-ede-mode) gets<br>
executed in my<br>
init file. I am attaching my init file (~/.emacs) as well as my<br>
customization file for setting<br>
up CEDET (as guided by one of the sources I mentioned above).<br>
<br>
I'm using Emacs 25.1.5, installed from source (on GNU Linux Mint,<br>
gcc/g++ 4.8, x86) after<br>
cloning the Emacs' git repo. There is a stock CEDET installation coming=
<br>
with this version<br>
of Emacs, and according to my Emacs package manager (M-x cedet-version),<br=
>
the version<br>
of CEDET in=C2=A0 here is 2.0.<br>
<br>
</blockquote>
<br></span>
I tried your setup file w/ a fresh Emacs from git, and it seemed to load wi=
th no error for me.=C2=A0 Could you paste in what the error message is? You=
r setup seems fine to me.<br>
<br>
Thanks<span class=3D"HOEnZb"><font color=3D"#888888"><br>
Eric<br>
</font></span></blockquote></div><br><br clear=3D"all"><div><br></div>-- <b=
r><div class=3D"gmail_signature">Dumsani<br></div>
</div>
--047d7b418403c5e20005287e5420--
--===============6969661433728428738==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
------------------------------------------------------------------------------
--===============6969661433728428738==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Cedet-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cedet-devel
--===============6969661433728428738==--