unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Unable to use Aspell installed via Guix
@ 2017-05-06 13:49 Niall Dooley
  2017-05-06 19:22 ` Alex Kost
  0 siblings, 1 reply; 9+ messages in thread
From: Niall Dooley @ 2017-05-06 13:49 UTC (permalink / raw)
  To: help-guix

I have configured emacs to use Aspell falling back to Hunspell for spell
checking. I installed both Aspell and Hunspell via Guix though Aspell was
already on my system (a foreign distro - Trisquel 7). The messages below are
those reported in the *Messages* buffer when my config tries to enable
Flyspell.

Configuring package ispell...done
Configuring package flyspell...done
Starting new Ispell process /home/doolio/.guix-profile/bin/aspell with
en_GB dictionary...
Error enabling  mode:
(Error: The file "/home/doolio/.guix-profile/lib/aspell/en_GB" can not
be opened for reading.)
Starting new Ispell process /home/doolio/.guix-profile/bin/aspell with
en_GB dictionary...
Error enabling Flyspell mode:
(Error: The file "/home/doolio/.guix-profile/lib/aspell/en_GB" can not
be opened for reading.)

Not sure why the error message is repeated. In any case it seems unable to
read from the following directory:

$HOME/.guix-profile/lib/aspell/

However, no such directory exists. Should this have been created during the
Guix install?

Instead, the following directory (or rather simlink) exists:

$HOME/.guix-profile/lib/aspell-0.60

pointing to the equivalent directory in the gnu store. But in any case no
`en_GB' dictionary file exists in that location.

I've set the environment variable ASPELL_CONF as follows:

dict-dir $HOME/.guix-profile/lib/aspell

Do I have to explicitly install the Aspell dictionaries? My (ignorant)
reading of the scheme
recipe is that they would be installed along with Aspell.

If I switch to use Hunspell falling back to Aspell I don't have any
issues and I'm able to
successfully use Hunspell.

Thanks for Guix and your time,

Niall

(irc doolio)

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

end of thread, other threads:[~2017-05-24 18:53 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-06 13:49 Unable to use Aspell installed via Guix Niall Dooley
2017-05-06 19:22 ` Alex Kost
2017-05-06 20:24   ` Niall Dooley
2017-05-06 20:32     ` Leo Famulari
2017-05-07 11:58       ` Niall Dooley
2017-05-07 19:27         ` Leo Famulari
2017-05-09  8:36     ` Ludovic Courtès
     [not found]       ` <CADS3Lq6VYL7gBmqNUEZhGvYFAHgF1fzhUw4Ojhgua8V=h9zi5Q@mail.gmail.com>
2017-05-15  9:54         ` Ludovic Courtès
2017-05-24 18:52           ` Niall Dooley

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