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: sbaugh
Subject: bug#62974: 29.0.60; New buffers created with project-switch-to-buffer aren't in the project
Date: Fri, 21 Apr 2023 13:17:55 +0000 (UTC)
User-agent: Gnus/5.13 (Gnus v5.13)

Eli Zaretskii <eliz@gnu.org> writes:
>> From: Spencer Baugh <sbaugh@janestreet.com>
>> Date: Fri, 21 Apr 2023 07:46:14 -0400
>> Cc: Dmitry Gutov <dmitry@gutov.dev>, 62974@debbugs.gnu.org
>> 
>>  But if it is in a subdirectory of the root, it also belongs to the
>>  project, doesn't it?  Exactly like the buffer from which this command
>>  is invoked, whose default-directory was a subdirectory of the root.
>>  No?
>> 
>> That's fine, I wouldn't want to change that behavior, the behavior I'd want 
>> to change is when invoking
>> the command from a buffer which is not in a project, or by invoking it after 
>> C-x p p to switch projects.
>
> The recipe you posted didn't include "C-x p p", though.

My recipe was an example of "command from a buffer which is not in a
project".  Here's a recipe for the issue using C-x p p:

1. (setq project-switch-use-entire-map t)
2. Be in a buffer in project A
3. C-x p p b to switch to project B and select a buffer in project B
4. Type a buffer name which doesn't exist
5. The resulting buffer is in project A, not B





reply via email to

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