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: Mon, 23 Oct 2023 20:36:44 +0300 Message-ID: References: <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> <86ttqmv7c6.fsf@mail.linkov.net> <56e7d865-0456-db7d-3a5d-1235e62508bf@gutov.dev> <865y31onju.fsf@mail.linkov.net> <8562bdad-e487-886a-af49-7f67d8d14b7a@gutov.dev> <86msw9g5yb.fsf@mail.linkov.net> <56909bdd-14ee-f68c-178f-5057efcd6150@gutov.dev> <86bkcpnsxp.fsf@mail.linkov.net> 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="19953"; 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: Spencer Baugh , 63648@debbugs.gnu.org, sbaugh@catern.com To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 23 19:37:47 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 1quys6-0004uR-7k for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 23 Oct 2023 19:37:47 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1quyru-0008SP-4u; Mon, 23 Oct 2023 13:37:34 -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 1quyrt-0008SG-4a for bug-gnu-emacs@gnu.org; Mon, 23 Oct 2023 13:37:33 -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 1quyrs-0000zs-Ss for bug-gnu-emacs@gnu.org; Mon, 23 Oct 2023 13:37:32 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1quysL-0004on-Uz for bug-gnu-emacs@gnu.org; Mon, 23 Oct 2023 13:38:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 23 Oct 2023 17:38:01 +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.169808264518476 (code B ref 63648); Mon, 23 Oct 2023 17:38:01 +0000 Original-Received: (at 63648) by debbugs.gnu.org; 23 Oct 2023 17:37:25 +0000 Original-Received: from localhost ([127.0.0.1]:51572 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1quyrk-0004nv-M2 for submit@debbugs.gnu.org; Mon, 23 Oct 2023 13:37:24 -0400 Original-Received: from out4-smtp.messagingengine.com ([66.111.4.28]:42281) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1quyri-0004ni-7r for 63648@debbugs.gnu.org; Mon, 23 Oct 2023 13:37:23 -0400 Original-Received: from compute7.internal (compute7.nyi.internal [10.202.2.48]) by mailout.nyi.internal (Postfix) with ESMTP id 5D1A95C0377; Mon, 23 Oct 2023 13:36:47 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Mon, 23 Oct 2023 13:36:47 -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=fm2; t= 1698082607; x=1698169007; bh=aaTkkIpRyhkY11QTgbUUTOjlfU6gYbxOFbw T+2O9ovc=; b=AL092KYF/BI7yKm9aocUdFB5uT0d0rKTRt07qGykZ6nzXBzh3ws H4sRKQoxrusDNdrXfFvLjPgeOo9dQ/pJVdaMTNWakAgWpCiIW6gNypEsOB4U7iKJ ATsQzHdmBphtXTdwO14nphVbwuOl0NE1B0c9Q0oSF0SIFNTAR7H4Sqh9t8A0UDyi otE/tnF3xVIHRhRJ88WJKzlLrAC8pFxa22KC/4yPVGSDRe6O8tsPHPVGQvgTaSs8 zvqHbNwzE0zaOqPH1z01pfsLnIMClFanBeFYwwsdZuJMtF35PyA+tmj4JI/idDJC qX2mQHGH4Y+ZUssPEBAQd044gY/OMSF3enQ== 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= 1698082607; x=1698169007; bh=aaTkkIpRyhkY11QTgbUUTOjlfU6gYbxOFbw T+2O9ovc=; b=hfmsmYLQmEsFv0Ba98S8H2GC5vYbSW1fGVIJ7fkbuYckkTM/Lwv 4THdKhXpaRJH5LnmZ6PwJSwrbvwpYaLw6tgK6ySnXnWtrV17MBzrKPFncPylv7EH hsNTbikv9QLotaEjz/Tge5WoxlIQxytJghTMtXg3AJxGuQrnVZEKeunyYRWSAJ46 CmmQSruPGslba287lpoPtJ3+QCyd//cum/1Oz2k0zkvzBFnnOLYRwNlVoBByqpvH 4X0Uvep1s9CqyDua5yKg9bxDD9knConPso3e30PTLKrS1EWm4F3AkXRldaqO9GAI hwt7JvoyAwMqVoDTC9tkLn7XeBdMy1Eo3/Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrkeeigdduuddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtfeejnecuhfhrohhmpeffmhhi thhrhicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdruggvvheqnecuggftrfgrth htvghrnhepiefgteevheevveffheeltdeukeeiieekueefgedugfefgefhudelgfefveel vdevnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepug hmihhtrhihsehguhhtohhvrdguvghv X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 23 Oct 2023 13:36:46 -0400 (EDT) Content-Language: en-US In-Reply-To: <86bkcpnsxp.fsf@mail.linkov.net> 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:273037 Archived-At: On 23/10/2023 20:34, Juri Linkov wrote: >>> Maybe adding a new option 'project-switch-use-global-map' would help? >> Try the attached, it's another iteration on the latest patch >> (prefix-command-echo-keystrokes-functions doesn't seem to work reliably in >> this context). Try it together with >> >> (setq project-switch-commands 'project-any-command) >> >> Also see the "Variation" in the comment (it allows for short bindings). > I tried it out but don't like that it requires an additional key 'o'. > > I believe it should be possible to add a new option > 'project-switch-use-global-map' (or a new value 'global' for existing > 'project-switch-use-entire-map') that will combine 'project-prefix-map' > with global-map before reading a key sequence. Have you tried it together with (setq project-switch-commands 'project-any-command) ?