help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ispell/flyspell and german umlauts


From: Sven Utcke
Subject: Re: ispell/flyspell and german umlauts
Date: 14 Aug 2003 16:18:30 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1

Karl Voit <address@hidden> writes:

> Hi!
> 
> I am using emacs 21.3.2 and flyspell. I managed to configure it to
> german as standard dictionary. But when I am using emacs to write
> usegroup postings, I prefer tying 'ae' instead of umlaut-'a' and so
> on. Unfortunately, my postings are messed up with flyspell-formatting
> for unknown words because of the ispell-dictionary that only got words
> with 'real' umlauts.
> 
> Is there a way to overcome this problem?

Sure, no problem --- my .emacs e.g. containes:

(setq ispell-dictionary-alist           ; sk  9-Aug-1991 18:28
      '((nil                            ; default (english.aff)
         "[A-Za-z]" "[^A-Za-z]" "[---']" nil ("-B" "-S") nil)
[...]
        ("deutsch-tex"                  ; deutsch.aff
         "[a-zA-Z\"]" "[^a-zA-Z\"]" "[']" t ("-C" "-S" "-d" "deutsch") "~tex")
        ("deutsch-ascii"                ; deutsch.aff
         "[a-zA-Z]" "[^a-zA-Z]" "[']" t ("-C" "-S" "-d" "deutsch") "~ascii")
        ("deutsch8"
         "[a-zA-ZÄÖÜäößü]" "[^a-zA-ZÄÖÜäößü]" "[']" t ("-C" "-S" "-d" 
"deutsch") "~latin1" iso-latin-1)
        ("neu-deutsch-tex"                      ; deutsch.aff
         "[a-zA-Z\"]" "[^a-zA-Z\"]" "[']" t ("-C" "-S" "-d" "ndeutsch") "~tex")
        ("neu-deutsch-ascii"            ; deutsch.aff
         "[a-zA-Z]" "[^a-zA-Z]" "[']" t ("-C" "-S" "-d" "ndeutsch") "~ascii")
        ("neu-deutsch8"
         "[a-zA-ZÄÖÜäößü]" "[^a-zA-ZÄÖÜäößü]" "[']" t ("-C" "-S" "-d" 
"ndeutsch") "~latin1" iso-latin-1)
[...]

So you simply tell i/fly-spell to use neu-deutsch-ascii (oh, btw,
ndeutsch is a link to german.aff/hash :-)

Sven
-- 
 _  __                     The Cognitive Systems Group
| |/ /___  __ _ ___                                       University of Hamburg
| ' </ _ \/ _` (_-<  phone:    +49 (0)40 42883-2576      Vogt-Koelln-Strasse 30
|_|\_\___/\__, /__/  fax  :    +49 (0)40 42883-2572             D-22527 Hamburg
          |___/ http://kogs-www.informatik.uni-hamburg.de/~utcke/home.html


reply via email to

[Prev in Thread] Current Thread [Next in Thread]