From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?H=C3=A5kon_?= =?UTF-8?Q?H=C3=A6gland?= Newsgroups: gmane.emacs.bugs Subject: bug#19584: Problem with nil element in load-path in Emacs 24.4 Date: Tue, 13 Jan 2015 13:43:38 +0100 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e011825eedb7f11050c87f897 X-Trace: ger.gmane.org 1421167394 25031 80.91.229.3 (13 Jan 2015 16:43:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 13 Jan 2015 16:43:14 +0000 (UTC) To: 19584@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jan 13 17:43:09 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YB4Ye-0002Bg-B5 for geb-bug-gnu-emacs@m.gmane.org; Tue, 13 Jan 2015 17:43:08 +0100 Original-Received: from localhost ([::1]:40137 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YB4Yd-0003T0-L8 for geb-bug-gnu-emacs@m.gmane.org; Tue, 13 Jan 2015 11:43:07 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36966) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YB4YZ-0003Rs-LY for bug-gnu-emacs@gnu.org; Tue, 13 Jan 2015 11:43:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YB4YY-0004YF-Hi for bug-gnu-emacs@gnu.org; Tue, 13 Jan 2015 11:43:03 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46782) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YB4YY-0004Y9-Ed for bug-gnu-emacs@gnu.org; Tue, 13 Jan 2015 11:43:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YB4YY-0004uj-5s for bug-gnu-emacs@gnu.org; Tue, 13 Jan 2015 11:43:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?H=C3=A5kon_?= =?UTF-8?Q?H=C3=A6gland?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 13 Jan 2015 16:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 19584 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.142116736418853 (code B ref -1); Tue, 13 Jan 2015 16:43:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 13 Jan 2015 16:42:44 +0000 Original-Received: from localhost ([127.0.0.1]:55643 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YB4YF-0004u0-K5 for submit@debbugs.gnu.org; Tue, 13 Jan 2015 11:42:44 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:55023) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YB0p3-0007JU-C4 for submit@debbugs.gnu.org; Tue, 13 Jan 2015 07:43:49 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YB0ow-000285-SI for submit@debbugs.gnu.org; Tue, 13 Jan 2015 07:43:44 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:48415) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YB0ow-000281-Pu for submit@debbugs.gnu.org; Tue, 13 Jan 2015 07:43:42 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56745) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YB0ov-0002dN-8H for bug-gnu-emacs@gnu.org; Tue, 13 Jan 2015 07:43:42 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YB0ot-00027Y-Vv for bug-gnu-emacs@gnu.org; Tue, 13 Jan 2015 07:43:41 -0500 Original-Received: from mail-ob0-x22c.google.com ([2607:f8b0:4003:c01::22c]:40016) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YB0ot-00027Q-Rg for bug-gnu-emacs@gnu.org; Tue, 13 Jan 2015 07:43:39 -0500 Original-Received: by mail-ob0-f172.google.com with SMTP id va8so2259036obc.3 for ; Tue, 13 Jan 2015 04:43:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=WWFEAUYuEKdM+ybeOgv6Br9MUOXYFFvWDYzT5r7F+vs=; b=m49/wWH3o+Y9t7NAm1zB2NtJUn6WU6Pr2Ku++uD26JbUPyUrouWP3U1NSPvTmvFv9j 3u25thDzgI4jH+1oiD/3+a9TEIxs6BwnvgN15lRgzRuAf8UHkuwW0/m+GXrIa96Sqnwh 9eSIZRuPcPCOkI2W91/JkVzJjdyibUuV16sU3ytZsYhMboFICuP9dmt7JrpIy66nTw01 tzDTB9nuspjXs6VEZK8OSEGubt3OE9XP7xymWTy3AYKMvij0VPeC2/v2qlH7FQlrFumb rfw6QLNJb9uy4p0Ag7CJaxLtmZgf0QyLx1LBPWg29SmJHkMaecgJhbLb4YY29rd1RmCf +IBw== X-Received: by 10.60.94.197 with SMTP id de5mr20498780oeb.64.1421153018804; Tue, 13 Jan 2015 04:43:38 -0800 (PST) Original-Received: by 10.76.19.167 with HTTP; Tue, 13 Jan 2015 04:43:38 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Mailman-Approved-At: Tue, 13 Jan 2015 11:42:42 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:98314 Archived-At: --089e011825eedb7f11050c87f897 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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-l= oad-path-in-emacs-24-4 Best regards, H=C3=A5kon H=C3=A6gland --089e011825eedb7f11050c87f897 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I just installed Emacs 24.4 from source (on Ubun= tu 14.04). I now get the following error when running Emacs:

=
Debugger entered--Lisp error: (wrong-type-argument stringp nil)<= /div>
=C2=A0 string-match("/[._]emacs\\.d/?\\'" nil nil)<= /div>
=C2=A0 command-line()
=C2=A0 normal-top-level()
For debugging, I reduced my ~/.emacs init file to:

<= div>(setq debug-on-error t)
(add-to-list 'load-path nil)

Then the error occurs only when starting Emacs with tw= o 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 wor= ks fine,
if I change nil to ".", in ~/.emacs it works f= ine,
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=C2=A0emacs-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 fro= m source, using with `--with-xft` option to configure.

=
This report was first ask as a question on=C2=A0http://emacs.stackexchange.com/

See the following link:=C2=A0


= Best regards,
H=C3=A5kon H=C3=A6gland

--089e011825eedb7f11050c87f897--