From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#13109: 24.1; flyspell highlights words containing curly quotes which ispell-buffer accepts Date: Tue, 11 Dec 2012 01:34:11 +0200 Organization: JURTA Message-ID: <87d2yheb2k.fsf@mail.jurta.org> References: <87lidaenqo.fsf@sc3d.org> <83r4n2nzn0.fsf@gnu.org> <838v9anex9.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1355182713 5259 80.91.229.3 (10 Dec 2012 23:38:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 10 Dec 2012 23:38:33 +0000 (UTC) Cc: 13109@debbugs.gnu.org To: Reuben Thomas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 11 00:38:46 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TiCvq-00048y-3s for geb-bug-gnu-emacs@m.gmane.org; Tue, 11 Dec 2012 00:38:42 +0100 Original-Received: from localhost ([::1]:33721 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TiCvd-0001iU-GA for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 Dec 2012 18:38:29 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:36061) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TiCva-0001iK-Cr for bug-gnu-emacs@gnu.org; Mon, 10 Dec 2012 18:38:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TiCvZ-0002mZ-4x for bug-gnu-emacs@gnu.org; Mon, 10 Dec 2012 18:38:26 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54027) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TiCvZ-0002mV-1a for bug-gnu-emacs@gnu.org; Mon, 10 Dec 2012 18:38:25 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TiCwA-0001u4-Jk for bug-gnu-emacs@gnu.org; Mon, 10 Dec 2012 18:39:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 10 Dec 2012 23:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13109 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13109-submit@debbugs.gnu.org id=B13109.13551827077245 (code B ref 13109); Mon, 10 Dec 2012 23:39:02 +0000 Original-Received: (at 13109) by debbugs.gnu.org; 10 Dec 2012 23:38:27 +0000 Original-Received: from localhost ([127.0.0.1]:36045 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TiCvb-0001sk-9y for submit@debbugs.gnu.org; Mon, 10 Dec 2012 18:38:27 -0500 Original-Received: from ps18281.dreamhost.com ([69.163.218.105]:51670 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TiCvT-0001sP-3R for 13109@debbugs.gnu.org; Mon, 10 Dec 2012 18:38:24 -0500 Original-Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 503CA451E1E1; Mon, 10 Dec 2012 15:37:39 -0800 (PST) In-Reply-To: (Reuben Thomas's message of "Sun, 9 Dec 2012 21:24:13 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:68297 Archived-At: > 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.