From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas 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 12:05:04 -0700 Message-ID: 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> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8370"; mail-complaints-to="usenet@ciao.gmane.io" Cc: jorge+list@disroot.org, 42248@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Aug 27 21:06:10 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 1kBNDt-00023o-EN for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 27 Aug 2020 21:06:09 +0200 Original-Received: from localhost ([::1]:44088 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kBNDs-0006Fn-7q for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 27 Aug 2020 15:06:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57638) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kBNDm-0006FW-Jy for bug-gnu-emacs@gnu.org; Thu, 27 Aug 2020 15:06:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60753) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kBNDm-0006WD-B6 for bug-gnu-emacs@gnu.org; Thu, 27 Aug 2020 15:06:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kBNDm-0003DO-6c for bug-gnu-emacs@gnu.org; Thu, 27 Aug 2020 15:06:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Aug 2020 19:06: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.159855511212283 (code B ref 42248); Thu, 27 Aug 2020 19:06:02 +0000 Original-Received: (at 42248) by debbugs.gnu.org; 27 Aug 2020 19:05:12 +0000 Original-Received: from localhost ([127.0.0.1]:44062 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kBNCy-0003C3-2N for submit@debbugs.gnu.org; Thu, 27 Aug 2020 15:05:12 -0400 Original-Received: from mail-yb1-f181.google.com ([209.85.219.181]:42827) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kBNCw-0003Bn-Nk for 42248@debbugs.gnu.org; Thu, 27 Aug 2020 15:05:11 -0400 Original-Received: by mail-yb1-f181.google.com with SMTP id a34so3532582ybj.9 for <42248@debbugs.gnu.org>; Thu, 27 Aug 2020 12:05:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc; bh=9TZtz0z7RrAWh0dJR+tPJYzjvrYDKTo4I0VUvA2Cujo=; b=Qm0mOphuDtfRSexmJT8c/HjxZOBZhd2VdbCleZRCZP0fDgOgkKC4iLCQOG7Zc1kRgM Z+UYPiikyrDmcM+edv1FXQfaOagRsQFxZbcJMjS4LTjXZmfjgNv0tGmUaqldTCiJWnT3 BxVl3TkfHzSA1K3N9JDyuzaJxJLSLbGwA5d4z+dyqF+xPcfvz4cRpE95IeAu25IY8BRG barUxa1mHiNrVTcjETW6TlRvo666lkWlalCnBcYvGq7LhPCBpUy3qInzIGzARU2CW017 spgtsvi8m1lORBQ3AyMo20EGWs69jZMkjhd9kCSn8SKjrZhsSp0D2/TshMA8dyAtYGNO mC0A== X-Gm-Message-State: AOAM532keq6MiCddx+ZrR4jeDcbe5DMFHD+6T/m6INHCUjQn9uq6ASm5 F6IMSoEe+cZMzZc9dcKNuysmZG9vu1lwCeQ05VY= X-Google-Smtp-Source: ABdhPJxhZay3hWRHyCGytNzA2HgFiyZy+gl9K/9Yj0gmwz6j+8Oj7QxkLDehjvdQ4Aw0VueQqFaBA5nqPQNPQlJOFp0= X-Received: by 2002:a25:7007:: with SMTP id l7mr29583590ybc.85.1598555105185; Thu, 27 Aug 2020 12:05:05 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Thu, 27 Aug 2020 12:05:04 -0700 In-Reply-To: <83d03c0yjw.fsf@gnu.org> 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:186559 Archived-At: Eli Zaretskii writes: >> > However, both ispell-buffer and Flyspell still misreport "doesn't". >> >> I am using Hunspell and it misrepresents "doesn't" as a typo here, too. > > 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 I also found this Debian bug report (with no reply since 2008): https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=491638 So I guess this is just broken on Debian GNU/Linux. > On my system, there's no issue with "don't" (and the apostrophe in > general). > > 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)) Is there anything we could do to work around this situation on our end? (It seems like LibreOffice doesn't have this problem.) PS. I also saw this unrelated bug report which refers to our workaround for "hunspell -D" in hunspell 1.7.0: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=659281