From: Juri Linkov <juri@linkov.net>
To: Dmitry Gutov <dgutov@yandex.ru>
Cc: 47975@debbugs.gnu.org
Subject: bug#47975: 28.0.50; Project prefixed buffer name
Date: Sun, 25 Apr 2021 00:54:27 +0300 [thread overview]
Message-ID: <87o8e34acs.fsf@mail.linkov.net> (raw)
In-Reply-To: <23408270-05a2-d4ab-d02c-e3b635376956@yandex.ru> (Dmitry Gutov's message of "Sat, 24 Apr 2021 01:58:51 +0300")
tags 47975 fixed
close 47975 28.0.50
thanks
>> It seems the commit 08fab316a1 calls for more changes:
>
> I stopped short of doing this keeping in mind the possibility for fixing
> and reusing uniquify not too far off in the future.
Reusing uniquify is welcome, it could eliminate the need of redefining
the built-in commands to be able to generate unique compilation buffer names:
(defun my-project-compile ()
(interactive)
;; Like ‘project-compile’ but generate unique buffer names:
(let ((default-directory (project-root (project-current t)))
(compilation-buffer-name-function
(lambda (mode)
(generate-new-buffer-name
(project-prefixed-buffer-name mode)))))
(compile (compilation-read-command (car compile-history)) nil)))
> But please feel free to install, it shouldn't hurt either way.
Now installed in master.
prev parent reply other threads:[~2021-04-24 21:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-23 16:32 bug#47975: 28.0.50; Project prefixed buffer name Juri Linkov
2021-04-23 22:58 ` Dmitry Gutov
2021-04-24 21:54 ` Juri Linkov [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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87o8e34acs.fsf@mail.linkov.net \
--to=juri@linkov.net \
--cc=47975@debbugs.gnu.org \
--cc=dgutov@yandex.ru \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).