From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Sven Utcke Newsgroups: gmane.emacs.help Subject: Re: ispell/flyspell and german umlauts Date: 14 Aug 2003 16:18:30 +0200 Organization: University of Hamburg -- Germany Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1060871930 16290 80.91.224.253 (14 Aug 2003 14:38:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 14 Aug 2003 14:38:50 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 14 16:38:49 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19nJFY-0000y2-00 for ; Thu, 14 Aug 2003 16:38:49 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19nJ7r-0002AV-7i for geh-help-gnu-emacs@m.gmane.org; Thu, 14 Aug 2003 10:30:51 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!news-lei1.dfn.de!news-ham1.dfn.de!news.uni-hamburg.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 43 Original-NNTP-Posting-Host: kogs31.informatik.uni-hamburg.de Original-X-Trace: rzsun03.rrz.uni-hamburg.de 1060870710 8152 134.100.12.153 (14 Aug 2003 14:18:30 GMT) Original-X-Complaints-To: usenet@news.uni-hamburg.de Original-NNTP-Posting-Date: 14 Aug 2003 14:18:30 GMT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 Original-Xref: shelby.stanford.edu gnu.emacs.help:115886 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:11805 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:11805 Karl Voit 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 | '