Gnus development mailing list
 help / color / mirror / Atom feed
* Flyspell Mode
@ 2000-11-17  9:32 Ian Swainson
  2000-11-17  9:44 ` Norbert Koch
  2000-11-17  9:55 ` Ingo Fischenich
  0 siblings, 2 replies; 4+ messages in thread
From: Ian Swainson @ 2000-11-17  9:32 UTC (permalink / raw)


Hi,

A quickie: I know how to have ispell check messages when they are sent:
(add-hook 'message-send-hook 'ispell-message)
But I'd rather use flyspell. How can I get flyspell mode to come on
automatically when I compose a message, either thru 'm' in Gnus or via C-x m
anywhere else?

Is there a quick way of getting a list of available hooks for a mode, or is it
just a case of RTFM or read the source?

Thanks for your time.

Cheers,
Ian

-- 
~~~~~~~~~~~Made in Ireland using GNU Emacs~~~~~~~~~~~~
		Available *free* from:
		  http://www.gnu.org
http:/www.cs.washington.edu/homes/voelker/ntemacs.html
	      http://www.gnusoftware.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   
Client Solutions Ltd             http://www.clients.ie
		  
	             
				 






^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Flyspell Mode
  2000-11-17  9:32 Flyspell Mode Ian Swainson
@ 2000-11-17  9:44 ` Norbert Koch
  2000-11-17 11:04   ` Kai Großjohann
  2000-11-17  9:55 ` Ingo Fischenich
  1 sibling, 1 reply; 4+ messages in thread
From: Norbert Koch @ 2000-11-17  9:44 UTC (permalink / raw)
  Cc: ding

Ian Swainson <ian.swainson@clients.ie> wrote:

Hi!

> But I'd rather use flyspell. How can I get flyspell mode to come on
> automatically when I compose a message, either thru 'm' in Gnus or via C-x m
> anywhere else?

I've got


(add-hook 'gnus-message-setup-hook 
          #'(lambda () (flyspell-mode 1)))

> Is there a quick way of getting a list of available hooks for a
> mode, or is it just a case of RTFM or read the source?

Most of the hooks are called x-mode-.*-hook which you can 
C-h a (= hyper-apropos) for.

norbert



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Flyspell Mode
  2000-11-17  9:32 Flyspell Mode Ian Swainson
  2000-11-17  9:44 ` Norbert Koch
@ 2000-11-17  9:55 ` Ingo Fischenich
  1 sibling, 0 replies; 4+ messages in thread
From: Ingo Fischenich @ 2000-11-17  9:55 UTC (permalink / raw)


On Fri, Nov 17, 2000 at 09:32:32AM +0000, Ian Swainson wrote:
> Hi,
> 
> A quickie: I know how to have ispell check messages when they are sent:
> (add-hook 'message-send-hook 'ispell-message)
> But I'd rather use flyspell. How can I get flyspell mode to come on
> automatically when I compose a message, either thru 'm' in Gnus or via C-x m
> anywhere else?
I've got 

(add-hook 'message-mode-hook 'flyspell-mode)

in my .gnus.el 


	ingo



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Flyspell Mode
  2000-11-17  9:44 ` Norbert Koch
@ 2000-11-17 11:04   ` Kai Großjohann
  0 siblings, 0 replies; 4+ messages in thread
From: Kai Großjohann @ 2000-11-17 11:04 UTC (permalink / raw)
  Cc: Ian Swainson, ding

On 17 Nov 2000, Norbert Koch wrote:

> Most of the hooks are called x-mode-.*-hook which you can 
> C-h a (= hyper-apropos) for.

The OP uses Emacs where C-h a is not the same thing as M-x apropos RET.

kai
-- 
The arms should be held in a natural and unaffected way and never
be conspicuous. -- Revised Technique of Latin American Dancing



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-11-17 11:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-11-17  9:32 Flyspell Mode Ian Swainson
2000-11-17  9:44 ` Norbert Koch
2000-11-17 11:04   ` Kai Großjohann
2000-11-17  9:55 ` Ingo Fischenich

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).