From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: ams@gnu.org (Alfred M. Szmidt) Newsgroups: gmane.emacs.devel Subject: Re: Include which-key.el in the Emacs distribution Date: Tue, 08 Sep 2020 12:22:30 -0400 Message-ID: References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4141"; mail-complaints-to="usenet@ciao.gmane.io" Cc: justin@burkett.cc, emacs-devel@gnu.org To: Stefan Kangas Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Sep 08 18:23:08 2020 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 1kFgOi-0000yK-EH for ged-emacs-devel@m.gmane-mx.org; Tue, 08 Sep 2020 18:23:08 +0200 Original-Received: from localhost ([::1]:49812 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kFgOh-0003aw-Gy for ged-emacs-devel@m.gmane-mx.org; Tue, 08 Sep 2020 12:23:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44182) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kFgO7-0002rr-Ih for emacs-devel@gnu.org; Tue, 08 Sep 2020 12:22:31 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:43640) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kFgO7-0007vP-78; Tue, 08 Sep 2020 12:22:31 -0400 Original-Received: from ams by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1kFgO6-0000cE-Dj; Tue, 08 Sep 2020 12:22:30 -0400 In-reply-to: (message from Stefan Kangas on Tue, 8 Sep 2020 13:54:45 +0000) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:254764 Archived-At: PS. I personally think it should be enabled by default, but we would probably do better to first include it as an option for people to get more experience with it. Could the output be improved though? The current output is VERY verbose, and quite bare and unexplanatory. On my terminal it takes up 9 lines when just hitting C-x. It also dislikes any type of prefix command and hides the output from those. E.g, C-h, M-o etc, where it eats the message from the original command. Instead why not if you press C-x in the echo area a short list of commands could be produced that you can scroll through, similar to which-key but not as talkative. It could say, C-x (f - edit file, o - other window, ...) The prefix commands C-x 4, C-x r etc could also produces such messages. Like Emacs does for M-o. This list could be curated. Maybe that would be a nice middle ground, not to talkative, helps the new user and won't annoy the old farts too much?