From: Tassilo Horn <tsdh@gnu.org>
To: info-gnus-english@gnu.org
Subject: Re: flyspell in messages
Date: Wed, 18 Feb 2015 16:21:48 +0100 [thread overview]
Message-ID: <871tlnxn1v.fsf@gnu.org> (raw)
In-Reply-To: <878ufvi9d1.fsf@engels.histomat.net>
Haines Brown <haines@engels.histomat.net> writes:
Hi Haines,
> 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.)
> I try this in the init file for gnus:
>
> (dolist (hook '(Message-mode-hook))
> (add-hook hook (lambda () (flyspell-mode 1))))
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.
> Not only does this not open flyspell automatically, but when I try to
> open flyspell manually (M-x flyspell-mode) I get an error that
> /usr/lib/aspell/american-huge cannot be opened". Although I have
> iamerican-huge and wamerican-huge installed, there is no such
> american-huge file.
Hm, that seems to be an aspell configuration problem. Or do you have
any configurations to flyspell-* or ispell-* variables in Emacs?
Bye,
Tassilo
next prev parent reply other threads:[~2015-02-18 15:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-18 14:26 Haines Brown
2015-02-18 15:21 ` Tassilo Horn [this message]
[not found] ` <mailman.327.1424272929.31049.info-gnus-english@gnu.org>
2015-02-18 16:32 ` Haines Brown
2015-02-19 7:05 ` Tassilo Horn
2015-02-19 0:18 ` Emanuel Berg
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=871tlnxn1v.fsf@gnu.org \
--to=tsdh@gnu.org \
--cc=info-gnus-english@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 NNTP newsgroup(s).