From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Marshall, Simon" Newsgroups: gmane.emacs.devel Subject: RE: Add M-x occur to the menu-bar Date: Fri, 12 Sep 2003 17:07:24 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1063383017 21880 80.91.224.253 (12 Sep 2003 16:10:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 12 Sep 2003 16:10:17 +0000 (UTC) Cc: 'Emacs Developers' Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri Sep 12 18:10:14 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19xqUw-0006tJ-00 for ; Fri, 12 Sep 2003 18:10:14 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 19xqWH-0007gP-00 for ; Fri, 12 Sep 2003 18:11:38 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 19xqTE-0005BJ-GP for emacs-devel@quimby.gnus.org; Fri, 12 Sep 2003 12:08:28 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22) id 19xqST-00053F-C1 for emacs-devel@gnu.org; Fri, 12 Sep 2003 12:07:41 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22) id 19xqSK-00051s-OH for emacs-devel@gnu.org; Fri, 12 Sep 2003 12:07:33 -0400 Original-Received: from [212.125.75.19] (helo=mail14.messagelabs.com) by monty-python.gnu.org with smtp (Exim 4.22) id 19xqSJ-000519-JU for emacs-devel@gnu.org; Fri, 12 Sep 2003 12:07:32 -0400 X-VirusChecked: Checked X-Env-Sender: simon.marshall@misys.com X-Msg-Ref: server-35.tower-14.messagelabs.com!1063382847!991675 X-StarScan-Version: 5.0.7; banners=-,-,- Original-Received: (qmail 10760 invoked from network); 12 Sep 2003 16:07:28 -0000 Original-Received: from unknown (HELO pigeon.misys.com) (217.196.235.2) by server-35.tower-14.messagelabs.com with SMTP; 12 Sep 2003 16:07:28 -0000 Original-Received: From gull.misys.com ([10.80.48.7]) by pigeon.misys.com (WebShield SMTP v4.5 MR1a); id 1063383067812; Fri, 12 Sep 2003 17:11:07 +0100 Original-Received: by gull.midas-kapiti.com with Internet Mail Service (5.5.2653.19) id ; Fri, 12 Sep 2003 17:10:21 +0100 Original-To: "'rms@gnu.org'" X-Mailer: Internet Mail Service (5.5.2653.19) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:16325 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:16325 I must admit I don't have a strong preference; given the level of ignorance here with many emacs users over (a) M-x grep and, in particular, (b) M-x occur and (c) C-x ` etc., I had also thought of the following. Perhaps it's also worth throwing this suggestion in. I think M-x grep and M-x occur should have as similar a UI as possible. I've always found it baffling that if you are in a *grep* buffer you get a Compile menu with entries like "Next Error" to go to the next match. I've always found it annoying that C-x ` works for *grep* but not for *Occur*. (I guess M-x grep is closer to M-x compile for historical implementation reasons.) Make the existing Grep entry into a submenu of Tools, like this: Tools List Matching Lines In Buffer # In Buffers... WBN one day In Files... --- Goto First Match Goto Previous Match Goto Next Match --- Stop Searching Where the Goto entries process either the current buffer (if a *grep* or *Occur* buffer) or, otherwise, the most recently created/used *grep* or *Occur*. The Stop entry can be active only if a grep has been invoked. WDYT? -----Original Message----- From: Richard Stallman [mailto:rms@gnu.org] Sent: 12 September 2003 15:04 To: Marshall, Simon Subject: Re: Add M-x occur to the menu-bar I tend not to think that M-x occur is worth a space there, so I don't want to add this. However, if people generally think it should be there, I will go along.