From unknown Sun Jun 22 00:52:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#42248: 27.0.91; With enchant-2.2.8 from Guix, Flyspell errors out or gives lots of false positives Resent-From: "Jorge P. de Morais Neto" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 07 Jul 2020 16:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42248 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 42248@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15941380394314 (code B ref -1); Tue, 07 Jul 2020 16:08:02 +0000 Received: (at submit) by debbugs.gnu.org; 7 Jul 2020 16:07:19 +0000 Received: from localhost ([127.0.0.1]:36591 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jsq7m-00017R-SW for submit@debbugs.gnu.org; Tue, 07 Jul 2020 12:07:19 -0400 Received: from lists.gnu.org ([209.51.188.17]:42708) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jsq7j-00017I-86 for submit@debbugs.gnu.org; Tue, 07 Jul 2020 12:07:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60284) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jsq7i-0003W6-Vj for bug-gnu-emacs@gnu.org; Tue, 07 Jul 2020 12:07:11 -0400 Received: from knopi.disroot.org ([178.21.23.139]:43740) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jsq7I-0006ul-Ag for bug-gnu-emacs@gnu.org; Tue, 07 Jul 2020 12:07:10 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id CEEE65526F for ; Tue, 7 Jul 2020 18:06:40 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iY2ALX9riIyb for ; Tue, 7 Jul 2020 18:06:38 +0200 (CEST) From: "Jorge P. de Morais Neto" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1594137998; bh=JrwDmZBXnxdJ5P0tvaeAaBWEdt9oLj2dIPnAzTcIq/o=; h=From:To:Subject:Date; b=l1bAxqUBjOtDs4GOuJyHIUKQb34WhYSwz/esX9HudOjcR5Aw7Owjrt0ZrQFE6bkCd fUFRvCndS14F7pZ4kcIg+Eq1nUFIaVE57prPtWeUU9AqOAp4MES2jYImm6hekKJsrU m8wLytbjwEXGTxW+E949dMZi7PISDnyHMZHVWj/dcRnzfYZbBlMxhJRcioM+jw7st4 BHwFyBIGzXq4Tq3YI6ljhcDP02tiJm4Ic+3g6ZLcDt8fNux9uOT+lvJ8JQJiP0um5D fKeVyoKqVJievCPld/cso4uYGrks/7EAhVDTeMK4jft6NTrpZrazTq4agH979LsVic U60Tpcnn6fNyg== Date: Tue, 07 Jul 2020 13:06:27 -0300 Message-ID: <878sfvwbr0.fsf@disroot.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=178.21.23.139; envelope-from=jorge+list@disroot.org; helo=knopi.disroot.org X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/07 12:06:40 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) Hi. I have a locally compiled GNU Emacs 27.0.91, installed with GNU Stow. I use many packages from Guix, including enchant (version 2.2.8) and aspell (0.60.8). I have problems when using enchant on Emacs. * Problem 1: error message with "american" dictionary 1. Close GNU Emacs and rename the init file (~/.config/emacs/init.el) to something Emacs won't recognize 2. Open Emacs. It will use a vanilla config. 3. M-x toggle-debug-on-error 4. M-x open-dribble-file ~/Desktop/dribble.txt 5. M-: (require 'ispell) 6. M-x customize-option ispell-program-name 6.1 Enter the value "/home/jorge/.guix-profile/bin/enchant-2" and set it 7. Open new buffer "test.txt" 8. M-x text-mode 9. Type a misspelled word into its own line; in the next line, a correctly spelled word with a contraction. 10. M-x ispell-change-dictionary american 11. M-x flyspell-mode Flyspell then errors out (see "Recent messages:" below). I expected it to be enabled without errors. The dribble file: tog-deb-errcus-optisepell-pro=07 0x800003a(require 'ispell)isp= ell-proaspellenchant-2=03qbtest.txttext-modeyellohtdoesn'tispell-chanameriflyspell-buffermoderep= ort-emacs-bugclose-dri=07=0F=0Fi= Deskdri * Problem 2: many false positives with "en_US" dictionary I performed the following steps in a previous Emacs instance but forgot to record the dribble file, so here they are from memory: 1. Close GNU Emacs and rename the init file (~/.config/emacs/init.el) to something Emacs won't recognize 2. Open Emacs. It will use a vanilla config. 3. M-: (require 'ispell) 4. M-x customize-option ispell-program-name 4.1 Enter the value "/home/jorge/.guix-profile/bin/enchant-2" and set it 5. Open new buffer "test.txt" 6. M-x text-mode 7. Type a misspelled word into its own line; in the next line, a correctly spelled word with a contraction. 8. M-x ispell-change-dictionary en_US 9. M-x flyspell-mode So in this case we use the "en_US" dictionary and Flyspell does not error out, but gives a lot of annoying false positives, such as in contractions like "doesn't". It even gives false positives on numbers; for example, it complains about the "2015" in the following sentence: Richard Stallman talking at CommonsFest 2015 in Athens for "A Free Digital = Society" * Parting words If you need more information please ask me. King regards. In GNU Emacs 27.0.91 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.5) of 2020-07-05 built on jorge--inspiron-5570 Repository revision: 247dcb4b1b1b4ea3d50b63d41c4efa58743f610d Repository branch: emacs-27 Windowing system distributor 'The X.Org Foundation', version 11.0.12004000 System Description: Debian GNU/Linux 10 (buster) Recent messages: Usage: /home/jorge/.guix-profile/bin/enchant-2 -a|-l|-h|-v [-L] [-d DICTION= ARY] [FILE]) You can run the command =E2=80=98flyspell-mode=E2=80=99 with M-x flys-m RET Error enabling Flyspell mode: ( -v display version information and exit -h display help and exit -L display line numbers -l list only the misspellings -a list suggestions in ispell pipe mode format -d DICTIONARY use the given dictionary Usage: /home/jorge/.guix-profile/bin/enchant-2 -a|-l|-h|-v [-L] [-d DICTION= ARY] [FILE]) Configured using: 'configure --with-mailutils --with-modules --enable-link-time-optimization' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LIBSYSTEMD JSON PDUMPER LCMS2 GMP Important settings: value of $LC_MONETARY: pt_BR.UTF-8 value of $LC_NUMERIC: pt_BR.UTF-8 value of $LC_TIME: pt_BR.UTF-8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Text Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ol-w3m hides /usr/= local/share/emacs/27.0.91/lisp/org/ol-w3m /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ob-lua hides /usr/= local/share/emacs/27.0.91/lisp/org/ob-lua /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ob-tangle hides /u= sr/local/share/emacs/27.0.91/lisp/org/ob-tangle /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ox-man hides /usr/= local/share/emacs/27.0.91/lisp/org/ox-man /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ob-screen hides /u= sr/local/share/emacs/27.0.91/lisp/org/ob-screen /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ob-eshell hides /u= sr/local/share/emacs/27.0.91/lisp/org/ob-eshell /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ob-maxima hides /u= sr/local/share/emacs/27.0.91/lisp/org/ob-maxima /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ob-lisp hides /usr= /local/share/emacs/27.0.91/lisp/org/ob-lisp /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/org-entities hides= /usr/local/share/emacs/27.0.91/lisp/org/org-entities /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/org-num hides /usr= /local/share/emacs/27.0.91/lisp/org/org-num /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/org-pcomplete hide= s /usr/local/share/emacs/27.0.91/lisp/org/org-pcomplete /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/org-crypt hides /u= sr/local/share/emacs/27.0.91/lisp/org/org-crypt /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/org-agenda hides /= usr/local/share/emacs/27.0.91/lisp/org/org-agenda /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ob-groovy hides /u= sr/local/share/emacs/27.0.91/lisp/org/ob-groovy /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/org-keys hides /us= r/local/share/emacs/27.0.91/lisp/org/org-keys /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ol-gnus hides /usr= /local/share/emacs/27.0.91/lisp/org/ol-gnus /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/org-tempo hides /u= sr/local/share/emacs/27.0.91/lisp/org/org-tempo /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ob-table hides /us= r/local/share/emacs/27.0.91/lisp/org/ob-table /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ox-latex hides /us= r/local/share/emacs/27.0.91/lisp/org/ox-latex /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/org-element hides = /usr/local/share/emacs/27.0.91/lisp/org/org-element /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ob-comint hides /u= sr/local/share/emacs/27.0.91/lisp/org/ob-comint /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/org-goto hides /us= r/local/share/emacs/27.0.91/lisp/org/org-goto /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ob-octave hides /u= sr/local/share/emacs/27.0.91/lisp/org/ob-octave /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ob-plantuml hides = /usr/local/share/emacs/27.0.91/lisp/org/ob-plantuml /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ox-beamer hides /u= sr/local/share/emacs/27.0.91/lisp/org/ox-beamer /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ol-eww hides /usr/= local/share/emacs/27.0.91/lisp/org/ol-eww /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/org-lint hides /us= r/local/share/emacs/27.0.91/lisp/org/org-lint /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/org-macs hides /us= r/local/share/emacs/27.0.91/lisp/org/org-macs /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ob-shell hides /us= r/local/share/emacs/27.0.91/lisp/org/ob-shell /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ob-processing hide= s /usr/local/share/emacs/27.0.91/lisp/org/ob-processing /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ol-bbdb hides /usr= /local/share/emacs/27.0.91/lisp/org/ol-bbdb /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/org-indent hides /= usr/local/share/emacs/27.0.91/lisp/org/org-indent /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/org-habit hides /u= sr/local/share/emacs/27.0.91/lisp/org/org-habit /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ob-ebnf hides /usr= /local/share/emacs/27.0.91/lisp/org/ob-ebnf /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ol-eshell hides /u= sr/local/share/emacs/27.0.91/lisp/org/ol-eshell /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ob-gnuplot hides /= usr/local/share/emacs/27.0.91/lisp/org/ob-gnuplot /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ox-ascii hides /us= r/local/share/emacs/27.0.91/lisp/org/ox-ascii /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ob-haskell hides /= usr/local/share/emacs/27.0.91/lisp/org/ob-haskell /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ox-icalendar hides= /usr/local/share/emacs/27.0.91/lisp/org/ox-icalendar /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/org-capture hides = /usr/local/share/emacs/27.0.91/lisp/org/org-capture /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ob-org hides /usr/= local/share/emacs/27.0.91/lisp/org/ob-org /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/org-feed hides /us= r/local/share/emacs/27.0.91/lisp/org/org-feed /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/org-datetree hides= /usr/local/share/emacs/27.0.91/lisp/org/org-datetree /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/org-src hides /usr= /local/share/emacs/27.0.91/lisp/org/org-src /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/org-mouse hides /u= sr/local/share/emacs/27.0.91/lisp/org/org-mouse /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ob-coq hides /usr/= local/share/emacs/27.0.91/lisp/org/ob-coq /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ob-ruby hides /usr= /local/share/emacs/27.0.91/lisp/org/ob-ruby /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ob-R hides /usr/lo= cal/share/emacs/27.0.91/lisp/org/ob-R /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ob-awk hides /usr/= local/share/emacs/27.0.91/lisp/org/ob-awk /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ol-info hides /usr= /local/share/emacs/27.0.91/lisp/org/ol-info /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ob-sed hides /usr/= local/share/emacs/27.0.91/lisp/org/ob-sed /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ob-core hides /usr= /local/share/emacs/27.0.91/lisp/org/ob-core /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ob-lob hides /usr/= local/share/emacs/27.0.91/lisp/org/ob-lob /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ob-emacs-lisp hide= s /usr/local/share/emacs/27.0.91/lisp/org/ob-emacs-lisp /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ob-calc hides /usr= /local/share/emacs/27.0.91/lisp/org/ob-calc /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ol hides /usr/loca= l/share/emacs/27.0.91/lisp/org/ol /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ox hides /usr/loca= l/share/emacs/27.0.91/lisp/org/ox /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/org-footnote hides= /usr/local/share/emacs/27.0.91/lisp/org/org-footnote /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ob-ref hides /usr/= local/share/emacs/27.0.91/lisp/org/ob-ref /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/org-id hides /usr/= local/share/emacs/27.0.91/lisp/org/org-id /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ol-rmail hides /us= r/local/share/emacs/27.0.91/lisp/org/ol-rmail /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/org-faces hides /u= sr/local/share/emacs/27.0.91/lisp/org/org-faces /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ob-vala hides /usr= /local/share/emacs/27.0.91/lisp/org/ob-vala /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ob-ditaa hides /us= r/local/share/emacs/27.0.91/lisp/org/ob-ditaa /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ob-fortran hides /= usr/local/share/emacs/27.0.91/lisp/org/ob-fortran /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ob-js hides /usr/l= ocal/share/emacs/27.0.91/lisp/org/ob-js /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ob hides /usr/loca= l/share/emacs/27.0.91/lisp/org/ob /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/org-colview hides = /usr/local/share/emacs/27.0.91/lisp/org/org-colview /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ol-irc hides /usr/= local/share/emacs/27.0.91/lisp/org/ol-irc /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ob-css hides /usr/= local/share/emacs/27.0.91/lisp/org/ob-css /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ob-ledger hides /u= sr/local/share/emacs/27.0.91/lisp/org/ob-ledger /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ob-makefile hides = /usr/local/share/emacs/27.0.91/lisp/org/ob-makefile /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ob-forth hides /us= r/local/share/emacs/27.0.91/lisp/org/ob-forth /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ob-ocaml hides /us= r/local/share/emacs/27.0.91/lisp/org/ob-ocaml /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ob-sql hides /usr/= local/share/emacs/27.0.91/lisp/org/ob-sql /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/org-ctags hides /u= sr/local/share/emacs/27.0.91/lisp/org/org-ctags /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/org-macro hides /u= sr/local/share/emacs/27.0.91/lisp/org/org-macro /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ob-picolisp hides = /usr/local/share/emacs/27.0.91/lisp/org/ob-picolisp /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/org-protocol hides= /usr/local/share/emacs/27.0.91/lisp/org/org-protocol /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/org-duration hides= /usr/local/share/emacs/27.0.91/lisp/org/org-duration /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ob-io hides /usr/l= ocal/share/emacs/27.0.91/lisp/org/ob-io /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ob-perl hides /usr= /local/share/emacs/27.0.91/lisp/org/ob-perl /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/org-timer hides /u= sr/local/share/emacs/27.0.91/lisp/org/org-timer /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/org-install hides = /usr/local/share/emacs/27.0.91/lisp/org/org-install /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/org-compat hides /= usr/local/share/emacs/27.0.91/lisp/org/org-compat /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ob-dot hides /usr/= local/share/emacs/27.0.91/lisp/org/ob-dot /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/org-version hides = /usr/local/share/emacs/27.0.91/lisp/org/org-version /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ob-scheme hides /u= sr/local/share/emacs/27.0.91/lisp/org/ob-scheme /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ob-python hides /u= sr/local/share/emacs/27.0.91/lisp/org/ob-python /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/org-mobile hides /= usr/local/share/emacs/27.0.91/lisp/org/org-mobile /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ob-abc hides /usr/= local/share/emacs/27.0.91/lisp/org/ob-abc /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/org-loaddefs hides= /usr/local/share/emacs/27.0.91/lisp/org/org-loaddefs /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ob-asymptote hides= /usr/local/share/emacs/27.0.91/lisp/org/ob-asymptote /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ox-md hides /usr/l= ocal/share/emacs/27.0.91/lisp/org/ox-md /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/org hides /usr/loc= al/share/emacs/27.0.91/lisp/org/org /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ob-C hides /usr/lo= cal/share/emacs/27.0.91/lisp/org/ob-C /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/org-archive hides = /usr/local/share/emacs/27.0.91/lisp/org/org-archive /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ol-bibtex hides /u= sr/local/share/emacs/27.0.91/lisp/org/ol-bibtex /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ob-mscgen hides /u= sr/local/share/emacs/27.0.91/lisp/org/ob-mscgen /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ox-texinfo hides /= usr/local/share/emacs/27.0.91/lisp/org/ox-texinfo /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ol-docview hides /= usr/local/share/emacs/27.0.91/lisp/org/ol-docview /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/org-attach-git hid= es /usr/local/share/emacs/27.0.91/lisp/org/org-attach-git /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/org-clock hides /u= sr/local/share/emacs/27.0.91/lisp/org/org-clock /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/org-plot hides /us= r/local/share/emacs/27.0.91/lisp/org/org-plot /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ol-mhe hides /usr/= local/share/emacs/27.0.91/lisp/org/ol-mhe /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ob-clojure hides /= usr/local/share/emacs/27.0.91/lisp/org/ob-clojure /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ob-exp hides /usr/= local/share/emacs/27.0.91/lisp/org/ob-exp /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/org-attach hides /= usr/local/share/emacs/27.0.91/lisp/org/org-attach /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ob-lilypond hides = /usr/local/share/emacs/27.0.91/lisp/org/ob-lilypond /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ox-html hides /usr= /local/share/emacs/27.0.91/lisp/org/ox-html /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ox-org hides /usr/= local/share/emacs/27.0.91/lisp/org/ox-org /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ob-eval hides /usr= /local/share/emacs/27.0.91/lisp/org/ob-eval /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ob-hledger hides /= usr/local/share/emacs/27.0.91/lisp/org/ob-hledger /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ob-latex hides /us= r/local/share/emacs/27.0.91/lisp/org/ob-latex /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/org-list hides /us= r/local/share/emacs/27.0.91/lisp/org/org-list /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ob-sqlite hides /u= sr/local/share/emacs/27.0.91/lisp/org/ob-sqlite /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ob-matlab hides /u= sr/local/share/emacs/27.0.91/lisp/org/ob-matlab /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ob-stan hides /usr= /local/share/emacs/27.0.91/lisp/org/ob-stan /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ob-J hides /usr/lo= cal/share/emacs/27.0.91/lisp/org/ob-J /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ox-odt hides /usr/= local/share/emacs/27.0.91/lisp/org/ox-odt /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/org-table hides /u= sr/local/share/emacs/27.0.91/lisp/org/org-table /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/org-inlinetask hid= es /usr/local/share/emacs/27.0.91/lisp/org/org-inlinetask /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ob-sass hides /usr= /local/share/emacs/27.0.91/lisp/org/ob-sass /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ob-shen hides /usr= /local/share/emacs/27.0.91/lisp/org/ob-shen /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ox-publish hides /= usr/local/share/emacs/27.0.91/lisp/org/ox-publish /home/jorge/.config/emacs/elpa/org-plus-contrib-20200706/ob-java hides /usr= /local/share/emacs/27.0.91/lisp/org/ob-java Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs format-spec rfc822 mml mml-sec epa derived epg epg-config gnus-util rmail rmail-loaddefs text-property-search time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils flyspell misearch multi-isearch ispell thingatpt help-fns radix-tree help-mode cus-edit wid-edit cus-start cus-load gnu-elpa-features info package easymenu browse-url url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 99137 7272) (symbols 48 10801 1) (strings 32 32118 2261) (string-bytes 1 1224434) (vectors 16 15006) (vector-slots 8 183732 9414) (floats 8 37 19) (intervals 56 274 0) (buffers 1000 16)) --=20 - - If an email of mine arrives at your spam box, please notify me. - Please adopt free/libre formats like PDF, ODF, Org, LaTeX, Opus, WebM and= 7z. - Free/libre software for Replicant, LineageOS and Android: https://f-droid= .org - [[https://www.gnu.org/philosophy/free-sw.html][What is free software?]] From unknown Sun Jun 22 00:52:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#42248: 27.0.91; With enchant-2.2.8 from Guix, Flyspell errors out or gives lots of false positives Resent-From: Jorge P. de Morais Neto Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 20 Aug 2020 01:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42248 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Kangas Cc: 42248@debbugs.gnu.org Received: via spool by 42248-submit@debbugs.gnu.org id=B42248.15978873405276 (code B ref 42248); Thu, 20 Aug 2020 01:36:02 +0000 Received: (at 42248) by debbugs.gnu.org; 20 Aug 2020 01:35:40 +0000 Received: from localhost ([127.0.0.1]:41354 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k8ZUS-0001N2-7E for submit@debbugs.gnu.org; Wed, 19 Aug 2020 21:35:40 -0400 Received: from knopi.disroot.org ([178.21.23.139]:37302) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k8ZUM-0001Mn-KE for 42248@debbugs.gnu.org; Wed, 19 Aug 2020 21:35:38 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id D2822529BC; Thu, 20 Aug 2020 03:35:32 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1MEIEQEv4HEt; Thu, 20 Aug 2020 03:35:31 +0200 (CEST) From: Jorge P. de Morais Neto DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1597887331; bh=tu8v45dOVCRR3AiijQYv14/M/LNZspQNWVZqbUhIbDw=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=OSIvvXkRgaAclD6+zvuf+QIRvMibM81mcoGxuE3mso/hQ/iOVQnMo/tPC2vr6JE1n b65GWILGYezXHQWpz3ZnbPeT8G3nB8jRN7cvev7wjUA9cuItsHrnyxzW7KMjnXA8Hz rrdw5I3W6c9zkk2FugndDNHdpco7me3MpuSwM62CazLlTZVEG4CQQ/wJmrTwU8rLNI IjFvmLooBqS822qsY1mOZAbipzN6stZHROF9k80ThIQvHsuoxgWNGpQZ19qwnoI3vv c9+HAPXHYF276NL+oY3tT3rRzLgpfpGNGWixpMGtiS27p70hPROXvUSbvXEe8hIeDx 7GHxDBdPyebWA== In-Reply-To: References: <878sfvwbr0.fsf@disroot.org> Date: Wed, 19 Aug 2020 22:35:19 -0300 Message-ID: <87mu2qyu94.fsf@disroot.org> Mime-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Em [2020-08-19 qua 17:13:23-0700], Stefan Kangas escreveu: > I can reproduce this, but most details in the long recipe you gave don't > matter at all AFAICT. Here's a minimal recipe: Yes, I now realize I was wordy. Thank you for the correction. > Here, "doesn't" gives the wrong result, but not the number "2015". Yes. I don't remember how exactly I got a false positive on "2015", but I tried your trimmed recipe and here too there is no false positive on "2015" with flyspell-mode. There is, however, a false positive with ispell-buffer. Should I open a new bug report? The recipe: 0. emacs -Q 1. Evaluate (progn (setq ispell-program-name "enchant-2") (ispell-change-dictionary "en_US") (insert "doesn't 2015") (ispell-buffer)) Best regards -- - - I am Brazilian. I hope my English is correct and I welcome feedback. - Free Software Supporter: - If an email of mine arrives at your spam box, please notify me. From unknown Sun Jun 22 00:52:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#42248: 27.0.91; With enchant-2.2.8 from Guix, Flyspell errors out or gives lots of false positives Resent-From: Jorge P. de Morais Neto Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 20 Aug 2020 01:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42248 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Kangas Cc: 42248@debbugs.gnu.org Received: via spool by 42248-submit@debbugs.gnu.org id=B42248.15978886087122 (code B ref 42248); Thu, 20 Aug 2020 01:57:02 +0000 Received: (at 42248) by debbugs.gnu.org; 20 Aug 2020 01:56:48 +0000 Received: from localhost ([127.0.0.1]:41382 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k8Zot-0001qo-L3 for submit@debbugs.gnu.org; Wed, 19 Aug 2020 21:56:47 -0400 Received: from knopi.disroot.org ([178.21.23.139]:47286) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k8Zon-0001qa-EL for 42248@debbugs.gnu.org; Wed, 19 Aug 2020 21:56:46 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id B3C2352993; Thu, 20 Aug 2020 03:56:39 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8WCeXpOKnW_M; Thu, 20 Aug 2020 03:56:38 +0200 (CEST) From: Jorge P. de Morais Neto DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1597888598; bh=STF2qLUaFDq9irManOJEXh1G5Zy2MHgl7w8l0TBfkRw=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=WwUSQ7V318oHDJDhNJ75K1dPLC1txdOom2o8LRoD5bLRQLX8qriH6IrLXe4tUH8yL hzhpI1h5Q9etO7QUvLQtzNveaE8AhiWU110ynuObefu985wZk7flPUUgIMbPZVPoZf mbNY+BAwJnpirzkP+Ga95o7/t4XmONvVriV5laJy7izRFsMzPyCnb9q9vU00Zh8w+G aXahQjdQ8mjYO6y8ggEZYpNrlj9y7j4nlAtUJAJw0L3zjtM3RfVcbMuchaABWDr0/X lAvqL+s12JtqiAmy1y/udloKzXWk+urDFJN+cqr35ZzMc0Xq4xxEv1Msf3iJM1bRxr kDHNK0s4lDOGA== In-Reply-To: <87mu2qyu94.fsf@disroot.org> References: <878sfvwbr0.fsf@disroot.org> <87mu2qyu94.fsf@disroot.org> Date: Wed, 19 Aug 2020 22:56:34 -0300 Message-ID: <87k0xuyt9p.fsf@disroot.org> Mime-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) I forgot to add that the problem also occurs with pt_BR. Recipe: 0. emacs -Q 1. Evaluate on a throw-away buffer: (progn (setq ispell-program-name "enchant-2") (ispell-change-dictionary "pt_BR") (erase-buffer) (insert "Casa 42") (ispell-buffer)) Best regards -- - - If an email of mine arrives at your spam box, please notify me. - Please adopt free/libre formats like PDF, ODF, Org, LaTeX, Opus, WebM and 7z. - Free/libre software for Replicant, LineageOS and Android: https://f-droid.org - [[https://www.gnu.org/philosophy/free-sw.html][What is free software?]] From unknown Sun Jun 22 00:52:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#42248: 27.0.91; With enchant-2.2.8 from Guix, Flyspell errors out or gives lots of false positives Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 20 Aug 2020 13:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42248 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Jorge P. de Morais Neto Cc: 42248@debbugs.gnu.org, stefan@marxist.se Received: via spool by 42248-submit@debbugs.gnu.org id=B42248.159792949924855 (code B ref 42248); Thu, 20 Aug 2020 13:19:02 +0000 Received: (at 42248) by debbugs.gnu.org; 20 Aug 2020 13:18:19 +0000 Received: from localhost ([127.0.0.1]:41924 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k8kSR-0006Sp-5f for submit@debbugs.gnu.org; Thu, 20 Aug 2020 09:18:19 -0400 Received: from eggs.gnu.org ([209.51.188.92]:51972) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k8kSP-0006Sc-9k for 42248@debbugs.gnu.org; Thu, 20 Aug 2020 09:18:18 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:40636) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k8kSI-000086-V7; Thu, 20 Aug 2020 09:18:10 -0400 Received: from [176.228.60.248] (port=4906 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1k8kSI-00031r-2h; Thu, 20 Aug 2020 09:18:10 -0400 Date: Thu, 20 Aug 2020 16:18:01 +0300 Message-Id: <83k0xtcv7a.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87mu2qyu94.fsf@disroot.org> (message from Jorge P. de Morais Neto on Wed, 19 Aug 2020 22:35:19 -0300) References: <878sfvwbr0.fsf@disroot.org> <87mu2qyu94.fsf@disroot.org> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Jorge P. de Morais Neto > Date: Wed, 19 Aug 2020 22:35:19 -0300 > Cc: 42248@debbugs.gnu.org > > > Here, "doesn't" gives the wrong result, but not the number "2015". > > Yes. I don't remember how exactly I got a false positive on "2015", but I > tried your trimmed recipe and here too there is no false positive on > "2015" with flyspell-mode. There is, however, a false positive with > ispell-buffer. Should I open a new bug report? > > The recipe: > > 0. emacs -Q > 1. Evaluate > (progn > (setq ispell-program-name "enchant-2") > (ispell-change-dictionary "en_US") > (insert "doesn't 2015") > (ispell-buffer)) Do you see the same problem when you invoke Enchant from the shell prompt? The examples you provided all work fine for me, although not with Enchant, so I'm inclined to think this is an Enchant problem. Or maybe they modified the interface, making it no longer compatible with ispell.el. In the latter case, someone with access to Enchant will have to tell us how to modify ispell.el to adapt to the Enchant changes. The error message shown in your original report seems to indicate that our invocation of Enchant is somehow incorrect, but there isn't enough information there to understand what is incorrect and how to fix that. Thanks. From unknown Sun Jun 22 00:52:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#42248: 27.0.91; With enchant-2.2.8 from Guix, Flyspell errors out or gives lots of false positives Resent-From: Jorge P. de Morais Neto Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 20 Aug 2020 15:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42248 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 42248@debbugs.gnu.org, stefan@marxist.se Received: via spool by 42248-submit@debbugs.gnu.org id=B42248.15979377852332 (code B ref 42248); Thu, 20 Aug 2020 15:37:02 +0000 Received: (at 42248) by debbugs.gnu.org; 20 Aug 2020 15:36:25 +0000 Received: from localhost ([127.0.0.1]:43581 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k8mc4-0000bY-EJ for submit@debbugs.gnu.org; Thu, 20 Aug 2020 11:36:25 -0400 Received: from knopi.disroot.org ([178.21.23.139]:47718) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k8mc1-0000bO-V5 for 42248@debbugs.gnu.org; Thu, 20 Aug 2020 11:36:23 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 5EF78529C7; Thu, 20 Aug 2020 17:36:20 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VG-PuxKdWwU4; Thu, 20 Aug 2020 17:36:17 +0200 (CEST) From: Jorge P. de Morais Neto DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1597937775; bh=R3xOHoT19C05VZAFgu6abZQe7g1hEFlZ1PkfW0Y3878=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=mIiHSs2DHel59P7J7JYUrOqAGHM0Shd2N5xWn+eROn2x0kErNg9BDAGsDNCjuxlJh DJ16kMQGJ+QW23Bp1E3d5wbITvkw9CkMivqzkxWNjnmXn2jmGEjyqDWbmOAvys83EX 68ac7eCNSUMEvJ1xIrwjw+GjDRzc8TEUX2a5vOIWXRIbiOYhl74drZmSfF3/DMGFZd JDwkL8+Re9Tlp+fjkkK3iNU5txPXuq6Hsd/Vyvxcu8IaW595BM61f+Aa8nKcCsWJ0R JxkLp4/Hvn8kOSMdaQqSL+vHO4mkeINGZ73TMnf9a9w2QjwqMu3CLRX+nGdOlMgemP W8jQBxbw5w0IA== In-Reply-To: <83k0xtcv7a.fsf@gnu.org> References: <878sfvwbr0.fsf@disroot.org> <87mu2qyu94.fsf@disroot.org> <83k0xtcv7a.fsf@gnu.org> Date: Thu, 20 Aug 2020 12:36:01 -0300 Message-ID: <87eeo1z5we.fsf@disroot.org> Mime-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Em [2020-08-20 qui 16:18:01+0300], Eli Zaretskii escreveu: > Do you see the same problem when you invoke Enchant from the shell > prompt? Yes, enchant-2 on the command line misreports numbers: $ enchant-2 -d en_US -l /tmp/enchant-test.txt 2015 Casa 42 $ enchant-2 -d pt_BR -l /tmp/enchant-test.txt doesn't 2015 42 The file /tmp/enchant-test.txt: --8<---------------cut here---------------start------------->8--- doesn't 2015 Casa 42 --8<---------------cut here---------------end--------------->8--- > The examples you provided all work fine for me, although not with > Enchant, so I'm inclined to think this is an Enchant problem. Or > maybe they modified the interface, making it no longer compatible with > ispell.el. In the latter case, someone with access to Enchant will > have to tell us how to modify ispell.el to adapt to the Enchant > changes. > > The error message shown in your original report seems to indicate that > our invocation of Enchant is somehow incorrect, but there isn't enough > information there to understand what is incorrect and how to fix that. I should have given you the value of ispell-dictionary-alist. Sorry. This time I will. So, after executing the following recipe: 1. emacs -Q 2. Evaluate: (progn (setq ispell-program-name "enchant-2") (ispell-change-dictionary "en_US") (insert "doesn't 2015") (ispell-buffer)) Then invoking C-h v ispell-dictionary-alist displays the following value: --8<---------------cut here---------------start------------->8--- ((nil "[[:alpha:]]" "[^[:alpha:]]" #1="" t nil nil utf-8) ("pt_BR" #2="[[:alpha:]]" #3="[^[:alpha:]]" #1# t nil nil utf-8) ("en_GB" #2# #3# #1# t nil nil utf-8) ("en_AU" #2# #3# #1# t nil nil utf-8) ("en_US" #2# #3# #1# t nil nil utf-8) ("en" #2# #3# #1# t nil nil utf-8) ("en_CA" #2# #3# #1# t nil nil utf-8) ("" #2# #3# #1# t nil nil utf-8) ("american" "[A-Za-z]" "[^A-Za-z]" "[']" nil ("-B" #4="-d" "en_US") nil utf-8) ("brasileiro" "[A-Z\301\311\315\323\332\300\310\314\322\331\303\325\307\334\302\312\324a-z\341\351\355\363\372\340\350\354\362\371\343\365\347\374\342\352\364]" "[^A-Z\301\311\315\323\332\300\310\314\322\331\303\325\307\334\302\312\324a-z\341\351\355\363\372\340\350\354\362\371\343\365\347\374\342\352\364]" "[']" nil nil nil utf-8) ("british" "[A-Za-z]" "[^A-Za-z]" "[']" nil ("-B" #4# "en_GB") nil utf-8) ("castellano" "[A-Z\301\311\315\321\323\332\334a-z\341\351\355\361\363\372\374]" "[^A-Z\301\311\315\321\323\332\334a-z\341\351\355\361\363\372\374]" "[-]" nil ("-B" #4# "es_ES") "~tex" utf-8) ("castellano8" "[A-Z\301\311\315\321\323\332\334a-z\341\351\355\361\363\372\374]" "[^A-Z\301\311\315\321\323\332\334a-z\341\351\355\361\363\372\374]" "[-]" nil ("-B" "-d" "castellano") "~latin1" utf-8) ("czech" "[A-Za-z\301\311\314\315\323\332\331\335\256\251\310\330\317\253\322\341\351\354\355\363\372\371\375\276\271\350\370\357\273\362]" "[^A-Za-z\301\311\314\315\323\332\331\335\256\251\310\330\317\253\322\341\351\354\355\363\372\371\375\276\271\350\370\357\273\362]" #1# nil ("-B" #4# "cs_CZ") nil utf-8) ("dansk" "[A-Z\306\330\305a-z\346\370\345]" "[^A-Z\306\330\305a-z\346\370\345]" "[']" nil ("-C" #4# "da_DK") nil utf-8) ("deutsch" "[a-zA-Z\"]" "[^a-zA-Z\"]" "[']" t ("-C" #4# "de_DE") "~tex" utf-8) ("deutsch8" "[a-zA-Z\304\326\334\344\366\337\374]" "[^a-zA-Z\304\326\334\344\366\337\374]" "[']" t ("-C" "-d" "deutsch") "~latin1" utf-8) ("english" "[A-Za-z]" "[^A-Za-z]" "[']" nil ("-B" #4# "en_US") nil utf-8) ("esperanto" "[A-Za-z\246\254\266\274\306\330\335\336\346\370\375\376]" "[^A-Za-z\246\254\266\274\306\330\335\336\346\370\375\376]" "[-']" t ("-C" #4# "eo") "~latin3" utf-8) ("esperanto-tex" "[A-Za-z^\\]" "[^A-Za-z^\\]" "[-'`\"]" t ("-C" "-d" "esperanto") "~tex" utf-8) ("finnish" "[A-Za-z\345\344\366\305\304\326]" "[^A-Za-z\345\344\366\305\304\326]" "[:]" nil ("-C" #4# "fi_FI") "~list" utf-8) ("francais7" "[A-Za-z]" "[^A-Za-z]" "[`'^-]" t nil nil utf-8) ("francais" "[A-Za-z\300\302\306\307\310\311\312\313\316\317\324\331\333\334\340\342\347\350\351\352\353\356\357\364\371\373\374]" "[^A-Za-z\300\302\306\307\310\311\312\313\316\317\324\331\333\334\340\342\347\350\351\352\353\356\357\364\371\373\374]" "[-'.@]" t nil "~list" utf-8) ("francais-tex" "[A-Za-z\300\302\306\307\310\311\312\313\316\317\324\331\333\334\340\342\347\350\351\352\353\356\357\364\371\373\374\\]" "[^A-Za-z\300\302\306\307\310\311\312\313\316\317\324\331\333\334\340\342\347\350\351\352\353\356\357\364\371\373\374\\]" "[-'^`\".@]" t nil "~tex" utf-8) ("german" "[a-zA-Z\"]" "[^a-zA-Z\"]" "[']" t ("-C" #4# "de_DE") "~tex" utf-8) ("german8" "[a-zA-Z\304\326\334\344\366\337\374]" "[^a-zA-Z\304\326\334\344\366\337\374]" "[']" t ("-C" "-d" "german") "~latin1" utf-8) ("italiano" "[A-Z\300\301\310\311\314\315\322\323\331\332a-z\340\341\350\351\354\355\363\371\372]" "[^A-Z\300\301\310\311\314\315\322\323\331\332a-z\340\341\350\351\354\355\363\371\372]" "[-.]" nil ("-B" "-d" "italian") "~tex" utf-8) ("nederlands" "[A-Za-z\300\301\302\303\304\305\307\310\311\312\313\314\315\316\317\322\323\324\325\326\331\332\333\334\340\341\342\343\344\345\347\350\351\352\353\354\355\356\357\361\362\363\364\365\366\371\372\373\374]" "[^A-Za-z\300\301\302\303\304\305\307\310\311\312\313\314\315\316\317\322\323\324\325\326\331\332\333\334\340\341\342\343\344\345\347\350\351\352\353\354\355\356\357\361\362\363\364\365\366\371\372\373\374]" "[']" t ("-C" #4# "nl_NL") nil utf-8) ("nederlands8" "[A-Za-z\300\301\302\303\304\305\307\310\311\312\313\314\315\316\317\322\323\324\325\326\331\332\333\334\340\341\342\343\344\345\347\350\351\352\353\354\355\356\357\361\362\363\364\365\366\371\372\373\374]" "[^A-Za-z\300\301\302\303\304\305\307\310\311\312\313\314\315\316\317\322\323\324\325\326\331\332\333\334\340\341\342\343\344\345\347\350\351\352\353\354\355\356\357\361\362\363\364\365\366\371\372\373\374]" "[']" t ("-C" #4# "nl_NL") nil utf-8) ("norsk" "[A-Za-z\305\306\307\310\311\322\324\330\345\346\347\350\351\362\364\370]" "[^A-Za-z\305\306\307\310\311\322\324\330\345\346\347\350\351\362\364\370]" "[\"]" nil nil "~list" utf-8) ("norsk7-tex" "[A-Za-z{}\\'^`]" "[^A-Za-z{}\\'^`]" "[\"]" nil ("-d" "norsk") "~plaintex" utf-8) ("polish" "[A-Za-z\241\243\246\254\257\261\263\266\274\277\306\312\321\323\346\352\361\363]" "[^A-Za-z\241\243\246\254\257\261\263\266\274\277\306\312\321\323\346\352\361\363]" "[.]" nil nil nil utf-8) ("portugues" "[a-zA-Z\301\302\307\311\323\340\341\342\351\352\355\363\343\347\372]" "[^a-zA-Z\301\302\307\311\323\340\341\342\351\352\355\363\343\347\372]" "[']" t ("-C" #4# "pt_PT") "~latin1" utf-8) ("russian" "[\341\342\367\347\344\345\263\366\372\351\352\353\354\355\356\357\360\362\363\364\365\346\350\343\376\373\375\370\371\377\374\340\361\301\302\327\307\304\305\243\326\332\311\312\313\314\315\316\317\320\322\323\324\325\306\310\303\336\333\335\330\331\337\334\300\321]" "[^\341\342\367\347\344\345\263\366\372\351\352\353\354\355\356\357\360\362\363\364\365\346\350\343\376\373\375\370\371\377\374\340\361\301\302\327\307\304\305\243\326\332\311\312\313\314\315\316\317\320\322\323\324\325\306\310\303\336\333\335\330\331\337\334\300\321]" #1# nil nil nil utf-8) ("russianw" "[\300\301\302\303\304\305\250\306\307\310\311\312\313\314\315\316\317\320\321\322\323\324\325\326\327\330\331\334\333\332\335\336\337\340\341\342\343\344\345\270\346\347\350\351\352\353\354\355\356\357\360\361\362\363\364\365\366\367\370\371\374\373\372\375\376\377]" "[^\300\301\302\303\304\305\250\306\307\310\311\312\313\314\315\316\317\320\321\322\323\324\325\326\327\330\331\334\333\332\335\336\337\340\341\342\343\344\345\270\346\347\350\351\352\353\354\355\356\357\360\361\362\363\364\365\366\367\370\371\374\373\372\375\376\377]" #1# nil nil nil utf-8) ("slovak" "[A-Za-z\301\304\311\315\323\332\324\300\305\245\335\256\251\310\317\253\322\341\344\351\355\363\372\364\340\345\265\375\276\271\350\357\273\362]" "[^A-Za-z\301\304\311\315\323\332\324\300\305\245\335\256\251\310\317\253\322\341\344\351\355\363\372\364\340\345\265\375\276\271\350\357\273\362]" #1# nil ("-B" #4# "sk_SK") nil utf-8) ("slovenian" "[A-Za-z\301\304\311\315\323\332\324\300\305\245\335\256\251\310\317\253\322\341\344\351\355\363\372\364\340\345\265\375\276\271\350\357\273\362]" "[^A-Za-z\301\304\311\315\323\332\324\300\305\245\335\256\251\310\317\253\322\341\344\351\355\363\372\364\340\345\265\375\276\271\350\357\273\362]" #1# nil ("-B" "-d" "slovenian") nil utf-8) ("svenska" "[A-Za-z\345\344\366\351\340\374\350\346\370\347\305\304\326\311\300\334\310\306\330\307]" "[^A-Za-z\345\344\366\351\340\374\350\346\370\347\305\304\326\311\300\334\310\306\330\307]" "[']" nil ("-C" #4# "sv_SE") "~list" utf-8) ("hebrew" "[\340\341\342\343\344\345\346\347\350\351\353\352\354\356\355\360\357\361\362\364\363\367\366\365\370\371\372]" "[^\340\341\342\343\344\345\346\347\350\351\353\352\354\356\355\360\357\361\362\364\363\367\366\365\370\371\372]" #1# nil ("-B" #4# "he_IL") nil utf-8)) --8<---------------cut here---------------end--------------->8--- Therefore, the list for "american" specifies `("-B" #4="-d" "en_US")' as ISPELL-ARGS. However, enchant-2 does not take a "-B" flag: $ enchant-2 -B -d en_US /tmp/enchant-test.txt Usage: enchant-2 -a|-l|-h|-v [-L] [-d DICTIONARY] [FILE] -d DICTIONARY use the given dictionary -a list suggestions in ispell pipe mode format -l list only the misspellings -L display line numbers -h display help and exit -v display version information and exit $ enchant-2 -B -d en_US -l /tmp/enchant-test.txt Usage: enchant-2 -a|-l|-h|-v [-L] [-d DICTIONARY] [FILE] -d DICTIONARY use the given dictionary -a list suggestions in ispell pipe mode format -l list only the misspellings -L display line numbers -h display help and exit -v display version information and exit Also, the list for "en_US" specifies "" for OTHERCHARS, but, IIUC, it ought to be "[']" instead. In fact, I just apparently found a workaround for the Flyspell problem with contractions. 1. emacs -Q 2. Evaluate (progn (setq ispell-program-name "enchant-2") (ispell-change-dictionary "en_US") (setf (cadddr (assoc "en_US" ispell-dictionary-alist)) (cadddr (assoc "american" ispell-dictionary-alist))) (insert "doesn't 2015") (flyspell-buffer)) Unfortunately this workaround did not solve the problem of ispell-buffer misreporting with numbers. Anyway, I will test it for longer, then later I will report whether it really solved the Flyspell contraction problem. Regards -- - - I am Brazilian. I hope my English is correct and I welcome feedback. - - From unknown Sun Jun 22 00:52:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#42248: 27.0.91; With enchant-2.2.8 from Guix, Flyspell errors out or gives lots of false positives Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 20 Aug 2020 16:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42248 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Jorge P. de Morais Neto Cc: 42248@debbugs.gnu.org, stefan@marxist.se Received: via spool by 42248-submit@debbugs.gnu.org id=B42248.159793936913455 (code B ref 42248); Thu, 20 Aug 2020 16:03:02 +0000 Received: (at 42248) by debbugs.gnu.org; 20 Aug 2020 16:02:49 +0000 Received: from localhost ([127.0.0.1]:43639 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k8n1d-0003Ux-Iu for submit@debbugs.gnu.org; Thu, 20 Aug 2020 12:02:49 -0400 Received: from eggs.gnu.org ([209.51.188.92]:38722) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k8n1b-0003Pl-7S for 42248@debbugs.gnu.org; Thu, 20 Aug 2020 12:02:48 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:43138) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k8n1V-0005Lq-CC; Thu, 20 Aug 2020 12:02:41 -0400 Received: from [176.228.60.248] (port=3142 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1k8n1U-0003Xo-NX; Thu, 20 Aug 2020 12:02:41 -0400 Date: Thu, 20 Aug 2020 19:02:31 +0300 Message-Id: <83a6ypcnl4.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87eeo1z5we.fsf@disroot.org> (message from Jorge P. de Morais Neto on Thu, 20 Aug 2020 12:36:01 -0300) References: <878sfvwbr0.fsf@disroot.org> <87mu2qyu94.fsf@disroot.org> <83k0xtcv7a.fsf@gnu.org> <87eeo1z5we.fsf@disroot.org> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Jorge P. de Morais Neto > Cc: stefan@marxist.se, 42248@debbugs.gnu.org > Date: Thu, 20 Aug 2020 12:36:01 -0300 > > > Do you see the same problem when you invoke Enchant from the shell > > prompt? > > Yes, enchant-2 on the command line misreports numbers: > $ enchant-2 -d en_US -l /tmp/enchant-test.txt > 2015 > Casa > 42 > > $ enchant-2 -d pt_BR -l /tmp/enchant-test.txt > doesn't > 2015 > 42 Then I guess at least part of the problem is with Enchant (or the Aspell back-end it uses), and not with Emacs. > Therefore, the list for "american" specifies `("-B" #4="-d" "en_US")' as > ISPELL-ARGS. However, enchant-2 does not take a "-B" flag: > > $ enchant-2 -B -d en_US /tmp/enchant-test.txt > Usage: enchant-2 -a|-l|-h|-v [-L] [-d DICTIONARY] [FILE] > -d DICTIONARY use the given dictionary > -a list suggestions in ispell pipe mode format > -l list only the misspellings > -L display line numbers > -h display help and exit > -v display version information and exit So instead of ignoring -B, Enchant reports an error -- another incompatibility with Ispell, Aspell, and Hunspell. > > $ enchant-2 -B -d en_US -l /tmp/enchant-test.txt > Usage: enchant-2 -a|-l|-h|-v [-L] [-d DICTIONARY] [FILE] > -d DICTIONARY use the given dictionary > -a list suggestions in ispell pipe mode format > -l list only the misspellings > -L display line numbers > -h display help and exit > -v display version information and exit > > > 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"? From unknown Sun Jun 22 00:52:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#42248: 27.0.91; With enchant-2.2.8 from Guix, Flyspell errors out or gives lots of false positives Resent-From: Jorge P. de Morais Neto Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 20 Aug 2020 17:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42248 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 42248@debbugs.gnu.org, stefan@marxist.se Received: via spool by 42248-submit@debbugs.gnu.org id=B42248.159794584117568 (code B ref 42248); Thu, 20 Aug 2020 17:51:02 +0000 Received: (at 42248) by debbugs.gnu.org; 20 Aug 2020 17:50:41 +0000 Received: from localhost ([127.0.0.1]:43912 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k8oi1-0004ZI-A5 for submit@debbugs.gnu.org; Thu, 20 Aug 2020 13:50:41 -0400 Received: from knopi.disroot.org ([178.21.23.139]:50794) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k8ohz-0004Z9-6L for 42248@debbugs.gnu.org; Thu, 20 Aug 2020 13:50:40 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id D42E952A51; Thu, 20 Aug 2020 19:50:37 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with UTF8SMTP id XPs9AZfq3pWO; Thu, 20 Aug 2020 19:50:35 +0200 (CEST) From: Jorge P. de Morais Neto DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1597945751; bh=vskqK3yJ/CLOWs7MWHQUJnQ8vGrKCE4IX2eRdMacLP0=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=FDxnbKukpUoixpAIMRauYJUjnrSnbLsveQnKjouYOmdYT9FFcgtKuYVCq8HaU3yPL zVJGoXEksInnHYF1zBk1iJIAdyvmpn7Dpcobx9Ixxpkz/o1HoHau7ntV9XlEK3Euf2 XcNfdeuV5xD55NBrA7kgT5X+LF8U71s+EcVf7icOEw/Ct+R49qZUo+AH+jt6DUIQ5H uYSA2I2DEJ/0FhIEgIZGkSONBTmViZFEYHc3kpqbzz7DmJkHQC2XRSTuefBI80ofsK HCDwV2+MppHuDd+JXgIkb7chkF9ei9ZOzrQ0rvfBNjBZxYMKjhftynNdha9QST/M2p PubRaxCuwIO4w== In-Reply-To: <83a6ypcnl4.fsf@gnu.org> References: <878sfvwbr0.fsf@disroot.org> <87mu2qyu94.fsf@disroot.org> <83k0xtcv7a.fsf@gnu.org> <87eeo1z5we.fsf@disroot.org> <83a6ypcnl4.fsf@gnu.org> Date: Thu, 20 Aug 2020 14:49:01 -0300 Message-ID: <87sgchfbsi.fsf@disroot.org> Mime-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Em [2020-08-20 qui 19:02:31+0300], Eli Zaretskii escreveu: >> Yes, enchant-2 on the command line misreports numbers: >> $ enchant-2 -d en_US -l /tmp/enchant-test.txt >> 2015 >> Casa >> 42 >> >> $ enchant-2 -d pt_BR -l /tmp/enchant-test.txt >> doesn't >> 2015 >> 42 > > Then I guess at least part of the problem is with Enchant (or the > Aspell back-end it uses), and not with Emacs. And I now checked that enchant-2 from Debian testing does not misreport numbers. I will ask the Guix mailing list. >> 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) ("en_AU" #1# #2# "[0123456789]" t nil nil utf-8) ("pt_BR" #1# #2# "[0123456789]" t nil nil utf-8) ("en" #1# #2# "[0123456789]" t nil nil utf-8) ("" #1# #2# "[0123456789]" t nil nil utf-8) ("american" "[A-Za-z]" "[^A-Za-z]" "[']" nil ("-B" #3="-d" "en_US") nil utf-8) ("brasileiro" "[A-Z\301\311\315\323\332\300\310\314\322\331\303\325\307\334\302\312\324a-z\341\351\355\363\372\340\350\354\362\371\343\365\347\374\342\352\364]" "[^A-Z\301\311\315\323\332\300\310\314\322\331\303\325\307\334\302\312\324a-z\341\351\355\363\372\340\350\354\362\371\343\365\347\374\342\352\364]" "[']" nil nil nil utf-8) ("british" "[A-Za-z]" "[^A-Za-z]" "[']" nil ("-B" #3# "en_GB") nil utf-8) ("castellano" "[A-Z\301\311\315\321\323\332\334a-z\341\351\355\361\363\372\374]" "[^A-Z\301\311\315\321\323\332\334a-z\341\351\355\361\363\372\374]" "[-]" nil ("-B" #3# "es_ES") "~tex" utf-8) ("castellano8" "[A-Z\301\311\315\321\323\332\334a-z\341\351\355\361\363\372\374]" "[^A-Z\301\311\315\321\323\332\334a-z\341\351\355\361\363\372\374]" "[-]" nil ("-B" "-d" "castellano") "~latin1" utf-8) ("czech" "[A-Za-z\301\311\314\315\323\332\331\335\256\251\310\330\317\253\322\341\351\354\355\363\372\371\375\276\271\350\370\357\273\362]" "[^A-Za-z\301\311\314\315\323\332\331\335\256\251\310\330\317\253\322\341\351\354\355\363\372\371\375\276\271\350\370\357\273\362]" #4="" nil ("-B" #3# "cs_CZ") nil utf-8) ("dansk" "[A-Z\306\330\305a-z\346\370\345]" "[^A-Z\306\330\305a-z\346\370\345]" "[']" nil ("-C" #3# "da_DK") nil utf-8) ("deutsch" "[a-zA-Z\"]" "[^a-zA-Z\"]" "[']" t ("-C" #3# "de_DE") "~tex" utf-8) ("deutsch8" "[a-zA-Z\304\326\334\344\366\337\374]" "[^a-zA-Z\304\326\334\344\366\337\374]" "[']" t ("-C" "-d" "deutsch") "~latin1" utf-8) ("english" "[A-Za-z]" "[^A-Za-z]" "[']" nil ("-B" #3# "en_US") nil utf-8) ("esperanto" "[A-Za-z\246\254\266\274\306\330\335\336\346\370\375\376]" "[^A-Za-z\246\254\266\274\306\330\335\336\346\370\375\376]" "[-']" t ("-C" #3# "eo") "~latin3" utf-8) ("esperanto-tex" "[A-Za-z^\\]" "[^A-Za-z^\\]" "[-'`\"]" t ("-C" "-d" "esperanto") "~tex" utf-8) ("finnish" "[A-Za-z\345\344\366\305\304\326]" "[^A-Za-z\345\344\366\305\304\326]" "[:]" nil ("-C" #3# "fi_FI") "~list" utf-8) ("francais7" "[A-Za-z]" "[^A-Za-z]" "[`'^-]" t nil nil utf-8) ("francais" "[A-Za-z\300\302\306\307\310\311\312\313\316\317\324\331\333\334\340\342\347\350\351\352\353\356\357\364\371\373\374]" "[^A-Za-z\300\302\306\307\310\311\312\313\316\317\324\331\333\334\340\342\347\350\351\352\353\356\357\364\371\373\374]" "[-'.@]" t nil "~list" utf-8) ("francais-tex" "[A-Za-z\300\302\306\307\310\311\312\313\316\317\324\331\333\334\340\342\347\350\351\352\353\356\357\364\371\373\374\\]" "[^A-Za-z\300\302\306\307\310\311\312\313\316\317\324\331\333\334\340\342\347\350\351\352\353\356\357\364\371\373\374\\]" "[-'^`\".@]" t nil "~tex" utf-8) ("german" "[a-zA-Z\"]" "[^a-zA-Z\"]" "[']" t ("-C" #3# "de_DE") "~tex" utf-8) ("german8" "[a-zA-Z\304\326\334\344\366\337\374]" "[^a-zA-Z\304\326\334\344\366\337\374]" "[']" t ("-C" "-d" "german") "~latin1" utf-8) ("italiano" "[A-Z\300\301\310\311\314\315\322\323\331\332a-z\340\341\350\351\354\355\363\371\372]" "[^A-Z\300\301\310\311\314\315\322\323\331\332a-z\340\341\350\351\354\355\363\371\372]" "[-.]" nil ("-B" "-d" "italian") "~tex" utf-8) ("nederlands" "[A-Za-z\300\301\302\303\304\305\307\310\311\312\313\314\315\316\317\322\323\324\325\326\331\332\333\334\340\341\342\343\344\345\347\350\351\352\353\354\355\356\357\361\362\363\364\365\366\371\372\373\374]" "[^A-Za-z\300\301\302\303\304\305\307\310\311\312\313\314\315\316\317\322\323\324\325\326\331\332\333\334\340\341\342\343\344\345\347\350\351\352\353\354\355\356\357\361\362\363\364\365\366\371\372\373\374]" "[']" t ("-C" #3# "nl_NL") nil utf-8) ("nederlands8" "[A-Za-z\300\301\302\303\304\305\307\310\311\312\313\314\315\316\317\322\323\324\325\326\331\332\333\334\340\341\342\343\344\345\347\350\351\352\353\354\355\356\357\361\362\363\364\365\366\371\372\373\374]" "[^A-Za-z\300\301\302\303\304\305\307\310\311\312\313\314\315\316\317\322\323\324\325\326\331\332\333\334\340\341\342\343\344\345\347\350\351\352\353\354\355\356\357\361\362\363\364\365\366\371\372\373\374]" "[']" t ("-C" #3# "nl_NL") nil utf-8) ("norsk" "[A-Za-z\305\306\307\310\311\322\324\330\345\346\347\350\351\362\364\370]" "[^A-Za-z\305\306\307\310\311\322\324\330\345\346\347\350\351\362\364\370]" "[\"]" nil nil "~list" utf-8) ("norsk7-tex" "[A-Za-z{}\\'^`]" "[^A-Za-z{}\\'^`]" "[\"]" nil ("-d" "norsk") "~plaintex" utf-8) ("polish" "[A-Za-z\241\243\246\254\257\261\263\266\274\277\306\312\321\323\346\352\361\363]" "[^A-Za-z\241\243\246\254\257\261\263\266\274\277\306\312\321\323\346\352\361\363]" "[.]" nil nil nil utf-8) ("portugues" "[a-zA-Z\301\302\307\311\323\340\341\342\351\352\355\363\343\347\372]" "[^a-zA-Z\301\302\307\311\323\340\341\342\351\352\355\363\343\347\372]" "[']" t ("-C" #3# "pt_PT") "~latin1" utf-8) ("russian" "[\341\342\367\347\344\345\263\366\372\351\352\353\354\355\356\357\360\362\363\364\365\346\350\343\376\373\375\370\371\377\374\340\361\301\302\327\307\304\305\243\326\332\311\312\313\314\315\316\317\320\322\323\324\325\306\310\303\336\333\335\330\331\337\334\300\321]" "[^\341\342\367\347\344\345\263\366\372\351\352\353\354\355\356\357\360\362\363\364\365\346\350\343\376\373\375\370\371\377\374\340\361\301\302\327\307\304\305\243\326\332\311\312\313\314\315\316\317\320\322\323\324\325\306\310\303\336\333\335\330\331\337\334\300\321]" #4# nil nil nil utf-8) ("russianw" "[\300\301\302\303\304\305\250\306\307\310\311\312\313\314\315\316\317\320\321\322\323\324\325\326\327\330\331\334\333\332\335\336\337\340\341\342\343\344\345\270\346\347\350\351\352\353\354\355\356\357\360\361\362\363\364\365\366\367\370\371\374\373\372\375\376\377]" "[^\300\301\302\303\304\305\250\306\307\310\311\312\313\314\315\316\317\320\321\322\323\324\325\326\327\330\331\334\333\332\335\336\337\340\341\342\343\344\345\270\346\347\350\351\352\353\354\355\356\357\360\361\362\363\364\365\366\367\370\371\374\373\372\375\376\377]" #4# nil nil nil utf-8) ("slovak" "[A-Za-z\301\304\311\315\323\332\324\300\305\245\335\256\251\310\317\253\322\341\344\351\355\363\372\364\340\345\265\375\276\271\350\357\273\362]" "[^A-Za-z\301\304\311\315\323\332\324\300\305\245\335\256\251\310\317\253\322\341\344\351\355\363\372\364\340\345\265\375\276\271\350\357\273\362]" #4# nil ("-B" #3# "sk_SK") nil utf-8) ("slovenian" "[A-Za-z\301\304\311\315\323\332\324\300\305\245\335\256\251\310\317\253\322\341\344\351\355\363\372\364\340\345\265\375\276\271\350\357\273\362]" "[^A-Za-z\301\304\311\315\323\332\324\300\305\245\335\256\251\310\317\253\322\341\344\351\355\363\372\364\340\345\265\375\276\271\350\357\273\362]" #4# nil ("-B" "-d" "slovenian") nil utf-8) ("svenska" "[A-Za-z\345\344\366\351\340\374\350\346\370\347\305\304\326\311\300\334\310\306\330\307]" "[^A-Za-z\345\344\366\351\340\374\350\346\370\347\305\304\326\311\300\334\310\306\330\307]" "[']" nil ("-C" #3# "sv_SE") "~list" utf-8) ("hebrew" "[\340\341\342\343\344\345\346\347\350\351\353\352\354\356\355\360\357\361\362\364\363\367\366\365\370\371\372]" "[^\340\341\342\343\344\345\346\347\350\351\353\352\354\356\355\360\357\361\362\364\363\367\366\365\370\371\372]" #4# nil ("-B" #3# "he_IL") nil utf-8)) --8<---------------cut here---------------end--------------->8--- Best regards -- - - I am Brazilian. I hope my English is correct and I welcome feedback. - Free Software Supporter: - If an email of mine arrives at your spam box, please notify me. From unknown Sun Jun 22 00:52:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#42248: 27.0.91; With enchant-2.2.8 from Guix, Flyspell errors out or gives lots of false positives Resent-From: Jorge P. de Morais Neto Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 20 Aug 2020 17:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42248 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 42248@debbugs.gnu.org, stefan@marxist.se Received: via spool by 42248-submit@debbugs.gnu.org id=B42248.159794594017732 (code B ref 42248); Thu, 20 Aug 2020 17:53:02 +0000 Received: (at 42248) by debbugs.gnu.org; 20 Aug 2020 17:52:20 +0000 Received: from localhost ([127.0.0.1]:43917 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k8ojb-0004bv-UN for submit@debbugs.gnu.org; Thu, 20 Aug 2020 13:52:20 -0400 Received: from knopi.disroot.org ([178.21.23.139]:54250) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k8ojX-0004bj-Ts for 42248@debbugs.gnu.org; Thu, 20 Aug 2020 13:52:18 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 49B0152A24; Thu, 20 Aug 2020 19:52:15 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with UTF8SMTP id xK4kl-j707Aq; Thu, 20 Aug 2020 19:52:13 +0200 (CEST) From: Jorge P. de Morais Neto DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1597945932; bh=KJADJqIoUECicY8zNGhH07ydlsx9+r0Vl99KRddrTzo=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=b3mvMGSBBhZ7SlsE1B4i9IQDPFVclbhmUU0F7Dd0+ztNh4y6yyMITtQkumYKj34a0 LwMm7orXZ/e9nol6SXYODgjhjwbcaIrvo1DO8SxtaqnjEIGHZB4fksYIn9cNe8VHSe 0HfwP9Ib88Zx9J/5THiI9sBU+jJ8/+6XqKkaDysJxSkI93Og/adJYJYt7oPROfeqvI nrdj4hZAmqVPnQoaWNd7N4CP5fCPQmkTbNtQCYqDsoPpsSSwEi49VAMbcmCU/QTPWS 7Zvv6nGOPAXQDfJgB+23OPEE+CT8TmQNYtC23U+I9OmP13QmdzelyYBIhO7mQs8ihg k8jWGpw3DuiRQ== In-Reply-To: <87sgchfbsi.fsf@disroot.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> Date: Thu, 20 Aug 2020 14:52:07 -0300 Message-ID: <87pn7lfbnc.fsf@disroot.org> Mime-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > 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. I forgot to add: this test was on a locally compiled emacs-27 (commit "362ca83a3b9d74c51ac325a6490551272aa25f9a"). Regards -- - - If an email of mine arrives at your spam box, please notify me. - Please adopt free/libre formats like PDF, ODF, Org, LaTeX, Opus, WebM and 7z. - Free/libre software for Replicant, LineageOS and Android: https://f-droid.org - [[https://www.gnu.org/philosophy/free-sw.html][What is free software?]] From unknown Sun Jun 22 00:52:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#42248: 27.0.91; With enchant-2.2.8 from Guix, Flyspell errors out or gives lots of false positives 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 X-GNU-PR-Keywords: To: Jorge P. de Morais Neto Cc: 42248@debbugs.gnu.org, stefan@marxist.se Received: via spool by 42248-submit@debbugs.gnu.org id=B42248.159794799129815 (code B ref 42248); Thu, 20 Aug 2020 18:27:02 +0000 Received: (at 42248) by debbugs.gnu.org; 20 Aug 2020 18:26:31 +0000 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 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 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 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 Date: Thu, 20 Aug 2020 21:26:14 +0300 Message-Id: <837dttcgxl.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87sgchfbsi.fsf@disroot.org> (message from Jorge P. de Morais Neto on Thu, 20 Aug 2020 14:49:01 -0300) 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> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > 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. From unknown Sun Jun 22 00:52:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#42248: 27.0.91; With enchant-2.2.8 from Guix, Flyspell errors out or gives lots of false positives Resent-From: Jorge P. de Morais Neto Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 22 Aug 2020 20:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42248 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 42248@debbugs.gnu.org, stefan@marxist.se Received: via spool by 42248-submit@debbugs.gnu.org id=B42248.159812969431688 (code B ref 42248); Sat, 22 Aug 2020 20:55:02 +0000 Received: (at 42248) by debbugs.gnu.org; 22 Aug 2020 20:54:54 +0000 Received: from localhost ([127.0.0.1]:51576 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k9aXO-0008F2-JN for submit@debbugs.gnu.org; Sat, 22 Aug 2020 16:54:54 -0400 Received: from knopi.disroot.org ([178.21.23.139]:51964) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k9aXL-0008Es-IM for 42248@debbugs.gnu.org; Sat, 22 Aug 2020 16:54:53 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 4D36E529EE; Sat, 22 Aug 2020 22:54:50 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2EC4gSyVbPvM; Sat, 22 Aug 2020 22:54:48 +0200 (CEST) From: Jorge P. de Morais Neto DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1598129688; bh=QySgZ2BeONPl6Yerga58RGQVHh4RfNvW1G7TTeGUYn8=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=NpvUF39Br1/C5rt7kNzYSTDqp9tyY6jSl0UZfFo7TT1VXBRtiWRE87a+ihjGZnLN7 mEOYcZ9W66zCnJ2v2Lrz58IrekIPhnV5ymu2lWo7/jm9fbI/jnNz8dJveHc9Gciyfs VmAKC+X8Vn9LKtRhWDkseDxpuL6L/2Hl2zwJgXF4LZyKQXNCDp2CxjiidQB16cHgSk SeunS1tjqtqlgcHyqUU0K5foKZ2MPLTVViuw5GwdhW8q7DnMjecxpjYuL22IPwan/0 KRNGllYtmRn4YPEjoALj64pYmatpYtl65WYPUIudLHbN5RFGRYlm6Hbh082oyjJTlI TxWTgFkU+7j0w== In-Reply-To: <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> <837dttcgxl.fsf@gnu.org> Date: Sat, 22 Aug 2020 17:54:44 -0300 Message-ID: <871rjy2ygb.fsf@disroot.org> Mime-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) I reported this problem on the help-guix mailing list and they changed their enchant package so now it behaves the same as Debian's. It no longer misreports numerals. It now depends on hunspell. See: https://lists.gnu.org/archive/html/help-guix/2020-08/msg00089.html https://lists.gnu.org/archive/html/help-guix/2020-08/msg00092.html However, both ispell-buffer and Flyspell still misreport "doesn't". The "en_US" entry in ispell-dictionary-alist specifies "[0123456789]" for OTHERCHARS. When I change it to "[0123456789']", Flyspell no longer misreports "doesn't", but ispell-buffer still does. Interestingly, the CLI tool enchant-2 misreports "doesn't", but Gedit, which very probably uses Enchant, correctly accepts "doesn't and four other contractions I tested. It seems Gedit calls the enchant library in a different way than Enchant's own command-line tool. The reason to believe that Gedit uses Enchant are: 1. Wikipedia says so 2. Gedit's spell checker correctly accepts every word I have in the Enchant user dictionary. Regards -- - - I am Brazilian. I hope my English is correct and I welcome feedback. - Free Software Supporter: - If an email of mine arrives at your spam box, please notify me. From unknown Sun Jun 22 00:52:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#42248: 27.0.91; With enchant-2.2.8 from Guix, Flyspell errors out or gives lots of false positives Resent-From: Jorge P. de Morais Neto Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 24 Aug 2020 14:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42248 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 42248@debbugs.gnu.org, stefan@marxist.se Received: via spool by 42248-submit@debbugs.gnu.org id=B42248.15982794376276 (code B ref 42248); Mon, 24 Aug 2020 14:31:02 +0000 Received: (at 42248) by debbugs.gnu.org; 24 Aug 2020 14:30:37 +0000 Received: from localhost ([127.0.0.1]:58782 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kADUa-0001d9-PU for submit@debbugs.gnu.org; Mon, 24 Aug 2020 10:30:37 -0400 Received: from knopi.disroot.org ([178.21.23.139]:39638) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kADUW-0001cw-N2 for 42248@debbugs.gnu.org; Mon, 24 Aug 2020 10:30:35 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 2321A52995; Mon, 24 Aug 2020 16:30:30 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NwyOxFkacQNY; Mon, 24 Aug 2020 16:30:28 +0200 (CEST) From: Jorge P. de Morais Neto DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1598279423; bh=newP/zNBCW9w4tsvnfqlqbS+b/AK+DqdeskTMVxEFTY=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=U5eMAZ/l9DCl4svUVc8GygSa/dW+NxVpKfGBd4dHBjxkiFjE5pTS/ZrGJdiB2qn9I 5HlJJg01KMUsKLtocjerExgSXPgG/EJQogjQJbAUr26wFqxFl5PMTo2JVYTnLgG1Uu ApQG1GGB2O3vzj1gkoDHJwawF43/FEyYAnoHzXfZBKDLZXAiJGhzhT5O4r0hT28WTz vwS69qf81OcBaix/kJW6laK6pk9WyW52bdR0vjDvDLgFJXU/Fyv691rsNXzy/iUx0R dzF3mpq93ej9TQR/H3+XEbov6mECGc8Hvc+6Vei4VBKjYbvxM9QoUcwIzFBQ6nXsR7 PJ0Zq42xD3n9A== In-Reply-To: <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> <837dttcgxl.fsf@gnu.org> Date: Mon, 24 Aug 2020 11:30:18 -0300 Message-ID: <871rjwi0at.fsf@disroot.org> Mime-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Em [2020-08-20 qui 21:26:14+0300], Eli Zaretskii escreveu: > 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. 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? 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? And this happens both on Guix's enchant 2.2.8 and on a locally compiled enchant 2.2.9. I have asked the #abiword channel on irc.gnome.org and also subscribed to the abiword-dev mailing list---I'll ask there if there is no answer in IRC. Best regards --8<---------------cut here---------------start------------->8--- --- 27.1/ispell.el 2020-08-24 11:09:38.429199892 -0300 +++ lisp/ispell.el 2020-08-23 16:49:07.134580642 -0300 @@ -1237,11 +1237,12 @@ "Find Enchant's dictionaries, and record in `ispell-enchant-dictionary-alist'." (let* ((dictionaries (split-string - (ispell--call-enchant-lsmod "-list-dicts" (buffer-string)) " ([^)]+)\n")) + (ispell--call-enchant-lsmod "-list-dicts") + " ([^)]+)\n")) (found (mapcar #'(lambda (lang) `(,lang "[[:alpha:]]" "[^[:alpha:]]" - ,(ispell--get-extra-word-characters) t nil nil utf-8)) + ,(ispell--get-extra-word-characters lang) t nil nil utf-8)) dictionaries))) ;; Merge into FOUND any elements from the standard ispell-dictionary-base-alist ;; which have no element in FOUND at all. --8<---------------cut here---------------end--------------->8--- -- - - If an email of mine arrives at your spam box, please notify me. - Please adopt free/libre formats like PDF, ODF, Org, LaTeX, Opus, WebM and 7z. - Free/libre software for Replicant, LineageOS and Android: https://f-droid.org - [[https://www.gnu.org/philosophy/free-sw.html][What is free software?]] From unknown Sun Jun 22 00:52:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#42248: 27.0.91; With enchant-2.2.8 from Guix, Flyspell errors out or gives lots of false positives 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 X-GNU-PR-Keywords: To: Jorge P. de Morais Neto Cc: 42248@debbugs.gnu.org, stefan@marxist.se Received: via spool by 42248-submit@debbugs.gnu.org id=B42248.15982801927458 (code B ref 42248); Mon, 24 Aug 2020 14:44:02 +0000 Received: (at 42248) by debbugs.gnu.org; 24 Aug 2020 14:43:12 +0000 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 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 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 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 Date: Mon, 24 Aug 2020 17:42:53 +0300 Message-Id: <83y2m45clu.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <871rjwi0at.fsf@disroot.org> (message from Jorge P. de Morais Neto on Mon, 24 Aug 2020 11:30:18 -0300) 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> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > 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? From unknown Sun Jun 22 00:52:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#42248: 27.0.91; With enchant-2.2.8 from Guix, Flyspell errors out or gives lots of false positives Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 24 Aug 2020 15:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42248 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: "Jorge P. de Morais Neto" , Eli Zaretskii Cc: 42248@debbugs.gnu.org Received: via spool by 42248-submit@debbugs.gnu.org id=B42248.159828172318595 (code B ref 42248); Mon, 24 Aug 2020 15:09:02 +0000 Received: (at 42248) by debbugs.gnu.org; 24 Aug 2020 15:08:43 +0000 Received: from localhost ([127.0.0.1]:58892 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAE5S-0004pr-OC for submit@debbugs.gnu.org; Mon, 24 Aug 2020 11:08:42 -0400 Received: from mail-yb1-f181.google.com ([209.85.219.181]:42988) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAE5R-0004pc-Ma for 42248@debbugs.gnu.org; Mon, 24 Aug 2020 11:08:42 -0400 Received: by mail-yb1-f181.google.com with SMTP id a34so5338322ybj.9 for <42248@debbugs.gnu.org>; Mon, 24 Aug 2020 08:08:41 -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=C7SqFmM6wAMB7xd9JUckmvW3/r6rBEfENv2My949MkE=; b=tS0QtuW7dmIG7r9rNiCXs6H1vW7BTN2SezcLoMPCNe0kSaFt48dNzpRKBnE9mMN7jd MgvnuFUZ/C6l0Nn5YIyED2rhKZ0Y+Y2cntL3roshx1cXdMhmRY6d/wXQWrwBNk9430A0 jfCQqm/VlAN0BhkZWyZGwhIkv2IdA+9naSqTqj+53i7tBnvB5jAwTymV2REV8HhMJIk3 GGxLVEFTJujMz0RVnVjieV9eOtwXkDFUnEBUp4ADGYCPmPeTy0FhOMJvm5gEo4+E+/ew QFbK/n29lTaWnkx5m4UxZjKvtjrpKAQnGRtvxmy0OfMHAyqL6aZuwdh6eAVRpRF2E232 ge1w== X-Gm-Message-State: AOAM5301O27hiXqaO/PbvzQywDvK/4pk7rn4AP2tp7yIlT+NdhJ4IHal V3n2ItVa9xNt/1gRWDM4OV0+Fz1xmzWAEAqn2/o= X-Google-Smtp-Source: ABdhPJxlCoua1TQSKU31t2JAXnw0I+f6CRdKUFyLCWoZx57aDthFcKmVQ/oBv059LlCckBLW7rN+ZpHjo15CrTAPtMw= X-Received: by 2002:a25:4609:: with SMTP id t9mr7812795yba.231.1598281716337; Mon, 24 Aug 2020 08:08:36 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Mon, 24 Aug 2020 11:08:35 -0400 From: Stefan Kangas In-Reply-To: <871rjwi0at.fsf@disroot.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> MIME-Version: 1.0 Date: Mon, 24 Aug 2020 11:08:35 -0400 Message-ID: Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) Jorge P. de Morais Neto writes: > 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? I recommend finding the relevant defuns, and instrumenting them for debugging with Edebug using `C-u M-C-e'. See (info "(elisp) Edebug") for more [copy that expression into Emacs and evaluate it]. From unknown Sun Jun 22 00:52:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#42248: 27.0.91; With enchant-2.2.8 from Guix, Flyspell errors out or gives lots of false positives Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Aug 2020 17:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42248 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: "Jorge P. de Morais Neto" Cc: Eli Zaretskii , 42248@debbugs.gnu.org Received: via spool by 42248-submit@debbugs.gnu.org id=B42248.159854941018283 (code B ref 42248); Thu, 27 Aug 2020 17:31:01 +0000 Received: (at 42248) by debbugs.gnu.org; 27 Aug 2020 17:30:10 +0000 Received: from localhost ([127.0.0.1]:43827 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kBLiz-0004kp-Ri for submit@debbugs.gnu.org; Thu, 27 Aug 2020 13:30:10 -0400 Received: from mail-yb1-f174.google.com ([209.85.219.174]:41298) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kBLiw-0004j8-Ql for 42248@debbugs.gnu.org; Thu, 27 Aug 2020 13:30:08 -0400 Received: by mail-yb1-f174.google.com with SMTP id h20so2975525ybj.8 for <42248@debbugs.gnu.org>; Thu, 27 Aug 2020 10:30:06 -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:user-agent :mime-version:date:message-id:subject:to:cc; bh=0vgDpn4A9oKLxFzy/f1hTydQ4GPmlc3eEphg06mB4q0=; b=jo54LvgMzvDUStjjYlCmIiyDaD7lQLpdhitwKTNhsy6s+R24xOxhJvNmLLR9BnA80w NipC1Uhza0y6wdPq4Mcla5GJ/2EYs7ce/jmczosf6rzYQ0Jf8m8bYyoWOGkNOBXx0um+ DOMLmt7+nyA9TkMzVZT208xXRVRJfoTfSy9tiYGeDbydFWmH1h0GOIbDrzULODRo5qpY 9ZtjFJ6HGSQxHukme2S5RQCEAqt5JDqMCYRoP8L5vODC81zkupFKTawdTXwhHu43nXXE qVVg9QgTLiZit2gqRfyCRq91VrIcBYih47yJ/YCIYmDyJHWUKykDwevuswb4Ti5WmjJN 3yJQ== X-Gm-Message-State: AOAM533Mf2L7Mi0+HnDYnXyDVtIQ1aGijtI7mRA64w4pGKE26o0En+m/ 0H759IzUV3KK6wbxXezTb9EsXeusy3HlxEhNcBw= X-Google-Smtp-Source: ABdhPJxg/hWHLGDbgcGN27b5x12sQMpMv7sUwXES9LUsZIxMXRz7y+ZdnL7zVWpGouMwj47CZGb9yvXub8gXeD5kuAk= X-Received: by 2002:a25:4ed7:: with SMTP id c206mr31646877ybb.129.1598549401155; Thu, 27 Aug 2020 10:30:01 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Thu, 27 Aug 2020 10:30:00 -0700 From: Stefan Kangas In-Reply-To: <871rjy2ygb.fsf@disroot.org> (Jorge P. de Morais Neto's message of "Sat, 22 Aug 2020 17:54:44 -0300") 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> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Date: Thu, 27 Aug 2020 10:30:00 -0700 Message-ID: Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) Jorge P. de Morais Neto 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. Maybe it's not specific to enchant? > "en_US" entry in ispell-dictionary-alist specifies "[0123456789]" for > OTHERCHARS. When I change it to "[0123456789']", Flyspell no longer > misreports "doesn't", but ispell-buffer still does. > > Interestingly, the CLI tool enchant-2 misreports "doesn't", but Gedit, > which very probably uses Enchant, correctly accepts "doesn't and four > other contractions I tested. It seems Gedit calls the enchant library > in a different way than Enchant's own command-line tool. From unknown Sun Jun 22 00:52:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#42248: 27.0.91; With enchant-2.2.8 from Guix, Flyspell errors out or gives lots of false positives Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Aug 2020 17:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42248 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: "Jorge P. de Morais Neto" Cc: Eli Zaretskii , 42248@debbugs.gnu.org Received: via spool by 42248-submit@debbugs.gnu.org id=B42248.159854942018310 (code B ref 42248); Thu, 27 Aug 2020 17:31:02 +0000 Received: (at 42248) by debbugs.gnu.org; 27 Aug 2020 17:30:20 +0000 Received: from localhost ([127.0.0.1]:43830 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kBLjA-0004lG-1b for submit@debbugs.gnu.org; Thu, 27 Aug 2020 13:30:20 -0400 Received: from mail-yb1-f176.google.com ([209.85.219.176]:39859) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kBLj7-0004kz-O1 for 42248@debbugs.gnu.org; Thu, 27 Aug 2020 13:30:18 -0400 Received: by mail-yb1-f176.google.com with SMTP id q16so3384530ybk.6 for <42248@debbugs.gnu.org>; Thu, 27 Aug 2020 10:30:17 -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:user-agent :mime-version:date:message-id:subject:to:cc; bh=iql3L1FP/FAZeJVZWhBQLcwrhfL+UhHAcN+hZlvrjUk=; b=a8i09qu0p3WVZSRPCddS3XiCLT+/a8vfOmZPo2V0cRVgN+dMQnY30n85fpEzmhNvsu ErPVJdrFM2CRlklixBK8KaNKEyd2Ww57SmTuBNtMln32giSGUuK14rVaUZq1muimWNVP VrNobhU7o3puoqHk1zIvjtWjGKXDuq9ZziEYAVTc7LQg9v1rSE53eCUCzeXKG3MkJxix nN71KRUIr7AsgXYaN7DhiIqubAuw+1JRHWEcRwwzT/Us0aif010R33rLFfdQCd4ZOCba 5Dc1AB2RYeWXne83ZGddKuQYHFHQ6NwMivjh59UATVRC0sLaAAZHkikEKWQ2uhSBS+gL D5Gg== X-Gm-Message-State: AOAM532tiAWLvODGks71GZ68IBm1yTKlr67TTBk1WPwmgvLEZzLyNv0p tl+2hL/WE+bmNCg6fo1JI+lqQr+PY7fl0dFaZAIqCWGj+lQ= X-Google-Smtp-Source: ABdhPJyvoqRvlqvG/9+N+pl57sLZTpS+BlheUjf1uvdkvdLRgV4LRlKgCFSJRNtYU573dziNiWtc+TzhX73RojCMgZw= X-Received: by 2002:a25:9843:: with SMTP id k3mr31188027ybo.466.1598549412344; Thu, 27 Aug 2020 10:30:12 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Thu, 27 Aug 2020 10:30:12 -0700 From: Stefan Kangas In-Reply-To: <871rjwi0at.fsf@disroot.org> (Jorge P. de Morais Neto's message of "Mon, 24 Aug 2020 11:30:18 -0300") 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> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Date: Thu, 27 Aug 2020 10:30:12 -0700 Message-ID: Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) Jorge P. de Morais Neto writes: > 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? And this happens > both on Guix's enchant 2.2.8 and on a locally compiled enchant 2.2.9. I have Debian's enchant 2.2.8, and I see the same thing here. From unknown Sun Jun 22 00:52:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#42248: 27.0.91; With enchant-2.2.8 from Guix, Flyspell errors out or gives lots of false positives Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Aug 2020 17:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42248 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Kangas Cc: jorge+list@disroot.org, 42248@debbugs.gnu.org Received: via spool by 42248-submit@debbugs.gnu.org id=B42248.159855056820416 (code B ref 42248); Thu, 27 Aug 2020 17:50:02 +0000 Received: (at 42248) by debbugs.gnu.org; 27 Aug 2020 17:49:28 +0000 Received: from localhost ([127.0.0.1]:43866 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kBM1f-0005JE-RR for submit@debbugs.gnu.org; Thu, 27 Aug 2020 13:49:28 -0400 Received: from eggs.gnu.org ([209.51.188.92]:53566) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kBM1c-0005Iv-WE for 42248@debbugs.gnu.org; Thu, 27 Aug 2020 13:49:26 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:57906) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kBM1X-0003q9-71; Thu, 27 Aug 2020 13:49:19 -0400 Received: from [176.228.60.248] (port=1185 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kBM1W-0006IM-J6; Thu, 27 Aug 2020 13:49:19 -0400 Date: Thu, 27 Aug 2020 20:49:07 +0300 Message-Id: <83d03c0yjw.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from Stefan Kangas on Thu, 27 Aug 2020 10:30:00 -0700) 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> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Stefan Kangas > Date: Thu, 27 Aug 2020 10:30:00 -0700 > Cc: Eli Zaretskii , 42248@debbugs.gnu.org > > Jorge P. de Morais Neto 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. 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? From unknown Sun Jun 22 00:52:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#42248: 27.0.91; With enchant-2.2.8 from Guix, Flyspell errors out or gives lots of false positives Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Aug 2020 17:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42248 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Kangas Cc: jorge+list@disroot.org, 42248@debbugs.gnu.org Received: via spool by 42248-submit@debbugs.gnu.org id=B42248.159855059720469 (code B ref 42248); Thu, 27 Aug 2020 17:50:02 +0000 Received: (at 42248) by debbugs.gnu.org; 27 Aug 2020 17:49:57 +0000 Received: from localhost ([127.0.0.1]:43869 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kBM29-0005K4-5G for submit@debbugs.gnu.org; Thu, 27 Aug 2020 13:49:57 -0400 Received: from eggs.gnu.org ([209.51.188.92]:53674) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kBM26-0005Js-PR for 42248@debbugs.gnu.org; Thu, 27 Aug 2020 13:49:55 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:57913) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kBM21-0003t0-Bv; Thu, 27 Aug 2020 13:49:49 -0400 Received: from [176.228.60.248] (port=1217 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kBM20-0006LF-Sf; Thu, 27 Aug 2020 13:49:49 -0400 Date: Thu, 27 Aug 2020 20:49:38 +0300 Message-Id: <83bliw0yj1.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from Stefan Kangas on Thu, 27 Aug 2020 10:30:12 -0700) 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> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Stefan Kangas > Date: Thu, 27 Aug 2020 10:30:12 -0700 > Cc: Eli Zaretskii , 42248@debbugs.gnu.org > > I have Debian's enchant 2.2.8, and I see the same thing here. What if you use Hunspell directly? From unknown Sun Jun 22 00:52:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#42248: 27.0.91; With enchant-2.2.8 from Guix, Flyspell errors out or gives lots of false positives 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 X-GNU-PR-Keywords: To: Eli Zaretskii Cc: jorge+list@disroot.org, 42248@debbugs.gnu.org Received: via spool by 42248-submit@debbugs.gnu.org id=B42248.159855511212283 (code B ref 42248); Thu, 27 Aug 2020 19:06:02 +0000 Received: (at 42248) by debbugs.gnu.org; 27 Aug 2020 19:05:12 +0000 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 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 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) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Thu, 27 Aug 2020 12:05:04 -0700 From: Stefan Kangas In-Reply-To: <83d03c0yjw.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> MIME-Version: 1.0 Date: Thu, 27 Aug 2020 12:05:04 -0700 Message-ID: Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) 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 From unknown Sun Jun 22 00:52:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#42248: 27.0.91; With enchant-2.2.8 from Guix, Flyspell errors out or gives lots of false positives 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 X-GNU-PR-Keywords: To: Eli Zaretskii Cc: jorge+list@disroot.org, 42248@debbugs.gnu.org Received: via spool by 42248-submit@debbugs.gnu.org id=B42248.159855512012307 (code B ref 42248); Thu, 27 Aug 2020 19:06:02 +0000 Received: (at 42248) by debbugs.gnu.org; 27 Aug 2020 19:05:20 +0000 Received: from localhost ([127.0.0.1]:44065 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kBND6-0003CQ-Af for submit@debbugs.gnu.org; Thu, 27 Aug 2020 15:05:20 -0400 Received: from mail-yb1-f177.google.com ([209.85.219.177]:34422) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kBND5-0003CC-2C for 42248@debbugs.gnu.org; Thu, 27 Aug 2020 15:05:19 -0400 Received: by mail-yb1-f177.google.com with SMTP id u6so3563740ybf.1 for <42248@debbugs.gnu.org>; Thu, 27 Aug 2020 12:05:19 -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=p1KUsa0msR3UH1oi5TXNnP5zfGtvhxhIL0qfYTtgvVU=; b=gSPoejvso28wGfLLP8YCXtrebzi2/UVMKWjzkvo993/+NgtZY1iwTwWyhPnLkELFTO xQnQ8uqeqiwIJfKH2G/8RakbpBSD0CFiLb3Awi2ByDBIyf9zKM/PJ4aZjo1O/fVywUgd GnUxQgTtK2+QK1UZCkuqe9X1/tnRlmSq26ZdoCeCJx8tk+G1/YpW75xh4gMyD3J5O6yM hKVfE5LaPlNWmtEcIvNOwmTLQ0hFCqO93is7Fu4OmzzHmjOwCNCh1R3gBBlNStpFEWMV N4v1+LlnOpgJplsQVrWl/w8L6D/afqbWourTk2alqxjCe98NNe2v0IYboP+68Arc83XZ YSQA== X-Gm-Message-State: AOAM530nBy9jbFVEER7KyDs84/FBZlIyNOK1MG42SlR2nrYAJmeDcGSO /U4vHBA7XdRnZlXp2oYic4rc4QtTZrYC34unJXQ= X-Google-Smtp-Source: ABdhPJyiXY5tctjswaY8ypC9k+YI0H7UBm9/aY7dY5/Rs4D5X5AHB86Ds/30sM6EPZTIkJHJYzKokGIgoroOqjTQ+FI= X-Received: by 2002:a25:4609:: with SMTP id t9mr29798034yba.231.1598555113706; Thu, 27 Aug 2020 12:05:13 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Thu, 27 Aug 2020 12:05:13 -0700 From: Stefan Kangas In-Reply-To: <83bliw0yj1.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> <83bliw0yj1.fsf@gnu.org> MIME-Version: 1.0 Date: Thu, 27 Aug 2020 12:05:13 -0700 Message-ID: Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) Eli Zaretskii writes: >> I have Debian's enchant 2.2.8, and I see the same thing here. > > What if you use Hunspell directly? I don't understand what you are asking. Is there a command I should run? I can't find anything in the man page for hunspell. From unknown Sun Jun 22 00:52:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#42248: 27.0.91; With enchant-2.2.8 from Guix, Flyspell errors out or gives lots of false positives Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Aug 2020 19:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42248 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Kangas Cc: jorge+list@disroot.org, 42248@debbugs.gnu.org Received: via spool by 42248-submit@debbugs.gnu.org id=B42248.159855563613051 (code B ref 42248); Thu, 27 Aug 2020 19:14:01 +0000 Received: (at 42248) by debbugs.gnu.org; 27 Aug 2020 19:13:56 +0000 Received: from localhost ([127.0.0.1]:44079 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kBNLQ-0003OQ-GL for submit@debbugs.gnu.org; Thu, 27 Aug 2020 15:13:56 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49642) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kBNLO-0003OB-3D for 42248@debbugs.gnu.org; Thu, 27 Aug 2020 15:13:55 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:59685) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kBNLI-0007ee-Bp; Thu, 27 Aug 2020 15:13:48 -0400 Received: from [176.228.60.248] (port=2362 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kBNLH-00078l-G1; Thu, 27 Aug 2020 15:13:47 -0400 Date: Thu, 27 Aug 2020 22:13:36 +0300 Message-Id: <835z93297j.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from Stefan Kangas on Thu, 27 Aug 2020 12:05:04 -0700) 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> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > 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. From unknown Sun Jun 22 00:52:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#42248: 27.0.91; With enchant-2.2.8 from Guix, Flyspell errors out or gives lots of false positives 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 X-GNU-PR-Keywords: To: Stefan Kangas Cc: jorge+list@disroot.org, 42248@debbugs.gnu.org Received: via spool by 42248-submit@debbugs.gnu.org id=B42248.159855566013123 (code B ref 42248); Thu, 27 Aug 2020 19:15:02 +0000 Received: (at 42248) by debbugs.gnu.org; 27 Aug 2020 19:14:20 +0000 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 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 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 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 Date: Thu, 27 Aug 2020 22:13:52 +0300 Message-Id: <834kon2973.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from Stefan Kangas on Thu, 27 Aug 2020 12:05:04 -0700) 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> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > 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. From unknown Sun Jun 22 00:52:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#42248: 27.0.91; With enchant-2.2.8 from Guix, Flyspell errors out or gives lots of false positives Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Aug 2020 19:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42248 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Kangas Cc: jorge+list@disroot.org, 42248@debbugs.gnu.org Received: via spool by 42248-submit@debbugs.gnu.org id=B42248.159855570313221 (code B ref 42248); Thu, 27 Aug 2020 19:16:01 +0000 Received: (at 42248) by debbugs.gnu.org; 27 Aug 2020 19:15:03 +0000 Received: from localhost ([127.0.0.1]:44088 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kBNMV-0003R8-8C for submit@debbugs.gnu.org; Thu, 27 Aug 2020 15:15:03 -0400 Received: from eggs.gnu.org ([209.51.188.92]:50028) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kBNMF-0003Q3-9N for 42248@debbugs.gnu.org; Thu, 27 Aug 2020 15:15:01 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:59719) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kBNMA-0007nM-2R; Thu, 27 Aug 2020 15:14:42 -0400 Received: from [176.228.60.248] (port=2419 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kBNM9-0007Fr-1q; Thu, 27 Aug 2020 15:14:41 -0400 Date: Thu, 27 Aug 2020 22:14:31 +0300 Message-Id: <8336472960.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from Stefan Kangas on Thu, 27 Aug 2020 12:05:13 -0700) 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> <83bliw0yj1.fsf@gnu.org> X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Stefan Kangas > Date: Thu, 27 Aug 2020 12:05:13 -0700 > Cc: jorge+list@disroot.org, 42248@debbugs.gnu.org > > Eli Zaretskii writes: > > >> I have Debian's enchant 2.2.8, and I see the same thing here. > > > > What if you use Hunspell directly? > > I don't understand what you are asking. Is there a command I should > run? I can't find anything in the man page for hunspell. No, I mean configure Emacs to use Hunspell as the speller, not Enchant. From unknown Sun Jun 22 00:52:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#42248: 27.0.91; With enchant-2.2.8 from Guix, Flyspell errors out or gives lots of false positives Resent-From: Jorge P. de Morais Neto Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 30 Aug 2020 18:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42248 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 42248@debbugs.gnu.org, stefan@marxist.se Received: via spool by 42248-submit@debbugs.gnu.org id=B42248.15988135248064 (code B ref 42248); Sun, 30 Aug 2020 18:53:02 +0000 Received: (at 42248) by debbugs.gnu.org; 30 Aug 2020 18:52:04 +0000 Received: from localhost ([127.0.0.1]:50741 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kCSQu-00025z-55 for submit@debbugs.gnu.org; Sun, 30 Aug 2020 14:52:04 -0400 Received: from knopi.disroot.org ([178.21.23.139]:34734) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kCSQr-00025Z-8s for 42248@debbugs.gnu.org; Sun, 30 Aug 2020 14:52:02 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id BE70151BBF; Sun, 30 Aug 2020 20:51:59 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mXYsaJeqb5tN; Sun, 30 Aug 2020 20:51:57 +0200 (CEST) From: Jorge P. de Morais Neto DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1598813516; bh=Cm76qutuEzrBjU5ldDP4pCMKMu7HrJZ3wBrGQPJWxHU=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=Mhkm2STR2C6F3h2a0qsh9bZzwVy96tE/aYybz/zHeba+UAEf6Qn28D/NdittEaPcN ma5Se6+jhDmWak8yMKM9cRciJfGXQdhlJ09Kxp+Tgz7FLPw1bYysh03gcs1Hd7J4aj sOFooZccKoqBGUReXjjncTInzmBM5wvuj0LDMX4OYoteLQcGJZ0W+51CAhpO6Cpb57 /tYzpS8xMj4dTQUA6nIQBCXEfQ6i/jMOot88TzTN0L7Ch7CE38lhLmyDL4nkby0BKA 8+YeM2T23opHJrbtNu2cDH4SYa2aTEVh8AVsVdd/IkyH1wCLqm/hADwg7jmqgHsUB3 NESVSNmJO3+3g== In-Reply-To: <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> <83y2m45clu.fsf@gnu.org> Date: Sun, 30 Aug 2020 15:51:42 -0300 Message-ID: <875z90ezlt.fsf@disroot.org> Mime-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Em [2020-08-24 seg 17:42:53+0300], Eli Zaretskii escreveu: > Maybe the dictionary you are using doesn't support the apostrophe? Yes, with your help, I found out that Debian's hunspell-en-us package is missing the apostrophe in WORDCHARS value in `/usr/share/hunspell/en_US.aff'. I have worked around the problem by: 1. Create `~/.config/enchant/hunspell' directory and `cd' to it 2. Symlink `/usr/share/hunspell/en_US.dic' to `./en_US.dic' 3. Copy `/usr/share/hunspell/en_US.aff' to `./en_US.aff' 4. Edit `./en_US.aff' and fix WORDCHARS. This solves the Emacs contraction problem and doesn't seem to harm other enchant consumers like LibreOffice and Gedit. I think I should report this to the dictionary developers. And where did you get your en_US dictionary from? The en_US hunspell dictionary is wrong both in Debian buster and Guix. And what should we do about ispell-dictionary-alist still including "-B" among ISPELL-ARGS for many of its entries? This causes an error if the user chooses one of those dictionaries, such as "american". > I don't think I understand the proposed changes -- can you tell in > more detail why they are needed? The revised patch: --8<---------------cut here---------------start------------->8--- --- 27.1/ispell.el 2020-08-30 12:45:49.113459675 -0300 +++ lisp/ispell.el 2020-08-30 08:58:57.182813606 -0300 @@ -1237,11 +1237,12 @@ "Find Enchant's dictionaries, and record in `ispell-enchant-dictionary-alist'." (let* ((dictionaries (split-string - (ispell--call-enchant-lsmod "-list-dicts" (buffer-string)) " ([^)]+)\n")) + (ispell--call-enchant-lsmod "-list-dicts") + " ([^)]+)\n" t)) (found (mapcar #'(lambda (lang) `(,lang "[[:alpha:]]" "[^[:alpha:]]" - ,(ispell--get-extra-word-characters) t nil nil utf-8)) + ,(ispell--get-extra-word-characters lang) t nil nil utf-8)) dictionaries))) ;; Merge into FOUND any elements from the standard ispell-dictionary-base-alist ;; which have no element in FOUND at all. --8<---------------cut here---------------end--------------->8--- The patch removes the extraneous `(buffer-string)' argument to `ispell--call-enchant-lsmod'. That argument was passed as the final argument to `enchant-lsmod-2', which is wrong. The command we want to invoke is only `enchant-lsmod-2 -list-dicts'---that is the command to list Enchant dictionaries according to the enchant-lsmod-2 manpage. And it actually works in practice, unlike the former invocation which causes an error. The patch also passes t as the OMIT-NULLS argument of `split-string'. This correctly avoids a final "" string in the return value of `split-string', because the output of `enchant-lsmod-2 -list-dicts' ends in a separator. Finally, the patch passes `lang' to `ispell--get-extra-word-characters', because the whole point of the invocation is to get the extra word characters for the language under examination; the former code always returned the extra word characters for the default language. The current source code is visibly broken. And in fact, without my patch, when you invoke `emacs -q', evaluate (setq ispell-program-name "enchant-2"), open the original ispell.el.gz, invoke M-x eval-buffer and then M-x ispell-change-dictionary, you can see the error in the list of languages. On the other hand, when you invoke `emacs -q', evaluate (setq ispell-program-name "enchant-2") and then M-x ispell-change-dictionary, there is no error! This makes me suspect that, somehow, `ispell.elc' does not correspond to `ispell.el.gz'. That is a weird idea, but is the only explanation I can think of. This occurs on the emacs-27 branch, commit 29708cbde7. Best regards -- - - I am Brazilian. I hope my English is correct and I welcome feedback. - Free Software Supporter: - If an email of mine arrives at your spam box, please notify me. From unknown Sun Jun 22 00:52:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#42248: Problems between Flyspell and Enchant References: <878sfvwbr0.fsf@disroot.org> In-Reply-To: <878sfvwbr0.fsf@disroot.org> Resent-From: Reuben Thomas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 06 Sep 2020 23:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42248 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 42248@debbugs.gnu.org Received: via spool by 42248-submit@debbugs.gnu.org id=B42248.15994364531581 (code B ref 42248); Sun, 06 Sep 2020 23:55:01 +0000 Received: (at 42248) by debbugs.gnu.org; 6 Sep 2020 23:54:13 +0000 Received: from localhost ([127.0.0.1]:47430 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kF4U8-0000PQ-Go for submit@debbugs.gnu.org; Sun, 06 Sep 2020 19:54:12 -0400 Received: from mail-ot1-f46.google.com ([209.85.210.46]:43596) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kF4U5-0000PC-7r for 42248@debbugs.gnu.org; Sun, 06 Sep 2020 19:54:10 -0400 Received: by mail-ot1-f46.google.com with SMTP id n61so3245215ota.10 for <42248@debbugs.gnu.org>; Sun, 06 Sep 2020 16:54:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sc3d.org; s=google; h=mime-version:from:date:message-id:subject:to; bh=aXqXx975pktcDF0PMBGTU8VnBaIDsJBZAu+OnJZV7mo=; b=qdRqzIMAb7OIvusSHO/paMxrrnVpI9Q53AXcPwHXJB0lvJbEG8RNwtDyuU3Zu+WXBB abovNf3kA+Uy5Iul3R21ddENrPS+oAutiRyqtSl0jfczoGN2rOKR/no95rU5xSH2Jhb0 eDx1lZImXQGlWbsAz0yeU1QAkQfMjfDuW7Fhg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=aXqXx975pktcDF0PMBGTU8VnBaIDsJBZAu+OnJZV7mo=; b=dMboSSQZqhnfG0P3xBs1rCQHVR9/Z06ipxQVNsMIlj0EkuTMBUsY1Q/bpC82jLthE8 gglpZP2Dn+cmdO33tgeDq/6g9UAsfNck+ViSNg5ykwFvJonQ3vx/0Ydou8dMlw1UlRvq 0v0REKkBI8DTOpFqQC1rXfIKRP5q073BX+5R9K9gI0yby3/FxImC0N7nwjbPf6Ol3F0e qpT4HMI2O4atX0b+vzIiwizbQWnYy82gIQ6GeVpkbpjAjMezNc7HqbvDMi5CQilBrHwl dXl+OjZmN/IjuxAsHaMgWTgzT/uEhCA5n9tpwYfrd+7eGfDQmJE5oBw0frcEqbCcY6Y9 lNDg== X-Gm-Message-State: AOAM531IbKFy4MtIrmXoURVEyN1hhQ3ZR+ek/5aJRwHXMYeBy6z1NmIF 2UHKGRmhD/zZTwfvzL1MKn909ATN4o3o+Nu6lvLRA/aqvwFKYQ== X-Google-Smtp-Source: ABdhPJxR3hRIyHyXRjovpIXKoXHTNIPGGjjUhLwsOMNh8tCeBGA7SK3K+GlKUczIoDFRZJPQNkAmnD1og4OoTOeQOpA= X-Received: by 2002:a9d:140a:: with SMTP id h10mr12459809oth.46.1599436443107; Sun, 06 Sep 2020 16:54:03 -0700 (PDT) MIME-Version: 1.0 From: Reuben Thomas Date: Mon, 7 Sep 2020 00:53:52 +0100 Message-ID: Content-Type: multipart/alternative; boundary="000000000000084e5805aeadd1f4" X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --000000000000084e5805aeadd1f4 Content-Type: text/plain; charset="UTF-8" [I'm the Enchant maintainer and author of the Enchant support in ispell.el, so it's All My Fault :) Sorry!] I cannot reproduce the problem with numbers being detected as misspellings from the command line with enchant-2 2.2.8 or 2.2.10. (As all the digits are in WORDCHARS, it is expected that numbers should pass spell-checking.) I looked into the matter of "-B". It would be quite tiresome to have to teach ispell.el which spelling checkers accept -B. I notice that hunspell does not support -B, but it does accept it; indeed, it seems to happily accept and discard any unknown option. I think Enchant should silently ignore -B, as it does with -m to work with Emacs. I agree that the en_US dictionary should contain ' in its WORDCHARS. I found another, recent, Debian bug about this, this time on the correct package (the dictionaries): https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=964257 I have merged the two bug reports in the hopes that this might help! Note that quotation marks work correctly in the Debian en_GB dictionary, though there is another problem there: WORDCHARS contains only the curly quote. This is because hunspell contains the following special rule: if either the straight or curly single right quote is listed in WORDCHARS, then the other is also allowed. I have implemented this logic in Enchant 2.2.10 in its hunspell backend (recently released). I found a couple of minor bugs in enchant: first, it gives an unhelpful error message when asked for a language it doesn't have; and secondly, at least for me `enchant-lsmod-2 -list-dicts` does not list the en_US dictionary even though it is installed. I will look into those, as the second in particular affects Emacs. I agree with the patch to ispell.el, in all three points, though for me the invocation of enchant-lsmod-2 does not fail with the extra argument (this will be why I didn't notice the problem when I originally wrote the code). I am happy to install this patch if Eli agrees. -- https://rrt.sc3d.org --000000000000084e5805aeadd1f4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
[I'm the Enchant maintainer and aut= hor of the Enchant support in ispell.el, so it's All My Fault :) Sorry!= ]

I cannot reproduce t= he problem with numbers being detected as misspellings from the command lin= e with enchant-2 2.2.8 or 2.2.10. (As all the digits are in WORDCHARS, it i= s expected that numbers should pass spell-checking.)

I looked into the matter of "-B&quo= t;. It would be quite tiresome to have to teach ispell.el which spelling ch= eckers accept -B. I notice that hunspell does not support -B, but it does a= ccept it; indeed, it seems to happily accept and discard any unknown option= . I think Enchant should silently ignore -B, as it does with -m to work wit= h Emacs.
I agree that the = en_US dictionary should contain ' in its WORDCHARS. I found another, re= cent, Debian bug about this, this time on the correct package (the dictiona= ries): https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D964257 I have me= rged the two bug reports in the hopes that this might help!

Note that quotation marks work correc= tly in the Debian en_GB dictionary, though there is another problem there: = WORDCHARS contains only the curly quote. This is because hunspell contains = the following special rule: if either the straight or curly single right qu= ote is listed in WORDCHARS, then the other is also allowed. I have implemen= ted this logic in Enchant 2.2.10 in its hunspell backend (recently released= ).

I found a coupl= e of minor bugs in enchant: first, it gives an unhelpful error message when= asked for a language it doesn't have; and secondly, at least for me `e= nchant-lsmod-2 -list-dicts` does not list the en_US dictionary even though = it is installed. I will look into those, as the second in particular affect= s Emacs.

I agree with the p= atch to ispell.el, in all three points, though for me the invocation of en= chant-lsmod-2 does not fail with the extra argument (this will be why I did= n't notice the problem when I originally wrote the code). I am happy to= install this patch if Eli agrees.

--
--000000000000084e5805aeadd1f4-- From unknown Sun Jun 22 00:52:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#42248: Problems between Flyspell and Enchant Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 07 Sep 2020 15:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42248 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Reuben Thomas Cc: 42248@debbugs.gnu.org Received: via spool by 42248-submit@debbugs.gnu.org id=B42248.159949372331644 (code B ref 42248); Mon, 07 Sep 2020 15:49:02 +0000 Received: (at 42248) by debbugs.gnu.org; 7 Sep 2020 15:48:43 +0000 Received: from localhost ([127.0.0.1]:50520 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kFJNr-0008EK-KK for submit@debbugs.gnu.org; Mon, 07 Sep 2020 11:48:43 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54374) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kFJNq-0008E8-Dn for 42248@debbugs.gnu.org; Mon, 07 Sep 2020 11:48:43 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:44094) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kFJNk-0001k2-W1; Mon, 07 Sep 2020 11:48:37 -0400 Received: from [176.228.60.248] (port=1093 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kFJNk-0001ZL-AS; Mon, 07 Sep 2020 11:48:36 -0400 Date: Mon, 07 Sep 2020 18:48:33 +0300 Message-Id: <83zh61mvu6.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (bug-gnu-emacs@gnu.org) References: <878sfvwbr0.fsf@disroot.org> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Mon, 7 Sep 2020 00:53:52 +0100 > From: Reuben Thomas via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > I agree with the patch to ispell.el, in all three points, though for me the invocation of enchant-lsmod-2 does > not fail with the extra argument (this will be why I didn't notice the problem when I originally wrote the code). I > am happy to install this patch if Eli agrees. I agree, please go ahead. Thanks. From unknown Sun Jun 22 00:52:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#42248: Problems between Flyspell and Enchant Resent-From: Reuben Thomas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 07 Sep 2020 20:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42248 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 42248@debbugs.gnu.org Received: via spool by 42248-submit@debbugs.gnu.org id=B42248.159950924025471 (code B ref 42248); Mon, 07 Sep 2020 20:08:01 +0000 Received: (at 42248) by debbugs.gnu.org; 7 Sep 2020 20:07:20 +0000 Received: from localhost ([127.0.0.1]:50969 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kFNQ8-0006cl-3U for submit@debbugs.gnu.org; Mon, 07 Sep 2020 16:07:20 -0400 Received: from mail-oo1-f48.google.com ([209.85.161.48]:43254) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kFNQ6-0006cY-HS for 42248@debbugs.gnu.org; Mon, 07 Sep 2020 16:07:19 -0400 Received: by mail-oo1-f48.google.com with SMTP id h9so3460464ooo.10 for <42248@debbugs.gnu.org>; Mon, 07 Sep 2020 13:07:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sc3d.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ALQajfLKxn3ksLYT6YONs9yc/t5vM6MfHxZveqBslE8=; b=lUH37kUyY+0rcjusvdyY4gobU1UioiwJehX7vZ1VeBTFMbTFTWWZDEwuvMhrlT14TD uDN5BwxKmJOsOOPvgfxKQ0DFq5lP/2tLSivb+jdLYgrCEqSOiNPsFCBfQ/z7wBFPRdVl HLDV1HebedGnVTZzIl3/ApdDQnxyB1yeR+w/o= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ALQajfLKxn3ksLYT6YONs9yc/t5vM6MfHxZveqBslE8=; b=HOwnrxnqGEZ9DC2sAjU+6ZjJNXwUK/DxNcqVGijhpVqGw5RTMYPeUuNTw1LBemc9jF Jw0ouHkCy9jEAhvDlBvRLIhNQBSlAefUcPkaPX5TG6WRR/WJp/HlGuW2JFRkRwQZ64Qb 7t6OPhe1pB6G8v3TvQL0aLFA0na5CKy5sAO8leU6x1xG6en6yxtxw6VAD7BW1kIgIg41 bNOLh65TPEdVqq9jFci1aNmiQ/BgpojWBD6uI6qdOTW6qJKekWY74CUxCVQh8HDilxHw fOAwZgyEmUiT5e6TV+WYnJseH6OWyWp5ZJ+Z0C7ErHgxrS9u4rQN10V/nl4koedUi9zJ J2/g== X-Gm-Message-State: AOAM533CNDyf2HikgvWaSJMVVvLKnZbBPEQJbFPMVQweczpFy02tDG47 Dq0rMWGtHMqFeelpOmUpFVCiJufj6PibIB8L06bRXo4q/TA= X-Google-Smtp-Source: ABdhPJxuCsAxDRYueSE+I0sILXf//CFKAssTVaLufkBkTyN7QQUPjtMHddn1zOpezfPdHQn+C9kzdrNZhNiHGBXq5ko= X-Received: by 2002:a4a:e98e:: with SMTP id s14mr15785122ood.28.1599509232754; Mon, 07 Sep 2020 13:07:12 -0700 (PDT) MIME-Version: 1.0 References: <878sfvwbr0.fsf@disroot.org> <83zh61mvu6.fsf@gnu.org> In-Reply-To: <83zh61mvu6.fsf@gnu.org> From: Reuben Thomas Date: Mon, 7 Sep 2020 21:07:01 +0100 Message-ID: Content-Type: multipart/alternative; boundary="000000000000a236e505aebec3a0" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --000000000000a236e505aebec3a0 Content-Type: text/plain; charset="UTF-8" On Mon, 7 Sep 2020 at 16:48, Eli Zaretskii wrote: > > Date: Mon, 7 Sep 2020 00:53:52 +0100 > > From: Reuben Thomas via "Bug reports for GNU Emacs, > > the Swiss army knife of text editors" > > > > I agree with the patch to ispell.el, in all three points, though for me > the invocation of enchant-lsmod-2 does > > not fail with the extra argument (this will be why I didn't notice the > problem when I originally wrote the code). I > > am happy to install this patch if Eli agrees. > > I agree, please go ahead. > I have installed the patch. Thanks, Jorge! I will now make the fixes I mentioned to Enchant, and make a new release. Jorge, it would be very helpful if at that point you could confirm whether the problems other than en_US's treatment of apostrophes are now fixed for you. I will also review the test cases from this thread with the updated Enchant and ispell.el. -- https://rrt.sc3d.org --000000000000a236e505aebec3a0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Mon, 7 Sep 2020 at 16:48, Eli Zaretskii <eliz@gnu.org> wrote:
> Date: Mon, 7 Sep 2020 00:53:52 +0100
> From: Reuben Thomas via "Bug reports for GNU Emacs,
>=C2=A0 the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
>
> I agree with the patch to ispell.el, in all three points, though for m= e the invocation of enchant-lsmod-2 does
> not fail with the extra argument (this will be why I didn't notice= the problem when I originally wrote the code). I
> am happy to install this patch if Eli agrees.

I agree, please go ahead.

I have installed the patch. Thanks, Jorge! I will now make the fixes I men= tioned to Enchant, and make a new release. Jorge, it would be very helpful = if at that point you could confirm whether the problems other than en_US= 9;s treatment of apostrophes are now fixed for you. I will also review the = test cases from this thread with the updated Enchant and ispell.el.

--
=
--000000000000a236e505aebec3a0-- From unknown Sun Jun 22 00:52:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#42248: Problems between Flyspell and Enchant Resent-From: Reuben Thomas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 07 Sep 2020 21:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42248 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 42248@debbugs.gnu.org Received: via spool by 42248-submit@debbugs.gnu.org id=B42248.15995130417685 (code B ref 42248); Mon, 07 Sep 2020 21:11:02 +0000 Received: (at 42248) by debbugs.gnu.org; 7 Sep 2020 21:10:41 +0000 Received: from localhost ([127.0.0.1]:51119 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kFOPR-0001zs-7t for submit@debbugs.gnu.org; Mon, 07 Sep 2020 17:10:41 -0400 Received: from mail-oi1-f180.google.com ([209.85.167.180]:35299) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kFOPP-0001zM-JW for 42248@debbugs.gnu.org; Mon, 07 Sep 2020 17:10:40 -0400 Received: by mail-oi1-f180.google.com with SMTP id w16so14603503oia.2 for <42248@debbugs.gnu.org>; Mon, 07 Sep 2020 14:10:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sc3d.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=VhVFQhqkgTHOW/4625JAHLmCemvOAwf7tmQv41WuLR4=; b=rbdEahB6IDA2vbxOa5G/BQO8hwPgglk4X3iNJD2X9YNrN8zqB6G99LokhsDid+9QVX nrK/3Xc3bwLD096P7BsfS+f+MMz8ypIXAoIvzXqGcorDphMniOj1fy8Jl6jhojbl/GfJ g5C/O6WN004PrTs/l7b7Ex3P13mhEtFkOo/mk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=VhVFQhqkgTHOW/4625JAHLmCemvOAwf7tmQv41WuLR4=; b=LSUrxSbH/QzmpLJrJLUAaAJW0UOWbv+Ei9DxPN20Onbir6YdbASPQ8fHMoCeGKB+DO qIQcckdDb0WDgykQzVR6HMJNBVqf0zzConR4sZ+03wIgooQS+fSt8nededMHdp+z9F8O 1HXPAXMEuhmaEhn4LeEjN3rmzV20XraApd31d0Q4xJ5KG8h2HnOS1sDfGzquFFWg4wrR 6dlvEtGKwh/jKRn7ScmkgWoC64k1vaGdtatC3oMwYNRbxrDVijliWueiHyO9kRjbSlDz siVM2/azggJJJZKbGMJmlQWJmF4UjLGjb4e1/OTOYe/7Yw/2XxSigQs/4OwZfcVu/cJc MoyA== X-Gm-Message-State: AOAM533flX+rB6JsWdscmjgKa8LGkSgXB6EwIVOzLobTNk3G11Nkk0C8 K3P/w9efPNON3sNAaXiAjFNqJM07twEdZnz95cJ3Bel4AhY= X-Google-Smtp-Source: ABdhPJxDMrSrZ5SWyGI/tSEzsdDy0P6nUXn42qLthUNR86YUXTnQl1C7LiVY11zw9zoLqcz08KI7QFbC/B7bQ4PP+yk= X-Received: by 2002:aca:4904:: with SMTP id w4mr710508oia.179.1599513033537; Mon, 07 Sep 2020 14:10:33 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Reuben Thomas Date: Mon, 7 Sep 2020 22:10:22 +0100 Message-ID: Content-Type: multipart/alternative; boundary="0000000000002d8e0f05aebfa662" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --0000000000002d8e0f05aebfa662 Content-Type: text/plain; charset="UTF-8" On Mon, 7 Sep 2020 at 00:53, Reuben Thomas wrote: > > I found a couple of minor bugs in enchant: first, it gives an unhelpful > error message when asked for a language it doesn't have; and secondly, at > least for me `enchant-lsmod-2 -list-dicts` does not list the en_US > dictionary even though it is installed. I will look into those, as the > second in particular affects Emacs. > It turns out I was mistaken about both of these bugs: the first was just my forgetting a "mode" flag such as -l, and the second was untrue: en_US was present in the list, just not near the other en dictionaries. I have made enchant sort the dictionary tags when it lists them, to make it more user-friendly! -- https://rrt.sc3d.org --0000000000002d8e0f05aebfa662 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Mon, 7 Sep 2020 at 00:53, Reuben Thomas <rrt@sc3d.org> wrote:

I found a couple of minor bugs in en= chant: first, it gives an unhelpful error message when asked for a language= it doesn't have; and secondly, at least for me `enchant-lsmod-2 -list-= dicts` does not list the en_US dictionary even though it is installed. I wi= ll look into those, as the second in particular affects Emacs.

It turns out I was m= istaken about both of these bugs: the first was just my forgetting a "= mode" flag such as -l, and the second was untrue: en_US was present in= the list, just not near the other en dictionaries. I have made enchant sor= t the dictionary tags when it lists them, to make it more user-friendly!

--
=
--0000000000002d8e0f05aebfa662-- From unknown Sun Jun 22 00:52:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#42248: Problems between Flyspell and Enchant Resent-From: Reuben Thomas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 07 Sep 2020 21:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42248 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 42248@debbugs.gnu.org Received: via spool by 42248-submit@debbugs.gnu.org id=B42248.15995136228608 (code B ref 42248); Mon, 07 Sep 2020 21:21:01 +0000 Received: (at 42248) by debbugs.gnu.org; 7 Sep 2020 21:20:22 +0000 Received: from localhost ([127.0.0.1]:51150 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kFOYo-0002Em-0f for submit@debbugs.gnu.org; Mon, 07 Sep 2020 17:20:22 -0400 Received: from mail-oi1-f177.google.com ([209.85.167.177]:38366) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kFOYl-0002ET-Ov for 42248@debbugs.gnu.org; Mon, 07 Sep 2020 17:20:20 -0400 Received: by mail-oi1-f177.google.com with SMTP id y6so14588924oie.5 for <42248@debbugs.gnu.org>; Mon, 07 Sep 2020 14:20:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sc3d.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Q58/tFnO7gFk0g81rAdx9Fv/r9lFRPVfS8utwEyhwjY=; b=rdPEZ75bAqm2wDZdAELs46MgJOFGnGY4q07xKRKyZgrRKvOI9b+2yzHaDl+HnWuod1 +MjbniPRXD8P/ANtve2rFGE2/nRMZI/BqKResba3sqFGzihTPEGWPxCw6wKnFK784Q7V rH4rdRg0RVqXV7ySJ/dL9cbaxHaRV4nFPUCzg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Q58/tFnO7gFk0g81rAdx9Fv/r9lFRPVfS8utwEyhwjY=; b=j2l+t67NYQrl91RApgZUynOL0+xOYTqa8ucQ3gEE0EWVJyL+cEenChrLxOiZKIMLHb FQ2T/DYU4EyN0JzGACKEWZb72acnevicY2vSHCy/FMNpxpfvf/r0XF1q5/nuBj29PLr1 II5ppJ7AaAAQ09Icz/Uz7KSrmCNwfmez/DfTlVys63D9X9wvjALN7qtdFPp2fNd5S+0n KCM1KYEZtpmb89rx9d0KrItxo3iHEs7VneUNFI5Lksn3IFJl4jbgW1cKp0aaMe7WzZJC PMtcpbuUgXuIS7fzzU9EtRlZnfL9A8kqHuZMBxPg6h2jHw1IxKrFq/9cX/z3k7WLvy7L TqdQ== X-Gm-Message-State: AOAM531DQL3rdcX7vJIPVstb+scTKSfSs9nMAy7gUUrlbgTuJt3iaYsb HcdHgxEqRcqcVQ11YrXSx6VUtYVXl6fl52xNqVTDkEILN+VNsQ== X-Google-Smtp-Source: ABdhPJw/08SwALV7eCeAZpcg4tBT2H7j2oxnadAnq/nyel5zbVQwjInrrGp7rD8pPSpK9saTt6uJiM/7rP0RYzs0xq8= X-Received: by 2002:aca:abc2:: with SMTP id u185mr773910oie.62.1599513614056; Mon, 07 Sep 2020 14:20:14 -0700 (PDT) MIME-Version: 1.0 References: <878sfvwbr0.fsf@disroot.org> <83zh61mvu6.fsf@gnu.org> In-Reply-To: From: Reuben Thomas Date: Mon, 7 Sep 2020 22:20:03 +0100 Message-ID: Content-Type: multipart/alternative; boundary="000000000000c7986405aebfc828" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --000000000000c7986405aebfc828 Content-Type: text/plain; charset="UTF-8" On Mon, 7 Sep 2020 at 21:07, Reuben Thomas wrote: > > I have installed the patch. Thanks, Jorge! I will now make the fixes I > mentioned to Enchant, and make a new release. Jorge, it would be very > helpful if at that point you could confirm whether the problems other than > en_US's treatment of apostrophes are now fixed for you. I will also review > the test cases from this thread with the updated Enchant and ispell.el. > I am now ready to release 2.2.11. Jorge, if you could report on your experience with that either by building Enchant directly from https://github.com/rrthomas/enchant/ or by waiting for the new release at https://github.com/AbiWord/enchant/ or in Guix, I would be most grateful. Also I guess you will want the updated version of ispell.el; you can either build Emacs's master branch, or simply copy its ispell.el into a suitable directory for your Emacs 27 (I used my user site-lisp directory). Eli, Jorge, I guess you can decide after that whether this bug can be closed. -- https://rrt.sc3d.org --000000000000c7986405aebfc828 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Mon, 7 Sep 2020 at 21:07, Reuben Thoma= s <rrt@sc3d.org> wrote:
=

I have installed the patch. Thanks, Jorge! I will now mak= e the fixes I mentioned to Enchant, and make a new release. Jorge, it would= be very helpful if at that point you could confirm whether the problems ot= her than en_US's treatment of apostrophes are now fixed for you. I will= also review the test cases from this thread with the updated Enchant and i= spell.el.

I am now ready to release 2.2.11. Jorge, if you could report on your exp= erience with that either by building Enchant directly from https://github.com/rrthomas/enchant/ o= r by waiting for the new release at https://github.com/AbiWord/enchant/ or in Guix, I would be mos= t grateful. Also I guess you will want the updated version of ispell.el; yo= u can either build Emacs's master branch, or simply copy its ispell.el = into a suitable directory for your Emacs 27 (I used my user site-lisp direc= tory).

Eli, Jorge,= I guess you can decide after that whether this bug can be closed.

--
--000000000000c7986405aebfc828-- From unknown Sun Jun 22 00:52:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#42248: 27.0.91; With enchant-2.2.8 from Guix, Flyspell errors out or gives lots of false positives Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 26 Apr 2022 13:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42248 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Reuben Thomas Cc: Eli Zaretskii , 42248@debbugs.gnu.org Received: via spool by 42248-submit@debbugs.gnu.org id=B42248.165097817930075 (code B ref 42248); Tue, 26 Apr 2022 13:03:02 +0000 Received: (at 42248) by debbugs.gnu.org; 26 Apr 2022 13:02:59 +0000 Received: from localhost ([127.0.0.1]:37619 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1njKqJ-0007p1-CB for submit@debbugs.gnu.org; Tue, 26 Apr 2022 09:02:59 -0400 Received: from quimby.gnus.org ([95.216.78.240]:60194) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1njKqH-0007ol-MU for 42248@debbugs.gnu.org; Tue, 26 Apr 2022 09:02:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=KYoXfGiCQhGpyF/dqA67Zgu4db0v89wYYCiB4j1wOlE=; b=K+y9bqCpQzYngMC4iFSE7ERZrp zi/Yxk+PzIp8z6Lc9cAqcVdKEVgllQFrptQpxAPY/WPV1yOIJbF5Aib145wq5k/xI7SCTdQ1Q3GLg Pj42VDsVJ4hdJsQLf30QqLeojAB5xnNyP5NxsYnSOvvXBnQ3GD2uzbbJYbUDklnTqyl0=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1njKq8-0000cx-7U; Tue, 26 Apr 2022 15:02:50 +0200 From: Lars Ingebrigtsen References: <878sfvwbr0.fsf@disroot.org> <83zh61mvu6.fsf@gnu.org> X-Now-Playing: Coffins's _Defilements_: "Till Dawn Of The Dooms Day" Date: Tue, 26 Apr 2022 15:02:47 +0200 In-Reply-To: (Reuben Thomas's message of "Mon, 7 Sep 2020 22:20:03 +0100") Message-ID: <87ee1kgfpk.fsf_-_@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Reuben Thomas writes: > I am now ready to release 2.2.11. Jorge, if you could report on your > experience with that either by building Enchant directly from > https://github.com/rrthomas/enchant/ or by waiting for the new [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Reuben Thomas writes: > I am now ready to release 2.2.11. Jorge, if you could report on your > experience with that either by building Enchant directly from > https://github.com/rrthomas/enchant/ or by waiting for the new release > at https://github.com/AbiWord/enchant/ or in Guix, I would be most > grateful. Also I guess you will want the updated version of ispell.el; > you can either build Emacs's master branch, or simply copy its > ispell.el into a suitable directory for your Emacs 27 (I used my user > site-lisp directory). > > Eli, Jorge, I guess you can decide after that whether this bug can be closed. (I'm going through old bug reports that unfortunately weren't resolved at the time.) This was a year ago, so I assume that Reuben's changes fixed the issue, and I'm therefore closing this bug report. If I misunderstood, please respond to the debbugs address and we'll reopen. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 26 09:03:07 2022 Received: (at control) by debbugs.gnu.org; 26 Apr 2022 13:03:07 +0000 Received: from localhost ([127.0.0.1]:37623 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1njKqR-0007pk-K5 for submit@debbugs.gnu.org; Tue, 26 Apr 2022 09:03:07 -0400 Received: from quimby.gnus.org ([95.216.78.240]:60220) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1njKqP-0007p8-1K for control@debbugs.gnu.org; Tue, 26 Apr 2022 09:03:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=GgGlTMdWwUppfBYEo2/+z9AyGs6zmuBA6jTDqvibPyk=; b=Ct5CCEWcWISv667oyl7Fx6m2V5 cgnZMk6NmJMc9tnHT3wWwiNq7iNtVehYgv3McRiKv2sPaKQn7VpPNzYcIN7utGoDyMi4tDknmL69B ltmiHC82m2XevfIoBavj1K4J29yK90fvlk93qYkTaFWAmYTUITZYwQqaoGVlU45hmvHI=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1njKqD-0000d5-Gs for control@debbugs.gnu.org; Tue, 26 Apr 2022 15:02:59 +0200 Date: Tue, 26 Apr 2022 15:02:53 +0200 Message-Id: <87czh4gfpe.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #42248 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 42248 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 42248 quit