From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#42248: 27.0.91; With enchant-2.2.8 from Guix, Flyspell errors out or gives lots of false positives Date: Thu, 27 Aug 2020 22:13:52 +0300 Message-ID: <834kon2973.fsf@gnu.org> References: <878sfvwbr0.fsf@disroot.org> <87mu2qyu94.fsf@disroot.org> <83k0xtcv7a.fsf@gnu.org> <87eeo1z5we.fsf@disroot.org> <83a6ypcnl4.fsf@gnu.org> <87sgchfbsi.fsf@disroot.org> <837dttcgxl.fsf@gnu.org> <871rjy2ygb.fsf@disroot.org> <83d03c0yjw.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6735"; mail-complaints-to="usenet@ciao.gmane.io" Cc: jorge+list@disroot.org, 42248@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Aug 27 21:15:11 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kBNMd-0001cx-LL for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 27 Aug 2020 21:15:11 +0200 Original-Received: from localhost ([::1]:52146 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kBNMc-0001dH-Lu for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 27 Aug 2020 15:15:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60224) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kBNMU-0001ba-Ob for bug-gnu-emacs@gnu.org; Thu, 27 Aug 2020 15:15:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60772) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kBNMU-0007qO-Eq for bug-gnu-emacs@gnu.org; Thu, 27 Aug 2020 15:15:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kBNMU-0003Qm-8c for bug-gnu-emacs@gnu.org; Thu, 27 Aug 2020 15:15:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Aug 2020 19:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42248 X-GNU-PR-Package: emacs Original-Received: via spool by 42248-submit@debbugs.gnu.org id=B42248.159855566013123 (code B ref 42248); Thu, 27 Aug 2020 19:15:02 +0000 Original-Received: (at 42248) by debbugs.gnu.org; 27 Aug 2020 19:14:20 +0000 Original-Received: from localhost ([127.0.0.1]:44084 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kBNLd-0003PP-PY for submit@debbugs.gnu.org; Thu, 27 Aug 2020 15:14:20 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:49744) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kBNLc-0003PB-F8 for 42248@debbugs.gnu.org; Thu, 27 Aug 2020 15:14:08 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:59697) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kBNLX-0007gt-7s; Thu, 27 Aug 2020 15:14:03 -0400 Original-Received: from [176.228.60.248] (port=2379 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kBNLV-0007AL-Ti; Thu, 27 Aug 2020 15:14:02 -0400 In-Reply-To: (message from Stefan Kangas on Thu, 27 Aug 2020 12:05:04 -0700) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:186563 Archived-At: > From: Stefan Kangas > Date: Thu, 27 Aug 2020 12:05:04 -0700 > Cc: jorge+list@disroot.org, 42248@debbugs.gnu.org > > > It isn't the Hunspell issue, it's an issue with the dictionary. What > > does your en_US.aff file says in the WORDCHARS line(s)? See the > > function ispell-parse-hunspell-affix-file which parses the Hunspell > > aff files. > > WORDCHARS 0123456789 Here I have WORDCHARS 0123456789' So my suggestion is to find a better en_US dictionary and install it. > > Eventually, the dictionary's entry in the ispell.el's DB is what > > matters. What do you have there? > > Which variable would be of interest? In > `ispell-hunspell-dictionary-alist' I have the following entry for > "en_US": > > ("en_US" . #1=("[[:alpha:]]" "[^[:alpha:]]" "[0-9]" t > ("-d" "en_US") ^^^^^^^ > nil utf-8)) The one I underlined. It should be "['0-9]". So there you have it. > Is there anything we could do to work around this situation on our end? Install a better dictionary, I'd say.