From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: discoverability, better defaults and which-key in Emacs Date: Sun, 11 Feb 2024 17:00:40 +0200 Message-ID: <86jznbrqp3.fsf@gnu.org> References: <874jetaxri.fsf@jeremybryant.net> <87le84oqbd.fsf@yahoo.com> <87plxdpsxw.fsf@posteo.net> <87r0hridvr.fsf@posteo.net> <5dd3d04c-c0eb-43fe-b7c2-957f80261ea3@gutov.dev> <87eddqiw84.fsf@posteo.net> <32071337-c91d-46ad-bb9b-10b8d0c83965@gutov.dev> <86h6ikzc38.fsf@gnu.org> <1056a72d-af5c-487e-be33-67522fe47d17@gutov.dev> <87r0hnohgv.fsf@gmail.com> <86a5obxwy9.fsf@gnu.org> <61ffccc8-56c0-4b14-9420-2d0fd9cac216@gutov.dev> <86r0hnw1l1.fsf@gnu.org> <86o7crvza4.fsf@gnu.org> <941e2791-bb35-4de6-b7a7-e3dce4938a1d@gutov.dev> <8c6f06a7-e5e3-499a-88c4-d2b035262c4d@gutov.dev> <2dab155b-05a1-4672-b327-680a683f63e4@gutov.dev> <864jefts04.fsf@gnu.org> <641fad74-9caf-463f-ac5a-f63ba49d329c@gutov.dev> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33062"; mail-complaints-to="usenet@ciao.gmane.io" Cc: visuweshm@gmail.com, justin@burkett.cc, philipk@posteo.net, luangruo@yahoo.com, jb@jeremybryant.net, emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Feb 11 16:01:53 2024 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 1rZBL7-0008Km-EN for ged-emacs-devel@m.gmane-mx.org; Sun, 11 Feb 2024 16:01:53 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rZBK7-0000xs-3L; Sun, 11 Feb 2024 10:00:51 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rZBK1-0000vF-3j for emacs-devel@gnu.org; Sun, 11 Feb 2024 10:00:47 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rZBK0-00012a-Fn; Sun, 11 Feb 2024 10:00:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=iYfhn9RP8JiRGqF+Yjvv2HUM04GU/ttqVDt/4dPIGK4=; b=E3CdONkZ7VY2 o8qyzIyxxP27nn7emgPIDRoRiiUTo/axmGD9kMmmfgoxcbX0fD15DM8t08AQF2XwCZqHYVPeevT0m vs78DuPOKPxYJRm0NPJa8azz4Ua0Aa1mAaYo75bkLuMZjm4NGD3dUmWbsL/6F6CGAFUnPdvTgUl5N quMuKO34Vds2r77FnCcWccwvkf/pVHDoqoxlF4GQYr9XcEYSIML+9lLd9i3BU+SoEACDytLQJjhJX jm+G9oeQTSYgGTpS9RZJV3DtF+i7GUOqn6s5bC3vvqn1p9rm16hGXtJecgaxBUAFp7OewMWjvcarE jeYTVvJE5N8QeNmLrM16eg==; In-Reply-To: <641fad74-9caf-463f-ac5a-f63ba49d329c@gutov.dev> (message from Dmitry Gutov on Sun, 11 Feb 2024 14:26:38 +0200) 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:316113 Archived-At: > Date: Sun, 11 Feb 2024 14:26:38 +0200 > Cc: visuweshm@gmail.com, justin@burkett.cc, philipk@posteo.net, > luangruo@yahoo.com, jb@jeremybryant.net, emacs-devel@gnu.org > From: Dmitry Gutov > > >> So I suggest we install this now. > > This basically throws away the addition of F1 I did, doesn't it? I > > added it for a reason, and I don't want to lose it. If you want to > > make sure F1 is bound to help-command, and omit it from the message if > > not, that is fine by me. But I object to omitting it unconditionally. > > Not quite. is in help-event-list. > > This function iterates among the available options, and if it sees that > help-char is bound in the current prefix map(s), it tries , and if > that one is bound as well, the last remaining element, which is '?'. > > It also prints the value of help-char correctly if it was changed to a > different value (if it's not bound in the current prefix map(s)). OK, thanks. Then I have no objections.