From: Glenn Morris <rgm@gnu.org>
To: 1122-done@debbugs.gnu.org
Subject: bug#1122: say how to turn OFF auto-fill with local variables
Date: Tue, 21 Feb 2012 19:59:59 -0500 [thread overview]
Message-ID: <1ylinv4r8w.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <874p3mao83.fsf@jidanni.org> (jidanni@jidanni.org's message of "Thu, 09 Oct 2008 03:19:56 +0800")
The manual says:
Next, suppose you don't want Auto Fill mode turned on in LaTeX mode,
which is one of the modes based on Text mode. You can do this with the
following additional line:
(add-hook 'latex-mode-hook (lambda () (auto-fill-mode -1)))
and
You can also use file-local variables to specify buffer-local minor
modes, by using `eval' specifications. For example, this first
nonblank line puts the buffer in Lisp mode and enables Auto-Fill mode:
; -*- mode: Lisp; eval: (auto-fill-mode 1); -*-
That covers everything that needs to be covered.
next prev parent reply other threads:[~2012-02-22 0:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-08 19:19 bug#1122: say how to turn OFF auto-fill with local variables jidanni
2012-02-22 0:59 ` Glenn Morris [this message]
[not found] <mailman.611.1223495405.25473.bug-gnu-emacs@gnu.org>
2008-10-09 13:47 ` Ted Zlatanov
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=1ylinv4r8w.fsf@fencepost.gnu.org \
--to=rgm@gnu.org \
--cc=1122-done@debbugs.gnu.org \
/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.