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: RE: Menu commands to M-x history? Date: Sat, 1 Aug 2009 13:20:36 -0700 Message-ID: <2AF0AB16957D488091F59AE08BCE25A5@us.oracle.com> References: <9D1E3CE97BF4491E973F872B00D6277D@us.oracle.com><916D7A0558D14A809114127E47A21BB2@us.oracle.com><813B2CD970B1498EA104EBAE7CD12620@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1249158060 16558 80.91.229.12 (1 Aug 2009 20:21:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 1 Aug 2009 20:21:00 +0000 (UTC) Cc: 'Mathias Dahl' , rms@gnu.org, emacs-devel@gnu.org To: "'Lennart Borgman'" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 01 22:20:52 2009 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 1MXL4U-0002Gr-CB for ged-emacs-devel@m.gmane.org; Sat, 01 Aug 2009 22:20:50 +0200 Original-Received: from localhost ([127.0.0.1]:46909 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MXL4T-0001tW-L6 for ged-emacs-devel@m.gmane.org; Sat, 01 Aug 2009 16:20:49 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MXL4O-0001rv-QS for emacs-devel@gnu.org; Sat, 01 Aug 2009 16:20:44 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MXL4J-0001kK-4x for emacs-devel@gnu.org; Sat, 01 Aug 2009 16:20:43 -0400 Original-Received: from [199.232.76.173] (port=50805 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MXL4I-0001kF-SW for emacs-devel@gnu.org; Sat, 01 Aug 2009 16:20:38 -0400 Original-Received: from acsinet11.oracle.com ([141.146.126.233]:53554) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MXL4G-0000f2-0O; Sat, 01 Aug 2009 16:20:36 -0400 Original-Received: from rgminet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by acsinet11.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n71KKssd008251 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 1 Aug 2009 20:20:55 GMT Original-Received: from abhmt005.oracle.com (abhmt005.oracle.com [141.146.116.14]) by rgminet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n71KKTQY000646; Sat, 1 Aug 2009 20:20:30 GMT Original-Received: from dradamslap1 (/141.144.64.148) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 01 Aug 2009 13:20:28 -0700 X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcoPAgMcI6cX12fjQSO2N6yAnQtUcgAAZ4BgAPe+OOA= X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 In-Reply-To: X-Source-IP: abhmt005.oracle.com [141.146.116.14] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A010203.4A74A38D.00C3:SCFSTAT5015188,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) 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:113530 Archived-At: I said: > I don't disagree with much of what you wrote. Perhaps it > would have been better for me not to mention my experience > and partial support of adding menu items. That probably > clouded the issue as you would like to see it discussed. > > Look at the bright side ;-): there wasn't much in the way of > solid argument against the idea of adding menu items for M-x > history. My arguments were only wrt default vs on-demand. FWIW, I've changed my mind about this, based on playing with it a bit. I agree now with Lennart that it would generally be good to have menu-item commands added to `extended-command-history' - not just available on demand via some minibuffer key. It would also be good to have a user option to control this feature (i.e., whether menu-item commands are recorded in the history). I think the use of an option should accommodate those who disagree with the feature. For users who rarely use a menu, no behavior change would be visible. Those who use menus a lot would benefit by (a) learning the corresponding commands and (b) having recall available, as well as completion (against the history list). Remember, there is no other means for reinvoking a menu item - no way to refresh your memory or quickly find again that (possibly deep) menu item that you used 30 minutes ago. This handicaps menu users unnecessarily. And that probably includes many newbies (and even oldbies exploring parts of Emacs that are new to them). Adding commands invoked as menu-items to the command history will act as a bridge between menu use and minibuffer use. I would even vote for having this history addition be turned on by default. Few participated in the previous discussion. WDOT?