emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: Fontsets and ispell


From: Peter Dyballa
Subject: Re: Fontsets and ispell
Date: Mon, 21 Feb 2005 20:08:11 +0100


Am 21.02.2005 um 03:17 schrieb Kenichi Handa:

Emacs distinguishes latin-1 and latin-15 characters.

Please specify CASECHARS and NOT-CASECHARS in unibyte
(i.e. using octal form of byte sequence for iso-8859-1)
without using '-' between eight-bit chars (see
lisp/textmodes/ispell.el.  Then the latest Emacs generates a
proper multibyte string that covers all equivalent
characters in CASECHARS and NOT-CASECHARS.

I changed them this way:

        (setq ispell-local-dictionary-alist
            '(("english"
               "[a-zA-Z]" "[^a-zA-Z]" "[']" t ("-C") "~tex" iso-8859-1)
        ;      ("german"
        ;       "[a-zA-Z\"]" "[^a-zA-Z\"]" "[']" t ("-C") "~tex" iso-8859-1)
              ("german8"
"[ a-zA- Z\300\301\302\304\306\307\310\311\312\314\315\316\321\322\323\324\326\33 1\332\333\334\337\340\34\ 1\342\344\346\347\350\351\352\354\355\356\361\362\363\364\366\371\372\37 3\374]" "[^a-zA- Z\300\301\302\304\306\307\310\311\312\314\315\316\321\322\323\324\326\33 1\332\333\334\337\340\34\ 1\342\344\346\347\350\351\352\354\355\356\361\362\363\364\366\371\372\37 3\374]"
               "" t ("-d" "german") "~latin1" iso-8859-1)))

and still I get this error:

Debugger entered--Lisp error: (error "Ispell misalignment: word `s\x8e9rifs' point 1818; probably incompatible versions") signal(error ("Ispell misalignment: word `s\x8e9rifs' point 1818; probably incompatible versions")) error("Ispell misalignment: word `%s' point %d; probably incompatible versions" "s\x8e9rifs" 1818) ispell-process-line("^jetzt auch korrekt \\emph{sans-s\xf69rifs}? Isses, \\textbf{\\emph{isses wirklich}}\n"\
 nil)

I'd presume that GNU Emacs passes non US-ASCII text as Unicode text instead of using some ISO Latin representation, for example that which is set for that buffer -- still '-0:--' in the modeline, "%%% -*- mode: LaTeX; coding: iso-8859-15; -*-" in the file's header (line 1).

It makes no difference when I set '"" t ("-d" "german") "~latin9" iso-8859-15)))' ...

--
Greetings

  Pete

The day Microsoft makes something that doesn't suck is the day they start selling vacuum cleaners.





reply via email to

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