bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#43735: 28.0.50; eshell: No such directory found via CDPATH environme


From: Stefan Kangas
Subject: bug#43735: 28.0.50; eshell: No such directory found via CDPATH environment variable
Date: Mon, 8 Mar 2021 07:23:33 -0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Lars Ingebrigtsen <larsi@gnus.org> writes:

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]