GNU bug report logs - #13296
24.2.91; Interpretation of Null CDPATH components is wrong.

Previous Next

Package: emacs;

Reported by: Charles Rendleman <carendle <at> gmail.com>

Date: Fri, 28 Dec 2012 20:14:01 UTC

Severity: important

Found in version 24.2.91

Fixed in version 24.2.92

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 13296 in the body.
You can then email your comments to 13296 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#13296; Package emacs. (Fri, 28 Dec 2012 20:14:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Charles Rendleman <carendle <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 28 Dec 2012 20:14:01 GMT) Full text and rfc822 format available.

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

From: Charles Rendleman <carendle <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.2.91; Interpretation of Null CDPATH components is wrong.
Date: Fri, 28 Dec 2012 15:12:48 -0500
[Message part 1 (text/plain, inline)]
How to demonstrate the bug:
$ cd ~
$ /bin/pwd
/u/home
$ mkdir -p this/is/a/test
$ export CDPATH=:~
$ cd this/is/a/test
$ emacs -Q
launch 'eshell'
prompt should read "~/this/is/test $"
type "cd .." at the prompt.
prompt reads "/u $".and /bin/pwd results in "/u"

This is interpretation of CDPATH is not the same as that of BASH or of  of
EMACS prior to 24.2.91 that both treat NULL components of the colon
separated list of values as ".".  See, bash(1) discussions of CDPATH.
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#13296; Package emacs. (Sun, 30 Dec 2012 18:49:02 GMT) Full text and rfc822 format available.

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

From: Glenn Morris <rgm <at> gnu.org>
To: Charles Rendleman <carendle <at> gmail.com>
Cc: 13296 <at> debbugs.gnu.org
Subject: Re: bug#13296: 24.2.91;
	Interpretation of Null CDPATH components is wrong.
Date: Sun, 30 Dec 2012 13:47:07 -0500
Charles Rendleman wrote:

> $ export CDPATH=:~
[...]
> This is interpretation of CDPATH is not the same as that of BASH or of  of
> EMACS prior to 24.2.91 that both treat NULL components of the colon
> separated list of values as ".".  See, bash(1) discussions of CDPATH.

This is due to the changes in http://debbugs.gnu.org/12351 .

Before:

(parse-colon-path ":~")    ->  (nil "~/")

After:

(parse-colon-path ":~")    -> ("~/")


We shouldn't be deleting nil from the result.




Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Mon, 31 Dec 2012 21:23:01 GMT) Full text and rfc822 format available.

Notification sent to Charles Rendleman <carendle <at> gmail.com>:
bug acknowledged by developer. (Mon, 31 Dec 2012 21:23:02 GMT) Full text and rfc822 format available.

Message #13 received at 13296-done <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 13296-done <at> debbugs.gnu.org
Subject: Re: bug#13296: 24.2.91;
	Interpretation of Null CDPATH components is wrong.
Date: Mon, 31 Dec 2012 16:20:52 -0500
Version: 24.2.92

Fixed in emacs-24 branch.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 29 Jan 2013 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 11 years and 291 days ago.

Previous Next


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