From: Achim Gratz <Stromeko@nexgo.de>
To: 24471@debbugs.gnu.org
Subject: bug#24471: 25.1.50; Error on empty PATH component
Date: Mon, 17 Oct 2016 20:16:17 +0200 [thread overview]
Message-ID: <87zim2q1se.fsf@Rainer.invalid> (raw)
In-Reply-To: <87ponzlnep.fsf@Rainer.invalid>
Eli Zaretskii writes:
> You must re-dump Emacs for this to take effect.
Ah, OK. I had hoped that re-loading the changed files would do it, but
no dice.
> 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".)
POSIX specifically prescribes that an empty PATH element equals "." and
declares that a legacy feature that strictly conforming applications
shall not use, but in other environment variables an empty path element
is also allowed and replaced by different defaults. For NLSPATH that
default is %N and for MANPATH it usually means some system-defined
(POSIX doesn't mention that possibility).
Whether default-directory equates "." seems to depend on when it gets
evaluated, since it's normally set to some absolute path. So a textual
replacement with "." seems more correct than some hand-waving about nil
representing current-directory in the case of PATH. OTOH, if other
environment variables are intended to get processed by parse-colon-path,
then that replacement would need to be different for each such variable.
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
next prev parent reply other threads:[~2016-10-17 18:16 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-19 19:06 bug#24471: 25.1.50; Error on empty PATH component Achim Gratz
2016-09-19 19:14 ` Eli Zaretskii
2016-09-19 21:41 ` Achim Gratz
2016-09-19 21:59 ` Noam Postavsky
2016-09-22 18:44 ` Achim Gratz
2016-09-22 19:30 ` Eli Zaretskii
2016-09-22 20:10 ` Achim Gratz
2016-09-23 6:59 ` Eli Zaretskii
2016-09-23 15:54 ` Glenn Morris
2016-10-17 1:56 ` Glenn Morris
2016-10-17 16:21 ` Achim Gratz
2016-09-22 22:28 ` Noam Postavsky
2016-09-23 7:14 ` Eli Zaretskii
2016-10-17 16:25 ` Achim Gratz
2016-10-17 17:36 ` Eli Zaretskii
2016-10-17 18:16 ` Achim Gratz [this message]
2016-10-17 18:53 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87zim2q1se.fsf@Rainer.invalid \
--to=stromeko@nexgo.de \
--cc=24471@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).