From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jorgen Schaefer Newsgroups: gmane.emacs.devel Subject: Re: Multiple next-error sources Date: Fri, 7 Nov 2014 10:49:14 +0100 Message-ID: <20141107104914.17f04967@forcix> 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; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1415353825 26401 80.91.229.3 (7 Nov 2014 09:50:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 7 Nov 2014 09:50:25 +0000 (UTC) Cc: Helmut Eller , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 07 10:50: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 1XmgBH-0002E7-IG for ged-emacs-devel@m.gmane.org; Fri, 07 Nov 2014 10:50:11 +0100 Original-Received: from localhost ([::1]:59191 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XmgBG-0007gj-Rv for ged-emacs-devel@m.gmane.org; Fri, 07 Nov 2014 04:50:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43317) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XmgAW-0006un-A4 for emacs-devel@gnu.org; Fri, 07 Nov 2014 04:49:30 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XmgAQ-0001Bu-ED for emacs-devel@gnu.org; Fri, 07 Nov 2014 04:49:24 -0500 Original-Received: from loki.jorgenschaefer.de ([87.230.15.51]:52109) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XmgAQ-0001Bo-8h for emacs-devel@gnu.org; Fri, 07 Nov 2014 04:49:18 -0500 Original-Received: by loki.jorgenschaefer.de (Postfix, from userid 998) id DDA142045B5; Fri, 7 Nov 2014 10:49:16 +0100 (CET) Original-Received: from forcix (port-14814.pppoe.wtnet.de [84.46.58.24]) by loki.jorgenschaefer.de (Postfix) with ESMTPSA id 3CA242045B2; Fri, 7 Nov 2014 10:49:15 +0100 (CET) In-Reply-To: X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; i586-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 87.230.15.51 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:176515 Archived-At: On Thu, 06 Nov 2014 18:15:40 -0500 Stefan Monnier wrote: > > 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? Sure. There is a single-variable interface already, I thought it would make sense to extend it. The advantage of hooks is that it makes it easier for users to customize the behavior by adding and removing various entries. Is add-function intended to replace hooks like this in general? Regards, Jorgen