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.bugs Subject: bug#63648: 29.0.90; project.el: with switch-use-entire-map, switch-project errors on non-project commands Date: Thu, 19 Oct 2023 14:34:28 +0300 Message-ID: <1812033c-b069-d157-aa3f-0e2b1a185411@gutov.dev> References: <86h6of66o3.fsf@mail.linkov.net> <86wmxb2qvh.fsf@mail.linkov.net> <8634zyjt0k.fsf@mail.linkov.net> <8d1fb7ac-5c82-0ec2-8ae2-d09c131ec165@gutov.dev> <86edj6hyem.fsf@mail.linkov.net> <8634zitwoy.fsf@mail.linkov.net> <50d46d30-a796-b855-0d4c-690d6cb3d15b@gutov.dev> <86il88x9cy.fsf@mail.linkov.net> <4367c45c-95b3-6a29-4ba3-068a3c748452@gutov.dev> <2e34e515-a921-a969-0915-bea94c745f8b@gutov.dev> <868r9258oi.fsf@mail.linkov.net> <86edishisp.fsf@mail.linkov.net> <6fc81cbf-a21f-c5b4-aa56-e8518b8570d7@gutov.dev> <86msxgatuy.fsf@mail.linkov.net> <86y1gynr2u.fsf@mail.linkov.net> <7c72fd8c-c3f6-a974-8a4b-a081f7a9fe1a@gutov.dev> <83wmvjmd7y.fsf@gnu.org> <83wmviub2d.fsf@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="5189"; 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 Cc: sbaugh@janestreet.com, sbaugh@catern.com, 63648@debbugs.gnu.org, juri@linkov.net To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 19 13:36:00 2023 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 1qtRJn-00014j-DA for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 19 Oct 2023 13:36:00 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qtRJV-0005J9-7N; Thu, 19 Oct 2023 07:35:41 -0400 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 1qtRJQ-0005CJ-AJ for bug-gnu-emacs@gnu.org; Thu, 19 Oct 2023 07:35:38 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qtRJQ-0005hY-0p for bug-gnu-emacs@gnu.org; Thu, 19 Oct 2023 07:35:36 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qtRJq-0003qZ-64 for bug-gnu-emacs@gnu.org; Thu, 19 Oct 2023 07:36:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 19 Oct 2023 11:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63648 X-GNU-PR-Package: emacs Original-Received: via spool by 63648-submit@debbugs.gnu.org id=B63648.169771531014715 (code B ref 63648); Thu, 19 Oct 2023 11:36:02 +0000 Original-Received: (at 63648) by debbugs.gnu.org; 19 Oct 2023 11:35:10 +0000 Original-Received: from localhost ([127.0.0.1]:35946 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qtRJ0-0003pG-Eq for submit@debbugs.gnu.org; Thu, 19 Oct 2023 07:35:10 -0400 Original-Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:47387) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qtRIv-0003oY-5X for 63648@debbugs.gnu.org; Thu, 19 Oct 2023 07:35:08 -0400 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 4A6B43200A11; Thu, 19 Oct 2023 07:34:32 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Thu, 19 Oct 2023 07:34:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :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=fm1; t= 1697715271; x=1697801671; bh=i90EWhpcAnoLvRzQGdYJjqalazJHa+5je2Z 7T2UytJs=; b=LC0oTHKCBYFQBM0BVu1ybOAGhXFsXQQnGylb+GWJ+OKtzhqOYig H/KUYlOM/aEcpw7TJS2F5bbT0Ylq68oL1Ip0WCGkT6G+vty99jKI+1CTf4Q+Z4N8 JXLTauGpOEApGNQDCt8J2t1YmTPT5tGO/N25cBMh5ux93Qvq3+WkL0Nms7Ba2i8L XBW/Q834mKflqhgR8o+zuZD8bXP6H1uS80WXEqvqqSGT2QPqq+D2rZvfo2Axk4Ml A7a4cduXblySLFfCgHYp198i2Gxg6bnWO/ijnTigqxJ1BBgNf9/dALsJp1T1lDzk zjXZHa0aot8vf6boo222pNTA8wtBab9bnHg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc: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=fm3; t= 1697715271; x=1697801671; bh=i90EWhpcAnoLvRzQGdYJjqalazJHa+5je2Z 7T2UytJs=; b=l8SgahOpuP+2s7Af0bCDIqS2ZUf5CalwTvNn/v6iGl6QL/YBvTY VNW3YeNV7UIAu8e54EP688OVunRXMOTTFCbr15GAjLTri+PkRVcIhwdU8fyoVtLm SDQl0XhBQHRBdnUPCz0insFXNRhziWS6o8twfblZFEFfDDkNjuqdc6n1jXOCVLu8 xVfLQEMGubO87wj5/KxyepKnHUcE6EMejCgYo0fYAtp5fIbanzMCvFsQsXJ++o3o 8HO1gjvj7i7CVsUAwCLsQ7j1hhvBAEt6r9R7arfEMJqG+QSZG/GPrPDOX3IR/YxY cY9BYTyHNZDDLBaSX33m1ptl9uuDRr1MEcw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrjeeigdegudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefkffggfgfuvfevfhfhjggtgfesthejredttdefjeenucfhrhhomhepffhmihht rhihucfiuhhtohhvuceoughmihhtrhihsehguhhtohhvrdguvghvqeenucggtffrrghtth gvrhhnpeeigfetveehveevffehledtueekieeikeeufeegudfgfeeghfdulefgfeevledv veenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegumh hithhrhiesghhuthhovhdruggvvh X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 19 Oct 2023 07:34:30 -0400 (EDT) Content-Language: en-US In-Reply-To: <83wmviub2d.fsf@gnu.org> 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:272719 Archived-At: On 19/10/2023 14:05, Eli Zaretskii wrote: >> Date: Thu, 19 Oct 2023 12:46:53 +0300 >> Cc:juri@linkov.net,sbaugh@janestreet.com,63648@debbugs.gnu.org, >> sbaugh@catern.com >> From: Dmitry Gutov >> >> On 19/10/2023 07:46, Eli Zaretskii wrote: >>>> Cc: Spencer Baugh,63648@debbugs.gnu.org, >>>> sbaugh@catern.com >>>> Date: Thu, 19 Oct 2023 03:42:24 +0300 >>>> From: Dmitry Gutov >>>> >>>> +;;;###autoload >>>> +(defun project-other-command () >>>> + "Run command with `default-directory' set to the current project root." >>> I very much hope you will find a better name for this command. The >>> "other" part seems to be out of place here, at least as far as the doc >>> string is considered. >> The intended meaning was "execute any other command in project", that is >> any other than those that are already present in project-prefix-map. It >> also matches the "o" binding, which is very conveniently positioned. >> >> But I'm not at all married to the name, better ideas welcome. >> >> project-any-command > This one looks like a good name to me. Works for me. I'll be waiting for the feedback on the rest of the proposed change.