[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: flyspell in messages
From: |
Haines Brown |
Subject: |
Re: flyspell in messages |
Date: |
Wed, 18 Feb 2015 11:32:54 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) |
Tassilo Horn <tsdh@gnu.org> writes:
> Haines Brown <haines@engels.histomat.net> writes:
>> I'm using gnus to read newsgroups, and I would like to have flyspell
>> run automatically whenever I write a message in reply to a posting. At
>> present, the mode bar says: (Message MML Abbrev Fill Narrow). Does
>> this mean I'm in the Message group?
>
> This means `message-mode' is the active `major-mode' and MML, Abbrev,
> Fill and Narrow are enabled minor modes. (The so-called lighters in the
> mode-line don't need to correspond exactly to the mode name.)
> The problem is that the hook is actually named `message-mode-hook' so
>
> (dolist (hook '(message-mode-hook ...))
> (add-hook hook #'flyspell-mode))
>
> will do the trick.
Yes, it did, and I thank you. Not am I now in flymode without having
started it manually, but the problem of not finding american-huge file
also disappeared.