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 Date: Sun, 29 Aug 2004 23:37:56 +0300 Organization: JURTA Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: <87vff1wgln.fsf@mail.jurta.org> References: <16683.28246.52467.757743@ihs.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1093831223 23182 80.91.224.253 (30 Aug 2004 02:00:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 30 Aug 2004 02:00:23 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 30 04:00:15 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1C1bSx-0004Zq-00 for ; Mon, 30 Aug 2004 04:00:15 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C1bXk-000093-OB for ged-emacs-devel@m.gmane.org; Sun, 29 Aug 2004 22:05:12 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C1bXI-0008SH-05 for emacs-devel@gnu.org; Sun, 29 Aug 2004 22:04:44 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C1bXG-0008Rf-4o for emacs-devel@gnu.org; Sun, 29 Aug 2004 22:04:43 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C1bXG-0008RV-2V for emacs-devel@gnu.org; Sun, 29 Aug 2004 22:04:42 -0400 Original-Received: from [66.33.205.9] (helo=spatula.dreamhost.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1C1bS5-0001xs-3l for emacs-devel@gnu.org; Sun, 29 Aug 2004 21:59:21 -0400 Original-Received: from mail.jurta.org (80-235-33-157-dsl.mus.estpak.ee [80.235.33.157]) by spatula.dreamhost.com (Postfix) with ESMTP id 4025E17D014; Sun, 29 Aug 2004 18:58:42 -0700 (PDT) Original-To: Kevin Rodgers In-Reply-To: <16683.28246.52467.757743@ihs.com> (Kevin Rodgers's message of "Tue, 24 Aug 2004 10:35:34 -0600") 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.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:26605 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:26605 Kevin Rodgers writes: > I maintain a small package that calls next-error, which in Emacs 21.3 > selected the source buffer in accordance with compilation-goto-locus's > doc string: > > | Selects a window with point at SOURCE, with another window displaying ERROR. > > But a user reports that in CVS Emacs (specifically, the July 9 snapshot > available at www.crasseux.com), next-error selects the *grep* > compilation buffer instead of the source buffer. Is that true, and is > the change intentional? If so, what is the right way to get the source > buffer after calling next-error now? I have some changes not yet installed in CVS (I will install them in the next few days) and one of them is changing the rules for finding the appropriate source buffer for `next-error'. Perhaps, this change will fix your problem. Could you provide more details about this case? >>From what buffer do you call `next-error'? What was the command that produced the last next-error capable buffer? Maybe, you need to change the rules in the `next-error-find-buffer' function? -- Juri Linkov http://www.jurta.org/emacs/