From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.bugs Subject: bug#43735: 28.0.50; eshell: No such directory found via CDPATH environment variable Date: Wed, 7 Oct 2020 12:59:49 +0300 Message-ID: <20201007095949.GJ13893@protected.rcdrun.com> References: <86mu16tvqy.fsf@protected.rcdrun.com> <87sgaxq3ze.fsf@gnus.org> <83d021hn0z.fsf@gnu.org> <20201001191914.GM4797@protected.rcdrun.com> <87k0w921kt.fsf@gnus.org> <20201001192655.GP4797@protected.rcdrun.com> <87blhl201f.fsf@gnus.org> <87y2kpzp45.fsf@gnus.org> <749BF8F2-CEF9-4222-B72C-1AED9D91DB90@gnu.support> <87362xzk4l.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27749"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/1.14.0 (2020-05-02) Cc: 43735@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 07 12:02:25 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kQ6HA-00075W-Gn for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 07 Oct 2020 12:02:24 +0200 Original-Received: from localhost ([::1]:35490 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kQ6H9-0002g2-I1 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 07 Oct 2020 06:02:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37352) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kQ6Es-0002D6-DA for bug-gnu-emacs@gnu.org; Wed, 07 Oct 2020 06:00:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43740) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kQ6Es-0003LT-1Z for bug-gnu-emacs@gnu.org; Wed, 07 Oct 2020 06:00:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kQ6Er-0001zO-UQ for bug-gnu-emacs@gnu.org; Wed, 07 Oct 2020 06:00:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jean Louis Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 07 Oct 2020 10:00:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43735 X-GNU-PR-Package: emacs Original-Received: via spool by 43735-submit@debbugs.gnu.org id=B43735.16020647977612 (code B ref 43735); Wed, 07 Oct 2020 10:00:01 +0000 Original-Received: (at 43735) by debbugs.gnu.org; 7 Oct 2020 09:59:57 +0000 Original-Received: from localhost ([127.0.0.1]:55286 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kQ6Em-0001yi-QQ for submit@debbugs.gnu.org; Wed, 07 Oct 2020 05:59:56 -0400 Original-Received: from [95.85.24.50] (port=47103 helo=static.rcdrun.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kQ6Ek-0001yZ-FB for 43735@debbugs.gnu.org; Wed, 07 Oct 2020 05:59:55 -0400 Original-Received: from localhost ([::ffff:197.157.0.37]) (AUTH: PLAIN admin, TLS: TLS1.2,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by static.rcdrun.com with ESMTPSA id 00000000002A0841.000000005F7D9198.00002BE0; Wed, 07 Oct 2020 09:59:52 +0000 Content-Disposition: inline In-Reply-To: <87362xzk4l.fsf@gnus.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:190009 Archived-At: * Lars Ingebrigtsen [2020-10-02 00:56]: > Jean Louis writes: > > > If you change within shell or eshell maybe no, I change it in .bashrc > > before launching and can reproduce reliably > > My test case is > > CDPATH="/var" emacs -Q > M-x eshell > $ cd tmp > /var/tmp $ > > So CDPATH works as advertised in eshell, as far as I can tell. I have CDPATH defined in .bashrc It is ":~:/home/data1/protected/Work/3rd-Dynamic/Corporation/Division_4/Dept_10/Company Formation" Then I start: emacs -q then: cd tmTAB it works, it expands to tmp and I enter tmp Initially I am in directory /home/data1/protected if I am in tmp, after cd .. I come back to /home/data1 instead of /home/data1/protected then after cd .. if I wish to come back to home I can do cd ~ which works. But then if I wish to cd tmTAB this expansion does not work anymore.