unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
To: Reuben Thomas <rrt@sc3d.org>
Cc: 13109@debbugs.gnu.org
Subject: bug#13109: 24.1; flyspell highlights words containing curly quotes which ispell-buffer accepts
Date: Tue, 11 Dec 2012 01:34:11 +0200	[thread overview]
Message-ID: <87d2yheb2k.fsf@mail.jurta.org> (raw)
In-Reply-To: <CAOnWdoh2Nc7Yik1DZXKuLaab5rV5hhLeDpEiYs26ihmnWddJ2A@mail.gmail.com> (Reuben Thomas's message of "Sun, 9 Dec 2012 21:24:13 +0000")

> 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	other threads:[~2012-12-10 23:34 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-06 23:59 bug#13109: 24.1; flyspell highlights words containing curly quotes which ispell-buffer accepts Reuben Thomas
2012-12-07  6:29 ` Eli Zaretskii
     [not found]   ` <CAOnWdoiiaW0gvHTEuunsZvkqn8a6A4tLsQC4WoF3jgy40onjMg@mail.gmail.com>
2012-12-07 13:57     ` Eli Zaretskii
2012-12-07 15:27       ` Reuben Thomas
2012-12-09 21:24         ` Reuben Thomas
2012-12-10 23:34           ` Juri Linkov [this message]
2012-12-11 16:20             ` Reuben Thomas
2012-12-11 23:07               ` Juri Linkov
2013-05-03 20:15                 ` Reuben Thomas
2013-05-03 20:20                   ` Reuben Thomas
2013-05-03 20:48                     ` Reuben Thomas
     [not found]                     ` <mailman.25084.1367614166.855.bug-gnu-emacs@gnu.org>
2013-05-04 19:26                       ` Sebastien Vauban
2013-05-06 10:32                         ` Agustin Martin
2015-06-26 11:46 ` bug#13109: Thanks Reuben Thomas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d2yheb2k.fsf@mail.jurta.org \
    --to=juri@jurta.org \
    --cc=13109@debbugs.gnu.org \
    --cc=rrt@sc3d.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).