From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: master ef732bd2083: ; * lisp/progmodes/project.el (project-any-command): Fix last change Date: Sun, 10 Dec 2023 04:59:07 +0200 Message-ID: <7931418c-fb6e-4ffa-f657-3cb2169c7dcb@gutov.dev> References: <170207504844.3728.8521907427206698810@vcs2.savannah.gnu.org> <20231208223728.B5347C0C6AB@vcs2.savannah.gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9081"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 To: emacs-devel@gnu.org, Sean Whitton Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Dec 10 04:00:10 2023 Return-path: Envelope-to: ged-emacs-devel@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 1rCA37-0002Dj-OE for ged-emacs-devel@m.gmane-mx.org; Sun, 10 Dec 2023 04:00:09 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rCA2F-0004JS-By; Sat, 09 Dec 2023 21:59:15 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rCA2D-0004JC-VL for emacs-devel@gnu.org; Sat, 09 Dec 2023 21:59:13 -0500 Original-Received: from wout4-smtp.messagingengine.com ([64.147.123.20]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rCA2C-0006ph-1r for emacs-devel@gnu.org; Sat, 09 Dec 2023 21:59:13 -0500 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 5D2D53200564; Sat, 9 Dec 2023 21:59:10 -0500 (EST) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sat, 09 Dec 2023 21:59:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm3; t= 1702177149; x=1702263549; bh=niqQwZ5AWB83akUpwR9cJF1H1bY3qj89u3j goC+jlqk=; b=m0w/62+JHU1Za7wmz2KkRb/IL6NiYl7xO2DJVNNrMNLiqg9K8ip 9LHxU2TjBlqjEtuSgQKnhc1yRzV160sjZUViWZwgCrj59LmO5PVUSRaTsOZPYTf6 /5t5y3D5usLSa+TtqEUDY7bp8RNLL9sz7TBPHv/IWfSOw7q3sxTIjDHA0I0RCX4X 4Zo5D+bTX+VWgfcyYD2z/XYVgJw0cEkBTSOG5w03KFJenfK3rq4gxazrbfCHGMCp t+blMgqCXmcggSdRf+wMqnuRnu1micMhPL65OuiIsztMS+fiz1giy0aCTz66L3rt eExaWameJ9Y5lXGmY5p53CLDPcNcv9siVug== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1702177149; x= 1702263549; bh=niqQwZ5AWB83akUpwR9cJF1H1bY3qj89u3jgoC+jlqk=; b=i WGsz7NlC0OqrASdKuqZG8Za41vPWVKEd8dCaHcVcmchu7oi8hu9QkAfbe+MJfK2j ONtjaBzpoKffmUeFoRjUi9SkfzXDHaBhdoNImMM0h3Fy3JunI7dVFjYDpNpC/xmd 19sfeUwLbJvheZxooD+N61rbZ0gSRMuawEIj/BWdApOapbf5dDxqfOrVfpqdnK6K P4m8as1aZvvRgIHL+4Lx+QeMJ+oVOFb6E+5hdyYfxabgyqM1Y7HtcgiBXDX3hTyv xGky00tI1b4IsF8LUJkinx+NbA3K6C66MVEPMlIIFCyaFANh8ZRVeGsW7r3P2ZKR gsVClG5iE5dh9bP1aRZhA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudekledgheefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvfhfhjggtgfesthejredttdefjeenucfhrhhomhepffhmihht rhihucfiuhhtohhvuceoughmihhtrhihsehguhhtohhvrdguvghvqeenucggtffrrghtth gvrhhnpeeghedthedujeeiteeutddtjeekheejteeukeehffdutdejuedvfeevueeviedu udenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegumh hithhrhiesghhuthhovhdruggvvh X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 9 Dec 2023 21:59:08 -0500 (EST) Content-Language: en-US In-Reply-To: <20231208223728.B5347C0C6AB@vcs2.savannah.gnu.org> Received-SPF: pass client-ip=64.147.123.20; envelope-from=dmitry@gutov.dev; helo=wout4-smtp.messagingengine.com X-Spam_score_int: -64 X-Spam_score: -6.5 X-Spam_bar: ------ X-Spam_report: (-6.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-3.72, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:313649 Archived-At: On 09/12/2023 00:37, Sean Whitton wrote: > branch: master > commit ef732bd2083c5f28c37dc52a6f96923eed2f5aa8 > Author: Sean Whitton > Commit: Sean Whitton > > ; * lisp/progmodes/project.el (project-any-command): Fix last change > --- > lisp/progmodes/project.el | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el > index 7789243cb00..cc473a12baf 100644 > --- a/lisp/progmodes/project.el > +++ b/lisp/progmodes/project.el > @@ -1862,7 +1862,7 @@ which will take priority over the global ones." > (when command > (if (when (symbolp command) > (or (string-prefix-p "project-" (symbol-name command)) > - (get command 'project-command))) > + (get command 'project-related))) > (let ((project-current-directory-override root)) > (call-interactively command)) > (let ((default-directory root)) It was definitely a typo somewhere, though maybe in the docstring. Speaking of names, perhaps the property name 'project-aware' might suit the situation better than either of the above options.