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: [lennart.borgman.073@student.lu.se: compilation-previous-error fails if first error is at start of buffer] Date: Mon, 08 Jan 2007 10:15:36 -0500 Message-ID: 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=us-ascii X-Trace: sea.gmane.org 1168269390 16351 80.91.229.12 (8 Jan 2007 15:16:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 8 Jan 2007 15:16:30 +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 16:16:28 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 1H3wET-0007Yc-S9 for ged-emacs-devel@m.gmane.org; Mon, 08 Jan 2007 16:16:18 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H3wET-0002ni-8w for ged-emacs-devel@m.gmane.org; Mon, 08 Jan 2007 10:16:17 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H3wDt-0002Zr-Ny for emacs-devel@gnu.org; Mon, 08 Jan 2007 10:15:41 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H3wDs-0002Xy-0d for emacs-devel@gnu.org; Mon, 08 Jan 2007 10:15:41 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H3wDr-0002Xg-PN for emacs-devel@gnu.org; Mon, 08 Jan 2007 10:15:39 -0500 Original-Received: from [209.226.175.184] (helo=tomts22-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1H3wDp-0004qE-Nh; Mon, 08 Jan 2007 10:15:38 -0500 Original-Received: from pastel.home ([74.12.206.167]) by tomts22-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20070108151536.KHAH8030.tomts22-srv.bellnexxia.net@pastel.home>; Mon, 8 Jan 2007 10:15:36 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id B05BB8AA5; Mon, 8 Jan 2007 10:15:36 -0500 (EST) Original-To: Jan =?iso-8859-1?Q?Dj=E4rv?= In-Reply-To: <45A253B8.6060803@swipnet.se> (Jan =?iso-8859-1?Q?Dj=E4rv's?= message of "Mon\, 08 Jan 2007 15\:22\:48 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux) 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:64977 Archived-At: > 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? Stefan