unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* hunspell
@ 2022-10-21 19:46 Eric Lindblad
  2022-10-22  7:32 ` hunspell Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Eric Lindblad @ 2022-10-21 19:46 UTC (permalink / raw)
  To: help-gnu-emacs

   What's needed in ~/.emacs.d/init.el to use hunspell and specifically to
   use the symlinks listed?

   I have seen this on the Internet, but perhaps additional lines are
   indicated, or there is a better approach.

   (setq
     ispell-program-name
     "/usr/bin/hunspell")

   Also I guess I should have some lines for flyspell.

   $ which hunspell
   /usr/bin/hunspell
   bash-5.1$ file /usr/share/hunspell/{*aff,*.dic}
   /usr/share/hunspell/en_DK.aff:     symbolic link to en_GB-ise.aff
   /usr/share/hunspell/en_GB-ise.aff: Unicode text, UTF-8 text
   /usr/share/hunspell/en_DK.dic:     symbolic link to en_GB-ise.dic
   /usr/share/hunspell/en_GB-ise.dic: ASCII text
   $


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: hunspell
  2022-10-21 19:46 hunspell Eric Lindblad
@ 2022-10-22  7:32 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2022-10-22  7:32 UTC (permalink / raw)
  To: help-gnu-emacs

> From: Eric Lindblad <lindblad@gmx.com>
> Date: Fri, 21 Oct 2022 21:46:23 +0200
> 
>    What's needed in ~/.emacs.d/init.el to use hunspell and specifically to
>    use the symlinks listed?

Nothing?

Do you see any error messages or have problems if you "just use"
Hunspell in that case?

>    I have seen this on the Internet, but perhaps additional lines are
>    indicated, or there is a better approach.
> 
>    (setq
>      ispell-program-name
>      "/usr/bin/hunspell")

This shouldn't be needed, unless you have some other speller (like
aspell) installed, and would prefer to use Hunspell.

>    Also I guess I should have some lines for flyspell.

Not that I know of, no.

>    $ which hunspell
>    /usr/bin/hunspell
>    bash-5.1$ file /usr/share/hunspell/{*aff,*.dic}
>    /usr/share/hunspell/en_DK.aff:     symbolic link to en_GB-ise.aff
>    /usr/share/hunspell/en_GB-ise.aff: Unicode text, UTF-8 text
>    /usr/share/hunspell/en_DK.dic:     symbolic link to en_GB-ise.dic
>    /usr/share/hunspell/en_GB-ise.dic: ASCII text
>    $

What is your system-wide setting of $LANG?



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-10-22  7:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-21 19:46 hunspell Eric Lindblad
2022-10-22  7:32 ` hunspell Eli Zaretskii

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