From unknown Mon Jun 23 18:29:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#13296: 24.2.91; Interpretation of Null CDPATH components is wrong. Resent-From: Charles Rendleman Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 28 Dec 2012 20:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 13296 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 13296@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.135672563611721 (code B ref -1); Fri, 28 Dec 2012 20:14:01 +0000 Received: (at submit) by debbugs.gnu.org; 28 Dec 2012 20:13:56 +0000 Received: from localhost ([127.0.0.1]:35160 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TogJY-000330-5O for submit@debbugs.gnu.org; Fri, 28 Dec 2012 15:13:56 -0500 Received: from eggs.gnu.org ([208.118.235.92]:59609) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TogJW-00032t-MM for submit@debbugs.gnu.org; Fri, 28 Dec 2012 15:13:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TogIb-0006gK-Bg for submit@debbugs.gnu.org; Fri, 28 Dec 2012 15:12:59 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_LOW,T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:34707) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TogIb-0006gE-8O for submit@debbugs.gnu.org; Fri, 28 Dec 2012 15:12:57 -0500 Received: from eggs.gnu.org ([208.118.235.92]:42728) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TogIV-0003Tg-TP for bug-gnu-emacs@gnu.org; Fri, 28 Dec 2012 15:12:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TogIT-0006fM-Gq for bug-gnu-emacs@gnu.org; Fri, 28 Dec 2012 15:12:51 -0500 Received: from mail-oa0-f42.google.com ([209.85.219.42]:43750) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TogIT-0006fG-Br for bug-gnu-emacs@gnu.org; Fri, 28 Dec 2012 15:12:49 -0500 Received: by mail-oa0-f42.google.com with SMTP id j1so10279520oag.1 for ; Fri, 28 Dec 2012 12:12:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=fxZjdIxsvSfw0ZUO2gub1uiXL2WQccXnVeIebEI2A2c=; b=qa/VaBpEfvXam4EitNyFbMl5QeqiInPjvRx0atPyqhwTjf0WzAVyPNseckDV/ewPMZ 0gVmA5SfKJ/800qZhMk7PCVwnGng6nnX8+zyZPHSEmkP8X12MnNLnY8fEwa9r94MmZah 3/iEzcZ9N0EgtqjBHB3Dzc0r17ALn8SBsSP1dHGRdOtIN9C+7iuOUO4iYwEbmVkDA0m+ eTg7E7iuQo6szog2ppDD4Nkob9Xv18izA9a0387Ne8QUCGxEgonVlYFDiCaUdJva9DJp rPe5k+VhDDY2WT5l9p/NKa+nNmpmqjoZ1F9y+B+mJddbvsSnCxQw07Iru82FPdeHueUm 4ASw== MIME-Version: 1.0 Received: by 10.182.42.97 with SMTP id n1mr28031748obl.91.1356725568489; Fri, 28 Dec 2012 12:12:48 -0800 (PST) Received: by 10.76.28.39 with HTTP; Fri, 28 Dec 2012 12:12:48 -0800 (PST) Date: Fri, 28 Dec 2012 15:12:48 -0500 Message-ID: From: Charles Rendleman Content-Type: multipart/alternative; boundary=14dae93998eb9149ff04d1ef49a7 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -3.4 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.4 (---) --14dae93998eb9149ff04d1ef49a7 Content-Type: text/plain; charset=ISO-8859-1 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. --14dae93998eb9149ff04d1ef49a7 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
How to demonstrate the bug:
$ cd ~
$ /bin/pwd
/u/home
$ mkdir -p this/is/a/test
$ export CDPATH=3D:~
$ cd this/is/a/test
$ emacs -Q
launch 'eshell'
prompt should read "~/this/is/t= est $"
type "cd .." at the prompt.
promp= t reads "/u $".and /bin/pwd results in "/u"
=A0
This is interpretation of CDPATH is not the same as that of B= ASH or of=A0 of EMACS prior to 24.2.91 that=A0both treat NULL components of= the colon separated list of values=A0as ".".=A0 See, bash(1) dis= cussions of CDPATH.=A0
=A0
=A0
--14dae93998eb9149ff04d1ef49a7-- From unknown Mon Jun 23 18:29:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#13296: 24.2.91; Interpretation of Null CDPATH components is wrong. Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 30 Dec 2012 18:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13296 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Charles Rendleman Cc: 13296@debbugs.gnu.org Received: via spool by 13296-submit@debbugs.gnu.org id=B13296.13568932973952 (code B ref 13296); Sun, 30 Dec 2012 18:49:02 +0000 Received: (at 13296) by debbugs.gnu.org; 30 Dec 2012 18:48:17 +0000 Received: from localhost ([127.0.0.1]:37233 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TpNvk-00011g-Pu for submit@debbugs.gnu.org; Sun, 30 Dec 2012 13:48:17 -0500 Received: from fencepost.gnu.org ([208.118.235.10]:45380) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TpNvi-00011Z-5y for 13296@debbugs.gnu.org; Sun, 30 Dec 2012 13:48:15 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1TpNue-0007Lp-2n; Sun, 30 Dec 2012 13:47:08 -0500 From: Glenn Morris References: X-Spook: Albanian White House Sears Tower ASO afsatcom Arnett X-Ran: 96u|t/.y_I.OK^4}hnQ#muY(Twp.$r&c&M@|a,bTcysot/ThF2ft"c3{cK~O}nQ/m]O|S7 X-Hue: blue X-Attribution: GM Date: Sun, 30 Dec 2012 13:47:07 -0500 In-Reply-To: (Charles Rendleman's message of "Fri, 28 Dec 2012 15:12:48 -0500") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -4.2 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.0 (-----) 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. From unknown Mon Jun 23 18:29:31 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.428 (Entity 5.428) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Charles Rendleman Subject: bug#13296: closed (Re: bug#13296: 24.2.91; Interpretation of Null CDPATH components is wrong.) Message-ID: References: <9uzk0tapfv.fsf@fencepost.gnu.org> X-Gnu-PR-Message: they-closed 13296 X-Gnu-PR-Package: emacs Reply-To: 13296@debbugs.gnu.org Date: Mon, 31 Dec 2012 21:23:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1356988982-25346-1" This is a multi-part message in MIME format... ------------=_1356988982-25346-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #13296: 24.2.91; Interpretation of Null CDPATH components is wrong. which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 13296@debbugs.gnu.org. --=20 13296: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D13296 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1356988982-25346-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 13296-done) by debbugs.gnu.org; 31 Dec 2012 21:22:07 +0000 Received: from localhost ([127.0.0.1]:38442 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TpmoA-0006ZU-UO for submit@debbugs.gnu.org; Mon, 31 Dec 2012 16:22:07 -0500 Received: from fencepost.gnu.org ([208.118.235.10]:33316) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tpmo9-0006ZL-A7 for 13296-done@debbugs.gnu.org; Mon, 31 Dec 2012 16:22:06 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Tpmmy-0007ZH-Mt; Mon, 31 Dec 2012 16:20:52 -0500 From: Glenn Morris To: 13296-done@debbugs.gnu.org Subject: Re: bug#13296: 24.2.91; Interpretation of Null CDPATH components is wrong. References: X-Spook: corporate security Saudi Arabia Treasury JPL Fedayeen X-Ran: ZI'rp#?Z'RV(i%xv6]3_tD;{`WdEt6lBN@Qe`Z*>&#S:q8]aZm!R]^cRqT X-Hue: yellow X-Debbugs-No-Ack: yes X-Attribution: GM Date: Mon, 31 Dec 2012 16:20:52 -0500 In-Reply-To: (Glenn Morris's message of "Sun, 30 Dec 2012 13:47:07 -0500") Message-ID: <9uzk0tapfv.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: 13296-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.0 (-----) Version: 24.2.92 Fixed in emacs-24 branch. ------------=_1356988982-25346-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 28 Dec 2012 20:13:56 +0000 Received: from localhost ([127.0.0.1]:35160 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TogJY-000330-5O for submit@debbugs.gnu.org; Fri, 28 Dec 2012 15:13:56 -0500 Received: from eggs.gnu.org ([208.118.235.92]:59609) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TogJW-00032t-MM for submit@debbugs.gnu.org; Fri, 28 Dec 2012 15:13:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TogIb-0006gK-Bg for submit@debbugs.gnu.org; Fri, 28 Dec 2012 15:12:59 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_LOW,T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:34707) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TogIb-0006gE-8O for submit@debbugs.gnu.org; Fri, 28 Dec 2012 15:12:57 -0500 Received: from eggs.gnu.org ([208.118.235.92]:42728) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TogIV-0003Tg-TP for bug-gnu-emacs@gnu.org; Fri, 28 Dec 2012 15:12:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TogIT-0006fM-Gq for bug-gnu-emacs@gnu.org; Fri, 28 Dec 2012 15:12:51 -0500 Received: from mail-oa0-f42.google.com ([209.85.219.42]:43750) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TogIT-0006fG-Br for bug-gnu-emacs@gnu.org; Fri, 28 Dec 2012 15:12:49 -0500 Received: by mail-oa0-f42.google.com with SMTP id j1so10279520oag.1 for ; Fri, 28 Dec 2012 12:12:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=fxZjdIxsvSfw0ZUO2gub1uiXL2WQccXnVeIebEI2A2c=; b=qa/VaBpEfvXam4EitNyFbMl5QeqiInPjvRx0atPyqhwTjf0WzAVyPNseckDV/ewPMZ 0gVmA5SfKJ/800qZhMk7PCVwnGng6nnX8+zyZPHSEmkP8X12MnNLnY8fEwa9r94MmZah 3/iEzcZ9N0EgtqjBHB3Dzc0r17ALn8SBsSP1dHGRdOtIN9C+7iuOUO4iYwEbmVkDA0m+ eTg7E7iuQo6szog2ppDD4Nkob9Xv18izA9a0387Ne8QUCGxEgonVlYFDiCaUdJva9DJp rPe5k+VhDDY2WT5l9p/NKa+nNmpmqjoZ1F9y+B+mJddbvsSnCxQw07Iru82FPdeHueUm 4ASw== MIME-Version: 1.0 Received: by 10.182.42.97 with SMTP id n1mr28031748obl.91.1356725568489; Fri, 28 Dec 2012 12:12:48 -0800 (PST) Received: by 10.76.28.39 with HTTP; Fri, 28 Dec 2012 12:12:48 -0800 (PST) Date: Fri, 28 Dec 2012 15:12:48 -0500 Message-ID: Subject: 24.2.91; Interpretation of Null CDPATH components is wrong. From: Charles Rendleman To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary=14dae93998eb9149ff04d1ef49a7 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -3.4 (---) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.4 (---) --14dae93998eb9149ff04d1ef49a7 Content-Type: text/plain; charset=ISO-8859-1 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. --14dae93998eb9149ff04d1ef49a7 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
How to demonstrate the bug:
$ cd ~
$ /bin/pwd
/u/home
$ mkdir -p this/is/a/test
$ export CDPATH=3D:~
$ cd this/is/a/test
$ emacs -Q
launch 'eshell'
prompt should read "~/this/is/t= est $"
type "cd .." at the prompt.
promp= t reads "/u $".and /bin/pwd results in "/u"
=A0
This is interpretation of CDPATH is not the same as that of B= ASH or of=A0 of EMACS prior to 24.2.91 that=A0both treat NULL components of= the colon separated list of values=A0as ".".=A0 See, bash(1) dis= cussions of CDPATH.=A0
=A0
=A0
--14dae93998eb9149ff04d1ef49a7-- ------------=_1356988982-25346-1--