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

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

bug#62974: 29.0.60; New buffers created with project-switch-to-buffer ar


From: Dmitry Gutov
Subject: bug#62974: 29.0.60; New buffers created with project-switch-to-buffer aren't in the project
Date: Sat, 22 Apr 2023 02:31:48 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0

Version: 30.1

On 21/04/2023 19:25, Spencer Baugh wrote:
That looks good and it fixes all the bug cases I mentioned.

But what about the case where the old buffer was already in the project?

1. In a buffer visiting project-a/some/dir/file.el
2. C-x p b nonexisting-buffer RET

Existing behavior, and possibly desirable behavior:
3. default-directory in new buffer: project-a/some/dir/

With your change:
3. default-directory in new buffer: project-a/

Yeah, okay, I added a special check for that too.

Pushed to master, commit 4f3dae2b0d5.

Closing, but let us know if something is still amiss.





reply via email to

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