From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Jan_Dj=E4rv?= Newsgroups: gmane.emacs.devel Subject: Re: [lennart.borgman.073@student.lu.se: compilation-previous-error fails if first error is at start of buffer] Date: Mon, 08 Jan 2007 18:37:45 +0100 Message-ID: <45A28169.7000508@swipnet.se> References: <45A1F9F1.4050500@swipnet.se> <17826.570.959259.398020@kahikatea.snap.net.nz> <45A226FF.30507@gmail.com> <45A253B8.6060803@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1168278001 27713 80.91.229.12 (8 Jan 2007 17:40:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 8 Jan 2007 17:40:01 +0000 (UTC) Cc: Nick Roberts , "Lennart Borgman \(gmail\)" , rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 08 18:39:58 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1H3yTQ-0004Vv-Kl for ged-emacs-devel@m.gmane.org; Mon, 08 Jan 2007 18:39:52 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H3yTQ-00034r-6A for ged-emacs-devel@m.gmane.org; Mon, 08 Jan 2007 12:39:52 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H3yST-0002iV-So for emacs-devel@gnu.org; Mon, 08 Jan 2007 12:38:53 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H3ySS-0002hR-5k for emacs-devel@gnu.org; Mon, 08 Jan 2007 12:38:53 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H3ySR-0002hL-S7 for emacs-devel@gnu.org; Mon, 08 Jan 2007 12:38:51 -0500 Original-Received: from [81.228.9.183] (helo=av8-1-sn3.vrr.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1H3ySP-0007VS-Ke; Mon, 08 Jan 2007 12:38:49 -0500 Original-Received: by av8-1-sn3.vrr.skanova.net (Postfix, from userid 502) id 05B3637EED; Mon, 8 Jan 2007 18:38:48 +0100 (CET) Original-Received: from smtp3-1-sn3.vrr.skanova.net (smtp3-1-sn3.vrr.skanova.net [81.228.9.101]) by av8-1-sn3.vrr.skanova.net (Postfix) with ESMTP id C67CB37E6A; Mon, 8 Jan 2007 18:38:48 +0100 (CET) Original-Received: from husetbladh.homeip.net (81-235-205-78-no59.tbcn.telia.com [81.235.205.78]) by smtp3-1-sn3.vrr.skanova.net (Postfix) with ESMTP id 3675737E46; Mon, 8 Jan 2007 18:38:48 +0100 (CET) User-Agent: Thunderbird 1.5.0.9 (Macintosh/20061207) Original-To: Stefan Monnier In-Reply-To: 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: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:64985 Archived-At: Stefan Monnier skrev: >> Yes there is a reason. Compilation mode uses >> previous-single-property-change to scan backwards to find the correct >> position to go to. But if a line begins at buffer start, there is no >> property change and previous-single-property-change return nil. > > Can't it be fixed to handle the case where previous-single-property-change > returns nil? Maybe, but AFAIK it uses that return value to determine if the error message is the first one. Jan D.