guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#25836: [aspell-devel] Honoring ‘ASPELL_CONF’ in libaspell


From: Kevin Atkinson
Subject: bug#25836: [aspell-devel] Honoring ‘ASPELL_CONF’ in libaspell
Date: Wed, 3 May 2017 14:14:08 -0400
User-agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1

Sorry,

For compiled in defaults there is some support for expansion, see Config::get_default() in common/config.cpp.  In particular the following should work: "<$HOME|.>/.guix-profile/lib/aspell.  Due to the way the code is written an alternative must always be given, in particular "<$HOME>/.guix-profile/lib/aspell" is unlikely to work.  You could also use: "<home-dir>/.guix-profile/lib/aspell".  Note that the expansion is only for compiled in defaults, if the value is manually set, then there is no expansion.

When you do "aspell --config" it will print the defaults and then also what it expands to.

On 05/03/2017 12:49 PM, Catonano wrote:
2017-03-27 10:26 GMT+02:00 Ludovic Courtès <address@hidden>:
Hi Kevin,

From your reply it seems the second part of my message got lost; you can
see it at <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=25836#14>.

Kevin Atkinson <address@hidden> skribis:

> It would be better to change the compiled in defaults.  I believe
> the --enable-dict-dir configure option should change the default for dict-dir.

The problem is that dict-dir is typically
“$HOME/.guix-profile/lib/aspell”, so we can’t choose it at configure
time (unless Aspell expands “$HOME”?).

Even if we did, we’d like to offer users the ability to choose
dictionaries located in a different place.

How would you achieve that?

Thanks for your reply,
Ludo’.


ehm, are there any news on this ?


_______________________________________________
Aspell-devel mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/aspell-devel


reply via email to

[Prev in Thread] Current Thread [Next in Thread]