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: next-error-last-buffer Date: Sat, 29 May 2004 13:03:26 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <871xluig40.fsf@mail.jurta.org> <87u0y6jjq9.fsf@mail.jurta.org> <87n03wgt76.fsf@mail.jurta.org> <4nd64rl2ah.fsf@lifelogs.com> Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1085850419 11017 80.91.224.253 (29 May 2004 17:06:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 29 May 2004 17:06:59 +0000 (UTC) Cc: tzz@lifelogs.com, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sat May 29 19:06:55 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 1BU7IM-0007OT-00 for ; Sat, 29 May 2004 19:06:54 +0200 Original-Received: from lists.gnu.org ([199.232.76.165]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BU7IM-0002Jg-00 for ; Sat, 29 May 2004 19:06:54 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BU7IS-0008Ni-5O for emacs-devel@quimby.gnus.org; Sat, 29 May 2004 13:07:00 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BU7IM-0008NV-39 for emacs-devel@gnu.org; Sat, 29 May 2004 13:06:54 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BU7IL-0008NJ-Ky for emacs-devel@gnu.org; Sat, 29 May 2004 13:06:53 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BU7IL-0008NG-Ge for emacs-devel@gnu.org; Sat, 29 May 2004 13:06:53 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BU7F2-00020f-NG for emacs-devel@gnu.org; Sat, 29 May 2004 13:03:29 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1BU7F0-0006pg-Ay; Sat, 29 May 2004 13:03:26 -0400 Original-To: Stefan Monnier In-reply-to: (message from Stefan Monnier on 28 May 2004 11:29:00 -0400) 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:24183 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:24183 A less intrusive (and hence less complete) solution: - Create a new compilation-last-source-buffer variable. - At the end of next-error, set this new variable to the buffer just being displayed. - at the beginning of next-error check compilation-last-source-buffer: if it is equal to current-buffer, then don't consider this buffer as a "compilation" buffer (i.e. ignore its next-error-function). This might be good. We can at least try it.