all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Using aspell in emacs
Date: Wed, 16 Jun 2021 14:38:35 -0400	[thread overview]
Message-ID: <87bl85zmc4.fsf@alphaville.usersys.redhat.com> (raw)
In-Reply-To: ea-mime-60c81b86-2640-67f661f2@www-7.mailo.com

henri-biard@francemel.fr writes:

> Have been trying to set aspell for me to correct words instead of ispell.
> But Have not found any information on how to call aspell commands in emacs.
> Have installed aspell using synaptic package manager.

C-h v ispell-program-name. Mine says:

,----
| ispell-program-name is a variable defined in ‘ispell.el’.
| Its value is "/usr/bin/aspell"
| 
|   You can customize this variable.
| 
| Documentation:
| Program invoked by M-$ and M-x ispell-region commands.
`----

And if I check `ispell.el' I see the choices:

,----
| (defcustom ispell-program-name
|   (or (executable-find "aspell")
|       (executable-find "ispell")
|       (executable-find "hunspell")
|       "ispell")
`----

So if you have installed aspell and emacs can find it, it will use it automatically.

-- 
Nick

"There are only two hard problems in computer science: cache
invalidation, naming things, and off-by-one errors." -Martin Fowler




  parent reply	other threads:[~2021-06-16 18:38 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-15  3:16 Using aspell in emacs henri-biard
2021-06-15  3:39 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-06-15  4:32   ` henri-biard
2021-06-15  7:00     ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-06-15 12:34       ` henri-biard
2021-06-15 14:48         ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-06-15 13:48     ` Jean Louis
2021-06-15  4:51   ` henri-biard
2021-06-15  7:04     ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-06-15 12:30       ` henri-biard
2021-06-16 18:38 ` Nick Dokos [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-06-15 14:04 henri-biard
2021-06-15 14:18 ` Emanuel Berg
2021-06-15 14:22   ` Jean Louis
2021-06-15 14:32   ` henri-biard
2021-06-15 14:18 ` Jean Louis
2021-06-15 14:37   ` henri-biard
2021-06-15 17:42     ` Jean Louis
2021-06-15 21:25       ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-06-15 21:34         ` Jean Louis
2021-06-16 17:03           ` Emanuel Berg via Users list for the GNU Emacs text editor

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

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

  git send-email \
    --in-reply-to=87bl85zmc4.fsf@alphaville.usersys.redhat.com \
    --to=ndokos@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.