From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: M Jared Finder Newsgroups: gmane.emacs.devel Subject: Re: substitute-command-keys to take optional `no-angles' arg? Date: Sun, 17 Sep 2006 21:55:41 -0700 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1158555378 1404 80.91.229.2 (18 Sep 2006 04:56:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 18 Sep 2006 04:56:18 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 18 06:56:17 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 1GPBB2-0006BV-Mt for ged-emacs-devel@m.gmane.org; Mon, 18 Sep 2006 06:56:17 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GPBB2-0004Ur-Av for ged-emacs-devel@m.gmane.org; Mon, 18 Sep 2006 00:56:16 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GPBAn-0004UM-VP for emacs-devel@gnu.org; Mon, 18 Sep 2006 00:56:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GPBAm-0004U0-V0 for emacs-devel@gnu.org; Mon, 18 Sep 2006 00:56:01 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GPBAm-0004Tw-ME for emacs-devel@gnu.org; Mon, 18 Sep 2006 00:56:00 -0400 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GPBDX-0001Wp-RU for emacs-devel@gnu.org; Mon, 18 Sep 2006 00:58:52 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GPBAf-00067F-Mv for emacs-devel@gnu.org; Mon, 18 Sep 2006 06:55:53 +0200 Original-Received: from dsl001-150-235.sfo1.dsl.speakeasy.net ([72.1.150.235]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 18 Sep 2006 06:55:53 +0200 Original-Received: from jared by dsl001-150-235.sfo1.dsl.speakeasy.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 18 Sep 2006 06:55:53 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 30 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: dsl001-150-235.sfo1.dsl.speakeasy.net User-Agent: Thunderbird 1.5.0.4 (X11/20060713) In-Reply-To: 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:59956 Archived-At: Drew Adams wrote: > 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)" I'm just a user, so feel free to ignore my comments. is an abomination. Modifier keys should be clearly separated from function keys. to me means a key named "S-tab", not a key named "tab" being modified by shift. S- means that! substitute-command-keys and all other functions that print human-readable key sequences, should put the angle brackets around the SMALLEST possible string. -- MJF