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#13109: 24.1; flyspell highlights words containing curly quotes which ispell-buffer accepts Date: Mon, 6 May 2013 12:32:06 +0200 Message-ID: <20130506103206.GA19026@agmartin.aq.upm.es> References: <838v9anex9.fsf@gnu.org> <87d2yheb2k.fsf@mail.jurta.org> <87a9tkz1id.fsf@mail.jurta.org> <86bo8qim1l.fsf@somewhere.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1367836396 20704 80.91.229.3 (6 May 2013 10:33:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 6 May 2013 10:33:16 +0000 (UTC) To: Sebastien Vauban , 13109@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon May 06 12:33:14 2013 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 1UZIjI-0003Nt-Mr for geb-bug-gnu-emacs@m.gmane.org; Mon, 06 May 2013 12:33:12 +0200 Original-Received: from localhost ([::1]:38430 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UZIjI-0005hc-Bi for geb-bug-gnu-emacs@m.gmane.org; Mon, 06 May 2013 06:33:12 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:33845) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UZIjD-0005ge-LN for bug-gnu-emacs@gnu.org; Mon, 06 May 2013 06:33:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UZIjC-0005pe-Of for bug-gnu-emacs@gnu.org; Mon, 06 May 2013 06:33:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55393) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UZIjC-0005pP-MA for bug-gnu-emacs@gnu.org; Mon, 06 May 2013 06:33:06 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UZIk6-0002CD-6G for bug-gnu-emacs@gnu.org; Mon, 06 May 2013 06:34: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: Mon, 06 May 2013 10:34: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.13678363898292 (code B ref 13109); Mon, 06 May 2013 10:34:02 +0000 Original-Received: (at 13109) by debbugs.gnu.org; 6 May 2013 10:33:09 +0000 Original-Received: from localhost ([127.0.0.1]:59502 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UZIjD-00029g-P6 for submit@debbugs.gnu.org; Mon, 06 May 2013 06:33:08 -0400 Original-Received: from fibonacci.ccupm.upm.es ([138.100.198.70]:51018 helo=smtp.upm.es) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UZIjA-00029N-RA for 13109@debbugs.gnu.org; Mon, 06 May 2013 06:33:06 -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/fibonacci-001) with ESMTP id r46AW7jC018669; Mon, 6 May 2013 12:32:07 +0200 Original-Received: by agmartin.aq.upm.es (Postfix, from userid 1000) id C97324C3; Mon, 6 May 2013 12:32:06 +0200 (CEST) Content-Disposition: inline In-Reply-To: <86bo8qim1l.fsf@somewhere.org> 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.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:74010 Archived-At: On Sat, May 04, 2013 at 09:26:30PM +0200, Sebastien Vauban wrote: > Hello Reuben, > > Reuben Thomas wrote: > >>> I've copied the default settings and added a curly single quote to the > >>> list of permitted "other characters". I imagine one can do the same for > >>> other languages. It's ugly (principally because it copies rather than > >>> overwriting information) but that information (the other entries in the > >>> record) doesn't change often, so it'll do until a more comprehensive > >>> solution is applied. > >>> > >> > >> Belay that, it doesn't work. It seems I have to type a new word for > >> flyspell to complain; merely passing the cursor over an old one (which > >> suffices to remove a highlight in a word that has been added to the > >> dictionary) does not suffice. > >> > >> If anyone can offer a functioning workaround, I'd be most grateful. > >> > > > > I read the documentation for ispell-dictionary-alist more carefully, and > > came up with: > > > > '(ispell-local-dictionary-alist (quote (("british" "[[:alpha:]]" > > "[^[:alpha:]]" "['???]" t ("-d" "en_GB") nil utf-8)))) > > > > where I made the "others" character set a character class. > > Not answering your questions, but commenting about this: it never has been > clear to me which var should really be edited... > `ispell-dictionary-base-alist', `ispell-base-dicts-override-alist' or > `ispell-local-dictionary-alist'... `ispell-local-dictionary-alist' is what you want. `ispell-dictionary-base-alist' has the last resort values if nothing else fits. `ispell-base-dicts-override-alist' is mostly for distros or sysadmins to overrride values from `ispell-dictionary-base-alist' and will not override auto-detected values. None of both are created with a defcustom. -- Agustin