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

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

bug#13109: 24.1; flyspell highlights words containing curly quotes which


From: Juri Linkov
Subject: bug#13109: 24.1; flyspell highlights words containing curly quotes which ispell-buffer accepts
Date: Tue, 11 Dec 2012 01:34:11 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu)

> I just repeated the experiment with a built of the default branch of emacs,
> and obtained the same results.

It seems we can do nothing to fix this.  `ispell-aspell-find-dictionary'
reads the ispell data from /usr/lib/aspell/en.dat that contains

  name en
  charset iso8859-1
  special ' -*-
  soundslike en
  affix en
  #repl-table en_affix.dat

where `special' defines just a straight quote.

The meaning of -*- is described in `ispell-aspell-find-dictionary' as

              ;; The line looks like: special ' -** - -** . -** : -*-
              ;; -** means that this character
              ;;    - doesn't appear at word start
              ;;    * may appear in the middle of a word
              ;;    * may appear at word end

And we can't add the curly quote in `ispell-aspell-find-dictionary' explicitly
because /usr/lib/aspell/en.dat defines the charset iso8859-1, but the curly 
quote
is from the charset utf-8.





reply via email to

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