[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ispell.el giving old info about GNUS [gnus]
From: |
Eli Zaretskii |
Subject: |
Re: ispell.el giving old info about GNUS [gnus] |
Date: |
Sun, 7 Jan 2001 09:16:29 +0200 (IST) |
On 7 Jan 2001, Dan Jacobson wrote:
> You know what's a bummer? Just the other day I was looking in
> ispell.el, and it says:
> ----------------------
> To spell-check whenever a message is sent, include the appropriate lines
> in your .emacs file:
> (add-hook 'message-send-hook 'ispell-message) ;; GNUS 5
> (add-hook 'news-inews-hook 'ispell-message) ;; GNUS 4
> (add-hook 'mail-send-hook 'ispell-message)
> (add-hook 'mh-before-send-letter-hook 'ispell-message)
>
> You can bind this to the key C-c i in GNUS or mail by adding to
> `news-reply-mode-hook' or `mail-mode-hook' the following lambda expression:
> (function (lambda () (local-set-key \"\\C-ci\" 'ispell-message)))"
> ------------------------
> it must be talking about GNUS not gnus [oh, great].
> because I had better luck playing with mail-setup-hook rather than
> mail-mode-hook... [wasted many hours digging here,
> 'news-reply-mode-hook' seems suspect here too...]]
>
> [And telling users to figure out what lines are appropriate without
> more info isn't too enjoyable.]
You are looking for user-level docs in the wrong place: the comments in
ispell.el are not it. This issue is explained in more detail in the Gnus
manual, which see.