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: next-error-last-buffer Date: Wed, 26 May 2004 09:49:41 -0400 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <4nhdu3l2mi.fsf@lifelogs.com> References: <871xluig40.fsf@mail.jurta.org> <87u0y6jjq9.fsf@mail.jurta.org> <4nwu31j4ff.fsf@lifelogs.com> <87zn7wgtel.fsf@mail.jurta.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1085639406 23874 80.91.224.253 (27 May 2004 06:30:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 27 May 2004 06:30:06 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Thu May 27 08:30:00 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 1BTEOu-0002O8-00 for ; Thu, 27 May 2004 08:30:00 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BTEOt-0006R1-00 for ; Thu, 27 May 2004 08:29:59 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BTE04-0003kn-Pu for emacs-devel@quimby.gnus.org; Thu, 27 May 2004 02:04:20 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34) id 1BTBek-0004oc-3x for emacs-devel@gnu.org; Wed, 26 May 2004 23:34:10 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1BTB7m-0007HO-PM for emacs-devel@gnu.org; Wed, 26 May 2004 23:00:43 -0400 Original-Received: from [80.91.224.249] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BSz3I-00063U-Ky for emacs-devel@gnu.org; Wed, 26 May 2004 10:06:40 -0400 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BSz3H-0002l9-00 for ; Wed, 26 May 2004 16:06:39 +0200 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 ; Wed, 26 May 2004 16:06:39 +0200 Original-Received: from tzz by asimov.bwh.harvard.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 26 May 2004 16:06:39 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 21 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.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:mdUxnVxUC3YxQYjoJFq7vomBxsg= 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:24000 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:24000 On Tue, 25 May 2004, juri@jurta.org wrote: > Ted Zlatanov writes: >> But what if the user wants the next place in the patch file? It >> would be very useful to have next-error support that as well. >> >> Maybe next-error should know when a user visits a buffer >> interactively (with a keyboard command or a mouse click) versus >> through a next-error invocation. That way, the user can select the >> diff buffer manually when they want the next diff hunk, but otherwise >> next-error will keep using the original invocant buffer. > > When users want to go to the next place in the patch file they can > revisit it by killing a buffer and visiting it again (e.g. by C-x C-f). > This way the variable `next-error-function' will be set again > in that buffer. That's really awkward. I'd rather rewrite my code than ask the user to work around my code like this. Ted