From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sean Whitton Newsgroups: gmane.emacs.bugs Subject: bug#42210: bug#41890: 28.0.50; [PATCH]: Add bindings for project.el Date: Mon, 20 Jul 2020 09:49:02 -0700 Message-ID: <871rl6gmip.fsf@iris.silentflame.com> References: <87mu50b43d.fsf@warpmail.net> <87pn92t1ye.fsf@iris.silentflame.com> <874kqcsnu5.fsf@iris.silentflame.com> <54a1ed24-9d0e-4671-eb70-9d8c253e7aac@yandex.ru> <87y2ngg64e.fsf@iris.silentflame.com> <99e82681-e645-2888-3d24-26698ee0c7e0@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="11053"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 41890@debbugs.gnu.org, 42210@debbugs.gnu.org, juri@linkov.net To: Dmitry Gutov , "Philip K." , "Basil L. Contovounesios" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jul 20 18:50:15 2020 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 1jxYzW-0002lL-GW for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 20 Jul 2020 18:50:15 +0200 Original-Received: from localhost ([::1]:38176 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jxYzV-0004wR-DW for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 20 Jul 2020 12:50:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41282) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jxYzL-0004uM-Dt for bug-gnu-emacs@gnu.org; Mon, 20 Jul 2020 12:50:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52636) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jxYzL-0007se-4J for bug-gnu-emacs@gnu.org; Mon, 20 Jul 2020 12:50:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jxYzL-000459-1g for bug-gnu-emacs@gnu.org; Mon, 20 Jul 2020 12:50:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Sean Whitton Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 20 Jul 2020 16:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42210 X-GNU-PR-Package: emacs Original-Received: via spool by 42210-submit@debbugs.gnu.org id=B42210.159526375215611 (code B ref 42210); Mon, 20 Jul 2020 16:50:02 +0000 Original-Received: (at 42210) by debbugs.gnu.org; 20 Jul 2020 16:49:12 +0000 Original-Received: from localhost ([127.0.0.1]:35947 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jxYyW-00043e-Dd for submit@debbugs.gnu.org; Mon, 20 Jul 2020 12:49:12 -0400 Original-Received: from out2-smtp.messagingengine.com ([66.111.4.26]:46687) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jxYyT-00043J-IB; Mon, 20 Jul 2020 12:49:11 -0400 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 51FDD5C01E6; Mon, 20 Jul 2020 12:49:04 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Mon, 20 Jul 2020 12:49:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spwhitton.name; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm3; bh=9Erm/FBl892fGlnnW3a9S+dgUt caHcKtzCXDfoGXOa4=; b=d6kAPWu5n9PZxqVfHoQgrJ4W5GA+Kx0BhBqR1DRWlI egDvy3zqQ6BJrmCTpkd/fXe9nTNW427xbGasqxii3Pg75BfalDgHONQ2oyX2d6t1 ocfaAz901OmoECM6h6j3liOMKtiMkSYjUX3kPNQrU/QvzJgodrqhwK3uErLGDdUT QrEN5oK9RBP9i/oGfvj8UCJF6bFjFOZqMG8tce+PDqLU4rbKFD0BLGSQXVobCk3O q/rEB77btLRlwy0/9u/I5x91g8um+vyPP9A3vh4uX9HI6G4Oe45mf+12rznhQIXr mLzU5gN3GvqewvB4N/N2cwVncZQ93mAAX5UmazmzoBgw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=9Erm/F Bl892fGlnnW3a9S+dgUtcaHcKtzCXDfoGXOa4=; b=qLgZau78h9GivcViK6Zyyk f6ibcU/ejwkxoTG///dJV0YOrFwlxGH+IrBeyaox33ofNnbw9OqYU2H9+0O/uB9/ E4IRWXNb/l1IqFSKpOgHVJeBWF0s7oaUTRBGhYG8KVTPe8kIrVJj2XAvLa9YeEjY m4OADspKFKRUmCLSgziZRHwhe3dzdR0zNQE/y6/DcOrOpgOprGuNMxSPIPte4wcF ae0aUmWD9jA/0nWNMotBy4gLFY96lk5nRV4d7X3+9RC/OR/C0KWluxKzeoZc+7b1 99t2uuIioHQqqRLABFI0XDg9ZNlHaiJjWpCQou3CEk4erS0OUCmQDNAJjClCpnog == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrgeeggdekudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffujghffffkgggtsehttdertddttddtnecuhfhrohhmpefuvggrnhcuhghh ihhtthhonhcuoehsphifhhhithhtohhnsehsphifhhhithhtohhnrdhnrghmvgeqnecugg ftrfgrthhtvghrnhepgedtvdehgeffhfffvdeffefhgfejffelhfetveffffektefgtdej tdeivddtveehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepshhpfihhihhtthhonhesshhpfihhihhtthhonhdrnhgrmhgv X-ME-Proxy: In-Reply-To: <99e82681-e645-2888-3d24-26698ee0c7e0@yandex.ru> 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:183317 Archived-At: Hello, On Mon 20 Jul 2020 at 02:46AM +03, Dmitry Gutov wrote: > On 18.07.2020 19:06, Sean Whitton wrote: >> Okay, here's a prototype. I had to rebase Philip's patch so I thought I >> might as well attach my version of that too. > > The code LGTM, but I still wonder whether we do need the prompt in this > case. The downsides are that we'll need to keep the list up-to-date, and > at some point (maybe) it will grow too big to fit in the prompt. Will we > need a variable project-other-place-use-entire-map too? If all one has in mind is C-x 4, then it doesn't seem like this is a big danger -- many commands display in the other window by default, such as project-find-regexp, and it reasonable to guess that a good proportion of new commands which get added will also be like this. However, if you have C-x 5 and C-x t in mind as well, then it starts to seem like we'll want project-other-place-use-entire-map. How about having a project-other-window-commands defcustom for C-x 4 p, and using the entirety of project-prefix-map for C-x 5 p and C-x t t? C-x 4 p can prompt as per my patch, and C-x 5 p and C-x t t could just put a static message in the minibuffer like other-frame-prefix and other-tab-prefix do at present. >> I have been wanting the new C-x 4 p bindings all week as C-x p f with >> fido-mode has replaced a lot of my use of C-x C-f, so I hope I can >> replace my use of C-x 4 f with C-x 4 p f soon:) > > I'm happy to hear that. I intended to say a bit more: C-x p f has replaced a lot of my use of C-x b too. It is very nice not to have to guess whether something is already visited and just complete across all the project's files. I use C-x 4 b a lot so I'm looking forward to C-x 4 p f. -- Sean Whitton