From mboxrd@z Thu Jan 1 00:00:00 1970 From: Niall Dooley Subject: Unable to use Aspell installed via Guix Date: Sat, 6 May 2017 15:49:32 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47674) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d706B-0002di-DW for Help-Guix@gnu.org; Sat, 06 May 2017 09:50:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d706A-0001Bt-LB for Help-Guix@gnu.org; Sat, 06 May 2017 09:50:15 -0400 Received: from mail-wm0-x230.google.com ([2a00:1450:400c:c09::230]:36049) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d706A-0001Bn-Ed for Help-Guix@gnu.org; Sat, 06 May 2017 09:50:14 -0400 Received: by mail-wm0-x230.google.com with SMTP id u65so44475569wmu.1 for ; Sat, 06 May 2017 06:50:14 -0700 (PDT) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" 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)