From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#24471: 25.1.50; Error on empty PATH component Date: Mon, 17 Oct 2016 20:36:17 +0300 Message-ID: <83shruyj1q.fsf@gnu.org> References: <83intrhfc7.fsf@gnu.org> <87ponzlnep.fsf@Rainer.invalid> <87h99blg8d.fsf@Rainer.invalid> <87d1jv7p1r.fsf@Rainer.invalid> <83eg4benr2.fsf@gnu.org> <874m4bq6xe.fsf@Rainer.invalid> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1476725861 2657 195.159.176.226 (17 Oct 2016 17:37:41 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 17 Oct 2016 17:37:41 +0000 (UTC) Cc: 24471@debbugs.gnu.org To: Achim Gratz Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 17 19:37:37 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 1bwBqf-00069p-B4 for geb-bug-gnu-emacs@m.gmane.org; Mon, 17 Oct 2016 19:37:17 +0200 Original-Received: from localhost ([::1]:34685 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bwBqg-0007CY-HG for geb-bug-gnu-emacs@m.gmane.org; Mon, 17 Oct 2016 13:37:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51625) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bwBqV-0007Aj-41 for bug-gnu-emacs@gnu.org; Mon, 17 Oct 2016 13:37:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bwBqQ-0007CY-3l for bug-gnu-emacs@gnu.org; Mon, 17 Oct 2016 13:37:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59060) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1bwBqQ-0007CT-0I for bug-gnu-emacs@gnu.org; Mon, 17 Oct 2016 13:37:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bwBqP-0000nE-Nq for bug-gnu-emacs@gnu.org; Mon, 17 Oct 2016 13:37:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 17 Oct 2016 17:37:01 +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 Original-Received: via spool by 24471-submit@debbugs.gnu.org id=B24471.14767257973010 (code B ref 24471); Mon, 17 Oct 2016 17:37:01 +0000 Original-Received: (at 24471) by debbugs.gnu.org; 17 Oct 2016 17:36:37 +0000 Original-Received: from localhost ([127.0.0.1]:37017 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bwBq0-0000mU-Vu for submit@debbugs.gnu.org; Mon, 17 Oct 2016 13:36:37 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:60517) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bwBpy-0000mG-Nr for 24471@debbugs.gnu.org; Mon, 17 Oct 2016 13:36:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bwBpo-0006xk-Gb for 24471@debbugs.gnu.org; Mon, 17 Oct 2016 13:36:29 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:47445) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bwBpo-0006xc-EV; Mon, 17 Oct 2016 13:36:24 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1791 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bwBpn-0001Mg-DY; Mon, 17 Oct 2016 13:36:24 -0400 In-reply-to: <874m4bq6xe.fsf@Rainer.invalid> (message from Achim Gratz on Mon, 17 Oct 2016 18:25:17 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:124598 Archived-At: > From: Achim Gratz > Date: Mon, 17 Oct 2016 18:25:17 +0200 > > 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. You must re-dump Emacs for this to take effect. Anyway, the change that was committed is different, so the above is no longer pertinent. (I don't think I understand what you meant by your comment about "nil meaning default-directory being wrong for PATH and POSIX".)