From: Dmitry Gutov <dmitry@gutov.dev>
To: Spencer Baugh <sbaugh@janestreet.com>
Cc: sbaugh@catern.com, Eli Zaretskii <eliz@gnu.org>,
62974-done@debbugs.gnu.org
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 [thread overview]
Message-ID: <9588955a-eafb-e78c-cd36-3a6b4ae650de@gutov.dev> (raw)
In-Reply-To: <ier7cu5yzg2.fsf@janestreet.com>
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.
prev parent reply other threads:[~2023-04-21 23:31 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-20 18:37 bug#62974: 29.0.60; New buffers created with project-switch-to-buffer aren't in the project Spencer Baugh
2023-04-20 18:55 ` Eli Zaretskii
2023-04-20 23:55 ` Dmitry Gutov
2023-04-21 5:43 ` Eli Zaretskii
2023-04-21 11:46 ` Spencer Baugh
2023-04-21 12:00 ` Eli Zaretskii
2023-04-21 13:17 ` sbaugh
2023-04-21 15:56 ` Dmitry Gutov
2023-04-21 16:25 ` Spencer Baugh
2023-04-21 23:31 ` Dmitry Gutov [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9588955a-eafb-e78c-cd36-3a6b4ae650de@gutov.dev \
--to=dmitry@gutov.dev \
--cc=62974-done@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=sbaugh@catern.com \
--cc=sbaugh@janestreet.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.