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#46298: 28.0.50; Best default for ispell-program-name Date: Thu, 04 Feb 2021 19:29:02 +0200 Message-ID: <83czxfrbc1.fsf@gnu.org> References: <3d4d8987-f388-dc95-bd43-d7cc4c29d3bc@froglet.home.mavit.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11964"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 46298@debbugs.gnu.org To: Peter Oliver Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Feb 04 19:26:54 2021 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 1l7jL9-0002vj-7h for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 04 Feb 2021 19:26:51 +0100 Original-Received: from localhost ([::1]:54206 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l7jL8-0002D2-7h for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 04 Feb 2021 13:26:50 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52564) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l7iSB-0001lh-96 for bug-gnu-emacs@gnu.org; Thu, 04 Feb 2021 12:30:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58849) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l7iSB-0001p5-0D for bug-gnu-emacs@gnu.org; Thu, 04 Feb 2021 12:30:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l7iSA-0001XQ-Qh for bug-gnu-emacs@gnu.org; Thu, 04 Feb 2021 12:30:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 04 Feb 2021 17:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46298 X-GNU-PR-Package: emacs Original-Received: via spool by 46298-submit@debbugs.gnu.org id=B46298.16124597555784 (code B ref 46298); Thu, 04 Feb 2021 17:30:02 +0000 Original-Received: (at 46298) by debbugs.gnu.org; 4 Feb 2021 17:29:15 +0000 Original-Received: from localhost ([127.0.0.1]:42162 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l7iRP-0001VE-4B for submit@debbugs.gnu.org; Thu, 04 Feb 2021 12:29:15 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:34468) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l7iRM-0001Ur-R7 for 46298@debbugs.gnu.org; Thu, 04 Feb 2021 12:29:13 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:41698) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l7iRG-0001Bz-AQ; Thu, 04 Feb 2021 12:29:07 -0500 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2986 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1l7iRB-0003se-K5; Thu, 04 Feb 2021 12:29:03 -0500 In-Reply-To: <3d4d8987-f388-dc95-bd43-d7cc4c29d3bc@froglet.home.mavit.org.uk> (message from Peter Oliver on Thu, 4 Feb 2021 16:03:15 +0000 (GMT)) 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:199316 Archived-At: > From: Peter Oliver > Date: Thu, 4 Feb 2021 16:03:15 +0000 (GMT) > > The default value of ispell-program-name is decided by looking in turn for the binaries aspell, ispell, hunspell and enchant-2, and using whichever is first found. Would it make sense to sort these in order of which we believe to be best? Not sure we need to change the order. ispell-program-name is a defcustom, which means users are invited to set it according to their preferences. We cannot pretend we know the preferences of each user. > As I understand it, which backend is most accurate varies from language to language. Assuming the quality of the Emacs integration is equal, I would suggest putting Enchant first on the list rather than last. Enchant doesnʼt do any spellchecking itself, but instead selects a backend based on a per-language configuration preference, automatically skipping any backends which are not installed or for which dictionaries are not installed in the current language. I have the impression that Enchant is still a new player on this field, and keeps changing significantly. Maybe it's good enough in distros that use the latest versions, but what about people who have older versions installed? One more reason not to try to second guess what is best for the users, I guess. Does anyone else have an opinion?