From unknown Sun Jun 15 08:12:46 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#1363 <1363@debbugs.gnu.org> To: bug#1363 <1363@debbugs.gnu.org> Subject: Status: Advertised key-bindings Reply-To: bug#1363 <1363@debbugs.gnu.org> Date: Sun, 15 Jun 2025 15:12:46 +0000 retitle 1363 Advertised key-bindings reassign 1363 emacs submitter 1363 Stefan Monnier severity 1363 wishlist thanks From rgm@gnu.org Mon Nov 17 18:58:19 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-7.9 required=4.0 tests=AWL,BAYES_00, RCVD_IN_DNSWL_MED,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at quiet) by emacsbugs.donarmstrong.com; 18 Nov 2008 02:58:19 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAI2wGid030095 for ; Mon, 17 Nov 2008 18:58:17 -0800 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1L2Gn2-0004Db-8o for quiet@emacsbugs.donarmstrong.com; Mon, 17 Nov 2008 21:58:08 -0500 From: Stefan Monnier To: quiet@debbugs.gnu.org Subject: Advertised key-bindings In-Reply-To: (Richard M. Stallman's message of "Sun, 16 Nov 2008 11:08:42 -0500") Date: Sun, 16 Nov 2008 15:30:50 -0500 Lines: 24 References: X-From-Line: monnier@iro.umontreal.ca Sun Nov 16 15:30:23 2008 Received: from mail.gnu.org ([199.232.76.166]:33252 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1L1oGE-0001bx-Vj for rgm@gnu.org; Sun, 16 Nov 2008 15:30:23 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1L1oGJ-0001LF-T7 for rgm@gnu.org; Sun, 16 Nov 2008 15:30:28 -0500 Received: from ironport2-out.pppoe.ca ([206.248.154.182]:18201 helo=ironport2-out.teksavvy.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L1oGJ-0001L9-LJ; Sun, 16 Nov 2008 15:30:27 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhIFAJYRIElMCrcy/2dsb2JhbACBbMsPgnmBFA X-IronPort-AV: E=Sophos;i="4.33,615,1220241600"; d="scan'208";a="29938985" Received: from 76-10-183-50.dsl.teksavvy.com (HELO pastel.home) ([76.10.183.50]) by ironport2-out.teksavvy.com with ESMTP; 16 Nov 2008 15:30:22 -0500 Received: by pastel.home (Postfix, from userid 20848) id 35C2884E1; Sun, 16 Nov 2008 15:30:50 -0500 (EST) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-Debbugs-No-Ack: yes Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: Glenn Morris Severity: wishlist [ resent from http://lists.gnu.org/archive/html/emacs-devel/2008-11/msg00494.html ] > I don't remember for certain, but it looks like the sort of thing I do > to control which key some help features will report for that command. > This is meant to be like C-x u (advertised-undo) and C-_ (undo). > If you put \\[advertised-undo] in a doc string, it is guaranteed > to come out as C-x u, not C-_. If they were both bound to `undo', > then either one might come out. Which reminds me: it's an OK hack to get this result, but it has some annoying side-effects: - C-h k C-/ will not show you that it's also bound to C-x u (even though C-x u is supposed to be the binding you advertise most). - C-h k C-x u will not show you alternative bindings such as C-/ which are usually a lot more convenient to use when available. - probably some others. I think we should try and introduce a better way to get this result. E.g. we could add an `advertized-binding' property to the command symbol and then let where-is use it (after checking that it's indeed bound to that command). Stefan From rgm@gnu.org Wed Nov 4 19:28:17 2009 Received: (at control) by emacsbugs.donarmstrong.com; 5 Nov 2009 03:28:18 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.8 required=4.0 tests=AWL,ONEWORD autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nA53SGXq010584 for ; Wed, 4 Nov 2009 19:28:17 -0800 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1N5t1E-0004SR-1R for control@emacsbugs.donarmstrong.com; Wed, 04 Nov 2009 22:28:16 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19186.17999.977447.593930@fencepost.gnu.org> Date: Wed, 4 Nov 2009 22:28:15 -0500 From: Glenn Morris To: control Subject: control close 1363 close 1531 close 2797 tags 4858 moreinfo reassign 3972 emacs,cc-mode tags 3859 moreinfo tags 3878 moreinfo From unknown Sun Jun 15 08:12:46 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 03 Dec 2009 15:24:13 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A long time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator