emacs-devel
[Top][All Lists]
Advanced

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

Re: Name of buffers created by project-shell


From: Matthias Meulien
Subject: Re: Name of buffers created by project-shell
Date: Tue, 23 Mar 2021 21:08:11 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Dmitry Gutov <dgutov@yandex.ru> writes:

> On 15.03.2021 02:41, Dmitry Gutov wrote:
>>> I think there's a problem even without using C-u:
>>>
>>> `project-shell' from a buffer whose associated project root path is
>>> /src/project1 creates a buffer named *shell*.
>>>
>>> Then `project-shell' from a buffer whose associated project root path is
>>> /src/project2 creates a buffer named *shell*<project2> (I am using the
>>> default `post-forward-angle-brackets' for `uniquify-buffer-name-style').
>>>
>>> But the uniquify rationalize mecanism doesn't rename the first buffer to
>>> *shell*<project1> which happens to be the case for buffers visiting
>>> files...
>> Yup, that's another bug. It should also how up for vc-dir buffers
>> too.
>
> Actually, it didn't occur for vc-dir buffers. So it's arguably a bug
> in my code.
>
> Attaching the updated patch which fixes that particular problem,
> though I'm a little more suspicious of some of uniquify's choices now.

I confirm that with that patch names of buffers created using
`project-shell' (without using C-u) are correct.
-- 
Matthias



reply via email to

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