GNU bug report logs - #21555
25.0.50; per-project *vc-change-log* buffers

Previous Next

Package: emacs;

Reported by: Tom Tromey <tom <at> tromey.com>

Date: Thu, 24 Sep 2015 21:50:02 UTC

Severity: wishlist

Tags: moreinfo

Found in version 25.0.50

Done: Sean Whitton <spwhitton <at> spwhitton.name>

Full log


Message #57 received at 21555 <at> debbugs.gnu.org (full text, mbox):

From: Matthias Meulien <orontee <at> gmail.com>
To: Juri Linkov <juri <at> linkov.net>
Cc: Dmitry Gutov <dmitry <at> gutov.dev>, Tom Tromey <tom <at> tromey.com>,
 21555 <at> debbugs.gnu.org, Sean Whitton <spwhitton <at> spwhitton.name>
Subject: Re: Subject: Re: bug#21555: 25.0.50;
 per-project *vc-change-log* buffers
Date: Sun, 8 Jun 2025 19:59:56 +0200
[Message part 1 (text/plain, inline)]
Le dim. 8 juin 2025 à 18:55, Juri Linkov <juri <at> linkov.net> a écrit :

> >     Although such prefixes are still removed after reverting
> >     the compilation buffer.
> >
> > I can't reproduce that. When pressing `g' key in a
> > `*myproject-compilation*'
> > buffer (mapped to `recompile'), the buffer name doesn't change.
>
> Since (add-hook 'compilation-mode-hook 'rename-uniquely) doesn't work
> for creating unique buffer names I'm using this instead:
>
> (setq compilation-buffer-name-function
>       (lambda (name-of-mode)
>         (generate-new-buffer-name
>          (concat "*" (downcase name-of-mode) "*"))))
>
> but it removes the project prefix on `g'.
>

Starting with 28.1, one can use :
(setq project-compilation-buffer-name-function
'project-prefixed-buffer-name)
-- 
Matthias
[Message part 2 (text/html, inline)]

This bug report was last modified 14 days ago.

Previous Next


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