From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Francis Litterio Newsgroups: gmane.emacs.devel Subject: Patch to Date: Thu, 27 Jan 2005 13:45:17 -0500 Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1106854610 1423 80.91.229.6 (27 Jan 2005 19:36:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 27 Jan 2005 19:36:50 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 27 20:36:45 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CuFRd-0008Kb-00 for ; Thu, 27 Jan 2005 20:36:45 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CuFe0-0005u7-6r for ged-emacs-devel@m.gmane.org; Thu, 27 Jan 2005 14:49:32 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CuFWK-00005h-Cn for emacs-devel@gnu.org; Thu, 27 Jan 2005 14:41:36 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CuFWI-0008WK-UD for emacs-devel@gnu.org; Thu, 27 Jan 2005 14:41:35 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CuFVP-0007P3-FC for emacs-devel@gnu.org; Thu, 27 Jan 2005 14:40:39 -0500 Original-Received: from [80.91.229.2] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CuEiO-0003V6-VH for emacs-devel@gnu.org; Thu, 27 Jan 2005 13:50:01 -0500 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1CuEiO-0001yN-00 for ; Thu, 27 Jan 2005 19:50:00 +0100 Original-Received: from brick.estc.com ([209.27.151.2]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 27 Jan 2005 19:50:00 +0100 Original-Received: from franl by brick.estc.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 27 Jan 2005 19:50:00 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 23 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: brick.estc.com X-Draft-From: ("nntp+news.gmane.org:gmane.emacs.devel" "") Gcc: nnfolder:sent-usenet X-Random-Quote: Few things are impossible to diligence and skill. Great works are performed not by strength, but perseverance. -- Samuel Johnson User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) Cancel-Lock: sha1:8+E4cJ50813eviA6glYstpP9j1M= 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: main.gmane.org gmane.emacs.devel:32588 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:32588 The below patch enables adaptive-fill-mode to properly fill paragraphs that use 'o' as a bullet, like this: o Testing one two three one two three one two three one two three one two three one two three one two three. I hope this is considered useful. -- Francis Litterio franl world . std . com --- fill.el 20 Jul 2004 16:51:13 -0400 1.173 +++ fill.el 27 Jan 2005 13:45:06 -0500 @@ -87,7 +87,7 @@ (defcustom adaptive-fill-regexp ;; Added `!' for doxygen comments starting with `//!' or `/*!'. ;; Added `%' for TeX comments. - (purecopy "[ \t]*\\([-!|#%;>*]+[ \t]*\\|(?[0-9]+[.)][ \t]*\\)*") + (purecopy "[ \t]*\\([-!|#%;>*o]+[ \t]*\\|(?[0-9]+[.)][ \t]*\\)*") "*Regexp to match text at start of line that constitutes indentation. If Adaptive Fill mode is enabled, a prefix matching this pattern on the first and second lines of a paragraph is used as the