From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Multiple next-error sources Date: Thu, 06 Nov 2014 18:15:40 -0500 Message-ID: References: <20141102151524.0d9c665c@forcix> <20141102172944.0f7944e3@forcix> <20141103084433.12117c03@forcix> <86fvdwgxqs.fsf@yandex.ru> <20141106180815.207bf7ad@forcix> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1415315779 19424 80.91.229.3 (6 Nov 2014 23:16:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Nov 2014 23:16:19 +0000 (UTC) Cc: Helmut Eller , emacs-devel@gnu.org To: Jorgen Schaefer Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 07 00:16:12 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XmWHk-0002Im-4k for ged-emacs-devel@m.gmane.org; Fri, 07 Nov 2014 00:16:12 +0100 Original-Received: from localhost ([::1]:56850 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XmWHj-0000cT-Lm for ged-emacs-devel@m.gmane.org; Thu, 06 Nov 2014 18:16:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53122) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XmWHP-0000c2-Cd for emacs-devel@gnu.org; Thu, 06 Nov 2014 18:15:58 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XmWHH-00034B-Uw for emacs-devel@gnu.org; Thu, 06 Nov 2014 18:15:51 -0500 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:54320) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XmWHH-000347-Qc for emacs-devel@gnu.org; Thu, 06 Nov 2014 18:15:43 -0500 Original-Received: from ceviche.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id sA6NFeol001258; Thu, 6 Nov 2014 18:15:40 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id 49D5666125; Thu, 6 Nov 2014 18:15:40 -0500 (EST) In-Reply-To: <20141106180815.207bf7ad@forcix> (Jorgen Schaefer's message of "Thu, 6 Nov 2014 18:08:15 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Level: X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0.2 X-NAI-Spam-Rules: 2 Rules triggered GEN_SPAM_FEATRE=0.2, RV5117=0 X-NAI-Spam-Version: 2.3.0.9393 : core <5117> : inlines <1498> : streams <1337178> : uri <1833029> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.22 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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 Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:176495 Archived-At: > An idea I had was to replace/extend `next-error-function' with a hook > where the first non-nil return value is used as the location of the > next error. Why? Can't you already do it with add-function? Stefan