From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Sebastien Vauban" Newsgroups: gmane.emacs.bugs Subject: Re: bug#13109: 24.1; flyspell highlights words containing curly quotes which ispell-buffer accepts Date: Sat, 04 May 2013 21:26:30 +0200 Organization: Sebastien Vauban Message-ID: <86bo8qim1l.fsf@somewhere.org> References: <87lidaenqo.fsf@sc3d.org> <83r4n2nzn0.fsf@gnu.org> <838v9anex9.fsf@gnu.org> <87d2yheb2k.fsf@mail.jurta.org> <87a9tkz1id.fsf@mail.jurta.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1367695816 19054 80.91.229.3 (4 May 2013 19:30:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 4 May 2013 19:30:16 +0000 (UTC) To: bug-gnu-emacs-mXXj517/zsQ@public.gmane.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Sat May 04 21:30:13 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 1UYi9q-00082L-C7 for geb-bug-gnu-emacs@m.gmane.org; Sat, 04 May 2013 21:30:10 +0200 Original-Received: from localhost ([::1]:36447 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UYi9p-00022A-W0 for geb-bug-gnu-emacs@m.gmane.org; Sat, 04 May 2013 15:30:10 -0400 X-Received: by 10.180.198.179 with SMTP id jd19mr4755682wic.5.1367695595258; Sat, 04 May 2013 12:26:35 -0700 (PDT) Original-Path: usenet.stanford.edu!17no3000615wie.0!news-out.google.com!p18ni68401wiv.0!nntp.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!ecngs!feeder2.ecngs.de!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx05.eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.bug Original-Lines: 37 Injection-Info: mx05.eternal-september.org; posting-host="6f05eaee171434c896d44feeaf7179f0"; logging-data="27702"; mail-complaints-to="abuse-VVbKFVtnif8H+i2N2EyTrmui9UKz+5OX@public.gmane.org"; posting-account="U2FsdGVkX18dPZm4B5EpkMBeRBDWWqOs" User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3 (windows-nt) X-Archive: encrypt Cancel-Lock: sha1:ljLjK+qXTorsGfk/Z1wNy1giJmU= sha1:aFvkVS3VCOY22YDlLPqK4iPy40o= X-Url: Under construction... Original-Xref: usenet.stanford.edu gnu.emacs.bug:100231 X-BeenThere: bug-gnu-emacs-mXXj517/zsQ@public.gmane.org X-Mailman-Version: 2.1.14 Precedence: list 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-mXXj517/zsQ@public.gmane.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Xref: news.gmane.org gmane.emacs.bugs:73959 Archived-At: 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:]]" "['=E2=80=99]" 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'... Best regards, Seb --=20 Sebastien Vauban