From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: be able to specify the binding hint shown in menu items Date: Tue, 22 May 2007 07:58:49 -0700 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1179846042 22760 80.91.229.12 (22 May 2007 15:00:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 22 May 2007 15:00:42 +0000 (UTC) To: "Emacs-Devel" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 22 17:00:39 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HqVqi-0002LE-MM for ged-emacs-devel@m.gmane.org; Tue, 22 May 2007 17:00:32 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HqVqj-00076H-Ld for ged-emacs-devel@m.gmane.org; Tue, 22 May 2007 11:00:33 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HqVqU-00074H-Oo for emacs-devel@gnu.org; Tue, 22 May 2007 11:00:18 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HqVqT-00073b-8u for emacs-devel@gnu.org; Tue, 22 May 2007 11:00:17 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HqVqS-00073V-Qk for emacs-devel@gnu.org; Tue, 22 May 2007 11:00:16 -0400 Original-Received: from rgminet01.oracle.com ([148.87.113.118]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HqVqS-0006t9-AF for emacs-devel@gnu.org; Tue, 22 May 2007 11:00:16 -0400 Original-Received: from rgmgw3.us.oracle.com (rgmgw3.us.oracle.com [138.1.186.112]) by rgminet01.oracle.com (Switch-3.2.4/Switch-3.1.6) with ESMTP id l4MF0CD5001673 for ; Tue, 22 May 2007 09:00:12 -0600 Original-Received: from acsmt351.oracle.com (acsmt351.oracle.com [141.146.40.151]) by rgmgw3.us.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id l4MBNrBc027896 for ; Tue, 22 May 2007 09:00:11 -0600 Original-Received: from dhcp-amer-csvpn-gw1-141-144-66-3.vpn.oracle.com by acsmt351.oracle.com with ESMTP id 2720084851179845933; Tue, 22 May 2007 07:58:53 -0700 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-Whitelist: TRUE X-Whitelist: TRUE X-Brightmail-Tracker: AAAAAQAAAAI= X-detected-kernel: Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:71609 Archived-At: In some cases, I bind a menu-bar menu item to a command that is not, itself, bound to a keyboard key sequence. However, I would like a particular key sequence to appear in the menu next to the menu item. I don't think there is currently a way to specify (i.e. hard-code) a key-binding hint for a menu item. You can add text " (C-x a)" to the menu item itself, but there is then no way to right-align the binding hint. Could this mini-feature be added after the release? The use case is having a slightly different command bound to the menu item than what is to be documented as the keyboard binding.