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 14:10:06 -0400 Message-ID: References: <83sgbskwq8.fsf@gnu.org> <87pn6wi2zs.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29523"; mail-complaints-to="usenet@ciao.gmane.io" Cc: stefan@marxist.se, eliz@gnu.org, bandali@gnu.org, emacs-devel@gnu.org To: Justin Burkett Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Sep 08 20:11:28 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 1kFi5Y-0007c4-Kr for ged-emacs-devel@m.gmane-mx.org; Tue, 08 Sep 2020 20:11:28 +0200 Original-Received: from localhost ([::1]:58234 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kFi5X-0005dU-Ke for ged-emacs-devel@m.gmane-mx.org; Tue, 08 Sep 2020 14:11:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46044) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kFi4G-00044S-BT for emacs-devel@gnu.org; Tue, 08 Sep 2020 14:10:08 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:45801) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kFi4F-0005u2-RM; Tue, 08 Sep 2020 14:10:07 -0400 Original-Received: from ams by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1kFi4E-0005qd-Nh; Tue, 08 Sep 2020 14:10:06 -0400 In-reply-to: (message from Justin Burkett on Tue, 8 Sep 2020 13:54:08 -0400) 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:254791 Archived-At: That was Eli's point -- it doesn't work with C-h -- please try it. C-h ;; Shows first "C-h (Type ? for further options)-", then after a secondthe ;; which-key pop-up occurs. C-h ;; Now the C-h help help buffer will be shown. C-n ;; Now you're viewing the NEWS file. I.e., you cannot paginate through the commands if you are issuing C-h and have which-key-mode on. You also can't invoke describe-prefix-bindings from C-h in vanilla emacs. The reason is the same. which-key is just intercepting the help-char to do the pagination. As a user the background reasons for why something is not possible are not interesting. which-key tells me to use C-h to visit the next page; that does not work if you've just hit C-h once already -- it invokes help-for-help (C-h C-h), which is not what the user is being told to expect.