From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.devel Subject: Re: Suggestions for improvements to the *Completions* buffer Date: Thu, 9 Dec 2021 13:16:28 -0800 Message-ID: References: <87a6h9g0c0.fsf@posteo.net> <86wnkdmude.fsf@mail.linkov.net> <874k7hee4j.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3592"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Philip Kaludercic , Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Dec 09 22:17:44 2021 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 1mvQnQ-0000iW-Be for ged-emacs-devel@m.gmane-mx.org; Thu, 09 Dec 2021 22:17:44 +0100 Original-Received: from localhost ([::1]:60422 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mvQnO-0000vn-9I for ged-emacs-devel@m.gmane-mx.org; Thu, 09 Dec 2021 16:17:42 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:51324) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mvQmO-0007zA-Bw for emacs-devel@gnu.org; Thu, 09 Dec 2021 16:16:40 -0500 Original-Received: from [2607:f8b0:4864:20::432] (port=43674 helo=mail-pf1-x432.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mvQmN-0001C4-1o for emacs-devel@gnu.org; Thu, 09 Dec 2021 16:16:40 -0500 Original-Received: by mail-pf1-x432.google.com with SMTP id k26so6548841pfp.10 for ; Thu, 09 Dec 2021 13:16:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:in-reply-to:references:mime-version:date:message-id:subject:to :cc; bh=w/ieXhMMfhUbzjvX8QeJcD31kLIYV28YFDVNpZTGUK0=; b=BL1nN4GLNA5JWlIcw000YgG8BFa5VmVWUkcnweWLKIhvBLFMII0hLsg57JkgrV/aMP jLeL95wDayuRtJF4V4d+hYhzkwU3xMIlZ/IdRmTZWrws+db9rDjjHgBUY3mbjQ12lEkL W5H7YRKmICT/UgLjSgPoXfeuXrPFsnrjgdAVZJMUunvlSYdsULV5pzv1TEMr9OI1eIQL aWIEZQtxq3s6XhpYzoqCPVDLD7XPoIR0WuxNN4CmtqzeD8+catOw8deU5ZuMSXOnBMrQ 6MP5oIVFHaC2/OnrCdXdWhXFZukssqKozodBvCxSAhulB053YKsnTALYAAIxEHQNSEXT DX6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc; bh=w/ieXhMMfhUbzjvX8QeJcD31kLIYV28YFDVNpZTGUK0=; b=qQwyGWDnWmSTxtfrM18BxdqlzJJuon5m7Cbu6bpWUW+Qn5cXWyPt7WqAwSDI4/gLYq ld7DmAIiA6BH0+FI2pzoKNWuX/HXZON2FXA3f8l6fgYSH4omhGwhEl2rtjY0bI0toDXC X5/cc+TvVlr4/iVWw+un+KLoRunDfvwR0HchCa4Gf8hzs4QNjDqXXdgo0hJ6X1s+4aAD RgveTn27bFlABUH87R59p5Sn6hR+OFSQP1uj9awFhFBY/kQFaREB0/AN76GcjVsgh2rd mL5ZhYYOZjw8kFD33TFdWZBsqqwXnd8bLrdfQeohg9pgpQckR9wdjKZhsdnWtk83kTK6 PkLQ== X-Gm-Message-State: AOAM530H/W1MfJ30PcP3HhXCDXrnJwtA27p2JfGHDEdNaawuSWsgCsu+ JFHwk6JDBYIPUXhGxPW1Fm7qECv0+OY4WiXbc7c= X-Google-Smtp-Source: ABdhPJwZ09GndjYtMt9UszzCOgSrpycJe0GBo24uxvtZrtUHAJ+B4rMjFS7EPh/IPFcrrXBUeJplZViS98Uhw3+lO/g= X-Received: by 2002:a05:6a00:2444:b0:4ab:15b9:20e5 with SMTP id d4-20020a056a00244400b004ab15b920e5mr13974716pfj.0.1639084588872; Thu, 09 Dec 2021 13:16:28 -0800 (PST) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Thu, 9 Dec 2021 13:16:28 -0800 In-Reply-To: <874k7hee4j.fsf@posteo.net> X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::432 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::432; envelope-from=stefankangas@gmail.com; helo=mail-pf1-x432.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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" Xref: news.gmane.io gmane.emacs.devel:281548 Archived-At: Philip Kaludercic writes: >> I guess it's too late to allow all self-inserting keys in the *Completions* >> buffer to be used either to add characters to the search string, >> or to narrow completions interactively as if they were typed in the minibuffer, >> because "q", "n", "p", "z" are already bound to other commands? I'm not sure how useful "q" and "z" are. I'd suggest just binding "C-g" to quit-window instead. I guess "n" and "p" has some use, but maybe that behavior could be optional. IIRC, they were introduced in Emacs 28, so we could just revert that binding before the second pretest. > True, so immediate narrowing (at least with the default bindings) > couldn't be done, but that doesn't mean that narrowing couldn't be > enabled by binding an activation command to conventional keys like "s" > and "/". Having an option would be a useful first step.