[Top][All Lists]

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


From: Kevin Ryde
Subject: filladapt-pat.el
Date: Sun, 03 Jan 2010 11:45:50 +1100
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux)

This is some stuff I've had on the go for a long time to prune or extend
the patterns in filladapt.el.

Most of the time filladapt's "all patterns at once" is a very good
mode-agnostic way of filling, but sometimes things like postscript "%"
or supercite XX> can be wrong more often than right.  When that happens
I get rid of it with say

    (add-hook 'perl-mode-hook 'filladapt-pat-no-postscript)

The wild looking setups are supposed to defer the filladapt variable
settings until and unless actually loading filladapt, so filladapt-pat
bits in hooks don't drag in filladapt.el every time.  Not yet sure how
much value there is in that, but it adds a bit of flexibility if you
don't always have filladapt.el on-hand.

Attachment: filladapt-pat.el
Description: application/emacs-lisp

Attachment: filladapt-pat.el.asc
Description: Text document

reply via email to

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