From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: henri-biard@francemel.fr Newsgroups: gmane.emacs.bugs Subject: bug#49039: Aspell in Emacs Date: Tue, 15 Jun 2021 19:00:13 +0200 (CEST) Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_001_60c8dc9d_16fc_67ee4e39" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3292"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 49039@debbugs.gnu.org To: "Eli Zaretskii" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jun 15 19:06:16 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 1ltCVz-0000g2-U6 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 15 Jun 2021 19:06:16 +0200 Original-Received: from localhost ([::1]:47388 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ltCVy-0002NH-VQ for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 15 Jun 2021 13:06:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35194) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ltCQy-0005Z7-1f for bug-gnu-emacs@gnu.org; Tue, 15 Jun 2021 13:01:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39127) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ltCQx-00030X-Pc for bug-gnu-emacs@gnu.org; Tue, 15 Jun 2021 13:01:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ltCQx-0001R8-OK for bug-gnu-emacs@gnu.org; Tue, 15 Jun 2021 13:01:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: henri-biard@francemel.fr Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 15 Jun 2021 17:01:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49039 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 49039-submit@debbugs.gnu.org id=B49039.16237764455473 (code B ref 49039); Tue, 15 Jun 2021 17:01:03 +0000 Original-Received: (at 49039) by debbugs.gnu.org; 15 Jun 2021 17:00:45 +0000 Original-Received: from localhost ([127.0.0.1]:50671 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ltCQf-0001QC-53 for submit@debbugs.gnu.org; Tue, 15 Jun 2021 13:00:45 -0400 Original-Received: from msg-1.mailo.com ([213.182.54.11]:60468) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ltCQd-0001Pz-Gt for 49039@debbugs.gnu.org; Tue, 15 Jun 2021 13:00:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=francemel.fr; s=mailo; t=1623776414; bh=MrFgo8M8+syQo97QDrGpCdR0KXEwjGYxoJNqjePg0vY=; h=X-EA-Auth:From:To:Cc:Date:Subject:MIME-Version:X-Mailer: Message-ID:In-Reply-To:Content-Type; b=a55moZFzikcmycQtBqlHqq4NmDMjwqxICrjK0SGKsJfJLTsPu8aTKnbpE0v+PTAtC vBGrCAsNwdL/G6G4G6mCZZuyPj0dxN0VwjXq1YtU4Fr/RHy/WCqHKt7KVoaxF7ZrUL WmhrWPqd5W89u7Ehp7i7Vs86gOjWZBJZmTl6KPL8= Original-Received: by www-7.mailo.com with http webmail; Tue, 15 Jun 2021 19:00:13 +0200 (CEST) X-EA-Auth: n0eXX7ovc7Y5BILwVVSM+sJ7t2f9m1opOgrBKW4HOx7G8zQB4PRkM92cvEEk5t4WhRBumxV6faUiRf+yEogXISgy/qCNDFAz X-Priority: 3 X-Mailer: COMS/EA21.01/r20210601 In-Reply-To: <83fsxj409w.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:208578 Archived-At: ------=_NextPart_001_60c8dc9d_16fc_67ee4e39 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable >From: Eli Zaretskii >To: henri-biard@francemel.fr >Subject: bug#49039: Aspell in Emacs >Date: 15/06/2021 17:26:19 Europe/Paris >Cc: 49039@debbugs.gnu.org >> From: henri-biard@francemel.fr >> Cc: 49039@debbugs.gnu.org >> Date: Tue, 15 Jun 2021 17:09:32 +0200 (CEST) >>=20 >> Currently, I can only find a brief mention in >>=20 >> 16.4 Checking and Correcting Spelling >It isn't a brief mention, it's a whole section dedicated to >spell-checking commands. There is no mention of ispell-program-name actually. >> It is unfortunate that emacs are still uses the name "ispell" because i= t erroneously >> makes believe that one is making use of ispell, even thogh one in using= ispell. >If you read that section, you will realize that "ispell" is the name >of the Lisp package, and does not mean we only use "ispell" the >program. That section says so at its very beginning. That can be highly confusing because it is very easy to confuse with ispel= l the program, and to understand that ispell is actually aspell (or anything you want for= that matter). >> Would you seriously consider have a generic spell framework for emacs t= hat >> one can set up to use ispell, aspell etc. >We already have such a generic framework. It looks to me that it is basically a hack of ispell, likely the result th= at it was easier=20 and quicker for the developer to do it that way.=C2=A0 Correct me if I am = wrong. >> In my opinion, the default should be set >> to use aspell because its manual says that it ought to do a superior jo= b and is intended >> to replace ispell.=20 >The default is already aspell: >(defcustom ispell-program-name >(or (executable-find "aspell") >(executable-find "ispell") >(executable-find "hunspell") >"ispell") >As you see, Emacs looks for a program in the order shown above, with >aspell being the first one. Had tried lookinf for the self documentation for ispell-program-name, but = could not=20 access anything.=C2=A0 Indeed I had to file a report for people to tell me= this. >> Does one use the command this way >>=20 >> (setq ispell-program-name "aspell) >>=20 >> or this way >>=20 >> (setq ispell-program-name "/usr/bin/aspell") >If aspell is on PATH, it doesn't matter which form you use. If it is >not on PATH, then you should use the absolute file name. Would you also say that the information is in the manual? Many Gratitudes. ------=_NextPart_001_60c8dc9d_16fc_67ee4e39 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

>From: Eli Zaretskii <eliz@gnu.org>
>To: henri-biard@francemel.fr
>Subject: bug#49039: Aspell in Emacs
>Date: 15/06/2021 17:26:19 Europe/Paris
>Cc: 49039@debbugs.gnu.org

>> From: henri-biard@francemel.fr
>> Cc: 49039@debbugs.gnu.org
>> Date: Tue, 15 Jun 2021 17:09:32 +0200 (CEST)
>>
>> Currently, I can only find a brief mention in
>>
>> 16.4 Checking and Correcting Spelling

>It isn't a brief mention, it's a whole section dedicated to
>spell-checking commands.

There is no mention of ispell-program-name actually.<= br>

>> It is unfortunate that emacs are still uses the name "ispell= " because it erroneously
>> makes believe that one is making use of ispell, even thogh one in= using ispell.

>If you read that section, you will realize that "ispell" is = the name
>of the Lisp package, and does not mean we only use "ispell" = the
>program. That section says so at its very beginning.

That can be highly confusing because it is very easy t= o confuse with ispell the program,
and to understand that ispell = is actually aspell (or anything you want for that matter).

>> Would you seriously consider have a generic spell framework fo= r emacs that
>> one can set up to use ispell, aspell etc.

>We already have such a generic framework.

It looks to me that it is basically a hack of ispell, = likely the result that it was easier
and quicker for the dev= eloper to do it that way.=C2=A0 Correct me if I am wrong.
>> In my opinion, the default should be set
>> to use aspell because its manual says that it ought to do a super= ior job and is intended
>> to replace ispell.

>The default is already aspell:

>(defcustom ispell-program-name
>(or (executable-find "aspell")
>(executable-find "ispell")
>(executable-find "hunspell")
>"ispell")

>As you see, Emacs looks for a program in the order shown above, with >aspell being the first one.

Had tried lookinf for the self documentation for ispel= l-program-name, but could not
access anything.=C2=A0 Indeed = I had to file a report for people to tell me this.

= >> Does one use the command this way
>>
>> (setq ispell-program-name "aspell)
>>
>> or this way
>>
>> (setq ispell-program-name "/usr/bin/aspell")

>If aspell is on PATH, it doesn't matter which form you use. If it is<= br>
>not on PATH, then you should use the absolute file name.
Would you also say that the information is in the manual?
=

Many Gratitudes.



------=_NextPart_001_60c8dc9d_16fc_67ee4e39--