Subject: bug#24471: closed (Re: bug#24471: 25.1.50; Error on empty PATH component)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 17 Oct 2016 01:57:02 +0000

Your bug report

#24471: 25.1.50; Error on empty PATH component

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
24471: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=24471
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#24471: 25.1.50; Error on empty PATH component
From: Glenn Morris <[email-masked]>
To: [email-masked]
Date: Sun, 16 Oct 2016 21:56:49 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

Version: 25.2

Glenn Morris wrote:

> Please just replace nil elements with ".".
>
> The point of that code in cus-start is so that exec-path does not show
> up in customize-rogue output under normal circumstances. A test case is
>
> PATH=:$PATH emacs -Q -f customize-rogue

Done.

Subject: 25.1.50; Error on empty PATH component
From: Achim Gratz <[email-masked]>
To: [email-masked]
Date: Mon, 19 Sep 2016 21:06:38 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

In GNU Emacs 25.1 (x86_64 for Windows)

I've updated from Emacs 24.5 to Emacs 25.1 this morning at work.
Starting the new Emacs produced an error during initialization trying to
process (directory-file-name nil).  The reason it turned out was that
our IT department in their infinite wisdom had ended the system PATH
with a ';'.  Emacs extended that path with ';/usr/bin/' (or something
like that, I'm making this report from home), this created an empty path
element that ended up at directory-file-name.  Emacs should sanitize the
PATH if it can't process nil in downstream functions.

Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Waldorf MIDI Implementation & additional documentation:
http://Synth.Stromeko.net/Downloads.html#WaldorfDocs