From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.pretest.bugs,gmane.emacs.devel Subject: Re: Sensible menu bindings Date: Tue, 29 Mar 2005 16:58:58 +0200 Message-ID: References: <91a0b1e20a73068697a422453a2dcb7e@Web.DE> <01c53211$Blat.v2.4$99a09d00@zahav.net.il> <87ll86601k.fsf-monnier+emacs@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1112108587 30800 80.91.229.2 (29 Mar 2005 15:03:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 29 Mar 2005 15:03:07 +0000 (UTC) Cc: Peter Dyballa , emacs-devel@gnu.org, emacs-pretest-bug@gnu.org Original-X-From: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Tue Mar 29 17:03:05 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DGIDH-00085S-E9 for gebp-emacs-pretest-bug@gmane.org; Tue, 29 Mar 2005 17:01:03 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DGITa-0004rE-Jf for gebp-emacs-pretest-bug@gmane.org; Tue, 29 Mar 2005 10:17:54 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DGITL-0004kY-H4 for emacs-pretest-bug@gnu.org; Tue, 29 Mar 2005 10:17:39 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DGITD-0004i7-TG for emacs-pretest-bug@gnu.org; Tue, 29 Mar 2005 10:17:32 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DGITD-0004gM-C8 for emacs-pretest-bug@gnu.org; Tue, 29 Mar 2005 10:17:31 -0500 Original-Received: from [212.88.64.25] (helo=mail-relay.sonofon.dk) by monty-python.gnu.org with smtp (Exim 4.34) id 1DGIB4-0007VP-Vz for emacs-pretest-bug@gnu.org; Tue, 29 Mar 2005 09:58:59 -0500 Original-Received: (qmail 29272 invoked from network); 29 Mar 2005 14:58:35 -0000 Original-Received: from unknown (HELO kfs-l.imdomain.dk.cua.dk) (213.83.150.2) by 0 with SMTP; 29 Mar 2005 14:58:35 -0000 Original-To: Stefan Monnier In-Reply-To: <87ll86601k.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Tue, 29 Mar 2005 08:45:52 -0500") 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:6640 gmane.emacs.devel:35313 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:35313 Stefan Monnier writes: >> With my patch, (key-description KEY t) will do just that. >> Making C-h c using that is trivial (I already did so). > > Great, then I strongly support it. Thanks. > >> C-h k "File" "New File..." reports: >> ,-------------------------- >> | File=>New File... runs the command find-file >> | which is an interactive compiled Lisp function in `files'. >> | It is also bound to , C-x C-f. >> | >> | Menu binding: > > I wouldn't bother with this part of the change, just keep: > >> | runs the command find-file >> | which is an interactive compiled Lisp function in `files'. >> | It is also bound to , C-x C-f. > > Since after all the user has just selected the entry in the menu, so she > knows damn well what many entry it was. But if I grab the help output and send it to somebody else, the new format is more readable there too. And sometimes, help buffers stay around for several minutes, and not everybody has that long memories :-) > >> | find-file File=>New File..., C-x C-f, >> | Command: Edit file FILENAME. >> | find-file-at-point M-x ... RET >> | Command: Find FILENAME, guessing a default from text around point. >> | find-file-existing File=>Open File... >> | Command: Edit the existing file FILENAME. >> | ... > > OTOH, this is much more readable than the current form. This was actually the context that triggered the change in the first place -- the other uses came as a "mostly free" bonus. -- Kim F. Storm http://www.cua.dk