unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Allan Gottlieb <gottlieb@nyu.edu>
To: help-gnu-emacs@gnu.org
Subject: Re: reverting some 22 behavior to how 21 was
Date: Wed, 18 Jul 2007 15:28:41 -0400	[thread overview]
Message-ID: <yu9sl7leck6.fsf@nyu.edu> (raw)
In-Reply-To: <117bad160707181211n175c1a97hf26a129851243095@mail.gmail.com> (David Crick's message of "Wed\, 18 Jul 2007 20\:11\:42 +0100")

At Wed, 18 Jul 2007 20:11:42 +0100 David Crick <dacrick@gmail.com> wrote:

> (1) In Emacs 21 I used the following .emacs lines:
>
> (add-hook 'paragraph-indent-text-mode-hook 'flyspell-mode)
> (add-hook 'paragraph-indent-text-mode-hook 'refill-mode)
>
> However, in 22 it appears these functions now "toggle," and
> I receive the message (e.g.):
>
> Toggling flyspell-mode off; better pass an explicit argument.
>
> What are the revised lines I should be using in 22 please?

I have used the following in both 21 and 22.  Modify to taste.

;; For text mode, which is my default, and derivatives
;;
(add-hook 'text-mode-hook (lambda ()
			    (turn-on-auto-fill)
			    (flyspell-mode t)))

allan

  reply	other threads:[~2007-07-18 19:28 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-18 19:11 reverting some 22 behavior to how 21 was David Crick
2007-07-18 19:28 ` Allan Gottlieb [this message]
2007-07-18 19:32 ` Peter Dyballa
     [not found] <mailman.3603.1184785911.32220.help-gnu-emacs@gnu.org>
2007-07-18 20:17 ` Stefan Monnier
2007-07-18 20:55   ` Reiner Steib
2007-07-19  3:11     ` Stefan Monnier
2007-07-19 13:28 ` Jason Rumney
2007-07-20  4:20 ` Tim X
  -- strict thread matches above, loose matches on Subject: below --
2007-07-18 21:51 David Crick

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=yu9sl7leck6.fsf@nyu.edu \
    --to=gottlieb@nyu.edu \
    --cc=help-gnu-emacs@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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).