From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gregory Heytings Newsgroups: gmane.emacs.bugs Subject: bug#47699: [PATCH] Improve completion-list-mode-map Date: Sun, 11 Apr 2021 08:31:00 +0000 Message-ID: <3755fe92dc4a9ba66a0b@heytings.org> References: <3755fe92dcbf588701ae@heytings.org> <83o8el46rs.fsf@gnu.org> <3755fe92dc6b58671717@heytings.org> <83k0p944s5.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38811"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 47699@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Apr 11 10:32:13 2021 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 1lVVVt-000A35-Kw for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 11 Apr 2021 10:32:13 +0200 Original-Received: from localhost ([::1]:40362 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lVVVs-00023f-M1 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 11 Apr 2021 04:32:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43978) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lVVVj-00022m-0z for bug-gnu-emacs@gnu.org; Sun, 11 Apr 2021 04:32:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42400) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lVVVi-0008AY-LE for bug-gnu-emacs@gnu.org; Sun, 11 Apr 2021 04:32:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lVVVi-0003Oo-Gu for bug-gnu-emacs@gnu.org; Sun, 11 Apr 2021 04:32:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gregory Heytings Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 11 Apr 2021 08:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47699 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 47699-submit@debbugs.gnu.org id=B47699.161812986513002 (code B ref 47699); Sun, 11 Apr 2021 08:32:02 +0000 Original-Received: (at 47699) by debbugs.gnu.org; 11 Apr 2021 08:31:05 +0000 Original-Received: from localhost ([127.0.0.1]:53946 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lVVUn-0003Ne-Ib for submit@debbugs.gnu.org; Sun, 11 Apr 2021 04:31:05 -0400 Original-Received: from heytings.org ([95.142.160.155]:34038) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lVVUj-0003ND-PM for 47699@debbugs.gnu.org; Sun, 11 Apr 2021 04:31:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20210101; t=1618129860; bh=8+fseuwqGHKAbZsoVh3n0wdcK+aTo61058eEXbSbgp0=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=QM5iKQBbTUcdRkwoTELhnKoOcvqNFcnI8+Is9LNHN8hw2KZ6ZWd5yPPc0gY5H/ja9 TyMuf4QZCixzVHC9h8nMOGlue6sxqsSM4rwZ64gI1p+iftPgcavbPBoiCr9oc18fk7 vfdWg5AZ5lGbEMWAdOQAsqYmaQkrWknyfExY6s+HXy1Q4SaDk+r+VcbMI/8L8GXE2/ AjkIqSGiQT89Qb0SiMGYnIgH3Q7ou4pp579amCQGwW1IwX7HikPGH9owR+Jawd/A3A 8NtO3aYg4uOx5ByhANnWmuK8bud9saDLjlLzrGJeFpd1S8Hd6be9YCNcaOqdTrlwLJ lsh7J2F4IOj+Q== In-Reply-To: <83k0p944s5.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" Xref: news.gmane.io gmane.emacs.bugs:203833 Archived-At: >>> Why just 'n' and 'p'? If we want more commands to move between >>> completions, I could think about several others: <, >, C-f, C-b, C-n, >>> C-p, Home, End, the arrow keys, etc. >> >> It's not "just 'n' and 'p'" > > The question was why add only those 2. > As many as you want could be added. But there are already three ways to move between completions. < and > are assigned by special-mode-map to beginning-of-buffer and end-of-buffer. IMO changing the C-{fbnp} commands is not necessary, given that that moving around with their usual meaning makes sense. >> Well, vanilla Emacs defines M-v = switch-to-completions, which opens >> *Completions* and makes it the current buffer. In a selection-like >> scenario, it makes sense to switch to the completions buffer where you >> can freely move around, use isearch, and so forth. > > I wonder how many people use this paradigm > I do, from time to time. I'd be surprised if I were the only one, as I remember that it's something I already did during the first days I used Emacs. When you see a window with lots of information appearing, is it not natural to enter that window and to move around? > > (And how does one switch back without closing the window that shows > completions?) > C-x o. Perhaps it would make sense to bind "o" for this, too. And/or "Q". WDYT?