GNU bug report logs -
#19584
Problem with nil element in load-path in Emacs 24.4
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 19584 in the body.
You can then email your comments to 19584 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#19584
; Package
emacs
.
(Tue, 13 Jan 2015 16:43:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Håkon Hægland <hakon.hagland <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Tue, 13 Jan 2015 16:43:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
I just installed Emacs 24.4 from source (on Ubuntu 14.04). I now get the
following error when running Emacs:
Debugger entered--Lisp error: (wrong-type-argument stringp nil)
string-match("/[._]emacs\\.d/?\\'" nil nil)
command-line()
normal-top-level()
For debugging, I reduced my ~/.emacs init file to:
(setq debug-on-error t)
(add-to-list 'load-path nil)
Then the error occurs only when starting Emacs with two arguments, where
the first argument is an option, for example --no-splash, and the second
argument is a file name with a suffix, for example a.txt. Some other
observations:
If I remove the option (--no-splash) it works fine,
if I remove the line (add-to-list 'load-path nil) it works fine,
if I run with Emacs v. 24.3 it works fine,
if I change nil to ".", in ~/.emacs it works fine,
if I remove the suffix from the file name, that is: changing a.txt to a, I
get another error: Args out of range: 0.
M-x emacs-version:
GNU Emacs 24.4.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.8) of
2015-01-11 on hakon-ThinkPad-Edge-E540
I built Emacs 24.4.1 from source, using with `--with-xft` option to
configure.
This report was first ask as a question on http://emacs.stackexchange.com/
See the following link:
http://emacs.stackexchange.com/questions/7295/problem-with-nil-element-in-load-path-in-emacs-24-4
Best regards,
Håkon Hægland
[Message part 2 (text/html, inline)]
Reply sent
to
Glenn Morris <rgm <at> gnu.org>
:
You have taken responsibility.
(Tue, 13 Jan 2015 16:46:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Håkon Hægland <hakon.hagland <at> gmail.com>
:
bug acknowledged by developer.
(Tue, 13 Jan 2015 16:46:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 19584-done <at> debbugs.gnu.org (full text, mbox):
Version: 24.5
Håkon Hægland wrote:
> I just installed Emacs 24.4 from source (on Ubuntu 14.04). I now get the
> following error when running Emacs:
>
> Debugger entered--Lisp error: (wrong-type-argument stringp nil)
Thanks for the report. This is already fixed for the next release:
http://lists.gnu.org/archive/html/emacs-diffs/2014-11/msg00152.html
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 11 Feb 2015 12:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 10 years and 189 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.