GNU bug report logs - #12351
24.1; parse-colon-path turns empty paths into nil

Previous Next

Package: emacs;

Reported by: Dave Abrahams <dave <at> boostpro.com>

Date: Tue, 4 Sep 2012 19:06:01 UTC

Severity: normal

Found in version 24.1

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #41 received at 12351 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Dave Abrahams <dave <at> boostpro.com>
Cc: 12351 <at> debbugs.gnu.org, Wolfgang Jenkner <wjenkner <at> inode.at>
Subject: Re: bug#12351: 24.1; parse-colon-path turns empty paths into nil
Date: Mon, 31 Dec 2012 01:56:17 -0500
Dave Abrahams wrote:

> Every OS I know of treats empty elements in "colon paths" (semicolon
> paths on Windows) differently from elements that are "."

So why do you want to just unconditionally delete them from the result
of parse-colon-path? What should they be represented by, if not nil?

load-path, exec-path both are documented to accept nil for
default-directory. cd-path works the same way.




This bug report was last modified 12 years and 200 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.