unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: henri-biard@francemel.fr
Cc: 49039@debbugs.gnu.org
Subject: bug#49039: Aspell in Emacs
Date: Tue, 15 Jun 2021 20:30:08 +0300	[thread overview]
Message-ID: <8335tj3ujj.fsf@gnu.org> (raw)
In-Reply-To: <ea-mime-60c8dc9d-16fc-734c68e7@www-7.mailo.com> (henri-biard@francemel.fr)

> 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.





  reply	other threads:[~2021-06-15 17:30 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-15 13:41 bug#49039: Aspell in Emacs henri-biard
2021-06-15 14:24 ` Eli Zaretskii
2021-06-15 15:05   ` Lars Ingebrigtsen
2021-06-15 15:09   ` henri-biard
2021-06-15 15:26     ` Eli Zaretskii
2021-06-15 17:00       ` henri-biard
2021-06-15 17:30         ` Eli Zaretskii [this message]
2021-06-15 17:51           ` Eli Zaretskii
2021-06-15 18:09             ` henri-biard
2021-06-15 18:03           ` henri-biard
2021-06-15 18:12             ` Eli Zaretskii
2021-06-15 19:20               ` henri-biard
2021-06-15 19:25               ` henri-biard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8335tj3ujj.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=49039@debbugs.gnu.org \
    --cc=henri-biard@francemel.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).