GNU bug report logs -
#24471
25.1.50; Error on empty PATH component
Previous Next
Reported by: Achim Gratz <Stromeko <at> nexgo.de>
Date: Mon, 19 Sep 2016 19:07:02 UTC
Severity: normal
Tags: patch
Found in versions 25.1, 25.1.50
Fixed in version 25.2
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> From: Achim Gratz <Stromeko <at> nexgo.de>
> 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".)
This bug report was last modified 8 years and 219 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.