[Top][All Lists]

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

Fontsets and ispell

From: Peter Dyballa
Subject: Fontsets and ispell
Date: Fri, 18 Feb 2005 11:52:41 +0100


I tried to spell-check a LaTeX file in an AUCTeX (version: 11.55) buffer. When ispell hit the word sérifs (of sans-sérifs) this error was reported:

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

So obviously the é was passed as something else but itself. C-u C-x = reports this:

          character: é (07551, 3945, 0xf69, U+00E9)
charset: latin-iso8859-15 (Right-Hand Part of Latin Alphabet 9 (ISO/IEC 8859-15): ISO-IR-203.)
         code point: 105
             syntax: w  which means: word
           category: l:Latin
        buffer code: 0x8E 0xE9
          file code: 0xE9 (encoded by coding system iso-latin-9-unix)
            display: by this font (glyph code)
-B&H-LucidaTypewriter-Medium-R-Normal-Sans-12-120-75-75-M-70-ISO8859-15 (0xE9)
        There are text properties here:
          face                 [(font-latex-italic-face font-lock-type-face)]
          font-lock-multiline  t
          fontified            t

Although it's stated 'buffer code: 0x8E 0xE9' the buffer's modeline starts with "-0:--", i.e. ISO Latin-15. ispell is set up to work like this customization:

'(ispell-local-dictionary-alist (quote (("english" "[a-zA-Z]" "[^a-zA-Z]" "[']" t ("-C") "~tex" iso-8859-1) (nil "[a-zA-ZÄÖÜßäöüÇÀÂÁÉÊÈÍÎÌÓÔÒÚÛÙÑÆçàâáéêèíîìóôòúûùñæ]" "[^a-zA-ZÄÖÜßäöüÇÀÂÁÉÊÈÍÎÌÓÔÒÚÛÙÑÆçàâáéêèíîìóôòúûùñæ]" "" t ("-d" "german") "~latin1" iso-8859-1))))

In GNU Emacs (powerpc-apple-darwin7.7.0, X toolkit, Xaw3d scroll bars)
 of 2005-01-17 on Latsche.local
Distributor `The XFree86 Project, Inc', version 11.0.40300000
configured using `configure '--prefix=/sw' '--without-carbon' '--with-x' '--without-gif' '--infodir=${prefix}/share/info' '--mandir=${prefix}/share/man' '--libexecdir=${prefix}/lib' '--with-x-toolkit=lucid' 'CPPFLAGS=-I/sw/include' 'LDFLAGS=-L/sw/lib''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: de_DE.UTF-8
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: de_DE.UTF-8
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

Major mode: Debugger

Minor modes in effect:
  auto-compression-mode: t
  mouse-sel-mode: t
  show-paren-mode: t
  desktop-save-mode: t
  display-time-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  column-number-mode: t
  line-number-mode: t

Recent input:
<tab> 3 . t e x <return> g <up> e <next> <home> <escape>
x i s p e <tab> <tab> <tab> b u <backspace> <backspace>
- b u <tab> <return> C-h l C-g ? C-x u <escape> x i
s o p <backspace> <backspace> p <tab> <tab> - <tab>
c h a <tab> <return> <tab> g e r m a n 8 <return> <escape>
x i s p e l l - b u <tab> <return> SPC C-h i SPC SPC
SPC i i SPC i SPC i SPC SPC SPC <help-echo> <help-echo>
C-x 5 2 <switch-frame> <help-echo> <tool-bar> <hel

Recent messages:
Making completion list... [2 times]
Ispell process killed
(Next local Ispell command will use german8 dictionary) [2 times]
Starting new Ispell process...
Spell checking Fonts2.tex using german8 dictionary...
Loading debug...done
Entering debugger...
Loading emacsbug...done



reply via email to

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