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.
filladapt-pat.el
Description: application/emacs-lisp
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iD8DBQBLMBceLFMCIV9q3ToRAmfsAJ96nKR9OLX7lpd2/u5JnmD0qbZkRQCfZp9g cObcOTfjE8oEpByRpSemZDk= =ol+X -----END PGP SIGNATURE-----
_______________________________________________ gnu-emacs-sources mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
