Package: emacs-goodies-el
Version: 33.5
Severity: wishlist
Tags: patch
File: /usr/share/info/emacs-goodies-el.gz
I found the info docs of auto-fill-inhibit.el (a warmed-over copy of the
.el commentary) a bit hard to follow. Perhaps a rearrangement like the
following could make it clearer,
@file{auto-fill-inhibit.el} suppresses @code{auto-fill-mode} in
buffers with names matching regexps in @code{auto-fill-inhibit-list}.
The idea is that you can have @code{turn-on-auto-fill} or similar in a
mode hook but then suppress certain names. For example,
@example
(add-hook 'text-mode-hook 'turn-on-auto-fill)
(require 'auto-fill-inhibit)
(add-to-list 'auto-fill-inhibit-list "-blah\\.txt\\'")
@end example
You can use @code{customize} for @code{auto-fill-inhibit-list}, but
you must add @code{(require 'auto-fill-inhibit)} explicitly to your
@file{.emacs}.
The way @file{auto-fill-inhibit.el} is implemented means that in
inhibited buffers an @code{M-x auto-fill-mode} command is suppressed
as well as mode hook calls.
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.30-1-486
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash
Versions of packages emacs-goodies-el depends on:
ii bash 4.0-7 The GNU Bourne Again SHell
ii dpkg 1.15.7.2 Debian package management system
ii emacs21 [emacsen] 21.4a+1-5.7 The GNU Emacs editor
ii emacs22-gtk [emacsen] 22.3+1-1.2 The GNU Emacs editor (with GTK use
ii emacs23 [emacsen] 23.2+1-2 The GNU Emacs editor (with GTK+ us
ii install-info 4.13a.dfsg.1-5 Manage installed documentation in
ii xemacs21-mule [emacsen] 21.4.22-2 highly customizable text editor --
Versions of packages emacs-goodies-el recommends:
ii dict 1.11.2+dfsg-2 dictionary client
ii perl-doc 5.10.1-2 Perl documentation
ii wget 1.12-2 retrieves files from the web
emacs-goodies-el suggests no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]