From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Add M-x occur to the menu-bar Date: Thu, 29 Jan 2004 12:51:34 -0500 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <3F69E6FF.9050702@yahoo.com> <4n8yjto16h.fsf@collins.bwh.harvard.edu> <4nisixjibl.fsf@collins.bwh.harvard.edu> <20040127230323.GB5407@fencepost> <4n7jzc919v.fsf@collins.bwh.harvard.edu> Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1075398977 24875 80.91.224.253 (29 Jan 2004 17:56:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 29 Jan 2004 17:56:17 +0000 (UTC) Cc: tzz@lifelogs.com, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Thu Jan 29 18:56:10 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AmGOg-00018M-00 for ; Thu, 29 Jan 2004 18:56:10 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AmGOg-0004e1-00 for ; Thu, 29 Jan 2004 18:56:10 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AmGNc-0002VM-Fj for emacs-devel@quimby.gnus.org; Thu, 29 Jan 2004 12:55:04 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AmGLh-000227-50 for emacs-devel@gnu.org; Thu, 29 Jan 2004 12:53:05 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AmGL1-0001iV-VV for emacs-devel@gnu.org; Thu, 29 Jan 2004 12:52:56 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AmGL1-0001iA-5A for emacs-devel@gnu.org; Thu, 29 Jan 2004 12:52:23 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.24) id 1AmGKE-0001B5-6E; Thu, 29 Jan 2004 12:51:34 -0500 Original-To: Stefan Monnier In-reply-to: (message from Stefan Monnier on 28 Jan 2004 09:30:30 -0500) 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:19552 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:19552 Minimizing the amount of changes is a worthy goal but it should not take precedence over the goals of: - consistent behavior - maintainability What this means is that it would be better to integrate the support for occur and the support for grep and compile rather than add a layer on top of the support for grep and compile. You are probably right. But I think the biggest problem here will be finding th right rules for this command to follow, which will give results that the users like and find natural. > 2) next-error is IMHO a bad name for a function that finds the next > match in grep mode, and the next occurrence in occur mode. That's probably tru. If you can come up with a better name, maybe we can change it. I don't find dwim-next to be much btter. dwim-next is not very good, because it is very vague about what sort of thing it will do. How about goto-next-locus?