From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: next-error-last-buffer Date: Tue, 25 May 2004 23:09:09 +0300 Organization: JURTA Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <87zn7wgtel.fsf@mail.jurta.org> References: <871xluig40.fsf@mail.jurta.org> <87u0y6jjq9.fsf@mail.jurta.org> <4nwu31j4ff.fsf@lifelogs.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1085521938 32601 80.91.224.253 (25 May 2004 21:52:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 25 May 2004 21:52:18 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue May 25 23:52:07 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 1BSjqA-0004gg-00 for ; Tue, 25 May 2004 23:52:07 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BSjqA-0007Zo-00 for ; Tue, 25 May 2004 23:52:06 +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 1BSjNa-0003TF-Gb for emacs-devel@quimby.gnus.org; Tue, 25 May 2004 17:22:34 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34) id 1BSjNI-0003PA-Vb for emacs-devel@gnu.org; Tue, 25 May 2004 17:22:17 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1BSiuc-0006Cl-EN for emacs-devel@gnu.org; Tue, 25 May 2004 16:53:10 -0400 Original-Received: from [66.33.219.19] (helo=spoon.dreamhost.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BSiMi-0006XQ-LB for emacs-devel@gnu.org; Tue, 25 May 2004 16:17:37 -0400 Original-Received: from mail.jurta.org (80-235-37-28-dsl.mus.estpak.ee [80.235.37.28]) by spoon.dreamhost.com (Postfix) with ESMTP id DCA9413D83E; Tue, 25 May 2004 13:17:33 -0700 (PDT) Original-To: Ted Zlatanov In-Reply-To: <4nwu31j4ff.fsf@lifelogs.com> (Ted Zlatanov's message of "Mon, 24 May 2004 10:16:52 -0400") User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) 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:23934 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:23934 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. -- Juri Linkov http://www.jurta.org/emacs/