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, 20 Aug 2020 21:26:14 +0300 Message-ID: <837dttcgxl.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> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5038"; 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 Thu Aug 20 20:27: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 1k8pHL-0001D2-DT for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 20 Aug 2020 20:27:11 +0200 Original-Received: from localhost ([::1]:41794 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k8pHK-0004qU-9Z for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 20 Aug 2020 14:27:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59750) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k8pHC-0004ns-Vi for bug-gnu-emacs@gnu.org; Thu, 20 Aug 2020 14:27:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60698) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k8pHC-0001Oy-LR for bug-gnu-emacs@gnu.org; Thu, 20 Aug 2020 14:27:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k8pHC-0007lX-HA for bug-gnu-emacs@gnu.org; Thu, 20 Aug 2020 14:27: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, 20 Aug 2020 18:27: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.159794799129815 (code B ref 42248); Thu, 20 Aug 2020 18:27:02 +0000 Original-Received: (at 42248) by debbugs.gnu.org; 20 Aug 2020 18:26:31 +0000 Original-Received: from localhost ([127.0.0.1]:44011 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k8pGh-0007kn-EZ for submit@debbugs.gnu.org; Thu, 20 Aug 2020 14:26:31 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:49426) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k8pGf-0007kb-A7 for 42248@debbugs.gnu.org; Thu, 20 Aug 2020 14:26:30 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:45771) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k8pGZ-0001He-EM; Thu, 20 Aug 2020 14:26:23 -0400 Original-Received: from [176.228.60.248] (port=4264 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1k8pGY-0003Yf-Iq; Thu, 20 Aug 2020 14:26:23 -0400 In-Reply-To: <87sgchfbsi.fsf@disroot.org> (message from Jorge P. de Morais Neto on Thu, 20 Aug 2020 14:49:01 -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:185750 Archived-At: > From: Jorge P. de Morais Neto > Cc: stefan@marxist.se, 42248@debbugs.gnu.org > Date: Thu, 20 Aug 2020 14:49:01 -0300 > > >> Also, the list for "en_US" specifies "" for OTHERCHARS, but, IIUC, it > >> ought to be "[']" instead. > > > > This means something is wrong with the initialization, as the data is > > set up correctly in ispell.el. Does the above happen in "emacs -Q"? > > I have just tried on emacs -Q on Debian testing and OTHERCHARS got yet > another result, which also seems wrong because it omits the apostrophe. > > This was on an updated Debian bullseye with enchant 2.2.8 from APT. > > Recipe: > 0. emacs -q > 1. Evaluate > (progn > (setq ispell-program-name "enchant-2") > (ispell-change-dictionary "en_US") > (insert "doesn't 2015") > (ispell-buffer)) > > 2. Check ispell-dictionary-alist. The value: > --8<---------------cut here---------------start------------->8--- > ((nil "[[:alpha:]]" "[^[:alpha:]]" "[0123456789]" t nil nil utf-8) > ("en_GB" #1="[[:alpha:]]" #2="[^[:alpha:]]" "[0123456789]" t nil nil utf-8) > ("en_CA" #1# #2# "[0123456789]" t nil nil utf-8) > ("en_US" #1# #2# "[0123456789]" t nil nil utf-8) I have two comments about this: (a) isn't this because Enchant invocation fails as you've established, due to the -B switch? (b) are you sure the above at all matters? e.g., with Hunspell (which is what I have here) it doesn't 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.