From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Rebinding Fn [Re: discoverability, better defaults and which-key in Emacs] Date: Thu, 8 Feb 2024 13:51:21 +0000 Message-ID: References: <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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3761"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Dmitry Gutov , visuweshm@gmail.com, justin@burkett.cc, philipk@posteo.net, luangruo@yahoo.com, jb@jeremybryant.net, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Feb 08 14:52:26 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 1rY4pG-0000hZ-Cm for ged-emacs-devel@m.gmane-mx.org; Thu, 08 Feb 2024 14:52:26 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rY4oY-0007xo-IX; Thu, 08 Feb 2024 08:51:42 -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 1rY4oV-0007x6-FA for emacs-devel@gnu.org; Thu, 08 Feb 2024 08:51:40 -0500 Original-Received: from mail.muc.de ([193.149.48.3]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rY4oT-000064-I5 for emacs-devel@gnu.org; Thu, 08 Feb 2024 08:51:39 -0500 Original-Received: (qmail 10848 invoked by uid 3782); 8 Feb 2024 14:51:22 +0100 Original-Received: from acm.muc.de (p4fe15b6b.dip0.t-ipconnect.de [79.225.91.107]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Thu, 08 Feb 2024 14:51:22 +0100 Original-Received: (qmail 8186 invoked by uid 1000); 8 Feb 2024 13:51:21 -0000 Content-Disposition: inline In-Reply-To: <86r0hnw1l1.fsf@gnu.org> X-Submission-Agent: TMDA/1.3.x (Ph3nix) X-Primary-Address: acm@muc.de Received-SPF: pass client-ip=193.149.48.3; envelope-from=acm@muc.de; helo=mail.muc.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:316033 Archived-At: Hello, Eli. On Thu, Feb 08, 2024 at 15:02:50 +0200, Eli Zaretskii wrote: > > Date: Thu, 8 Feb 2024 14:18:34 +0200 > > Cc: justin@burkett.cc, philipk@posteo.net, luangruo@yahoo.com, > > jb@jeremybryant.net, emacs-devel@gnu.org > > From: Dmitry Gutov > > On 08/02/2024 08:59, Eli Zaretskii wrote: > > > But > > > I added F1 to that text, which should help if someone did change > > > help-char. > > Whether help-char is changed, or 'C-h' is rebound anyway, can all be > > detected at runtime. can also have a different binding in the > > current prefix map--then the new message would be doubly incorrect. > How frequently do people rebind F1? IME, never. I bind F1 all the time, in the global map, and have done for over 20 years. It selects the first created frame (which happens to be conveniently called "F1" on a tty). Likewise for F2 to F11. Standard Emacs is strangely deficient in keyboard commands to select frames. C-x 5 o is unusably cumbersome if there are more than two or three frames. [ .... ] -- Alan Mackenzie (Nuremberg, Germany).