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: Add lgrep/rgrep commands to Edit > Search submenu Date: Sun, 25 Jan 2009 12:00:30 -0800 Message-ID: <004301c97f27$9371ca50$0200a8c0@us.oracle.com> References: <87y6x0ph4x.fsf@kfs-lx.rd.rdm> <87skn7w85h.fsf@cyd.mit.edu> 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 1232913674 20693 80.91.229.12 (25 Jan 2009 20:01:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 25 Jan 2009 20:01:14 +0000 (UTC) Cc: emacs-devel@gnu.org To: "'Chong Yidong'" , "'Kim F. Storm'" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 25 21:02:27 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 1LRBBO-0002Xv-CF for ged-emacs-devel@m.gmane.org; Sun, 25 Jan 2009 21:02:14 +0100 Original-Received: from localhost ([127.0.0.1]:42416 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LRBA6-0001T8-QC for ged-emacs-devel@m.gmane.org; Sun, 25 Jan 2009 15:00:54 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LRBA2-0001T3-RH for emacs-devel@gnu.org; Sun, 25 Jan 2009 15:00:50 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LRBA0-0001Sm-FD for emacs-devel@gnu.org; Sun, 25 Jan 2009 15:00:49 -0500 Original-Received: from [199.232.76.173] (port=48325 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LRBA0-0001Sj-8V for emacs-devel@gnu.org; Sun, 25 Jan 2009 15:00:48 -0500 Original-Received: from acsinet11.oracle.com ([141.146.126.233]:25717) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LRB9z-0004du-LY for emacs-devel@gnu.org; Sun, 25 Jan 2009 15:00:47 -0500 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 n0PK28b7030645 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 25 Jan 2009 20:02:09 GMT Original-Received: from acsmt701.oracle.com (acsmt701.oracle.com [141.146.40.71]) by rgminet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n0PK0G1T018769; Sun, 25 Jan 2009 20:00:18 GMT Original-Received: from dradamslap1 (/24.5.128.33) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 25 Jan 2009 20:00:13 +0000 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <87skn7w85h.fsf@cyd.mit.edu> Thread-Index: Acl/GwC8A6DD6rwKSRCPLen9iGLDDwACLl0g X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 X-Source-IP: acsmt701.oracle.com [141.146.40.71] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090209.497CC4CF.01D8:SCFSTAT928724,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:108230 Archived-At: > > IMO, lgrep and rgrep are much better suited as menu commands, > > and they would logically fit very well on > > Edit > Search > Search Files... > > Edit > Search > Search Files Recurse... > > > > We may remove the standard grep from Tools - or keep it as > > a more advanced/low-level interface. > > Conceptually, the grep commands are not a good fit for the Edit menu. > The Edit menu contains commands that act on the current buffer; the > Tools menu contains commands that do fancier stuff like operating on > multiple files. So, even though Isearch and Grep are both "search > commands", I don't think it's good to consolidate them on the > menu bar. All search stuff should be together, in a Search menu. That includes things like grep and occur. It doesn't matter much whether Search is a submenu of the Edit menu or the Tools menu. However, one reason to not put Search under Edit could be that some modes might want to remove Edit but keep search stuff. Personally, I put the Search menu at the top level. And I include as submenus of Search things like replace, tags, bookmarks, and goto. Those are all search-like, IMO. FWIW, I also agree with Kim's suggestion (on the bug list) to move Options from the top level. I'd sooner see Options under Edit, and Search at the top level. Or both under Edit. Or Options under Edit and Search under Tools. Typical places for setting preferences are under Edit or File. Moving Options from the top level to Edit or File would obviate some of the problems (e.g. currently, for GNUS, in the bug list) for menu-bar space. And users would still have no problem finding Options - they do so for other apps (Options typically being called something like Preferences, Settings, or Configure Settings).