From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Reuben Thomas via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#52179: Highlighting a word in `ispell' using `enchant' Date: Wed, 25 May 2022 08:39:49 +0100 Message-ID: References: <83y1yq4ug1.fsf@gnu.org> <83v8tu4tac.fsf@gnu.org> <83tu9e4a75.fsf@gnu.org> Reply-To: Reuben Thomas Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000447a5a05dfd12eef" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17579"; mail-complaints-to="usenet@ciao.gmane.io" Cc: tor.kringeland@ntnu.no, 52179@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed May 25 09:43:47 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 1ntlgI-0004My-TU for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 25 May 2022 09:43:47 +0200 Original-Received: from localhost ([::1]:42112 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ntlgG-00061D-Ht for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 25 May 2022 03:43:45 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42964) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ntldf-0004Xp-1g for bug-gnu-emacs@gnu.org; Wed, 25 May 2022 03:41:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60330) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ntlde-0006zQ-D9 for bug-gnu-emacs@gnu.org; Wed, 25 May 2022 03:41:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ntlde-0003RY-AP for bug-gnu-emacs@gnu.org; Wed, 25 May 2022 03:41:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Reuben Thomas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 25 May 2022 07:41:02 +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.165346440913161 (code B ref 52179); Wed, 25 May 2022 07:41:02 +0000 Original-Received: (at 52179) by debbugs.gnu.org; 25 May 2022 07:40:09 +0000 Original-Received: from localhost ([127.0.0.1]:54227 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ntlcn-0003QA-C3 for submit@debbugs.gnu.org; Wed, 25 May 2022 03:40:09 -0400 Original-Received: from mail-pj1-f54.google.com ([209.85.216.54]:43564) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ntlck-0003Pr-T2 for 52179@debbugs.gnu.org; Wed, 25 May 2022 03:40:07 -0400 Original-Received: by mail-pj1-f54.google.com with SMTP id l7-20020a17090aaa8700b001dd1a5b9965so4307486pjq.2 for <52179@debbugs.gnu.org>; Wed, 25 May 2022 00:40:06 -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=DVbpSaYiHEjdw/jvFUus8elEhqdKRiUqU0iyvHRVrKI=; b=loimKZz472HK0CB4VLYXLDBMQ/rXRFhhedVikh3zvyisAgd2nIDVdmB8OI8/iX1bxq RjmyKBP1/Lt4Fg5WmkAOK+9PQKwL29J8lBSnO1IBW7LlIgErX5syiT5S5naMDGV4Kc5t b1Fv61oVLo+LUtdEA8dxSHCTDRZ9t3jEyVyI8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=DVbpSaYiHEjdw/jvFUus8elEhqdKRiUqU0iyvHRVrKI=; b=k5C8caNj2teQ7fUt++LcZ/tyipn1Iv5Pe5fUbHbj7t0SFCDzk9lryvoi+at8V8fy3b LLNe+NDowgL8As0kxTajrS8H99t3RUei+LNBtpmCXZuEnLVifRPoJxSNMjmImV043lbm Nb3j6L0PD68H1EJDo06enlYsOLYZ7vDyDvspgXbpuF//tXlLYf88yJfFzZjIkw2wGOMS Bmo85bdZUWCekeOp8uo+7sWDvXlbFAqzwtr9/8F2DRAvmod94J9UjWWV4q+eF4MCTLqT jLMc8p8ukelCLe6qn60Xjh2+TFTqgqGLk1wSPcwcsSysPJMrmJ6xhYCU4AQHJ8q3FbaI oEuw== X-Gm-Message-State: AOAM533+a4lrz4D+m3xv30MrzrUlqbQ1cpXlgQEv1/N6N3SgkG+YBpay qKC369IJRwd5oYtD6Qt8AaFa7Jhf27kKpVA3/Xjhvw== X-Google-Smtp-Source: ABdhPJyVCTA/+YWqtRRMLiMs8J5RZgt1uqyzJ1CJLymZi2RtEoOJ4TMl9VIRwtaFrZAtzr7//f9IRAyff5wofJFXEkg= X-Received: by 2002:a17:902:e54c:b0:162:5c8e:2acd with SMTP id n12-20020a170902e54c00b001625c8e2acdmr4721274plf.30.1653464400943; Wed, 25 May 2022 00:40:00 -0700 (PDT) In-Reply-To: <83tu9e4a75.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:233047 Archived-At: --000000000000447a5a05dfd12eef Content-Type: text/plain; charset="UTF-8" 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). -- https://rrt.sc3d.org --000000000000447a5a05dfd12eef Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Wed, 25 May 2022 at= 03:28, Eli Zaretskii <eliz@gnu.org&= gt; wrote:
> From: Reuben Thomas <rrt@sc3d.org>
> Date: Tue, 24 May 2022 22:34:14 +0100
> Cc: Tor Kringeland <tor.kringeland@ntnu.no>, 52179@debbugs.gnu.org
>
> Since ispell is the only spellchecker Emacs supports that can't co= pe with [[:alpha:]], it would seem more
> sensible to have a default (nil-keyed) setting in ispell-dictionary-ba= se-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?=C2=A0 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 ba= ck-end speller (I removed this support in version 2 of Enchant).
<= /div>

--
=
--000000000000447a5a05dfd12eef--