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:14:37 +0300 Organization: JURTA Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <87n03wgt76.fsf@mail.jurta.org> References: <871xluig40.fsf@mail.jurta.org> <87u0y6jjq9.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 1085522135 611 80.91.224.253 (25 May 2004 21:55:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 25 May 2004 21:55:35 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue May 25 23:55:26 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 1BSjtO-0004xQ-00 for ; Tue, 25 May 2004 23:55:26 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BSjtO-0007iR-00 for ; Tue, 25 May 2004 23:55:26 +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 1BSjdP-0006Ql-JP for emacs-devel@quimby.gnus.org; Tue, 25 May 2004 17:38:55 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34) id 1BSitt-000628-5m for emacs-devel@gnu.org; Tue, 25 May 2004 16:51:53 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1BSiZs-0000sV-SH for emacs-devel@gnu.org; Tue, 25 May 2004 16:31:44 -0400 Original-Received: from [66.33.219.4] (helo=spork.dreamhost.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BSiMn-0006YT-2X; Tue, 25 May 2004 16:17:41 -0400 Original-Received: from mail.jurta.org (80-235-37-28-dsl.mus.estpak.ee [80.235.37.28]) by spork.dreamhost.com (Postfix) with ESMTP id C6F2611DC21; Tue, 25 May 2004 13:17:38 -0700 (PDT) Original-To: rms@gnu.org In-Reply-To: (Richard Stallman's message of "Tue, 25 May 2004 12:06: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:23935 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:23935 Richard Stallman writes: > This fix has a drawback; it will make that buffer permanently > incapable of being used as a series of references to places. > > I think we should look for a way to disable this temporarily instead. > However, I am not sure how that would work--what would be the > condition on which to reenable this buffer's value of > next-error-function? If there is a real need to enable next-error-function in the existing buffer visited by next-error (i.e. if it's not too rare case when the user needs to kill a buffer and create a new, that may be inconvenient if performed too often), then next-error-function could be enabled again by setting it to the initial value by typing C-m or one of other error visiting keys available in the next-error capable buffer. When these keys are bound to one of the following functions, each function could set the initial value of next-error-function every time it called in the next-error capable buffer: compile-goto-error diff-goto-source occur-mode-goto-occurrence -- Juri Linkov http://www.jurta.org/emacs/