Gnus development mailing list
 help / color / mirror / Atom feed
* group dependent spell-checking
@ 1997-01-24  0:33 Edvard Majakari
  1997-01-24  4:29 ` Per Abrahamsen
  0 siblings, 1 reply; 2+ messages in thread
From: Edvard Majakari @ 1997-01-24  0:33 UTC (permalink / raw)



Howdy!

Is it possible to configure rgnus as such that it would automatically
spell-check the current message before posting according to the
newsgroup (most preferably by regexp). That is, I'd like to _not_ to
use ispell when writing to Finnish groups (sfnet.*) and use it in
every other group.

TIA,

-- 
//Ed						http://lodge.ton.tut.fi/~ed/


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

* Re: group dependent spell-checking
  1997-01-24  0:33 group dependent spell-checking Edvard Majakari
@ 1997-01-24  4:29 ` Per Abrahamsen
  0 siblings, 0 replies; 2+ messages in thread
From: Per Abrahamsen @ 1997-01-24  4:29 UTC (permalink / raw)



I use this.

(add-hook 'message-mode-hook 'amanda-message-language)

(defun amanda-message-language ()
  (cond ((not (stringp gnus-newsgroup-name)))
	((string-match "^dk\\." gnus-newsgroup-name)
	 (ispell-change-dictionary "danish"))
	((string-match "^\\(comp\\|gnu\\|rec\\|alt\\|soc\\|misc\\|news\\)\\."
		       gnus-newsgroup-name)
	 (ispell-change-dictionary "default"))))


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

end of thread, other threads:[~1997-01-24  4:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-01-24  0:33 group dependent spell-checking Edvard Majakari
1997-01-24  4:29 ` Per Abrahamsen

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