From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#52179: Highlighting a word in `ispell' using `enchant' Date: Wed, 25 May 2022 16:23:01 +0300 Message-ID: <83mtf54uh6.fsf@gnu.org> References: <83y1yq4ug1.fsf@gnu.org> <83v8tu4tac.fsf@gnu.org> <83tu9e4a75.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13203"; mail-complaints-to="usenet@ciao.gmane.io" Cc: tor.kringeland@ntnu.no, 52179@debbugs.gnu.org To: Reuben Thomas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed May 25 15:24:35 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ntr06-0003I8-Vx for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 25 May 2022 15:24:35 +0200 Original-Received: from localhost ([::1]:39128 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ntr06-0001rj-19 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 25 May 2022 09:24:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52216) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ntqza-0001oU-0D for bug-gnu-emacs@gnu.org; Wed, 25 May 2022 09:24:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60745) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ntqzZ-0008Uk-Kt for bug-gnu-emacs@gnu.org; Wed, 25 May 2022 09:24:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ntqzZ-0004cz-Hk for bug-gnu-emacs@gnu.org; Wed, 25 May 2022 09:24:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 25 May 2022 13:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52179 X-GNU-PR-Package: emacs Original-Received: via spool by 52179-submit@debbugs.gnu.org id=B52179.165348500017720 (code B ref 52179); Wed, 25 May 2022 13:24:01 +0000 Original-Received: (at 52179) by debbugs.gnu.org; 25 May 2022 13:23:20 +0000 Original-Received: from localhost ([127.0.0.1]:54640 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ntqyt-0004bk-U5 for submit@debbugs.gnu.org; Wed, 25 May 2022 09:23:20 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:58806) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ntqyq-0004bS-Ah for 52179@debbugs.gnu.org; Wed, 25 May 2022 09:23:18 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:60984) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ntqyk-0008L4-Bv; Wed, 25 May 2022 09:23:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=0dnh/ms4bhuBzLJ5PNbdnlMnMnkAjG9FTwNE3+mFJ+o=; b=Zy2zO9pXItjo CqyR70KJrZe2WE5U/berLQs2QvN3kSyAMr2CBnwa/qqjjW7yR8o11/Xf8idwx9vlkA7aAutulQ645 kYFlvXGmRNFeeNNqEfnKNroYJq0fQIgilLO8zM26KngPhM6OS4N3SwY4ZLFrGL+dV3J4MpqWibRAj Cfq36KRW123tBZ+c+4iUAojFuQ0Y4C4rleJB9BM5cnQsVWQlYqZIRTzZb8YyIfqSgo4X5q6mpp9VD g0jplZPLD2CoKFvaoo1xsLbugRI68qWIryDkpn40iSZHtD3SLLSkf2xPdVK7YMd+AxIoX3VK23v3n 3E4o2E6iB83LGE4fNvgtxA==; Original-Received: from [87.69.77.57] (port=1600 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ntqyj-0003F2-Rs; Wed, 25 May 2022 09:23:10 -0400 In-Reply-To: (message from Reuben Thomas on Wed, 25 May 2022 08:39:49 +0100) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:233060 Archived-At: > From: Reuben Thomas > Date: Wed, 25 May 2022 08:39:49 +0100 > Cc: tor.kringeland@ntnu.no, 52179@debbugs.gnu.org > > > [1:text/plain Show] > > > [2:text/html Hide Save:noname (1kB)] > > On Wed, 25 May 2022 at 03:28, Eli Zaretskii wrote: > > > From: Reuben Thomas > > Date: Tue, 24 May 2022 22:34:14 +0100 > > Cc: Tor Kringeland , 52179@debbugs.gnu.org > > > > Since ispell is the only spellchecker Emacs supports that can't cope with [[:alpha:]], it would seem > more > > sensible to have a default (nil-keyed) setting in ispell-dictionary-base-alist, and to overwrite the default > with > > [A-Za-z] only if the spellchecker is really ispell. > > > > This way, duplicate code can be removed and future spellcheckers will not need to rediscover this > problem. > > That might be okay, but how does it help us get the Enchant support in > ispell.el DTRT? We'd still need to detect when Ispell is used as the > back-end speller, no? > > Versions of Enchant compatible with Emacs do not support Ispell as the back-end speller (I removed this > support in version 2 of Enchant). So we could just modify ispell-find-enchant-dictionaries to always patch the nil entry, like the other two backends do. Right?