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: substitute-command-keys to take optional `no-angles' arg? Date: Sun, 17 Sep 2006 10:22:20 -0700 Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1158513983 7925 80.91.229.2 (17 Sep 2006 17:26:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 17 Sep 2006 17:26:23 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Sep 17 19:26:22 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GP0P9-00051m-RV for ged-emacs-devel@m.gmane.org; Sun, 17 Sep 2006 19:26:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GP0P9-0005Ln-86 for ged-emacs-devel@m.gmane.org; Sun, 17 Sep 2006 13:26:07 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GP0Ox-0005JR-HF for emacs-devel@gnu.org; Sun, 17 Sep 2006 13:25:55 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GP0Ow-0005Gl-1U for emacs-devel@gnu.org; Sun, 17 Sep 2006 13:25:54 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GP0Ov-0005Gc-RM for emacs-devel@gnu.org; Sun, 17 Sep 2006 13:25:53 -0400 Original-Received: from [199.232.41.67] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GP0Ra-0006v3-Pq for emacs-devel@gnu.org; Sun, 17 Sep 2006 13:28:38 -0400 Original-Received: from [148.87.113.118] (helo=rgminet01.oracle.com) by mx20.gnu.org with esmtp (Exim 4.52) id 1GP0Op-0000Ly-3I for emacs-devel@gnu.org; Sun, 17 Sep 2006 13:25:47 -0400 Original-Received: from rgmsgw01.us.oracle.com (rgmsgw01.us.oracle.com [138.1.186.51]) by rgminet01.oracle.com (Switch-3.1.6/Switch-3.1.6) with ESMTP id k8HHMXJH002090 for ; Sun, 17 Sep 2006 11:22:34 -0600 Original-Received: from dradamslap (dhcp-amer-whq-csvpn-gw3-141-144-80-70.vpn.oracle.com [141.144.80.70]) by rgmsgw01.us.oracle.com (Switch-3.1.7/Switch-3.1.7) with SMTP id k8HHMXQu004943 for ; Sun, 17 Sep 2006 11:22:33 -0600 Original-To: "Emacs-Devel" 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.2800.1807 X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE 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:59938 Archived-At: Function `substitute-command-keys' allows little control over a) which binding for a given command is used and b) the form of the key descriptions. We've discussed these a bit before, and agreed to re-discuss them after the release. For that discussion (after the release), it occurred to me that, wrt (b), it would be good to allow for a `no-angles' option for `substitute-command-keys', just as we do for `single-key-description'. For example, I use `substitute-command-keys' to provide a help string regarding some bindings, and it currently returns this: "(, TAB: list, C-h: help)" I would prefer to supply a `no-angles' argument to `substitute-command-keys', to get this, instead: "(S-tab, TAB: list, C-h: help)"