From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Agustin Martin Newsgroups: gmane.emacs.bugs Subject: bug#12768: 24.1; flyspell highlights words which ispell accepts Date: Wed, 31 Oct 2012 15:53:18 +0100 Message-ID: <20121031145318.GA16471@agmartin.aq.upm.es> References: <87zk3414cf.fsf@sc3d.org> <20121031123140.GA17066@agmartin.aq.upm.es> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="DocE+STaALJfprDB" X-Trace: ger.gmane.org 1351695225 27589 80.91.229.3 (31 Oct 2012 14:53:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 31 Oct 2012 14:53:45 +0000 (UTC) To: 12768@debbugs.gnu.org, Reuben Thomas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 31 15:53:54 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 1TTZfy-0008EM-AE for geb-bug-gnu-emacs@m.gmane.org; Wed, 31 Oct 2012 15:53:50 +0100 Original-Received: from localhost ([::1]:46395 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TTZfp-0005wL-Uy for geb-bug-gnu-emacs@m.gmane.org; Wed, 31 Oct 2012 10:53:41 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:54127) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TTZff-0005vV-HL for bug-gnu-emacs@gnu.org; Wed, 31 Oct 2012 10:53:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TTZfZ-00023R-B6 for bug-gnu-emacs@gnu.org; Wed, 31 Oct 2012 10:53:31 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59585) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TTZfZ-00023M-78 for bug-gnu-emacs@gnu.org; Wed, 31 Oct 2012 10:53:25 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TTZi6-0003rN-9h for bug-gnu-emacs@gnu.org; Wed, 31 Oct 2012 10:56:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Agustin Martin Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 31 Oct 2012 14:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12768 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12768-submit@debbugs.gnu.org id=B12768.135169536014829 (code B ref 12768); Wed, 31 Oct 2012 14:56:02 +0000 Original-Received: (at 12768) by debbugs.gnu.org; 31 Oct 2012 14:56:00 +0000 Original-Received: from localhost ([127.0.0.1]:41603 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TTZi3-0003r8-N6 for submit@debbugs.gnu.org; Wed, 31 Oct 2012 10:55:59 -0400 Original-Received: from edison.ccupm.upm.es ([138.100.198.71]:45722 helo=smtp.upm.es) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TTZi1-0003r0-Rf for 12768@debbugs.gnu.org; Wed, 31 Oct 2012 10:55:59 -0400 Original-Received: from agmartin.aq.upm.es (Agmartin.aq.upm.es [138.100.41.131]) by smtp.upm.es (8.14.3/8.14.3/edison-001) with ESMTP id q9VErILr011746; Wed, 31 Oct 2012 15:53:18 +0100 Original-Received: by agmartin.aq.upm.es (Postfix, from userid 1000) id 9C952413; Wed, 31 Oct 2012 15:53:18 +0100 (CET) Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) 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 (newer, 2) 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:66277 Archived-At: --DocE+STaALJfprDB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Oct 31, 2012 at 12:35:20PM +0000, Reuben Thomas wrote: > In that case, it seems my customizations are relevant: > > '(ispell-local-dictionary "british+accs") > '(ispell-program-name "/usr/bin/aspell") > > and > > (setq ispell-local-dictionary-alist > (append ispell-local-dictionary-alist > '(("british+accs" ; British version > "[[:alpha:]]" > "[^[:alpha:]]" > "[-'??]" > nil > ("-B" "-d" "en_GB") > nil > utf-8)))) > > Note that the only point of these customizations is to allow the use of > accented letters and curly quotes in English words. You no longer need to make this kind of things to use accented letters for standard entries under aspell or hunspell, [:alpha:] will be used as default for them (but not for stuff in `ispell-local-dictionary-alist' where user choice is honoured). On the other hand, aspell en.dat only contains ['] as allowed wordchars, adding other separators here (in .emacs) may trigger some errors about different character maps when invoking ispell-word. aspell seems to internally deal with the explicit acute accent similarly to ', so adding it seems to be OK here. Apart from that, seems I still get similar results for ispell-buffer and flyspell with your entry. Please find attached the file I used for tests, -- Agustin --DocE+STaALJfprDB Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: attachment; filename="test-12768.txt" Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by smtp.upm.es id q9VErILr011746 executive's=20 executable's=20 auto-bahn auto'bahn from=C3=A1=20 auto=E2=80=98bahn auto=E2=80=99bahn=20 ; Local Variables: ; mode: flyspell ; coding: utf-8 ; End: --DocE+STaALJfprDB--