From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#48747: 28.0.50; add project-name generic Date: Fri, 15 Jul 2022 13:48:02 +0200 Message-ID: <87zghak365.fsf@gnus.org> References: <86eedoi0jw.fsf@stephe-leake.org> <72c3ec98-632b-b8ae-53b9-fdcb3b85f111@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27902"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Stephen Leake , 48747@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jul 15 13:49:58 2022 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 1oCJpW-000765-94 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 15 Jul 2022 13:49:58 +0200 Original-Received: from localhost ([::1]:49054 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oCJpU-00028l-Rv for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 15 Jul 2022 07:49:56 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50126) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oCJoc-0001Zt-9J for bug-gnu-emacs@gnu.org; Fri, 15 Jul 2022 07:49:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41955) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oCJoc-0004uH-0N for bug-gnu-emacs@gnu.org; Fri, 15 Jul 2022 07:49:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oCJob-0002Tn-T0 for bug-gnu-emacs@gnu.org; Fri, 15 Jul 2022 07:49:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 15 Jul 2022 11:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48747 X-GNU-PR-Package: emacs Original-Received: via spool by 48747-submit@debbugs.gnu.org id=B48747.16578856949443 (code B ref 48747); Fri, 15 Jul 2022 11:49:01 +0000 Original-Received: (at 48747) by debbugs.gnu.org; 15 Jul 2022 11:48:14 +0000 Original-Received: from localhost ([127.0.0.1]:39711 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oCJnq-0002SF-AC for submit@debbugs.gnu.org; Fri, 15 Jul 2022 07:48:14 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:46146) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oCJno-0002RZ-U3 for 48747@debbugs.gnu.org; Fri, 15 Jul 2022 07:48:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=jvv4+WAcLjtD0lGkonhY31dAqEJpiZHrdgqC1ouDctE=; b=uDD6veTK+XpGsMfvElxKmjKkSD Bj5JvyN7mLQ9vrTBf1EM9poojZU8HJCsEhMmoTf2PpIsT33N4B+8wcdqKJYVasTiI00IafhZShDrg qfwxCsfVWd4kNnUW00Z0dlgdJ+10//Y6YntxdpTivnn8WylhuMgYOAcY9OpoQG4WkulI=; Original-Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oCJnf-0006Tv-NQ; Fri, 15 Jul 2022 13:48:06 +0200 In-Reply-To: <72c3ec98-632b-b8ae-53b9-fdcb3b85f111@yandex.ru> (Dmitry Gutov's message of "Mon, 7 Jun 2021 05:08:34 +0300") X-Now-Playing: Doubting Thomas's _Father Don't Cry_: "Excrement" 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:237084 Archived-At: Dmitry Gutov writes: >> In project.el, add a 'project-name' cl-defgeneric, to be used in prompts >> and other situations where the user is asked to identify a project. >> It must return a string, which is nominally unique among the user's >> various projects. >> The default could be 'project-root'. > > Would you like to attach a patch that includes the places where we > would use the new method? > > project-prefixed-buffer-name? (I'm going through old bug reports that unfortunately weren't resolved at the time.) This was a year ago, and the original bug report didn't really include a rationale for the cl-defgeneric. Stephen, what would you use this for? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no