From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 13 11:42:44 2015 Received: (at submit) by debbugs.gnu.org; 13 Jan 2015 16:42:44 +0000 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 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 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 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_40,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 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 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 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 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 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== MIME-Version: 1.0 X-Received: by 10.60.94.197 with SMTP id de5mr20498780oeb.64.1421153018804; Tue, 13 Jan 2015 04:43:38 -0800 (PST) Received: by 10.76.19.167 with HTTP; Tue, 13 Jan 2015 04:43:38 -0800 (PST) Date: Tue, 13 Jan 2015 13:43:38 +0100 Message-ID: Subject: Problem with nil element in load-path in Emacs 24.4 From: =?UTF-8?B?SMOla29uIEjDpmdsYW5k?= To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary=089e011825eedb7f11050c87f897 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-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit 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 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --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-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 13 11:45:15 2015 Received: (at 19584-done) by debbugs.gnu.org; 13 Jan 2015 16:45:15 +0000 Received: from localhost ([127.0.0.1]:55652 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YB4ah-0004zO-8A for submit@debbugs.gnu.org; Tue, 13 Jan 2015 11:45:15 -0500 Received: from fencepost.gnu.org ([208.118.235.10]:40791 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YB4af-0004zH-J1 for 19584-done@debbugs.gnu.org; Tue, 13 Jan 2015 11:45:14 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1YB4ad-0004m2-EC; Tue, 13 Jan 2015 11:45:11 -0500 From: Glenn Morris To: 19584-done@debbugs.gnu.org Subject: Re: bug#19584: Problem with nil element in load-path in Emacs 24.4 References: X-Spook: Comirex Cohiba unclassified Saudi Arabia Dick Cheney X-Ran: Nzx]0%eel32=5hfPXFqZr87UdDvE>^X:[ceP}3e9PB?SubB_]La{dtwvkp"hWFHvII@lUQ X-Hue: magenta X-Debbugs-No-Ack: yes X-Attribution: GM Date: Tue, 13 Jan 2015 11:45:11 -0500 In-Reply-To: (=?utf-8?Q?=22H=C3=A5kon_H=C3=A6gland=22's?= message of "Tue, 13 Jan 2015 13:43:38 +0100") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 19584-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Version: 24.5 H=C3=A5kon H=C3=A6gland 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 From unknown Sun Aug 17 22:09:00 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 11 Feb 2015 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator