emacs-wiki-discuss
[Top][All Lists]
Advanced

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

[emacs-wiki-discuss] Re: Fine-tuning adaptive-fill-mode for use with ema


From: Michael Olson
Subject: [emacs-wiki-discuss] Re: Fine-tuning adaptive-fill-mode for use with emacs-wiki/muse
Date: Wed, 22 Jun 2005 23:30:40 -0500
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

Allen Halsey <address@hidden> writes:

> Can adaptive-fill-mode be fine-tuned for emacs-wiki files?

The following might do the trick if you want only "-" and numbers to
be considered as list item markers.

(setq adaptive-fill-regexp
      "[ \t]*\\(-+[ \t]*\\|[0-9]+[.)][ \t]*\\)*")

If this works well for you, perhaps I could have Muse and emacs-wiki
set this in a buffer-local fashion so that it only takes effect on
Muse/emacs-wiki buffers.

-- 
Michael Olson -- FSF Associate Member #652 -- http://www.mwolson.org/
Interests: anime, Debian, XHTML, wiki, Emacs Lisp
  /` |\ | | | IRC: mwolson on freenode.net: #hcoop, #muse, #pulug
 |_] | \| |_| Jabber: mwolson_at_hcoop.net

Attachment: pgp1kePBKtP5t.pgp
Description: PGP signature


reply via email to

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