From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.devel Subject: Re: Add M-x occur to the menu-bar Date: Fri, 05 Mar 2004 13:14:46 -0500 Organization: =?koi8-r?q?=F4=C5=CF=C4=CF=D2=20=FA=CC=C1=D4=C1=CE=CF=D7?= @ Cienfuegos Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <4nk71zma95.fsf@lifelogs.com> 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> <4nn085i7nl.fsf@collins.bwh.harvard.edu> <4noese37h0.fsf@collins.bwh.harvard.edu> <4nbrodxwqm.fsf@collins.bwh.harvard.edu> <4n8yjcccvj.fsf@collins.bwh.harvard.edu> <4nwu6sp7ni.fsf@collins.bwh.harvard.edu> Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1B0oM5-0003JZ-00 for ; Tue, 09 Mar 2004 22:01:37 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1B0oM5-0005mf-00 for ; Tue, 09 Mar 2004 22:01:37 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B0oIn-0002Hl-Kl for emacs-devel@quimby.gnus.org; Tue, 09 Mar 2004 15:58:13 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1AzK2r-0002aj-Ed for emacs-devel@gnu.org; Fri, 05 Mar 2004 13:27:37 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1AzK2L-0002L0-82 for emacs-devel@gnu.org; Fri, 05 Mar 2004 13:27:36 -0500 Original-Received: from [80.91.224.249] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1AzK2K-0002I7-JN for emacs-devel@gnu.org; Fri, 05 Mar 2004 13:27:04 -0500 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AzK2F-0007Rc-00 for ; Fri, 05 Mar 2004 19:26:59 +0100 Original-Received: from asimov.bwh.harvard.edu ([134.174.9.63]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 05 Mar 2004 19:26:59 +0100 Original-Received: from tzz by asimov.bwh.harvard.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 05 Mar 2004 19:26:59 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 22 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: asimov.bwh.harvard.edu X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:hSTjodufNHWrKeozmaCrW5IlfDc= 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:20278 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:20278 On Tue, 02 Mar 2004, ihs_4664@yahoo.com wrote: > I think next-error should use the last created compile/grep/occur > buffer, which is next-error-last-buffer because those commands reset > its value. > > But I would like to give the user some control over that. For > instance, if next-error-last-buffer were a list with the most > recently created buffer at the front (like a stack), the user could > go back to his/her previous next-error task simply by killing the > most recent compile/grep/occur buffer. I'm not opposed to adding this as a future option, but I don't want to complicate the intentionally simple interface to next-error (set next-error-function and next-error-last-buffer, that's it). I think a list of buffers would complicate life for users and developers alike, without adding much functionality. It would be especially bad for backward compatibility, which RMS insists on. So maybe it could be an optional registration API into next-error for advanced users, but definitely not the primary interface. Ted