unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Colin Baxter <m43cap@yandex.com>
To: 43735@debbugs.gnu.org
Subject: bug#43735: 28.0.50; eshell: No such directory found via CDPATH environment variable
Date: Fri, 02 Oct 2020 08:39:53 +0100	[thread overview]
Message-ID: <87r1qhm5yu.fsf@yandex.com> (raw)
In-Reply-To: <86mu16tvqy.fsf@protected.rcdrun.com>

>>>>> Lars Ingebrigtsen <larsi@gnus.org> writes:

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






  reply	other threads:[~2020-10-02  7:39 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-01  4:28 bug#43735: 28.0.50; eshell: No such directory found via CDPATH environment variable Jean Louis
2020-10-01 16:56 ` Lars Ingebrigtsen
2020-10-01 17:30   ` Eli Zaretskii
2020-10-01 19:19     ` Jean Louis
2020-10-01 19:22       ` Lars Ingebrigtsen
2020-10-01 19:26         ` Jean Louis
2020-10-01 19:55           ` Lars Ingebrigtsen
2020-10-01 20:07             ` Lars Ingebrigtsen
2020-10-01 21:42               ` Jean Louis
2020-10-01 21:55                 ` Lars Ingebrigtsen
2020-10-02  7:39                   ` Colin Baxter [this message]
2020-10-07  9:59                   ` Jean Louis
2020-11-14  7:16                     ` Jean Louis
2020-10-02 20:43             ` Jean Louis
2020-10-03  7:37               ` Colin Baxter
2021-03-08 15:23             ` Stefan Kangas
2021-03-08 19:30               ` Lars Ingebrigtsen
2021-03-10 14:13                 ` Stefan Kangas
2020-10-01 19:00   ` bug#43735: 28.0.50; M-x shell: " Jean Louis
2020-10-01 19:07     ` Lars Ingebrigtsen
2020-10-01 19:25       ` bug#43735: 28.0.50; M-x eshell: " Jean Louis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r1qhm5yu.fsf@yandex.com \
    --to=m43cap@yandex.com \
    --cc=43735@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).