unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Niall Dooley <dooleyn@gmail.com>
To: help-guix <Help-Guix@gnu.org>
Subject: Unable to use Aspell installed via Guix
Date: Sat, 6 May 2017 15:49:32 +0200	[thread overview]
Message-ID: <CADS3Lq5_RJzTg-=iRcCrzZ5+9ak2xwRLzEKi0pDn0hThkgg_SA@mail.gmail.com> (raw)

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)

             reply	other threads:[~2017-05-06 13:50 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-06 13:49 Niall Dooley [this message]
2017-05-06 19:22 ` Unable to use Aspell installed via Guix 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

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://guix.gnu.org/

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

  git send-email \
    --in-reply-to='CADS3Lq5_RJzTg-=iRcCrzZ5+9ak2xwRLzEKi0pDn0hThkgg_SA@mail.gmail.com' \
    --to=dooleyn@gmail.com \
    --cc=Help-Guix@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.
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).