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#49039: Aspell in Emacs Date: Tue, 15 Jun 2021 20:30:08 +0300 Message-ID: <8335tj3ujj.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20184"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 49039@debbugs.gnu.org To: henri-biard@francemel.fr Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jun 15 19:33:13 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 1ltCw1-0004jE-DI for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 15 Jun 2021 19:33:09 +0200 Original-Received: from localhost ([::1]:50840 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ltCw0-0008WM-FV for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 15 Jun 2021 13:33:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43928) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ltCty-00054O-FO for bug-gnu-emacs@gnu.org; Tue, 15 Jun 2021 13:31:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39144) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ltCty-0005jW-5C for bug-gnu-emacs@gnu.org; Tue, 15 Jun 2021 13:31:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ltCtx-00037q-OV for bug-gnu-emacs@gnu.org; Tue, 15 Jun 2021 13:31: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: Tue, 15 Jun 2021 17:31:01 +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.162377823310453 (code B ref 49039); Tue, 15 Jun 2021 17:31:01 +0000 Original-Received: (at 49039) by debbugs.gnu.org; 15 Jun 2021 17:30:33 +0000 Original-Received: from localhost ([127.0.0.1]:50690 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ltCtU-0002hv-EQ for submit@debbugs.gnu.org; Tue, 15 Jun 2021 13:30:32 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:45996) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ltCtS-0002aj-5S for 49039@debbugs.gnu.org; Tue, 15 Jun 2021 13:30:31 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:36180) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ltCtL-0005G1-Vt; Tue, 15 Jun 2021 13:30:24 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3201 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 1ltCt7-0001Bp-8P; Tue, 15 Jun 2021 13:30:23 -0400 In-Reply-To: (henri-biard@francemel.fr) 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:208580 Archived-At: > From: henri-biard@francemel.fr > Cc: 49039@debbugs.gnu.org > Date: Tue, 15 Jun 2021 19:00:13 +0200 (CEST) > > >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. If that's the only problem, then I already fixed it about 2 hours ago. > >> Would you seriously consider have a generic spell framework for 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 developer to do it that way. Correct me if I am wrong. You are wrong. Please read the code, don't just judge it by the name of the package (which is just a historic incident). > Had tried lookinf for the self documentation for ispell-program-name, but could not > access anything. "C-h v ispell-program-name RET" would have shown its documentation. "M-x customize-group RET ispell RET" would have shown you all the customizable options for the package. > Indeed I had to file a report for people to tell me this. I suggest to spend some time learning to use the Emacs help commands, such as the two commands I show above, they usually make discovery fast and efficient. In any case, since Emacs already looks for known spell-checkers, and already prefers aspell, my conclusion from the fact that it didn't work for you is that you have some unusual setup, which should be quite rare nowadays. The defaults are set such that the user will not need to know about this variable. > >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? I don't think it should be. When you install a speller such as aspell, if its executable file is not on PATH, your system is misconfigured. The Emacs manual is not the place where people should look for information about setting up spelling on misconfigured systems. IOW, spelling with aspell in Emacs should work as long as invoking aspell from the shell prompt works. If it doesn't work to invoke aspell from the shell prompt, then you should first correct your system's configuration so that it does.