[OS X Emacs] hunspell

Jochen Küpper kuepper.jochen at googlemail.com
Fri May 16 11:05:08 EDT 2008


Looking for comments...

I just thought I let everybody know that I seem to be able to use  
hunspell (part of MacPorts) with Aquamacs using the following  
configuration; any comments on how to do this better?


(eval-after-load "ispell"
   (progn
     (setq ispell-dictionary "american"
           ispell-extra-args '("-a" "-i" "utf-8")
           ispell-silently-savep t
           ispell-dictionary-alist
           '((nil ; default
              "[A-Za-z]" "[^A-Za-z]" "[']" t ("-d" "en_US" "-i"  
"utf-8") nil utf-8)
             ("american" ; Yankee English
              "[A-Za-z]" "[^A-Za-z]" "[']" t ("-d" "en_US" "-i"  
"utf-8") nil utf-8)
             ("british" ; British English
              "[A-Za-z]" "[^A-Za-z]" "[']" t ("-d" "en_GB" "-i"  
"utf-8") nil utf-8)
             ("german"
              "[a-zäöüßA-ZÄÖÜ]" "[^a-zäöüßA-ZÄÖÜ]" "[']" t ("-d"  
"de_DE" "-i" "utf-8") nil utf-8)
             ("german8"
              "[a-zäöüßA-ZÄÖÜ]" "[^a-zäöüßA-ZÄÖÜ]" "[']" t ("-d"  
"de_DE" "-i" "utf-8") nil utf-8)
             )))
(setq-default ispell-program-name "hunspell")


Greetings,
Jochen
-- 
Einigkeit und Recht und Freiheit                http://www.Jochen-Kuepper.de
     Liberté, Égalité, Fraternité                GnuPG key: CC1B0B4D
         Sex, drugs and rock-n-roll





More information about the MacOSX-Emacs mailing list