From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#20741: 24.4; flyspell doesn't work with abbreviations ending in a period Date: Fri, 05 Jun 2015 22:23:49 +0300 Message-ID: <83twumnem2.fsf@gnu.org> References: <87pp5az1u7.fsf@sc3d.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT X-Trace: ger.gmane.org 1433532348 25064 80.91.229.3 (5 Jun 2015 19:25:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Jun 2015 19:25:48 +0000 (UTC) Cc: 20741@debbugs.gnu.org To: Reuben Thomas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jun 05 21:25:31 2015 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 1Z0xEv-0000Yd-1G for geb-bug-gnu-emacs@m.gmane.org; Fri, 05 Jun 2015 21:25:13 +0200 Original-Received: from localhost ([::1]:49261 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z0xEu-0002f3-1x for geb-bug-gnu-emacs@m.gmane.org; Fri, 05 Jun 2015 15:25:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49765) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z0xEp-0002cR-1a for bug-gnu-emacs@gnu.org; Fri, 05 Jun 2015 15:25:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z0xEl-0003JN-RG for bug-gnu-emacs@gnu.org; Fri, 05 Jun 2015 15:25:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60350) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z0xEl-0003J7-O1 for bug-gnu-emacs@gnu.org; Fri, 05 Jun 2015 15:25:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Z0xEl-0004ot-1N for bug-gnu-emacs@gnu.org; Fri, 05 Jun 2015 15:25:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 05 Jun 2015 19:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20741 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20741-submit@debbugs.gnu.org id=B20741.143353224318454 (code B ref 20741); Fri, 05 Jun 2015 19:25:02 +0000 Original-Received: (at 20741) by debbugs.gnu.org; 5 Jun 2015 19:24:03 +0000 Original-Received: from localhost ([127.0.0.1]:42092 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z0xDm-0004nP-6Z for submit@debbugs.gnu.org; Fri, 05 Jun 2015 15:24:02 -0400 Original-Received: from mtaout27.012.net.il ([80.179.55.183]:55943) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z0xDj-0004mz-3h for 20741@debbugs.gnu.org; Fri, 05 Jun 2015 15:24:00 -0400 Original-Received: from conversion-daemon.mtaout27.012.net.il by mtaout27.012.net.il (HyperSendmail v2007.08) id <0NPH00800J56CP00@mtaout27.012.net.il> for 20741@debbugs.gnu.org; Fri, 05 Jun 2015 22:19:02 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout27.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NPH00B5WKBQCW20@mtaout27.012.net.il>; Fri, 05 Jun 2015 22:19:02 +0300 (IDT) In-reply-to: <87pp5az1u7.fsf@sc3d.org> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.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:103625 Archived-At: > From: Reuben Thomas > Date: Fri, 05 Jun 2015 15:06:40 +0100 > > flyspell marks as incorrect “etc.”, “i.e.”, “e.g.” &c. I can reproduce part of this with en_GB, but not with en_US. So I think it's an issue with the dictionary, not with flyspell or ispell. > flyspell is of course behaving as expected: “.” is in OTHERCHARS, and as > it comes after the word, it is not included. What OTHERCHARS are you looking at? In Emacs 24.4 and later, ispell.el takes that value from the dictionary's .aff file, not from the internal database. So if you customized ispell-dictionary-alist, try without those customizations, you shouldn't need them in v24.4. > ispell sets my default dictionary to en_GB (from my locale, I presume), Yes. But you can override that, if you want. > I tried to move “.” to CASECHARS and NOT-CASECHARS in a custom > dictionary definition: > > ("en_GB" "[[:alpha:].]" "[^[:alpha:].]" "['0-9’-]" t > ("-d" "en_GB") > nil utf-8) You shouldn't need all that in Emacs 24.4. Try not to customize the dictionary at all.