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: Mon, 24 Aug 2020 17:42:53 +0300 Message-ID: <83y2m45clu.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> <871rjwi0at.fsf@disroot.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15342"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 42248@debbugs.gnu.org, stefan@marxist.se To: Jorge P. de Morais Neto Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Aug 24 16:48:33 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 1kADlw-0003sj-BW for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 24 Aug 2020 16:48:32 +0200 Original-Received: from localhost ([::1]:39882 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kADlv-0001tV-Bn for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 24 Aug 2020 10:48:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49118) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kADhb-0001X5-NE for bug-gnu-emacs@gnu.org; Mon, 24 Aug 2020 10:44:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47281) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kADha-00059b-HN for bug-gnu-emacs@gnu.org; Mon, 24 Aug 2020 10:44:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kADha-0001xT-FQ for bug-gnu-emacs@gnu.org; Mon, 24 Aug 2020 10:44: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: Mon, 24 Aug 2020 14:44: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.15982801927458 (code B ref 42248); Mon, 24 Aug 2020 14:44:02 +0000 Original-Received: (at 42248) by debbugs.gnu.org; 24 Aug 2020 14:43:12 +0000 Original-Received: from localhost ([127.0.0.1]:58827 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kADgl-0001wD-TG for submit@debbugs.gnu.org; Mon, 24 Aug 2020 10:43:12 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:38688) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kADgk-0001vz-D8 for 42248@debbugs.gnu.org; Mon, 24 Aug 2020 10:43:10 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:46287) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kADge-00052y-Qc; Mon, 24 Aug 2020 10:43:04 -0400 Original-Received: from [176.228.60.248] (port=1697 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kADge-00080O-6N; Mon, 24 Aug 2020 10:43:04 -0400 In-Reply-To: <871rjwi0at.fsf@disroot.org> (message from Jorge P. de Morais Neto on Mon, 24 Aug 2020 11:30:18 -0300) 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:186162 Archived-At: > From: Jorge P. de Morais Neto > Cc: stefan@marxist.se, 42248@debbugs.gnu.org > Date: Mon, 24 Aug 2020 11:30:18 -0300 > > > Bottom line: someone who has Enchant installed will have to step > > through the code which invokes it and sets up spell-checking, and see > > what goes wrong with that version of Enchant that uses Aspell. > > OK, so in the weekend I started stepping trough the Enchant setup code > in ispell.el. I have already made two small but important corrections. > The provisional patch is at the end of this message, but it is not > enough to fix the problem, so you may want to wait until I finish the > job---maybe next weekend? Yes, it's better to have the entire issue understood. Thanks. I don't think I understand the proposed changes -- can you tell in more detail why they are needed? > > In order to step though the Enchant setup code, I: > 1. Open a new Emacs instance > 2. Invoke M-x edebug-all-defs > 3. Open ispell.el > 4. Invoke M-x eval-buffer twice > > Is this the best way to step though the setup code? > > And I have found weird behavior of enchant-lsmod-2 on the command line. > See: > > $ enchant-lsmod-2 -word-chars en_us > 0123456789 > > Shouldn't the output above include the apostrophe? Maybe the dictionary you are using doesn't support the apostrophe?