From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Propertizing the minor-mode-alist Date: Wed, 22 Sep 2004 12:31:30 -0400 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: <1095335866.7357.83.camel@pineapple.bkk.thaiopensource.com> <1095388341.7357.93.camel@pineapple.bkk.thaiopensource.com> <1095475837.7357.125.camel@pineapple.bkk.thaiopensource.com> <1095575707.7357.220.camel@pineapple.bkk.thaiopensource.com> <1095647396.7357.281.camel@pineapple.bkk.thaiopensource.com> <1095838242.7357.414.camel@pineapple.bkk.thaiopensource.com> <1095861747.7357.491.camel@pineapple.bkk.thaiopensource.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1095870745 15226 80.91.229.6 (22 Sep 2004 16:32:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 22 Sep 2004 16:32:25 +0000 (UTC) Cc: "emacs-devel@gnu.org" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 22 18:32:10 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 1CAA2L-0004To-00 for ; Wed, 22 Sep 2004 18:32:10 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CAA8K-0004Wj-Vs for ged-emacs-devel@m.gmane.org; Wed, 22 Sep 2004 12:38:20 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CAA8D-0004WU-T0 for emacs-devel@gnu.org; Wed, 22 Sep 2004 12:38:14 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CAA8C-0004WI-BV for emacs-devel@gnu.org; Wed, 22 Sep 2004 12:38:13 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CAA8A-0004WF-Io for emacs-devel@gnu.org; Wed, 22 Sep 2004 12:38:12 -0400 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CAA22-00023C-6b for emacs-devel@gnu.org; Wed, 22 Sep 2004 12:31:50 -0400 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id D69E0B3027A; Wed, 22 Sep 2004 12:31:36 -0400 (EDT) Original-Received: from asado.iro.umontreal.ca (asado.iro.umontreal.ca [132.204.24.84]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id 9993B4AC173; Wed, 22 Sep 2004 12:31:30 -0400 (EDT) Original-Received: by asado.iro.umontreal.ca (Postfix, from userid 20848) id 85A058CA23; Wed, 22 Sep 2004 12:31:30 -0400 (EDT) Original-To: James Clark In-Reply-To: <1095861747.7357.491.camel@pineapple.bkk.thaiopensource.com> (James Clark's message of "Wed, 22 Sep 2004 21:02:27 +0700") User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux) X-DIRO-MailScanner: Found to be clean, Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=0, requis 5), n'est pas un polluriel (inscrit sur la liste blanche), SpamAssassin (score=0, requis 5) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-MailScanner-From: monnier@iro.umontreal.ca 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:27448 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:27448 > next-error-function, not the next error after point. So to support the > next-error-function I need to maintain an additional bit of state saying > which error in my buffer, if any, is the current error for the purposes > of next error function; if my next-error-function is called with a > non-nil RESET, I change the current error to be the first error in the > buffer. It's your call. It's not required. You can just use `point'. E.g. in diff-mode, I just used point IIRC. Stefan