GNU bug report logs - #43735
28.0.50; eshell: No such directory found via CDPATH environment variable

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: minor; Reported by: Jean Louis <bugs@HIDDEN>; dated Thu, 1 Oct 2020 04:41:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 43735 <at> debbugs.gnu.org:


Received: (at 43735) by debbugs.gnu.org; 8 Mar 2021 19:30:29 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Mar 08 14:30:29 2021
Received: from localhost ([127.0.0.1]:44876 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lJLaH-00070x-D6
	for submit <at> debbugs.gnu.org; Mon, 08 Mar 2021 14:30:29 -0500
Received: from quimby.gnus.org ([95.216.78.240]:42178)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1lJLaF-00070l-LG
 for 43735 <at> debbugs.gnu.org; Mon, 08 Mar 2021 14:30:28 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=QnmzEjEK8xGJq6Na61kcaM4WfSlbu9d6u68bnZziypE=; b=GvDazIKqmUzAq+wVwq6JuU3c/k
 Jg46+tHT+XLdqAfpGyfoLnFvxkUlF5C+cSiul9PLfKfubpnkqOmllWbQV77EM8s/XtQzj2RmqO8Xq
 i/iqcuTD92n6QZLjdDSin4bxuR8hvhN32l42z/sr/wcWYvIgIJUg36VYq+rVIK+lziY0=;
Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1lJLa6-0005Xg-53; Mon, 08 Mar 2021 20:30:20 +0100
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Stefan Kangas <stefan@HIDDEN>
Subject: Re: bug#43735: 28.0.50; eshell: No such directory found via CDPATH
 environment variable
References: <86mu16tvqy.fsf@HIDDEN> <87sgaxq3ze.fsf@HIDDEN>
 <83d021hn0z.fsf@HIDDEN> <20201001191914.GM4797@HIDDEN>
 <87k0w921kt.fsf@HIDDEN> <20201001192655.GP4797@HIDDEN>
 <87blhl201f.fsf@HIDDEN>
 <CADwFkmmd3sv6VCX5s4A3s1qMNqO2m+o9=MmddThkDy5C6uz7og@HIDDEN>
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj
 SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAALVBMVEX+/v3V0s3JvrWo
 o56RhXmQc2GTVSRvLQ5THQ8sFxSAOxNXRTliXVkDAgL////qq/GcAAAAAWJLR0QOb70wTwAAAAd0
 SU1FB+UDCBMPLdRuLz0AAAGPSURBVDjLtZI9a8JQFIbvVToIDsngIK2guDr40cGSOpXupUMtdO7V
 X2BS/0AipdCPQYLcWeikSMFBQUu72aG6NOj5L71JTHOM6SC07xBuzsN7z3tOQshuopnwupwt/OKQ
 pR1b/Kvo6cV5KKg2mJYPqe/pDaY+hoBLo8nU2zCDobKult4CZc3Qr2vaWbCeMARgtVYvuLgrQx1u
 AeXtZDQoawLU+QTV98HW67CqsrqJQASAC7B6UQTgKFXKMcBymmgyrePXo9wxwKKU09nN3AcfrgH6
 VOl2USgKYDmOgVx9Vk1/iVEPPB3qqoFaxNc3WR3e1kzUIuaBmdk2OJq7sgaLI/hq3aW3Q41EI9NC
 ++Bu3Tw2xWNBcFpb75mc7fjEoD/j0BlkC2MBehhIos2qWEwnRTK88yWhHCZEylARA3/XohhRhKGS
 PermB0+BmFd2Ak42QMV+p94BaWxJLojBPa5HwR6LOqf55k35Da+/k9XPMQkPJOL1iaOOlFulsedP
 TpH7QPxFJCD3dsVvGJBM/ljfHqrYOsKDxlEAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjEtMDMtMDhU
 MTk6MTU6NDUrMDA6MDAgvsWTAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIxLTAzLTA4VDE5OjE1OjQ1
 KzAwOjAwUeN9LwAAAABJRU5ErkJggg==
X-Now-Playing: Coil's _Black Antlers (1)_: "Sex With Sun Ra (Part One:
 Saturnalia)"
Date: Mon, 08 Mar 2021 20:30:16 +0100
In-Reply-To: <CADwFkmmd3sv6VCX5s4A3s1qMNqO2m+o9=MmddThkDy5C6uz7og@HIDDEN>
 (Stefan Kangas's message of "Mon, 8 Mar 2021 07:23:33 -0800")
Message-ID: <87ft15mojb.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview:  Stefan Kangas <stefan@HIDDEN> writes: > BTW, the error
 message here should really not be talking about CDPATH in > this case, it
 is just confusing: > > Welcome to the Emacs shell > > ~/org/notes $ cd
 ~/wip/non-existent > No such directory [...] 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 43735
Cc: Eli Zaretskii <eliz@HIDDEN>, 43735 <at> debbugs.gnu.org,
 Jean Louis <bugs@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Stefan Kangas <stefan@HIDDEN> writes:

> BTW, the error message here should really not be talking about CDPATH in
> this case, it is just confusing:
>
>     Welcome to the Emacs shell
>
>     ~/org/notes $ cd ~/wip/non-existent
>     No such directory found via CDPATH environment variable
>     ~/org/notes $ cd ~/wip/emacs
>     ~/wip/emacs $
>
> But (getenv "CDPATH") => nil

Yes, I agree completely.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#43735; Package emacs. Full text available.

Message received at 43735 <at> debbugs.gnu.org:


Received: (at 43735) by debbugs.gnu.org; 8 Mar 2021 15:23:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Mar 08 10:23:42 2021
Received: from localhost ([127.0.0.1]:44547 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lJHjS-00055C-3p
	for submit <at> debbugs.gnu.org; Mon, 08 Mar 2021 10:23:42 -0500
Received: from mail-pf1-f179.google.com ([209.85.210.179]:43827)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefankangas@HIDDEN>) id 1lJHjP-00054x-R2
 for 43735 <at> debbugs.gnu.org; Mon, 08 Mar 2021 10:23:40 -0500
Received: by mail-pf1-f179.google.com with SMTP id q204so7267065pfq.10
 for <43735 <at> debbugs.gnu.org>; Mon, 08 Mar 2021 07:23:39 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:in-reply-to:references:user-agent
 :mime-version:date:message-id:subject:to:cc;
 bh=CO4kU3Yv6AC6C2l0Phy0wMkVE77IqKBQp6/Plz64prc=;
 b=V03OJ6ykXP6fDGVqF0Yh1RfvgPcK+8nuW84yyC3bdL+C3aOuGGzUkrbMCDoZaT+A6J
 TEAsWyrp9NZ7/P9XERpofyOwCAlvmNYkWPQdfIhugk3nNGh/29zxTRPayih47ixJDCex
 3jh/yUh7d60v2utvNxl8PQro+kG5kUp7xcuF1Lv2No/zas5+rwNz9XWzWpOwpMxrZ4rG
 ZN7HnqHw4v4v3nCa9n0zQfoPDpWzx6pmIyx2hukHosIkzNJg5jhOn9xKS/6XoNioZtfH
 ZB+bhRJWwhnabjAl57DrIrUAB++Qs7dndOaBmbro5cqBBGD9JBocfDvNyT2pmm6LgMZw
 9fGw==
X-Gm-Message-State: AOAM5330lwBAKyFs1hokdyKfTcLcJx6anhFKDvBxh9jF6RL1PS+qVEwr
 1mzto3tyFK8dodLa7QHNYaiWvUIwEv2gEkogJew=
X-Google-Smtp-Source: ABdhPJzo9P/5tBc7Xsxqg3NkNIvVqeCQHb2lGo0HLqHuvGamPkXN1mzMyG/iWJlgE5sIiwqyf4G22BypdUBnQ0qjpQY=
X-Received: by 2002:a63:ed02:: with SMTP id d2mr21308797pgi.67.1615217013990; 
 Mon, 08 Mar 2021 07:23:33 -0800 (PST)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Mon, 8 Mar 2021 07:23:33 -0800
From: Stefan Kangas <stefan@HIDDEN>
In-Reply-To: <87blhl201f.fsf@HIDDEN> (Lars Ingebrigtsen's message of "Thu,
 01 Oct 2020 21:55:56 +0200")
References: <86mu16tvqy.fsf@HIDDEN> <87sgaxq3ze.fsf@HIDDEN>
 <83d021hn0z.fsf@HIDDEN> <20201001191914.GM4797@HIDDEN>
 <87k0w921kt.fsf@HIDDEN> <20201001192655.GP4797@HIDDEN>
 <87blhl201f.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Date: Mon, 8 Mar 2021 07:23:33 -0800
Message-ID: <CADwFkmmd3sv6VCX5s4A3s1qMNqO2m+o9=MmddThkDy5C6uz7og@HIDDEN>
Subject: Re: bug#43735: 28.0.50; eshell: No such directory found via CDPATH
 environment variable
To: Lars Ingebrigtsen <larsi@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.5 (/)
X-Debbugs-Envelope-To: 43735
Cc: Eli Zaretskii <eliz@HIDDEN>, 43735 <at> debbugs.gnu.org,
 Jean Louis <bugs@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.5 (/)

Lars Ingebrigtsen <larsi@HIDDEN> writes:

> Jean Louis <bugs@HIDDEN> writes:
>
>>> > I think it is related also to CDPATH. Now when I remove CDPATH from
>>> > .bashrc, then it works.
>>>
>>> What's your CDPATH variable?
>>
>> export
>> CDPATH="./:~:/home/data1/protected/Work/3rd-Dynamic/Corporation/Division_4/Dept_10/Company
>> Formation"
>
> I can reproduce this bug:
>
> M-x eshell
> $ export CDPATH="/var"
> $ cd tmp
> No such directory found via CDPATH environment variable
>
> (tmp does exist.)

BTW, the error message here should really not be talking about CDPATH in
this case, it is just confusing:

    Welcome to the Emacs shell

    ~/org/notes $ cd ~/wip/non-existent
    No such directory found via CDPATH environment variable
    ~/org/notes $ cd ~/wip/emacs
    ~/wip/emacs $

But (getenv "CDPATH") => nil




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#43735; Package emacs. Full text available.

Message received at 43735 <at> debbugs.gnu.org:


Received: (at 43735) by debbugs.gnu.org; 14 Nov 2020 07:53:59 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Nov 14 02:53:59 2020
Received: from localhost ([127.0.0.1]:49660 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kdqNj-0000WS-16
	for submit <at> debbugs.gnu.org; Sat, 14 Nov 2020 02:53:59 -0500
Received: from static.rcdrun.com ([95.85.24.50]:55309)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <bugs@HIDDEN>) id 1kdqNf-0000WJ-TQ
 for 43735 <at> debbugs.gnu.org; Sat, 14 Nov 2020 02:53:57 -0500
Received: from localhost ([::ffff:41.202.241.56])
 (AUTH: PLAIN admin, TLS: TLS1.2,256bits,ECDHE_RSA_AES_256_GCM_SHA384)
 by static.rcdrun.com with ESMTPSA
 id 00000000002C0006.000000005FAF8D11.00003301; Sat, 14 Nov 2020 07:53:53 +0000
Date: Sat, 14 Nov 2020 10:16:57 +0300
From: Jean Louis <bugs@HIDDEN>
To: Jean Louis <bugs@HIDDEN>
Subject: Re: bug#43735: 28.0.50; eshell: No such directory found via CDPATH
 environment variable
Message-ID: <X6+EaaLDAohISi1+@protected.rcdrun.com>
References: <87sgaxq3ze.fsf@HIDDEN> <83d021hn0z.fsf@HIDDEN>
 <20201001191914.GM4797@HIDDEN>
 <87k0w921kt.fsf@HIDDEN>
 <20201001192655.GP4797@HIDDEN>
 <87blhl201f.fsf@HIDDEN> <87y2kpzp45.fsf@HIDDEN>
 <749BF8F2-CEF9-4222-B72C-1AED9D91DB90@HIDDEN>
 <87362xzk4l.fsf@HIDDEN>
 <20201007095949.GJ13893@HIDDEN>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
In-Reply-To: <20201007095949.GJ13893@HIDDEN>
User-Agent: Mutt/2.0 (3d08634) (2020-11-07)
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 43735
Cc: Lars Ingebrigtsen <larsi@HIDDEN>, 43735 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* Jean Louis <bugs@HIDDEN> [2020-11-14 02:14]:
> * Lars Ingebrigtsen <larsi@HIDDEN> [2020-10-02 00:56]:
> > Jean Louis <bugs@HIDDEN> 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.

Another attempt to use Emacs shell where CDPATH is colliding with
eshell. Directory Software/ is there, it even expands by using TAB to
add the slash / on the end of word Software. So if it expands it does
find the directory, but then collides something with CDPATH

Welcome to the Emacs shell

~ $ cd Programming/
~/Programming $ cd Software/emacs/
No such directory found via CDPATH environment variable
~/Programming $ git pull
fatal: Not a git repository (or any parent up to mount point /home)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
~/Programming $ echo $CDPATH
./:~:/home/data1/protected/Work/3rd-Dynamic/Corporation/Division_4/Dept_10/Company Formation
~/Programming $ cd Software/
No such directory found via CDPATH environment variable
~/Programming $ ls 
BASIC      Gold     Perl6    RCDRUN                 TeX    emacs-lisp  hexadecimal   perl5
Documents  Haskell  Phone    Scheme                 c      git         languages     services
Forth      Lisp     Privacy  Software               clisp  groff       love          templeos
GNU        Perl     R        System Administration  dict   guile       peg-markdown  
~/Programming $
~/Programming $ unset CDPATH
~/Programming $ cd Software/
No such directory found via CDPATH environment variable
~/Programming $ 
~/Programming $ file Software/
Software/: directory





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#43735; Package emacs. Full text available.

Message received at 43735 <at> debbugs.gnu.org:


Received: (at 43735) by debbugs.gnu.org; 7 Oct 2020 09:59:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Oct 07 05:59:57 2020
Received: from localhost ([127.0.0.1]:55286 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kQ6Em-0001yi-QQ
	for submit <at> debbugs.gnu.org; Wed, 07 Oct 2020 05:59:56 -0400
Received: from [95.85.24.50] (port=47103 helo=static.rcdrun.com)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <bugs@HIDDEN>) id 1kQ6Ek-0001yZ-FB
 for 43735 <at> debbugs.gnu.org; Wed, 07 Oct 2020 05:59:55 -0400
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
Date: Wed, 7 Oct 2020 12:59:49 +0300
From: Jean Louis <bugs@HIDDEN>
To: Lars Ingebrigtsen <larsi@HIDDEN>
Subject: Re: bug#43735: 28.0.50; eshell: No such directory found via CDPATH
 environment variable
Message-ID: <20201007095949.GJ13893@HIDDEN>
References: <86mu16tvqy.fsf@HIDDEN> <87sgaxq3ze.fsf@HIDDEN>
 <83d021hn0z.fsf@HIDDEN>
 <20201001191914.GM4797@HIDDEN>
 <87k0w921kt.fsf@HIDDEN>
 <20201001192655.GP4797@HIDDEN>
 <87blhl201f.fsf@HIDDEN> <87y2kpzp45.fsf@HIDDEN>
 <749BF8F2-CEF9-4222-B72C-1AED9D91DB90@HIDDEN>
 <87362xzk4l.fsf@HIDDEN>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
In-Reply-To: <87362xzk4l.fsf@HIDDEN>
User-Agent: Mutt/1.14.0 (2020-05-02)
X-Spam-Score: 2.8 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  * Lars Ingebrigtsen <larsi@HIDDEN> [2020-10-02 00:56]: >
 Jean Louis <bugs@HIDDEN> writes: > > > If you change within shell or
 eshell maybe no, I change it in .bashrc > > before launching and ca [...]
 Content analysis details:   (2.8 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 SPF_PASS               SPF: sender matches SPF record
 -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
 1.5 RCVD_IN_SORBS_WEB      RBL: SORBS: sender is an abusable web server
 [197.157.0.37 listed in dnsbl.sorbs.net]
 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS
X-Debbugs-Envelope-To: 43735
Cc: 43735 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.8 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  * Lars Ingebrigtsen <larsi@HIDDEN> [2020-10-02 00:56]: >
    Jean Louis <bugs@HIDDEN> writes: > > > If you change within shell or
    eshell maybe no, I change it in .bashrc > > before launching and ca [...]
    
 
 Content analysis details:   (1.8 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
  1.5 RCVD_IN_SORBS_WEB      RBL: SORBS: sender is an abusable web server
                             [197.157.0.37 listed in dnsbl.sorbs.net]
 -0.0 SPF_PASS               SPF: sender matches SPF record
 -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
  1.3 RDNS_NONE              Delivered to internal network by a host with no rDNS
 -1.0 MAILING_LIST_MULTI     Multiple indicators imply a widely-seen list
                             manager

* Lars Ingebrigtsen <larsi@HIDDEN> [2020-10-02 00:56]:
> Jean Louis <bugs@HIDDEN> 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.






Information forwarded to bug-gnu-emacs@HIDDEN:
bug#43735; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 3 Oct 2020 07:37:21 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Oct 03 03:37:21 2020
Received: from localhost ([127.0.0.1]:42907 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kOc6b-00006W-9t
	for submit <at> debbugs.gnu.org; Sat, 03 Oct 2020 03:37:21 -0400
Received: from lists.gnu.org ([209.51.188.17]:53944)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>)
 id 1kOc6Z-00006O-5N
 for submit <at> debbugs.gnu.org; Sat, 03 Oct 2020 03:37:20 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:46534)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <geb-bug-gnu-emacs@HIDDEN>)
 id 1kOc6Y-00071J-VL
 for bug-gnu-emacs@HIDDEN; Sat, 03 Oct 2020 03:37:18 -0400
Received: from static.214.254.202.116.clients.your-server.de
 ([116.202.254.214]:46784 helo=ciao.gmane.io)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <geb-bug-gnu-emacs@HIDDEN>)
 id 1kOc6X-0003kn-52
 for bug-gnu-emacs@HIDDEN; Sat, 03 Oct 2020 03:37:18 -0400
Received: from list by ciao.gmane.io with local (Exim 4.92)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>)
 id 1kOc6S-0002fw-56
 for bug-gnu-emacs@HIDDEN; Sat, 03 Oct 2020 09:37:12 +0200
X-Injected-Via-Gmane: http://gmane.org/
To: bug-gnu-emacs@HIDDEN
From: Colin Baxter <m43cap@HIDDEN>
Subject: Re: bug#43735: 28.0.50;
 eshell: No such directory found via CDPATH environment variable
Date: Sat, 03 Oct 2020 08:37:05 +0100
Message-ID: <87wo07221q.fsf@HIDDEN>
References: <86mu16tvqy.fsf@HIDDEN> <87sgaxq3ze.fsf@HIDDEN>
 <83d021hn0z.fsf@HIDDEN> <20201001191914.GM4797@HIDDEN>
 <87k0w921kt.fsf@HIDDEN> <20201001192655.GP4797@HIDDEN>
 <87blhl201f.fsf@HIDDEN>
 <20201002204329.GG23802@HIDDEN>
Mime-Version: 1.0
Content-Type: text/plain
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:xp/Ix6H0fM/ersz9yMP32ODVJ8I=
X-Face: BHjiJOg/Qm<l.(R#\p-0{gCp3du3*)G~PJYQ[6fRR<L#QZ,~":E9WQ,|'jw;k
 9xPEKXwL%6nfC:T>j'BQgsAKL@])L)e62P)C"Y=6T
Face: iVBORw0KGgoAAAANSUhEUgAAAGQAAAAeBAMAAAAodabAAAAAB3RJTUUH1wQdAAY04/L8hgAA
 AAlwSFlzAAAewQAAHsEBw2lUUwAAAARnQU1BAACxjwv8YQUAAAASUExURc7OzpwAAAAAAP////8A
 AGNj/2aqqTQAAAA8SURBVHjaYzA2NnEBAmdj01D8wNgYpM7F2JiBgYFREAgEGJiU8AMGBpA6QaCG
 UVtGbRm1ZdSWUVsGjS0Aq20lJnMawnkAAAAASUVORK5CYII=
Received-SPF: pass client-ip=116.202.254.214;
 envelope-from=geb-bug-gnu-emacs@HIDDEN; helo=ciao.gmane.io
X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/03 03:37:13
X-ACL-Warn: Detected OS   = Linux 2.2.x-3.x [generic] [fuzzy]
X-Spam_score_int: -15
X-Spam_score: -1.6
X-Spam_bar: -
X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9,
 FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001,
 HEADER_FROM_DIFFERENT_DOMAINS=0.25, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.1 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.1 (--)

>>>>> Jean Louis <bugs@HIDDEN> writes:

    > * Lars Ingebrigtsen <larsi@HIDDEN> [2020-10-01 22:56]:
    >> Jean Louis <bugs@HIDDEN> writes:
    >> 
    >> >> > I think it is related also to CDPATH. Now when I remove
    >> CDPATH from >> > .bashrc, then it works.
    >> >> 
    >> >> What's your CDPATH variable?
    >> >
    >> > export >
    >> CDPATH="./:~:/home/data1/protected/Work/3rd-Dynamic/Corporation/Division_4/Dept_10/Company
    >> > Formation"
    >> 
    >> I can reproduce this bug:
    >> 
    >> M-x eshell $ export CDPATH="/var" $ cd tmp No such directory
    >> found via CDPATH environment variable
    >> 
    >> (tmp does exist.)

    > It is reproducible, but I am starting from login with CDPATH in my
    > .bashrc, before starting Emacs. I am not chaning CDPATH within
    > Emacs inside, I did not test that.

    > If I start with CDPATH in .bashrc, as environment, that is where
    > problem starts.

Sorry, but it works for me even if I set the CDPATH in ~/.bashrc

In ~/.bashrc
# CDPATH
CDPATH=.:/home/<USERNAME>/1/2/
export CDPATH

Open xterm
echo $CDPATH --> .:/home/<USERNAME>/1/2/
emacs -q <RET>
M-x shell <RET>
In shell
cd <RET>
echo $CDPATH --> .:/home/<USERNAME>/1/2/
cd 3 <RET>
pwd -- > /home/<USERNAME>/1/2/3


Ditto for eshell.

However in eshell the sequence of commands
cd <RET>
cd 3 <RET>
cd ../ <RET>
ls --> /HOME
cd ../ <RET>
ls --> /<USERNAME>
cd <RET>
ls --> all files and directories in $HOME are listed as normal

The odd behaviour of eshell does not occur in shell.

Again, I'm using emacs-28.0.50

Best wishes,

Colin.


Colin Baxter
URL: http://www.Colin-Baxter.com





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#43735; Package emacs. Full text available.

Message received at 43735 <at> debbugs.gnu.org:


Received: (at 43735) by debbugs.gnu.org; 2 Oct 2020 20:43:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Oct 02 16:43:44 2020
Received: from localhost ([127.0.0.1]:42661 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kORu3-0005by-Su
	for submit <at> debbugs.gnu.org; Fri, 02 Oct 2020 16:43:44 -0400
Received: from stw1.rcdrun.com ([217.170.207.13]:55481)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <bugs@HIDDEN>) id 1kORu0-0005bc-JD
 for 43735 <at> debbugs.gnu.org; Fri, 02 Oct 2020 16:43:42 -0400
Received: from localhost ([::ffff:197.157.34.178])
 (AUTH: PLAIN securesender, TLS: TLS1.2,256bits,ECDHE_RSA_AES_256_GCM_SHA384)
 by stw1.rcdrun.com with ESMTPSA
 id 0000000000099F50.000000005F7790F4.000058F3; Fri, 02 Oct 2020 13:43:32 -0700
Date: Fri, 2 Oct 2020 23:43:29 +0300
From: Jean Louis <bugs@HIDDEN>
To: Lars Ingebrigtsen <larsi@HIDDEN>
Subject: Re: bug#43735: 28.0.50; eshell: No such directory found via CDPATH
 environment variable
Message-ID: <20201002204329.GG23802@HIDDEN>
References: <86mu16tvqy.fsf@HIDDEN> <87sgaxq3ze.fsf@HIDDEN>
 <83d021hn0z.fsf@HIDDEN>
 <20201001191914.GM4797@HIDDEN>
 <87k0w921kt.fsf@HIDDEN>
 <20201001192655.GP4797@HIDDEN>
 <87blhl201f.fsf@HIDDEN>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
In-Reply-To: <87blhl201f.fsf@HIDDEN>
User-Agent: Mutt/1.14.0 (2020-05-02)
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 43735
Cc: Eli Zaretskii <eliz@HIDDEN>, 43735 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* Lars Ingebrigtsen <larsi@HIDDEN> [2020-10-01 22:56]:
> Jean Louis <bugs@HIDDEN> writes:
> 
> >> > I think it is related also to CDPATH. Now when I remove CDPATH from
> >> > .bashrc, then it works.
> >> 
> >> What's your CDPATH variable?
> >
> > export
> > CDPATH="./:~:/home/data1/protected/Work/3rd-Dynamic/Corporation/Division_4/Dept_10/Company
> > Formation"
> 
> I can reproduce this bug:
> 
> M-x eshell
> $ export CDPATH="/var"
> $ cd tmp
> No such directory found via CDPATH environment variable
> 
> (tmp does exist.)

It is reproducible, but I am starting from login with CDPATH in my
.bashrc, before starting Emacs. I am not chaning CDPATH within Emacs
inside, I did not test that.

If I start with CDPATH in .bashrc, as environment, that is where
problem starts.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#43735; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 2 Oct 2020 07:40:11 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Oct 02 03:40:11 2020
Received: from localhost ([127.0.0.1]:39271 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kOFfm-0000Nk-Qu
	for submit <at> debbugs.gnu.org; Fri, 02 Oct 2020 03:40:11 -0400
Received: from lists.gnu.org ([209.51.188.17]:59296)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>)
 id 1kOFfi-0000Na-Nm
 for submit <at> debbugs.gnu.org; Fri, 02 Oct 2020 03:40:09 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:58086)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <geb-bug-gnu-emacs@HIDDEN>)
 id 1kOFfi-0003M0-Em
 for bug-gnu-emacs@HIDDEN; Fri, 02 Oct 2020 03:40:06 -0400
Received: from static.214.254.202.116.clients.your-server.de
 ([116.202.254.214]:56340 helo=ciao.gmane.io)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <geb-bug-gnu-emacs@HIDDEN>)
 id 1kOFfg-0004C2-Qf
 for bug-gnu-emacs@HIDDEN; Fri, 02 Oct 2020 03:40:06 -0400
Received: from list by ciao.gmane.io with local (Exim 4.92)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>)
 id 1kOFfd-0006c4-2i
 for bug-gnu-emacs@HIDDEN; Fri, 02 Oct 2020 09:40:01 +0200
X-Injected-Via-Gmane: http://gmane.org/
To: bug-gnu-emacs@HIDDEN
From: Colin Baxter <m43cap@HIDDEN>
Subject: Re: bug#43735: 28.0.50;
 eshell: No such directory found via CDPATH environment variable
Date: Fri, 02 Oct 2020 08:39:53 +0100
Message-ID: <87r1qhm5yu.fsf@HIDDEN>
References: <86mu16tvqy.fsf@HIDDEN> <87sgaxq3ze.fsf@HIDDEN>
 <83d021hn0z.fsf@HIDDEN> <20201001191914.GM4797@HIDDEN>
 <87k0w921kt.fsf@HIDDEN> <20201001192655.GP4797@HIDDEN>
 <87blhl201f.fsf@HIDDEN> <87y2kpzp45.fsf@HIDDEN>
 <749BF8F2-CEF9-4222-B72C-1AED9D91DB90@HIDDEN>
 <87362xzk4l.fsf@HIDDEN>
Mime-Version: 1.0
Content-Type: text/plain
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:NWzoZ8RoBi8xhTeLp2pPwu9n+Cg=
X-Face: BHjiJOg/Qm<l.(R#\p-0{gCp3du3*)G~PJYQ[6fRR<L#QZ,~":E9WQ,|'jw;k
 9xPEKXwL%6nfC:T>j'BQgsAKL@])L)e62P)C"Y=6T
Face: iVBORw0KGgoAAAANSUhEUgAAAGQAAAAeBAMAAAAodabAAAAAB3RJTUUH1wQdAAY04/L8hgAA
 AAlwSFlzAAAewQAAHsEBw2lUUwAAAARnQU1BAACxjwv8YQUAAAASUExURc7OzpwAAAAAAP////8A
 AGNj/2aqqTQAAAA8SURBVHjaYzA2NnEBAmdj01D8wNgYpM7F2JiBgYFREAgEGJiU8AMGBpA6QaCG
 UVtGbRm1ZdSWUVsGjS0Aq20lJnMawnkAAAAASUVORK5CYII=
Received-SPF: pass client-ip=116.202.254.214;
 envelope-from=geb-bug-gnu-emacs@HIDDEN; helo=ciao.gmane.io
X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/02 03:40:01
X-ACL-Warn: Detected OS   = Linux 2.2.x-3.x [generic] [fuzzy]
X-Spam_score_int: -15
X-Spam_score: -1.6
X-Spam_bar: -
X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9,
 FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001,
 HEADER_FROM_DIFFERENT_DOMAINS=0.25, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.1 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.1 (--)

>>>>> Lars Ingebrigtsen <larsi@HIDDEN> writes:

    > Jean Louis <bugs@HIDDEN> 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 can confirm CDPATH works in shell and eshell.

cd $HOME <RET>
mkdir hop <RET>
mkdir $HOME/hop/hip <RET>
mkdir $HOME/hop/hip/hap <RET>
export CDPATH=".:/home/<USERNAME>/hop/hip/" <RET>
cd <RET>
emacs -q <RET>
M-x shell <RET>

In shell:
cd <RET>
cd hap <RET>
pwd <RET> --> /home/<USERNAME>/hop/hip/hap


I used emacs-28.0.50. CDPATH is always tricky to set correctly. I never
use it myself, for that reason.

Best wishes,
 
Colin Baxter





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#43735; Package emacs. Full text available.

Message received at 43735 <at> debbugs.gnu.org:


Received: (at 43735) by debbugs.gnu.org; 1 Oct 2020 21:56:00 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 01 17:56:00 2020
Received: from localhost ([127.0.0.1]:38641 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kO6YO-0006i7-C8
	for submit <at> debbugs.gnu.org; Thu, 01 Oct 2020 17:56:00 -0400
Received: from quimby.gnus.org ([95.216.78.240]:36028)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1kO6YI-0006hn-7i
 for 43735 <at> debbugs.gnu.org; Thu, 01 Oct 2020 17:55:54 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=rz1SSHo0kfbkssx6pQ+Y2oFSW6+rGfa7AskiXar2lLE=; b=DkAZtL+Vmap6wMSySWFZ59mNtz
 prJnsl/tJsRxoIKkYnjtEgovDHQ/I9HxEInIjhTlUK96kP1bL+XSs8G3pWdrJHG/HQoCwY0RPOe6i
 IIYBffQpwdJtNvlIfFOw7dHoL0mEFT6IBJAElrhGAthqO6CLhAGZPwYZSUqKFs29U1O8=;
Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo)
 by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1kO6Y7-0003qz-Hw; Thu, 01 Oct 2020 23:55:43 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Jean Louis <bugs@HIDDEN>
Subject: Re: bug#43735: 28.0.50; eshell: No such directory found via CDPATH
 environment variable
References: <86mu16tvqy.fsf@HIDDEN> <87sgaxq3ze.fsf@HIDDEN>
 <83d021hn0z.fsf@HIDDEN> <20201001191914.GM4797@HIDDEN>
 <87k0w921kt.fsf@HIDDEN> <20201001192655.GP4797@HIDDEN>
 <87blhl201f.fsf@HIDDEN> <87y2kpzp45.fsf@HIDDEN>
 <749BF8F2-CEF9-4222-B72C-1AED9D91DB90@HIDDEN>
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj
 SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAGFBMVEUiFxxzjJeWqbBi
 d4xKTVe0v8fR09r///86u1foAAAAAWJLR0QHFmGI6wAAAAd0SU1FB+QKARU2DClKMDUAAAGjSURB
 VDjLnZNRkoMgDIaZlgsoewHTpc+rOPtslQvITLgB3P8Im0RQ2/FpU6fM5DN//gAqRdG6cYGujTln
 xEgPLUqAcQ5MTyAm5IdWAdC5vnEDpShS5n+p0CGY3jgQkSR6G7jFwCUWKZcT6yACg9/8RGgABFAf
 qgABmzaA3dIJAwi455TYJLIhfge6RsBMNjcrSTA0HAWQBINNktJmJPB6ihvKsSbpN854v4MsQ3AB
 gUkXIGJYDHWiw8CWARhCoP2ZdhB3gO8Aa01iU0VJDWfApn4qAIv2aNKZoqR6sGDjrtVVJfUC3tiU
 CoGqpBYGtH+lJkwnwO0LSGsFfg4Mahf8VjsgXQylIoVpr1hyBm6Dcn0e+gA2Bj5MayOGdfQV6GXI
 fESWf2H92k0p38aygdRnPfJKb9dDzjWM6hQzxCQFtOVv4A4g+w0tjNMZ6LmzNAsd6u6orPrRA5jD
 KBmqq8RZpCye0XQBJmJv4PSKW/wluPEM7qJIy0fxuCBDoDvbfgC+wjS+8Z9t5G7PYJrxyoAeqP2l
 ZSLN+JHbXtS9uZ5l6/Xv+AMd4re+5ctE/AAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMC0xMC0wMVQy
 MTo1NDoxMiswMDowMNjizIIAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjAtMTAtMDFUMjE6NTQ6MTIr
 MDA6MDCpv3Q+AAAAAElFTkSuQmCC
X-Now-Playing: Rocket To The Sky's _Medea_: "Mothering Silence"
Date: Thu, 01 Oct 2020 23:55:38 +0200
In-Reply-To: <749BF8F2-CEF9-4222-B72C-1AED9D91DB90@HIDDEN> (Jean Louis's
 message of "Thu, 01 Oct 2020 21:42:39 +0000")
Message-ID: <87362xzk4l.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview: Jean Louis <bugs@HIDDEN> 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 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 43735
Cc: 43735 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Jean Louis <bugs@HIDDEN> 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.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#43735; Package emacs. Full text available.

Message received at 43735 <at> debbugs.gnu.org:


Received: (at 43735) by debbugs.gnu.org; 1 Oct 2020 21:43:04 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 01 17:43:04 2020
Received: from localhost ([127.0.0.1]:38631 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kO6Lv-0004Hk-Qu
	for submit <at> debbugs.gnu.org; Thu, 01 Oct 2020 17:43:04 -0400
Received: from stw1.rcdrun.com ([217.170.207.13]:58123)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <bugs@HIDDEN>) id 1kO6Lq-0004HB-Of
 for 43735 <at> debbugs.gnu.org; Thu, 01 Oct 2020 17:43:01 -0400
Received: from [192.168.43.201] ([::ffff:197.157.34.166])
 (AUTH: PLAIN admin, TLS: TLS1.2,256bits,ECDHE_RSA_CHACHA20_POLY1305)
 by stw1.rcdrun.com with ESMTPSA
 id 000000000005C0CD.000000005F764D57.0000606E; Thu, 01 Oct 2020 14:42:47 -0700
Date: Thu, 01 Oct 2020 21:42:39 +0000
In-Reply-To: <87y2kpzp45.fsf@HIDDEN>
References: <86mu16tvqy.fsf@HIDDEN> <87sgaxq3ze.fsf@HIDDEN>
 <83d021hn0z.fsf@HIDDEN> <20201001191914.GM4797@HIDDEN>
 <87k0w921kt.fsf@HIDDEN> <20201001192655.GP4797@HIDDEN>
 <87blhl201f.fsf@HIDDEN> <87y2kpzp45.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain;
 charset=utf-8
Content-Transfer-Encoding: quoted-printable
Subject: Re: bug#43735: 28.0.50;
 eshell: No such directory found via CDPATH environment variable
To: Lars Ingebrigtsen <larsi@HIDDEN>
From: Jean Louis <bugs@HIDDEN>
Message-ID: <749BF8F2-CEF9-4222-B72C-1AED9D91DB90@HIDDEN>
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 43735
Cc: 43735 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

If you change within shell or eshell maybe no, I change it in =2Ebashrc bef=
ore launching and can reproduce reliably

Am October 1, 2020 8:07:54 PM UTC schrieb Lars Ingebrigtsen <larsi@gnus=2E=
org>:
>Lars Ingebrigtsen <larsi@gnus=2Eorg> writes:
>
>> I can reproduce this bug:
>>
>> M-x eshell
>> $ export CDPATH=3D"/var"
>> $ cd tmp
>> No such directory found via CDPATH environment variable
>>
>> (tmp does exist=2E)
>
>And now=2E=2E=2E  I'm no longer able to reproduce this problem=2E  Uhm=2E=
=2E=2E =20




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#43735; Package emacs. Full text available.

Message received at 43735 <at> debbugs.gnu.org:


Received: (at 43735) by debbugs.gnu.org; 1 Oct 2020 20:08:10 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 01 16:08:10 2020
Received: from localhost ([127.0.0.1]:38489 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kO4s6-0006AG-7n
	for submit <at> debbugs.gnu.org; Thu, 01 Oct 2020 16:08:10 -0400
Received: from quimby.gnus.org ([95.216.78.240]:35190)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1kO4s2-00069j-I8
 for 43735 <at> debbugs.gnu.org; Thu, 01 Oct 2020 16:08:09 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=ubu2osbA2d6+Oc2dpHV8Cd9pIbaJEceeM7S0VdlqvAE=; b=QOV44KHoVC9JXOkhEgC540RPDf
 3Na5J0fRNwWE09XUtMPNl8OCy1O/M+QSwHL1ssgUDmqxrSYTPNYs7+D9VRjlSufxUbAWRtiSz12pz
 L+6MCxbol2WRqXAWSWF8SqiphTeqkOlAlbh15i4MvCkG4b2JCSxMFgav/Or8YZGt56qM=;
Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo)
 by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1kO4rs-0002vX-0Q; Thu, 01 Oct 2020 22:08:00 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Jean Louis <bugs@HIDDEN>
Subject: Re: bug#43735: 28.0.50; eshell: No such directory found via CDPATH
 environment variable
References: <86mu16tvqy.fsf@HIDDEN> <87sgaxq3ze.fsf@HIDDEN>
 <83d021hn0z.fsf@HIDDEN> <20201001191914.GM4797@HIDDEN>
 <87k0w921kt.fsf@HIDDEN> <20201001192655.GP4797@HIDDEN>
 <87blhl201f.fsf@HIDDEN>
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj
 SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAD1BMVEVdOkeMVmCtoKPw
 7Ov///+QNNExAAAAAWJLR0QEj2jZUQAAAAd0SU1FB+QKARM2EDnGEMgAAAHCSURBVDjLZZTtuYMw
 CIUhXSDgAklYQJP9d7sHiNY+lx9WfQ2HzxKFVRJlSetxJb/o+DF8lR/TZ9q0Yf5yjWHtC04q2rji
 Wal+3kDZunSVOkSO5jLkIgccrBm+cF1ddIvjfiAA6wBqqxFnrHQstzmWxQ1ATVDm8miWTbgaACUA
 03G5Jx2KoKfY5XmRB58eHtvi7ioUTBGCuobIFnfQailwfmwQcbGDCz9N1AIMTxt5hCubt8Z5V3e4
 44k6dM/V89gWJ172gNCYUU6yf+D8VqdHgrLFr+zADjcyYdpA2q+rG/DoxAH4P8hwUSp1cGvAb3Fw
 jUiwSlTuCu0oSZddRd5gEF3HBvIGRqUFqJygbFCaBYhxRIJ9a5Sq8yfBShxAqrYEeMdvgP7cgN4g
 pzUyF5zwfdAsOxzXbG0C5L8mOuvjmwMnT0MwI/5zRq++gHmdzft1UvOHBJ5lSfDxEyhDf3awZIQA
 lwMck7o1Tq61HCeGViFe5QFh93w3ufej+2vVjtZk2RV7ilQ4TpitmSvVkJ/crpAYNt03KktCj4Yv
 rW0N+mZ+20xXCDrnZ/hcyIiC+t8MsezSv+2OFUFlKzxCiU3yb/8AAUZn5CnFt7kAAAAldEVYdGRh
 dGU6Y3JlYXRlADIwMjAtMTAtMDFUMTk6NTQ6MTYrMDA6MDAKzx4nAAAAJXRFWHRkYXRlOm1vZGlm
 eQAyMDIwLTEwLTAxVDE5OjU0OjE2KzAwOjAwe5KmmwAAAABJRU5ErkJggg==
X-Now-Playing: Sandy Denny's _'Gold Dust' Live at the Royalty_: "The Lady"
Date: Thu, 01 Oct 2020 22:07:54 +0200
In-Reply-To: <87blhl201f.fsf@HIDDEN> (Lars Ingebrigtsen's message of "Thu,
 01 Oct 2020 21:55:56 +0200")
Message-ID: <87y2kpzp45.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview: Lars Ingebrigtsen <larsi@HIDDEN> writes: > I can reproduce
 this bug: > > M-x eshell > $ export CDPATH="/var" > $ cd tmp > No such
 directory
 found via CDPATH environment variable > > (tmp does exist.) 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 43735
Cc: 43735 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Lars Ingebrigtsen <larsi@HIDDEN> writes:

> I can reproduce this bug:
>
> M-x eshell
> $ export CDPATH="/var"
> $ cd tmp
> No such directory found via CDPATH environment variable
>
> (tmp does exist.)

And now...  I'm no longer able to reproduce this problem.  Uhm...  

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#43735; Package emacs. Full text available.

Message received at 43735 <at> debbugs.gnu.org:


Received: (at 43735) by debbugs.gnu.org; 1 Oct 2020 19:56:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 01 15:56:13 2020
Received: from localhost ([127.0.0.1]:38476 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kO4gX-0005rs-Hj
	for submit <at> debbugs.gnu.org; Thu, 01 Oct 2020 15:56:13 -0400
Received: from quimby.gnus.org ([95.216.78.240]:35028)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1kO4gS-0005ra-CL
 for 43735 <at> debbugs.gnu.org; Thu, 01 Oct 2020 15:56:11 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=XJBReW5fgmCNwlf7mP5+OknltV3PtipPcGQ+zfxLOy8=; b=HsBb9c/g1YBM+sd2iVVXWUCFbX
 rL3vIIqhXdvYnV6mz8VQ7breXPjZL7FcuaZOwuvf9aosoX16Kt04FWUmeoLnRGKHauyNOYZk7iv5g
 r+c2I9xAz4UO1Px2qFZTt8a4Hs3IOW8Ozr7X2Mte7t1v8oaumsPMwF0CbKRDCGDIgFCc=;
Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo)
 by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1kO4gH-0002q0-8b; Thu, 01 Oct 2020 21:56:01 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Jean Louis <bugs@HIDDEN>
Subject: Re: bug#43735: 28.0.50; eshell: No such directory found via CDPATH
 environment variable
References: <86mu16tvqy.fsf@HIDDEN> <87sgaxq3ze.fsf@HIDDEN>
 <83d021hn0z.fsf@HIDDEN> <20201001191914.GM4797@HIDDEN>
 <87k0w921kt.fsf@HIDDEN> <20201001192655.GP4797@HIDDEN>
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj
 SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAD1BMVEVdOkeMVmCtoKPw
 7Ov///+QNNExAAAAAWJLR0QEj2jZUQAAAAd0SU1FB+QKARM2EDnGEMgAAAHCSURBVDjLZZTtuYMw
 CIUhXSDgAklYQJP9d7sHiNY+lx9WfQ2HzxKFVRJlSetxJb/o+DF8lR/TZ9q0Yf5yjWHtC04q2rji
 Wal+3kDZunSVOkSO5jLkIgccrBm+cF1ddIvjfiAA6wBqqxFnrHQstzmWxQ1ATVDm8miWTbgaACUA
 03G5Jx2KoKfY5XmRB58eHtvi7ioUTBGCuobIFnfQailwfmwQcbGDCz9N1AIMTxt5hCubt8Z5V3e4
 44k6dM/V89gWJ172gNCYUU6yf+D8VqdHgrLFr+zADjcyYdpA2q+rG/DoxAH4P8hwUSp1cGvAb3Fw
 jUiwSlTuCu0oSZddRd5gEF3HBvIGRqUFqJygbFCaBYhxRIJ9a5Sq8yfBShxAqrYEeMdvgP7cgN4g
 pzUyF5zwfdAsOxzXbG0C5L8mOuvjmwMnT0MwI/5zRq++gHmdzft1UvOHBJ5lSfDxEyhDf3awZIQA
 lwMck7o1Tq61HCeGViFe5QFh93w3ufej+2vVjtZk2RV7ilQ4TpitmSvVkJ/crpAYNt03KktCj4Yv
 rW0N+mZ+20xXCDrnZ/hcyIiC+t8MsezSv+2OFUFlKzxCiU3yb/8AAUZn5CnFt7kAAAAldEVYdGRh
 dGU6Y3JlYXRlADIwMjAtMTAtMDFUMTk6NTQ6MTYrMDA6MDAKzx4nAAAAJXRFWHRkYXRlOm1vZGlm
 eQAyMDIwLTEwLTAxVDE5OjU0OjE2KzAwOjAwe5KmmwAAAABJRU5ErkJggg==
X-Now-Playing: Sandy Denny's _'Gold Dust' Live at the Royalty_: "Nothing More"
Date: Thu, 01 Oct 2020 21:55:56 +0200
In-Reply-To: <20201001192655.GP4797@HIDDEN> (Jean Louis's
 message of "Thu, 1 Oct 2020 22:26:55 +0300")
Message-ID: <87blhl201f.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview: Jean Louis <bugs@HIDDEN> writes: >> > I think it is
 related
 also to CDPATH. Now when I remove CDPATH from >> > .bashrc, then it works.
 >> >> What's your CDPATH variable? > > export >
 CDPATH="./:~:/home/data1/protected/Work/3rd-Dynami [...] 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 43735
Cc: Eli Zaretskii <eliz@HIDDEN>, 43735 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Jean Louis <bugs@HIDDEN> writes:

>> > I think it is related also to CDPATH. Now when I remove CDPATH from
>> > .bashrc, then it works.
>> 
>> What's your CDPATH variable?
>
> export
> CDPATH="./:~:/home/data1/protected/Work/3rd-Dynamic/Corporation/Division_4/Dept_10/Company
> Formation"

I can reproduce this bug:

M-x eshell
$ export CDPATH="/var"
$ cd tmp
No such directory found via CDPATH environment variable

(tmp does exist.)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#43735; Package emacs. Full text available.

Message received at 43735 <at> debbugs.gnu.org:


Received: (at 43735) by debbugs.gnu.org; 1 Oct 2020 19:27:06 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 01 15:27:06 2020
Received: from localhost ([127.0.0.1]:38418 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kO4EM-000570-6D
	for submit <at> debbugs.gnu.org; Thu, 01 Oct 2020 15:27:06 -0400
Received: from stw1.rcdrun.com ([217.170.207.13]:39255)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <bugs@HIDDEN>) id 1kO4EJ-00054m-8l
 for 43735 <at> debbugs.gnu.org; Thu, 01 Oct 2020 15:27:04 -0400
Received: from localhost ([::ffff:197.157.34.166])
 (AUTH: PLAIN securesender, TLS: TLS1.2,256bits,ECDHE_RSA_AES_256_GCM_SHA384)
 by stw1.rcdrun.com with ESMTPSA
 id 000000000005C0CF.000000005F762D82.000055E6; Thu, 01 Oct 2020 12:26:58 -0700
Date: Thu, 1 Oct 2020 22:26:55 +0300
From: Jean Louis <bugs@HIDDEN>
To: Lars Ingebrigtsen <larsi@HIDDEN>
Subject: Re: bug#43735: 28.0.50; eshell: No such directory found via CDPATH
 environment variable
Message-ID: <20201001192655.GP4797@HIDDEN>
References: <86mu16tvqy.fsf@HIDDEN> <87sgaxq3ze.fsf@HIDDEN>
 <83d021hn0z.fsf@HIDDEN>
 <20201001191914.GM4797@HIDDEN>
 <87k0w921kt.fsf@HIDDEN>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
In-Reply-To: <87k0w921kt.fsf@HIDDEN>
User-Agent: Mutt/1.14.0 (2020-05-02)
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 43735
Cc: Eli Zaretskii <eliz@HIDDEN>, 43735 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* Lars Ingebrigtsen <larsi@HIDDEN> [2020-10-01 22:23]:
> Jean Louis <bugs@HIDDEN> writes:
> 
> > I think it is related also to CDPATH. Now when I remove CDPATH from
> > .bashrc, then it works.
> 
> What's your CDPATH variable?

export CDPATH="./:~:/home/data1/protected/Work/3rd-Dynamic/Corporation/Division_4/Dept_10/Company Formation"

And inside there, there are directories like:

Accounting
Agency Agreement
Australia

and many others. Nothing special, that is how it is.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#43735; Package emacs. Full text available.

Message received at 43735 <at> debbugs.gnu.org:


Received: (at 43735) by debbugs.gnu.org; 1 Oct 2020 19:26:02 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 01 15:26:02 2020
Received: from localhost ([127.0.0.1]:38414 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kO4DJ-000551-Oi
	for submit <at> debbugs.gnu.org; Thu, 01 Oct 2020 15:26:02 -0400
Received: from stw1.rcdrun.com ([217.170.207.13]:39255)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <bugs@HIDDEN>) id 1kO4DH-00054m-Py
 for 43735 <at> debbugs.gnu.org; Thu, 01 Oct 2020 15:26:00 -0400
Received: from localhost ([::ffff:197.157.34.166])
 (AUTH: PLAIN securesender, TLS: TLS1.2,256bits,ECDHE_RSA_AES_256_GCM_SHA384)
 by stw1.rcdrun.com with ESMTPSA
 id 000000000005C0CF.000000005F762D3F.000055C3; Thu, 01 Oct 2020 12:25:50 -0700
Date: Thu, 1 Oct 2020 22:25:48 +0300
From: Jean Louis <bugs@HIDDEN>
To: Lars Ingebrigtsen <larsi@HIDDEN>
Subject: Re: bug#43735: 28.0.50; M-x eshell: No such directory found via
 CDPATH environment variable
Message-ID: <20201001192548.GO4797@HIDDEN>
References: <86mu16tvqy.fsf@HIDDEN> <87sgaxq3ze.fsf@HIDDEN>
 <20201001190007.GJ4797@HIDDEN>
 <87tuvd22aj.fsf@HIDDEN>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
In-Reply-To: <87tuvd22aj.fsf@HIDDEN>
User-Agent: Mutt/1.14.0 (2020-05-02)
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 43735
Cc: 43735 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* Lars Ingebrigtsen <larsi@HIDDEN> [2020-10-01 22:07]:
> Jean Louis <bugs@HIDDEN> writes:
> 
> > Sorry, I had to say: M-x shell
> >
> > That is where it happens.
> >
> > Eshell has other problems, I reported.
> 
> [...]
> 
> > > Following is invoked as emacs -Q:
> > >
> > > M-x eshell
> 
> [...]
> 
> >> I'm unable to reproduce the bug.
> >> 
> >> M-x eshell
> >> 
> >> ~ $ cd tmp
> >> ~/tmp $ cd zim-admin
> >> No such directory found via CDPATH environment variable
> >> ~/tmp $ cd ..
> >> ~ $ 
> 
> You've reported one bug about eshell, and one about shell.  The one I
> responded to was the one about eshell.  (But I see you're saying "shell"
> in the subject.)

Eh, sorry, even me I am confused now, but now I see I did report it
well for M-x eshell, not for M-x shell, but in both bugs,
incidentally, there is same problem, it happens if CDPATH variable is
there.

Let me correct the subject, back to eshell.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#43735; Package emacs. Full text available.

Message received at 43735 <at> debbugs.gnu.org:


Received: (at 43735) by debbugs.gnu.org; 1 Oct 2020 19:23:06 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 01 15:23:05 2020
Received: from localhost ([127.0.0.1]:38401 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kO4AP-0004zY-Dj
	for submit <at> debbugs.gnu.org; Thu, 01 Oct 2020 15:23:05 -0400
Received: from quimby.gnus.org ([95.216.78.240]:34618)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1kO4AJ-0004zF-LS
 for 43735 <at> debbugs.gnu.org; Thu, 01 Oct 2020 15:23:00 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=xmXHw3/on0oJWsGWIQ1dTyuRmdkzVB0fqalmu7HjOaA=; b=oSKa4tt2uVAzp+qbeTiwzBCbiq
 K+I96QGT2lH3xJBM+CLBuFrFhiOPkG5N4G9yaQvzothPeWpRgejeEpB+72mgELM4XwuLHsBxkLEzD
 LThFrg94ylsCH8cwVtlnO48DuTMhlKEfpQkwNNkPj2ZEGBsc1rjUmdFrY/vWKcNyBjAc=;
Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo)
 by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1kO4A8-0002Ys-OJ; Thu, 01 Oct 2020 21:22:49 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Jean Louis <bugs@HIDDEN>
Subject: Re: bug#43735: 28.0.50; eshell: No such directory found via CDPATH
 environment variable
References: <86mu16tvqy.fsf@HIDDEN> <87sgaxq3ze.fsf@HIDDEN>
 <83d021hn0z.fsf@HIDDEN> <20201001191914.GM4797@HIDDEN>
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj
 SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAMFBMVEUtDxNTExpvEhyK
 FSGWGCKZJR+yahrIlh3QtWjRxKTZ1tefknBsVSqgm5K2tLD///+T6I91AAAAAWJLR0QPGLoA2QAA
 AAd0SU1FB+QKARMFNYapob8AAADpSURBVDjLrZPLDYJAEEDHDuTuRe3ApQO3BGxBOxA7cO3ALUEO
 nE0WD148bQtrASRagzMQ/gwmhBcyMPN2JllgAf4x8zKqgscwkViSWDGMEGvRZUNCMAwIX0hfColQ
 vi2FL+tsqw7ZDyvklGKXE8igX3SAPcOQCI/N0iHEK4SQYYQ4KXU+XSgoDDWBqY5K9FURWmuIWtyw
 SPeOKMBR5o7NOCIxxqgSmNMRWFik/P/ti3buLeb5+bC0a/vMElwIxiS03JoWKB6uD3Dfio9z7+IZ
 HAMvvgy8mHDUgGi87ZhCisWhjrT1ieKs8AN8bw1wyQqQ9AAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAy
 MC0xMC0wMVQxOTowNTo1MyswMDowMEIo+AYAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjAtMTAtMDFU
 MTk6MDU6NTMrMDA6MDAzdUC6AAAAAElFTkSuQmCC
X-Now-Playing: Pivot's _Make Me Love You_: "I May Be Gone For Some Time"
Date: Thu, 01 Oct 2020 21:22:42 +0200
In-Reply-To: <20201001191914.GM4797@HIDDEN> (Jean Louis's
 message of "Thu, 1 Oct 2020 22:19:14 +0300")
Message-ID: <87k0w921kt.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview: Jean Louis <bugs@HIDDEN> writes: > I think it is related
 also to CDPATH. Now when I remove CDPATH from > .bashrc, then it works. What's
 your CDPATH variable? 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 43735
Cc: Eli Zaretskii <eliz@HIDDEN>, 43735 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Jean Louis <bugs@HIDDEN> writes:

> I think it is related also to CDPATH. Now when I remove CDPATH from
> .bashrc, then it works.

What's your CDPATH variable?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#43735; Package emacs. Full text available.

Message received at 43735 <at> debbugs.gnu.org:


Received: (at 43735) by debbugs.gnu.org; 1 Oct 2020 19:19:36 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 01 15:19:36 2020
Received: from localhost ([127.0.0.1]:38385 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kO46z-0004tD-HE
	for submit <at> debbugs.gnu.org; Thu, 01 Oct 2020 15:19:36 -0400
Received: from stw1.rcdrun.com ([217.170.207.13]:45779)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <bugs@HIDDEN>) id 1kO46w-0004su-BR
 for 43735 <at> debbugs.gnu.org; Thu, 01 Oct 2020 15:19:28 -0400
Received: from localhost ([::ffff:197.157.34.166])
 (AUTH: PLAIN securesender, TLS: TLS1.2,256bits,ECDHE_RSA_AES_256_GCM_SHA384)
 by stw1.rcdrun.com with ESMTPSA
 id 00000000000EDD76.000000005F762BB5.00005500; Thu, 01 Oct 2020 12:19:16 -0700
Date: Thu, 1 Oct 2020 22:19:14 +0300
From: Jean Louis <bugs@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#43735: 28.0.50; eshell: No such directory found via CDPATH
 environment variable
Message-ID: <20201001191914.GM4797@HIDDEN>
References: <86mu16tvqy.fsf@HIDDEN> <87sgaxq3ze.fsf@HIDDEN>
 <83d021hn0z.fsf@HIDDEN>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
In-Reply-To: <83d021hn0z.fsf@HIDDEN>
User-Agent: Mutt/1.14.0 (2020-05-02)
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 43735
Cc: Lars Ingebrigtsen <larsi@HIDDEN>, 43735 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* Eli Zaretskii <eliz@HIDDEN> [2020-10-01 20:31]:
> > From: Lars Ingebrigtsen <larsi@HIDDEN>
> > Date: Thu, 01 Oct 2020 18:56:53 +0200
> > Cc: 43735 <at> debbugs.gnu.org
> > 
> > Jean Louis <bugs@HIDDEN> writes:
> > 
> > > Following is invoked as emacs -Q:
> > >
> > > M-x eshell
> > >
> > > $ cd tmp 
> > >
> > > ~/tmp $ cd zim-admin
> > > No such directory found via CDPATH environment variable
> > >
> > > y~/tmp $ cd ..
> > > /home/data1 $ No such directory found via CDPATH environment variable
> > 
> > I'm unable to reproduce the bug.
> 
> This is probably related to the symlinks Jean has there, or to some
> other local issue.

I think it is related also to CDPATH. Now when I remove CDPATH from
.bashrc, then it works.

If I have CDPATH, it does not work.

Other bug is similar to this one, but is related to M-x shell

In both cases, Emacs is not handling well the CDPATH variable.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#43735; Package emacs. Full text available.

Message received at 43735 <at> debbugs.gnu.org:


Received: (at 43735) by debbugs.gnu.org; 1 Oct 2020 19:07:38 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 01 15:07:38 2020
Received: from localhost ([127.0.0.1]:38338 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kO3vR-0002Q5-RX
	for submit <at> debbugs.gnu.org; Thu, 01 Oct 2020 15:07:38 -0400
Received: from quimby.gnus.org ([95.216.78.240]:34476)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1kO3vM-0002Pn-9a
 for 43735 <at> debbugs.gnu.org; Thu, 01 Oct 2020 15:07:32 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=a5W7gKUiN3y3s9oH3B/mPYPWyb25LftFpjdeyMjcB38=; b=dLqVUxen436haSA/JGmOUqHj8M
 yGZft+LIT+qM1MlydCEnb5ksWu35ApvQ7fO3JCS7sSc7TZI310mBB+nMKGPDgANzFdHOCNohvFVNT
 kToWVpQcuPpe/ltCizXb+8fsZY6jywogDBZtDBJcU4Vftj+LiGgu+OmsM5PPiyJ/as6g=;
Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo)
 by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1kO3vB-0002O5-Jt; Thu, 01 Oct 2020 21:07:22 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Jean Louis <bugs@HIDDEN>
Subject: Re: bug#43735: 28.0.50; M-x shell: No such directory found via
 CDPATH environment variable
References: <86mu16tvqy.fsf@HIDDEN> <87sgaxq3ze.fsf@HIDDEN>
 <20201001190007.GJ4797@HIDDEN>
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj
 SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAMFBMVEUtDxNTExpvEhyK
 FSGWGCKZJR+yahrIlh3QtWjRxKTZ1tefknBsVSqgm5K2tLD///+T6I91AAAAAWJLR0QPGLoA2QAA
 AAd0SU1FB+QKARMFNYapob8AAADpSURBVDjLrZPLDYJAEEDHDuTuRe3ApQO3BGxBOxA7cO3ALUEO
 nE0WD148bQtrASRagzMQ/gwmhBcyMPN2JllgAf4x8zKqgscwkViSWDGMEGvRZUNCMAwIX0hfColQ
 vi2FL+tsqw7ZDyvklGKXE8igX3SAPcOQCI/N0iHEK4SQYYQ4KXU+XSgoDDWBqY5K9FURWmuIWtyw
 SPeOKMBR5o7NOCIxxqgSmNMRWFik/P/ti3buLeb5+bC0a/vMElwIxiS03JoWKB6uD3Dfio9z7+IZ
 HAMvvgy8mHDUgGi87ZhCisWhjrT1ieKs8AN8bw1wyQqQ9AAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAy
 MC0xMC0wMVQxOTowNTo1MyswMDowMEIo+AYAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjAtMTAtMDFU
 MTk6MDU6NTMrMDA6MDAzdUC6AAAAAElFTkSuQmCC
X-Now-Playing: Pivot's _Make Me Love You_: "La Mer"
Date: Thu, 01 Oct 2020 21:07:16 +0200
In-Reply-To: <20201001190007.GJ4797@HIDDEN> (Jean Louis's
 message of "Thu, 1 Oct 2020 22:00:07 +0300")
Message-ID: <87tuvd22aj.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview:  Jean Louis <bugs@HIDDEN> writes: > Sorry, I had to say:
 M-x shell > > That is where it happens. > > Eshell has other problems, I
 reported. [...] 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 43735
Cc: 43735 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Jean Louis <bugs@HIDDEN> writes:

> Sorry, I had to say: M-x shell
>
> That is where it happens.
>
> Eshell has other problems, I reported.

[...]

> > Following is invoked as emacs -Q:
> >
> > M-x eshell

[...]

>> I'm unable to reproduce the bug.
>> 
>> M-x eshell
>> 
>> ~ $ cd tmp
>> ~/tmp $ cd zim-admin
>> No such directory found via CDPATH environment variable
>> ~/tmp $ cd ..
>> ~ $ 

You've reported one bug about eshell, and one about shell.  The one I
responded to was the one about eshell.  (But I see you're saying "shell"
in the subject.)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#43735; Package emacs. Full text available.

Message received at 43735 <at> debbugs.gnu.org:


Received: (at 43735) by debbugs.gnu.org; 1 Oct 2020 19:00:25 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 01 15:00:25 2020
Received: from localhost ([127.0.0.1]:38330 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kO3oW-0002G5-Sw
	for submit <at> debbugs.gnu.org; Thu, 01 Oct 2020 15:00:25 -0400
Received: from stw1.rcdrun.com ([217.170.207.13]:39769)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <bugs@HIDDEN>) id 1kO3oR-0002Fj-5O
 for 43735 <at> debbugs.gnu.org; Thu, 01 Oct 2020 15:00:22 -0400
Received: from localhost ([::ffff:197.157.34.166])
 (AUTH: PLAIN securesender, TLS: TLS1.2,256bits,ECDHE_RSA_AES_256_GCM_SHA384)
 by stw1.rcdrun.com with ESMTPSA
 id 00000000000EDD76.000000005F76273B.000052E7; Thu, 01 Oct 2020 12:00:10 -0700
Date: Thu, 1 Oct 2020 22:00:07 +0300
From: Jean Louis <bugs@HIDDEN>
To: Lars Ingebrigtsen <larsi@HIDDEN>
Subject: Re: bug#43735: 28.0.50; M-x shell: No such directory found via
 CDPATH environment variable
Message-ID: <20201001190007.GJ4797@HIDDEN>
References: <86mu16tvqy.fsf@HIDDEN>
 <87sgaxq3ze.fsf@HIDDEN>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
In-Reply-To: <87sgaxq3ze.fsf@HIDDEN>
User-Agent: Mutt/1.14.0 (2020-05-02)
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 43735
Cc: 43735 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Sorry, I had to say: M-x shell

That is where it happens.

Eshell has other problems, I reported.

* Lars Ingebrigtsen <larsi@HIDDEN> [2020-10-01 19:57]:
> Jean Louis <bugs@HIDDEN> writes:
> 
> > Following is invoked as emacs -Q:
> >
> > M-x eshell
> >
> > $ cd tmp 
> >
> > ~/tmp $ cd zim-admin
> > No such directory found via CDPATH environment variable
> >
> > y~/tmp $ cd ..
> > /home/data1 $ No such directory found via CDPATH environment variable
> 
> I'm unable to reproduce the bug.
> 
> M-x eshell
> 
> ~ $ cd tmp
> ~/tmp $ cd zim-admin
> No such directory found via CDPATH environment variable
> ~/tmp $ cd ..
> ~ $ 




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#43735; Package emacs. Full text available.

Message received at 43735 <at> debbugs.gnu.org:


Received: (at 43735) by debbugs.gnu.org; 1 Oct 2020 17:30:36 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 01 13:30:36 2020
Received: from localhost ([127.0.0.1]:38180 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kO2Pb-00023n-Sx
	for submit <at> debbugs.gnu.org; Thu, 01 Oct 2020 13:30:36 -0400
Received: from eggs.gnu.org ([209.51.188.92]:54086)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1kO2PZ-00023Z-VV
 for 43735 <at> debbugs.gnu.org; Thu, 01 Oct 2020 13:30:34 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:58374)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>)
 id 1kO2PR-0004vj-RQ; Thu, 01 Oct 2020 13:30:28 -0400
Received: from [176.228.60.248] (port=4878 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1kO2PQ-00041O-AZ; Thu, 01 Oct 2020 13:30:25 -0400
Date: Thu, 01 Oct 2020 20:30:20 +0300
Message-Id: <83d021hn0z.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Lars Ingebrigtsen <larsi@HIDDEN>
In-Reply-To: <87sgaxq3ze.fsf@HIDDEN> (message from Lars Ingebrigtsen on Thu, 
 01 Oct 2020 18:56:53 +0200)
Subject: Re: bug#43735: 28.0.50;
 eshell: No such directory found via CDPATH environment variable
References: <86mu16tvqy.fsf@HIDDEN> <87sgaxq3ze.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 43735
Cc: 43735 <at> debbugs.gnu.org, bugs@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Lars Ingebrigtsen <larsi@HIDDEN>
> Date: Thu, 01 Oct 2020 18:56:53 +0200
> Cc: 43735 <at> debbugs.gnu.org
> 
> Jean Louis <bugs@HIDDEN> writes:
> 
> > Following is invoked as emacs -Q:
> >
> > M-x eshell
> >
> > $ cd tmp 
> >
> > ~/tmp $ cd zim-admin
> > No such directory found via CDPATH environment variable
> >
> > y~/tmp $ cd ..
> > /home/data1 $ No such directory found via CDPATH environment variable
> 
> I'm unable to reproduce the bug.

This is probably related to the symlinks Jean has there, or to some
other local issue.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#43735; Package emacs. Full text available.

Message received at 43735 <at> debbugs.gnu.org:


Received: (at 43735) by debbugs.gnu.org; 1 Oct 2020 16:57:19 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 01 12:57:19 2020
Received: from localhost ([127.0.0.1]:38132 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kO1tB-0007Sv-5f
	for submit <at> debbugs.gnu.org; Thu, 01 Oct 2020 12:57:18 -0400
Received: from quimby.gnus.org ([95.216.78.240]:32892)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1kO1t9-0007SR-PK
 for 43735 <at> debbugs.gnu.org; Thu, 01 Oct 2020 12:57:04 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=K5lhdHtyVe4JlCxvA0lWhDQdUNaOumbKhr/1NKydi6s=; b=GKgqrdFCriIaM400Y04BEa/cyY
 4ATU7g8YuAgxl2PdC+UDUlOvD85EMye4E2N3UOL2sBKaH80JKxIUQ6S1kNFdS6AeQ1rlsH9/NddSQ
 vCFb8W57AlhIYTHlFAdIxr10H9ns/XVLLRVPJVsV8nSTr6vTxBlGytM2utnVMZV9k3W4=;
Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo)
 by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1kO1t1-0000im-7Z; Thu, 01 Oct 2020 18:56:57 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Jean Louis <bugs@HIDDEN>
Subject: Re: bug#43735: 28.0.50; eshell: No such directory found via CDPATH
 environment variable
References: <86mu16tvqy.fsf@HIDDEN>
X-Now-Playing: Static's _Re: Talking About Memories_: "One After 808"
Date: Thu, 01 Oct 2020 18:56:53 +0200
In-Reply-To: <86mu16tvqy.fsf@HIDDEN> (Jean Louis's message of
 "Thu, 01 Oct 2020 07:28:53 +0300")
Message-ID: <87sgaxq3ze.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview: Jean Louis <bugs@HIDDEN> writes: > Following is invoked
 as emacs -Q: > > M-x eshell > > $ cd tmp > > ~/tmp $ cd zim-admin > No such
 directory found via CDPATH environment variable > > y~/tmp $ cd .. >
 /home/data1 $ No such directory [...] 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 43735
Cc: 43735 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Jean Louis <bugs@HIDDEN> writes:

> Following is invoked as emacs -Q:
>
> M-x eshell
>
> $ cd tmp 
>
> ~/tmp $ cd zim-admin
> No such directory found via CDPATH environment variable
>
> y~/tmp $ cd ..
> /home/data1 $ No such directory found via CDPATH environment variable

I'm unable to reproduce the bug.

M-x eshell

~ $ cd tmp
~/tmp $ cd zim-admin
No such directory found via CDPATH environment variable
~/tmp $ cd ..
~ $ 


-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#43735; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 1 Oct 2020 04:40:16 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 01 00:40:16 2020
Received: from localhost ([127.0.0.1]:33779 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kNqO7-0008Ng-VU
	for submit <at> debbugs.gnu.org; Thu, 01 Oct 2020 00:40:16 -0400
Received: from lists.gnu.org ([209.51.188.17]:43678)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <admin@HIDDEN>) id 1kNqO3-0008NW-LU
 for submit <at> debbugs.gnu.org; Thu, 01 Oct 2020 00:40:15 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:49414)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <admin@HIDDEN>)
 id 1kNqO2-0006e8-GU
 for bug-gnu-emacs@HIDDEN; Thu, 01 Oct 2020 00:40:10 -0400
Received: from stw1.rcdrun.com ([217.170.207.13]:55719)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <admin@HIDDEN>)
 id 1kNqNy-00012I-PK
 for bug-gnu-emacs@HIDDEN; Thu, 01 Oct 2020 00:40:10 -0400
Received: from protected.rcdrun.com ([::ffff:197.157.34.169])
 (AUTH: PLAIN admin, TLS: TLS1.2,256bits,ECDHE_RSA_AES_256_CBC_SHA1)
 by stw1.rcdrun.com with UTF8ESMTPSA
 id 00000000000F3C72.000000005F755D81.00000334; Wed, 30 Sep 2020 21:39:29 -0700
Received: from localhost (localhost [127.0.0.1]) (uid 1001)
 by protected.rcdrun.com with local
 id 00000000000C2378.000000005F755B05.000025F0; Thu, 01 Oct 2020 06:28:53 +0200
From: Jean Louis <bugs@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 28.0.50; eshell: No such directory found via CDPATH environment
 variable
X-Hashcash: 1:20:201001:bug-gnu-emacs@HIDDEN::k9cNIQY8P0OmFMez:00000000000000000000000000000000000000000ztz
Date: Thu, 01 Oct 2020 07:28:53 +0300
Message-ID: <86mu16tvqy.fsf@HIDDEN>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=217.170.207.13;
 envelope-from=admin@HIDDEN; helo=stw1.rcdrun.com
X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/01 00:39:30
X-ACL-Warn: Detected OS   = Linux 2.2.x-3.x [generic] [fuzzy]
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9,
 HEADER_FROM_DIFFERENT_DOMAINS=0.001, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)



Working directory: /home/data1/protected

Following is invoked as emacs -Q:

M-x eshell

$ cd tmp 

~/tmp $ cd zim-admin
No such directory found via CDPATH environment variable

y~/tmp $ cd ..
/home/data1 $ No such directory found via CDPATH environment variable

If I am in ~/tmp, by "cd .." I should get in /home/data1/protected,
instead I find myself in /home/data1

My $HOME is /home/data1/protected

/home/data1 $ cd protected/
No such directory found via CDPATH environment variable


/home/data1 $ cd protected/
No such directory found via CDPATH environment variable
/home/data1 $ ls -l
total 96
drwxr-xr-x   4 postgres       postgres  4096 2018-06-07  2018 database
drwxr-xr-x 233 admin          admin    94208 2020-10-01 07:22 protected

directory is obviously there

/home/admin is symlink to /home/data1/protected:


/home/data1 $ ls -l
total 96
drwxr-xr-x   4 postgres       postgres  4096 2018-06-07  2018 database
drwxr-xr-x 233 admin          admin    94208 2020-10-01 07:22 protected
/home/data1 $ cd /home/admin
/home/admin $ ls -l
total 3749
-rw-r--r--   1 admin          admin       4206 2020-10-01 07:23 #*message*-20201001-072114#
-rw-------   1 admin          admin     307724 2020-09-26 16:22 A1.pdf
drwxr-xr-x   2 admin          admin       4096 2020-09-29 23:14 Aufnahmen
drwxr-xr-x   3 admin          admin       4096 2020-09-30 02:06 Desktop
drwxr-x---  32 admin          admin       4096 2020-09-06 09:48 Documents
drwx------  22 admin          admin      28672 2020-09-30 21:11 Downloads
drwxr-xr-x   4 admin          admin       4096 2019-11-09  2019 GNUstep
drwx------50488 admin          admin    2359296 2020-09-30 19:24 Maildir
drwxr-x---  13 admin          admin       4096 2020-09-16 02:19 Media
-rw-------   1 admin          admin     705245 2020-09-26 16:34 PLM0208KGR.pdf
drwxr-x---  32 admin          admin       4096 2019-10-06  2019 Programming
drwxr-xr-x   3 admin          admin       4096 2019-08-16  2019 R
drwxr-xr-x  19 admin          admin       4096 2020-07-06 11:09 TO-DO
drwxr-xr-x   4 admin          admin      12288 2020-09-30 20:16 TO-SORT
drwx------  10 admin          admin       4096 2018-06-17  2018 Work
drwxr-xr-x   8 admin          admin      20480 2020-09-30 19:38 bin
-rw-r--r--   1 admin          admin      20255 2020-09-30 19:47 kdeconnect-01.jpg
drwxr-xr-x  14 admin          admin       4096 2018-10-13  2018 lib
drwxr-xr-x 185 admin          admin      12288 2020-05-15 12:06 public_html
drwxrwxrwt  46 admin          admin     327680 2020-10-01 03:07 tmp
/home/admin $

from /home/admin I "cd tmp" it works, if I wish to cd to zim-admin
directory inside: 
No such directory found via CDPATH environment variable

Then I do "cd", it works again:


~/tmp $ cd zim-admin
No such directory found via CDPATH environment variable
~/tmp $ cd
~ $ pwd
/home/data1/protected
~ $

~ $ ls
Text is read-only

If I kill eshell buffer and get into new one:

Welcome to the Emacs shell

/home/data1 $

but my HOME is /home/data1/protected

/home/data1 $ echo $HOME
/home/data1/protected


/home/data1 $ cd
~ $ pwd
/home/data1/protected

there are weird things happening in eshell


In GNU Emacs 28.0.50 (build 15, x86_64-pc-linux-gnu, X toolkit, cairo version 1.14.8, Xaw3d scroll bars)
 of 2020-09-24 built on protected.rcdrun.com
Repository revision: de54cd6f0edb3619777c17fe75560c5c84fed8a4
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.11907000
System Description: Hyperbola GNU/Linux-libre

Configured using:
 'configure --prefix=/package/text/emacs-2020-09-24
 --with-x-toolkit=lucid --with-modules --without-gpm
 PKG_CONFIG_PATH=/home/data1/protected/GNUstep/Library/Libraries/pkgconfig:/usr/lib/pkgconfig'

Configured features:
XAW3D XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND DBUS GSETTINGS GLIB NOTIFY
INOTIFY ACL GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF ZLIB
TOOLKIT_SCROLL_BARS LUCID X11 XDBE XIM MODULES THREADS JSON PDUMPER
LCMS2

Important settings:
  value of $LC_ALL: de_DE.UTF-8
  value of $LANG: de_DE.UTF-8
  value of $XMODIFIERS: @im=exwm-xim
  locale-coding-system: utf-8-unix

Major mode: Eshell

Minor modes in effect:
  eshell-prompt-mode: t
  eshell-hist-mode: t
  eshell-pred-mode: t
  eshell-cmpl-mode: t
  eshell-proc-mode: t
  eshell-arg-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow sort hashcash mail-extr emacsbug message rmc puny dired
dired-loaddefs rfc822 mml mml-sec epa derived epg epg-config gnus-util
rmail rmail-loaddefs auth-source cl-seq eieio eieio-core cl-macs
eieio-loaddefs password-cache json map text-property-search time-date
subr-x seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail
rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils pcmpl-unix
em-unix em-term term disp-table easymenu ehelp em-script em-prompt em-ls
cl-loaddefs cl-lib em-hist em-pred em-glob em-dirs esh-var em-cmpl
pcomplete comint ansi-color ring em-basic em-banner em-alias esh-mode
eshell esh-cmd esh-ext esh-opt esh-proc esh-io esh-arg esh-module
esh-groups esh-util tooltip eldoc electric uniquify ediff-hook vc-hooks
lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar
dnd fontset image regexp-opt fringe tabulated-list replace newcomment
text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar
rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core term/tty-colors frame minibuffer cl-generic
cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese composite charscript charprop
case-table epa-hook jka-cmpr-hook help simple abbrev obarray
cl-preloaded nadvice button loaddefs faces cus-face macroexp files
window text-properties overlay sha1 md5 base64 format env code-pages
mule custom widget hashtable-print-readable backquote threads dbusbind
inotify lcms2 dynamic-setting system-font-setting font-render-setting
cairo x-toolkit x multi-tty make-network-process emacs)

Memory information:
((conses 16 72220 5021)
 (symbols 48 8946 1)
 (strings 32 25490 2689)
 (string-bytes 1 840241)
 (vectors 16 15547)
 (vector-slots 8 205830 10455)
 (floats 8 31 41)
 (intervals 56 484 203)
 (buffers 992 13))

-- 
Thanks,
Jean Louis




Acknowledgement sent to Jean Louis <bugs@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#43735; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 8 Mar 2021 19:45:02 UTC

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