Next: , Previous: FAQ 5-5, Up: FAQ 5 - Composing messages

Question 5.6

Can I set the dictionary based on the group I'm posting to?

Answer

Yes, say something like

     (add-hook 'gnus-select-group-hook
               (lambda ()
                 (cond
                  ((string-match
                    "^de\\." (gnus-group-real-name gnus-newsgroup-name))
                   (ispell-change-dictionary "deutsch8"))
                  (t
                   (ispell-change-dictionary "english")))))

in ~/.gnus.el. Change "^de\\." and "deutsch8" to something that suits your needs.