From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Achim Gratz Newsgroups: gmane.emacs.bugs Subject: bug#24471: 25.1.50; Error on empty PATH component Date: Mon, 17 Oct 2016 18:25:17 +0200 Organization: Linux Private Site Message-ID: <874m4bq6xe.fsf@Rainer.invalid> References: <83intrhfc7.fsf@gnu.org> <87ponzlnep.fsf@Rainer.invalid> <87h99blg8d.fsf@Rainer.invalid> <87d1jv7p1r.fsf@Rainer.invalid> <83eg4benr2.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1476721890 24061 195.159.176.226 (17 Oct 2016 16:31:30 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 17 Oct 2016 16:31:30 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) To: 24471@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 17 18:31:24 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bwAoi-00043G-7e for geb-bug-gnu-emacs@m.gmane.org; Mon, 17 Oct 2016 18:31:12 +0200 Original-Received: from localhost ([::1]:34383 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bwAok-0006KB-8H for geb-bug-gnu-emacs@m.gmane.org; Mon, 17 Oct 2016 12:31:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59386) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bwAod-0006IA-AO for bug-gnu-emacs@gnu.org; Mon, 17 Oct 2016 12:31:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bwAoY-0003Mb-Px for bug-gnu-emacs@gnu.org; Mon, 17 Oct 2016 12:31:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59017) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1bwAoY-0003MH-Mq for bug-gnu-emacs@gnu.org; Mon, 17 Oct 2016 12:31:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bwAoY-0007Yg-Hb for bug-gnu-emacs@gnu.org; Mon, 17 Oct 2016 12:31:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <87ponzlnep.fsf@Rainer.invalid> Resent-From: Achim Gratz Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 17 Oct 2016 16:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24471 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.147672184029025 (code B ref -1); Mon, 17 Oct 2016 16:31:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 17 Oct 2016 16:30:40 +0000 Original-Received: from localhost ([127.0.0.1]:36974 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bwAoC-0007Y5-L7 for submit@debbugs.gnu.org; Mon, 17 Oct 2016 12:30:40 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:40060) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bwAoB-0007Xr-8T for submit@debbugs.gnu.org; Mon, 17 Oct 2016 12:30:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bwAo1-0003A0-Ta for submit@debbugs.gnu.org; Mon, 17 Oct 2016 12:30:33 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:40790) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1bwAo1-00039t-Py for submit@debbugs.gnu.org; Mon, 17 Oct 2016 12:30:29 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59250) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bwAo0-0006Ha-Mi for bug-gnu-emacs@gnu.org; Mon, 17 Oct 2016 12:30:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bwAnx-000390-K8 for bug-gnu-emacs@gnu.org; Mon, 17 Oct 2016 12:30:28 -0400 Original-Received: from [195.159.176.226] (port=60643 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1bwAnx-00038s-DQ for bug-gnu-emacs@gnu.org; Mon, 17 Oct 2016 12:30:25 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1bwAnd-0004Ho-6L for bug-gnu-emacs@gnu.org; Mon, 17 Oct 2016 18:30:05 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 35 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:l4eV3U+xYox/GC9fdIgCU/hArD8= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:124595 Archived-At: Eli Zaretskii writes: > Thanks. Does the patch below fix the problem? > > diff --git a/lisp/cus-start.el b/lisp/cus-start.el > index 001d638..bd2b280 100644 > --- a/lisp/cus-start.el > +++ b/lisp/cus-start.el > @@ -174,8 +174,10 @@ minibuffer-prompt-properties--setter > nil > :standard > (mapcar 'directory-file-name > - (append (parse-colon-path (getenv "PATH")) > - (list exec-directory)))) > + (delq nil > + (append > + (parse-colon-path (getenv "PATH")) > + (list exec-directory))))) > (exec-suffixes execute (repeat string)) > ;; charset.c > (charset-map-path installation I've tried to patch this in-place, first by recompiling the affected custom files, then by removing all the .elc files. I failed, somehow this eval never changes to include the delq nil introduced with the patch and I can't seem to find the code path that it takes to get to the non-changed version. I can't recompile Emacs on Windows. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Factory and User Sound Singles for Waldorf Q+, Q and microQ: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds