[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Wrong default-directory in shell buffer
From: |
Stefan Monnier |
Subject: |
Re: Wrong default-directory in shell buffer |
Date: |
Sun, 15 May 2022 12:06:22 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
> With a recent build from master branch, I sometime have a wrong value
> ("/../" to be precise) for the default-directory variable associated to
> shell buffers. I create shell buffers with project-shell, the
> default-directory value is the expected one, the wrong value appears
> after I've executed some commands.
>
> (As a consequence all project-* commands fail to recognize current
> project and I am asked to select a project which is really annoying.)
>
> I have not found a recipe to reproduce; But I've found that I've
> executed commands containing the string "/../" in a shell buffer with
> the problem:
>
> cd ../../
> pushd ../../
> xdg-open ../../
Could it be related to "directory tracking", then?
There are several different "solutions" to have shell buffers's
`default-directory` track the PWD of the shell, so I'm not sure which
one might be at fault here (if any).
Stefan
- Re: plz -> curl?, (continued)
- Re: plz -> curl?, Stefan Monnier, 2022/05/17
- Re: plz -> curl?, Roland Winkler, 2022/05/17
- Re: plz -> curl?, Richard Stallman, 2022/05/17
- Re: plz -> curl?, Jonas Bernoulli, 2022/05/21
- Re: plz -> curl?, Juri Linkov, 2022/05/22
- Re: plz -> curl?, Richard Stallman, 2022/05/22
- Re: plz -> curl?, Alan Mackenzie, 2022/05/17
- Re: plz -> curl?, Richard Stallman, 2022/05/17
- Re: plz -> curl?, Jonas Bernoulli, 2022/05/21
- Wrong default-directory in shell buffer, Matthias Meulien, 2022/05/15
- Re: Wrong default-directory in shell buffer,
Stefan Monnier <=
- Re: Wrong default-directory in shell buffer, Matthias Meulien, 2022/05/16
- Re: Wrong default-directory in shell buffer, Matthias Meulien, 2022/05/16
- Re: Wrong default-directory in shell buffer, Visuwesh, 2022/05/17
- Re: Wrong default-directory in shell buffer, Matthias Meulien, 2022/05/17
- Re: Wrong default-directory in shell buffer, Lars Ingebrigtsen, 2022/05/17
- Re: Wrong default-directory in shell buffer, Matthias Meulien, 2022/05/17
- Re: Wrong default-directory in shell buffer, Lars Ingebrigtsen, 2022/05/17
- Re: [ELPA] New package: plz, Richard Stallman, 2022/05/13
- Re: [ELPA] New package: plz, Adam Porter, 2022/05/13
Re: [ELPA] New package: plz, Stefan Monnier, 2022/05/11