emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Patch to


From: Francis Litterio
Subject: Patch to
Date: Thu, 27 Jan 2005 13:45:17 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt)

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 <at> 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]