From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#47975: 28.0.50; Project prefixed buffer name Date: Sun, 25 Apr 2021 00:54:27 +0300 Organization: LINKOV.NET Message-ID: <87o8e34acs.fsf@mail.linkov.net> References: <87bla5htem.fsf@mail.linkov.net> <23408270-05a2-d4ab-d02c-e3b635376956@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19596"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) Cc: 47975@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Apr 24 23:56:10 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1laQG1-0004y5-RC for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 24 Apr 2021 23:56:09 +0200 Original-Received: from localhost ([::1]:55390 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1laQG0-0002To-LD for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 24 Apr 2021 17:56:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50170) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1laQFt-0002SN-Uw for bug-gnu-emacs@gnu.org; Sat, 24 Apr 2021 17:56:01 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58320) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1laQFt-0002Dr-Np for bug-gnu-emacs@gnu.org; Sat, 24 Apr 2021 17:56:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1laQFt-0000hF-MB for bug-gnu-emacs@gnu.org; Sat, 24 Apr 2021 17:56:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 24 Apr 2021 21:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47975 X-GNU-PR-Package: emacs Original-Received: via spool by 47975-submit@debbugs.gnu.org id=B47975.16193013432642 (code B ref 47975); Sat, 24 Apr 2021 21:56:01 +0000 Original-Received: (at 47975) by debbugs.gnu.org; 24 Apr 2021 21:55:43 +0000 Original-Received: from localhost ([127.0.0.1]:41631 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1laQFa-0000gW-QE for submit@debbugs.gnu.org; Sat, 24 Apr 2021 17:55:43 -0400 Original-Received: from relay11.mail.gandi.net ([217.70.178.231]:58059) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1laQFW-0000gC-SC; Sat, 24 Apr 2021 17:55:41 -0400 Original-Received: from mail.gandi.net (m91-129-102-166.cust.tele2.ee [91.129.102.166]) (Authenticated sender: juri@linkov.net) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 85CF5100003; Sat, 24 Apr 2021 21:55:31 +0000 (UTC) In-Reply-To: <23408270-05a2-d4ab-d02c-e3b635376956@yandex.ru> (Dmitry Gutov's message of "Sat, 24 Apr 2021 01:58:51 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:204826 Archived-At: 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.