From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.pretest.bugs,gmane.emacs.devel Subject: Re: Sensible menu bindings Date: Tue, 29 Mar 2005 12:31:00 +0200 Message-ID: References: <91a0b1e20a73068697a422453a2dcb7e@Web.DE> <01c53211$Blat.v2.4$99a09d00@zahav.net.il> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1112097065 24693 80.91.229.2 (29 Mar 2005 11:51:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 29 Mar 2005 11:51:05 +0000 (UTC) Cc: Peter Dyballa , emacs-pretest-bug@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Tue Mar 29 13:51:01 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DGFEQ-0005qk-Ah for gebp-emacs-pretest-bug@gmane.org; Tue, 29 Mar 2005 13:50:02 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DGFUh-0003lD-St for gebp-emacs-pretest-bug@gmane.org; Tue, 29 Mar 2005 07:06:52 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DGEM7-0003PN-LO for emacs-pretest-bug@gnu.org; Tue, 29 Mar 2005 05:53:59 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DGEM1-0003O3-4M for emacs-pretest-bug@gnu.org; Tue, 29 Mar 2005 05:53:49 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DGEM0-0003Hg-Dh; Tue, 29 Mar 2005 05:53:48 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DGDzz-0004LV-Gy; Tue, 29 Mar 2005 05:31:03 -0500 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1DGDzy-0006dT-MK; Tue, 29 Mar 2005 05:31:03 -0500 Original-To: storm@cua.dk (Kim F. Storm) In-Reply-To: (Kim F. Storm's message of "Tue, 29 Mar 2005 11:43:32 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-pretest-bug@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: emacs-pretest-bug.gnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Errors-To: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.pretest.bugs:6629 gmane.emacs.devel:35298 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:35298 storm@cua.dk (Kim F. Storm) writes: > Stefan Monnier writes: > >>> I recently suggested patches to report menu bindings using the real >>> menu item texts rather than the internal names, like this: >> >>> File=>Print=>Print With Faces >> >> I agree it would be an improvement. But IIRC you did it by >> modifying key-description, which also applies to things like C-h c >> where I think it's important to keep a representation that can be >> passed directly to `kbd'. > > How do you copy/paste the output from C-h c? From *Messages* buffer? > > With C-h k, you get a buffer from which you can copy the original menu > binding -- and with my patch, that binding is still shown for C-h k > (see example below). > >> So I'd recommend to add an arg to key-description and then only use >> it at those places where it makes sense (basically, for the keys >> returned by `where-is'). > > With my patch, (key-description KEY t) will do just that. > Making C-h c using that is trivial (I already did so). > > Anyway, Richard don't think this is an improvement, so > unless more people speak up, it's a dead end. I think it is an improvement since we are talking here mainly about user-level instead of programmer-accessible documentation. With regard to the duplication of information: how feasible would it be to make kbd accept File=>Print=>Print With Faces strings? Then there would be no necessity to report a different form. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum