all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Francis Litterio <franl@world.std.com>
Subject: Patch to
Date: Thu, 27 Jan 2005 13:45:17 -0500	[thread overview]
Message-ID: <u4qh24shw.fsf@world.std.com> (raw)

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	other threads:[~2005-01-27 18:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-27 18:45 Francis Litterio [this message]
2005-01-29  4:17 ` Patch to Richard Stallman
2005-01-29 18:46   ` Stefan Monnier
2005-01-30  1:21   ` Francis Litterio

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=u4qh24shw.fsf@world.std.com \
    --to=franl@world.std.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.