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: lisp-outline-level. Date: Sun, 13 Feb 2005 11:56:26 -0500 Message-ID: <87zmy82ydu.fsf-monnier+emacs@gnu.org> References: <87ekfke9hk.fsf@xs4all.nl> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1108314954 10535 80.91.229.2 (13 Feb 2005 17:15:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 13 Feb 2005 17:15:54 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 13 18:15:54 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D0NLY-0004Ju-LC for ged-emacs-devel@m.gmane.org; Sun, 13 Feb 2005 18:15:48 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D0Nav-0002Ov-Li for ged-emacs-devel@m.gmane.org; Sun, 13 Feb 2005 12:31:41 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D0NTd-00070j-Fy for emacs-devel@gnu.org; Sun, 13 Feb 2005 12:24:11 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D0NTQ-0006ul-JV for emacs-devel@gnu.org; Sun, 13 Feb 2005 12:23:58 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D0NTQ-0006uX-F7 for emacs-devel@gnu.org; Sun, 13 Feb 2005 12:23:56 -0500 Original-Received: from [209.226.175.25] (helo=tomts5-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1D0N2w-0002b6-1b for emacs-devel@gnu.org; Sun, 13 Feb 2005 11:56:34 -0500 Original-Received: from alfajor ([65.92.240.235]) by tomts5-srv.bellnexxia.net (InterMail vM.5.01.06.10 201-253-122-130-110-20040306) with ESMTP id <20050213165626.LCCL2026.tomts5-srv.bellnexxia.net@alfajor>; Sun, 13 Feb 2005 11:56:26 -0500 Original-Received: by alfajor (Postfix, from userid 1000) id 9F5E1D7315; Sun, 13 Feb 2005 11:56:26 -0500 (EST) Original-To: Lute Kamstra In-Reply-To: <87ekfke9hk.fsf@xs4all.nl> (Lute Kamstra's message of "Sun, 13 Feb 2005 16:59:51 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (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 X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: main.gmane.org gmane.emacs.devel:33345 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:33345 > (defun lisp-outline-level () > "Lisp mode `outline-level' function." > (if (looking-at "(\\|;;;###autoload") > 1000 > (looking-at outline-regexp) > (- (match-end 0) (match-beginning 0)))) > This is a bit strange as outline-regexp doesn't match > ";;;###autoload". Shall I commit the patch below? Why did you assume that the ;;;###autoload thingy got there by mistake? Wouldn't it be better to fix outline-regexp? Stefan