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: man page not found Date: Wed, 09 May 2007 10:38:31 -0400 Message-ID: References: <8966117.30111178707835728.JavaMail.www@wwinf4102> <874pmm6yxz.fsf@lrde.org> <87zm4e5jo4.fsf@lrde.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1178721520 13235 80.91.229.12 (9 May 2007 14:38:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 9 May 2007 14:38:40 +0000 (UTC) Cc: alinsoar@voila.fr, "Emacs Dev \[emacs-devel\]" To: michael@cadilhac.name (=?iso-8859-1?Q?Micha=EBl?= Cadilhac) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 09 16:38:39 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 1HlnJO-0007YB-PV for ged-emacs-devel@m.gmane.org; Wed, 09 May 2007 16:38:39 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HlnQb-0006DC-6W for ged-emacs-devel@m.gmane.org; Wed, 09 May 2007 10:46:05 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HlnQX-0006D7-O8 for emacs-devel@gnu.org; Wed, 09 May 2007 10:46:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HlnQV-0006Cv-Bx for emacs-devel@gnu.org; Wed, 09 May 2007 10:46:00 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HlnQV-0006Cs-6j for emacs-devel@gnu.org; Wed, 09 May 2007 10:45:59 -0400 Original-Received: from tomts10.bellnexxia.net ([209.226.175.54] helo=tomts10-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HlnJH-00026A-UC for emacs-devel@gnu.org; Wed, 09 May 2007 10:38:32 -0400 Original-Received: from pastel.home ([70.55.144.218]) by tomts10-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20070509143831.XMP1723.tomts10-srv.bellnexxia.net@pastel.home> for ; Wed, 9 May 2007 10:38:31 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 2D8F68073; Wed, 9 May 2007 10:38:31 -0400 (EDT) In-Reply-To: <87zm4e5jo4.fsf@lrde.org> (=?iso-8859-1?Q?=22Micha=EBl?= Cadilhac"'s message of "Wed\, 09 May 2007 13\:19\:07 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) X-detected-kernel: Solaris 8 (1) 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:70688 Archived-At: > ! ;; The last line doesn't belong to any section. > ! (forward-line -1)))) Are we 100% sure that the last line never belongs to any section? Could we put at least some sanity check there. E.g. it seems this footer we want to skip always starts at column 0, so maybe we could just do (if (save-excursion (forward-line (if (bolp) -1 0)) (looking-at "[^ \t]")) ;; The last line is a footer. (forward-line -1)))) -- Stefan