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 <ludo@gnu.org>:
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 <kevina@gnu.org> 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
Aspell-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/aspell-devel