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, 15 May 2004 14:34:25 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <871xluig40.fsf@mail.jurta.org> <873c6983t9.fsf@mail.jurta.org> <8765b3vm0r.fsf@mail.jurta.org> <4nn04fgeli.fsf@lifelogs.com> <87hdumto1j.fsf@mail.jurta.org> <4n7jvgpjwe.fsf@lifelogs.com> <4nk6zfnjhl.fsf@lifelogs.com> <87hduije30.fsf@mail.jurta.org> Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1084646519 14448 80.91.224.253 (15 May 2004 18:41:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 15 May 2004 18:41: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 15 20:41:54 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 1BP46c-0007kp-00 for ; Sat, 15 May 2004 20:41:54 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BP46c-0000uQ-00 for ; Sat, 15 May 2004 20:41:54 +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 1BP455-00061z-Rw for emacs-devel@quimby.gnus.org; Sat, 15 May 2004 14:40:19 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34) id 1BP451-00061J-8Q for emacs-devel@gnu.org; Sat, 15 May 2004 14:40:15 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1BP3zR-00041D-HR for emacs-devel@gnu.org; Sat, 15 May 2004 14:35:12 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BP3zO-0003yH-Bu for emacs-devel@gnu.org; Sat, 15 May 2004 14:34:27 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1BP3zN-0007vG-3I; Sat, 15 May 2004 14:34:25 -0400 Original-To: Juri Linkov In-reply-to: <87hduije30.fsf@mail.jurta.org> (message from Juri Linkov on Sat, 15 May 2004 11:21:07 +0300) 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:23505 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:23505 I think the following default behavior is good enough: 1. If the current buffer is a next-error capable buffer, return it. 2(new). If one and only one window on the current frame displays a next-error capable buffer, return this buffer. 3. If next-error-last-buffer is set to a live buffer, use that. 4. Otherwise, look for a next-error capable buffer in the buffer list. 5. Signal an error if there are none. Ok, let's do that.