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: Eli Zaretskii
Subject: bug#62974: 29.0.60; New buffers created with project-switch-to-buffer aren't in the project
Date: Thu, 20 Apr 2023 21:55:57 +0300

> From: Spencer Baugh <sbaugh@janestreet.com>
> Date: Thu, 20 Apr 2023 14:37:26 -0400
> 
> 
> 1. emacs -Q (in a directory not in a project)
> 2. Note current default-directory: some/dir
> 3. C-x p b (so that it will prompt for a project)
> 4. Select some project and RET
> 5. Enter a nonexisting buffer name and RET
> 6. The new buffer's default-directory is some/dir
> 
> Expected behavior:
> 6. The new buffer's default-directory is the project root of the project
> you picked.

??Really?  project.el changes the way Emacs creates new buffers?  Is
there a reason for such a deviation (if indeed there is a deviation)?
Because otherwise my expectation would exactly what you see, because
"C-x b" behaves like that.





reply via email to

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