GNU bug report logs - #62974
29.0.60; New buffers created with project-switch-to-buffer aren't in the project

Previous Next

Package: emacs;

Reported by: Spencer Baugh <sbaugh <at> janestreet.com>

Date: Thu, 20 Apr 2023 18:38:01 UTC

Severity: normal

Found in version 29.0.60

Fixed in version 30.1

Done: Dmitry Gutov <dmitry <at> gutov.dev>

Bug is archived. No further changes may be made.

Full log


Message #34 received at 62974-done <at> debbugs.gnu.org (full text, mbox):

From: Dmitry Gutov <dmitry <at> gutov.dev>
To: Spencer Baugh <sbaugh <at> janestreet.com>
Cc: sbaugh <at> catern.com, Eli Zaretskii <eliz <at> gnu.org>, 62974-done <at> debbugs.gnu.org
Subject: Re: 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
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.




This bug report was last modified 2 years and 28 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.