From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Robert J. Chassell" Newsgroups: gmane.emacs.devel Subject: Re: follow mode for occur Date: Sat, 5 Jun 2004 07:56:09 -0400 (EDT) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <200405270035.i4R0ZjGK017770@scanner2.ics.uci.edu> <877juxlyz3.fsf@mail.jurta.org> <200405281856.i4SIufGK022679@scanner2.ics.uci.edu> <200406041841.i54IfIU5017651@amrm2.ics.uci.edu> Reply-To: bob@rattlesnake.com NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1086437706 4529 80.91.224.253 (5 Jun 2004 12:15:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 5 Jun 2004 12:15:06 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sat Jun 05 14:14:59 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 1BWa4h-0001BC-00 for ; Sat, 05 Jun 2004 14:14:59 +0200 Original-Received: from lists.gnu.org ([199.232.76.165]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BWa4h-0002zf-00 for ; Sat, 05 Jun 2004 14:14:59 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BWa58-0003dY-0H for emacs-devel@quimby.gnus.org; Sat, 05 Jun 2004 08:15:26 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BWa51-0003cd-1D for emacs-devel@gnu.org; Sat, 05 Jun 2004 08:15:19 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BWZsG-0001rO-V8 for emacs-devel@gnu.org; Sat, 05 Jun 2004 08:02:12 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BWZsG-0001pt-L1 for emacs-devel@gnu.org; Sat, 05 Jun 2004 08:02:08 -0400 Original-Received: from [140.186.114.245] (helo=rattlesnake.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BWZr1-0002Lx-Cm for emacs-devel@gnu.org; Sat, 05 Jun 2004 08:01:02 -0400 Original-Received: by rattlesnake.com via sendmail from stdin id (Debian Smail3.2.0.115) Sat, 5 Jun 2004 07:56:09 -0400 (EDT) Original-To: emacs-devel@gnu.org In-reply-to: <200406041841.i54IfIU5017651@amrm2.ics.uci.edu> (message from Dan Nicolaescu on Fri, 4 Jun 2004 11:41:18 -0700) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 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:24563 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:24563 Today's CVS snapshot, Sat, 2004 Jun 5 10:53 UTC GNU Emacs 21.3.50.41 (i686-pc-linux-gnu, GTK+ Version 2.2.4) I just tried Dan Nicolaescu's new follow minor mode for occur. In a short test, it works fine for both *Occur* and *compilation* buffers. Should this mode be on by default? I think so. I really like this. I don't know how non-programmers who first use Emacs will respond, but I think they will like it, too. I suppose a menu entry is a good idea, too. I don't use the menus so my only thought about them is that we should make sure they have good human factors. Presumably occur and its follow mode fit into `Tools' along with grep and multi-occur. Or perhaps a human factors analysis will put them into `Edit' along with isearch. On thinking more about this, I think they should all go into `Edit'. Perhaps the listing could add `Search and List' between the existing `Search' and `Replace' entries, like this: Search -> Search and List -> Replace -> After all, these capabilities are all various forms of navigation used in editing: * search and list within a single `file' (that is how many people think of buffers) for occur and occur follow mode * search and list within the buffers you have visited for multi-occur * search and list within a set of files for grep By the way, it looks to me that isearch should come before string search in the `Edit -> Search' menu. It is easy to learn isearch and easy to switch from string search to isearch if you already know string search. So the better interface should come first. Put `string search' in a sub-sub-menu. -- Robert J. Chassell Rattlesnake Enterprises As I slowly update it, bob@rattlesnake.com I rewrite a "What's New" segment for http://www.rattlesnake.com