[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, 17 May 2017 14:14:24 -0400 |
On Wed, 17 May 2017 16:21:40 +0200
address@hidden (Ludovic Courtès) wrote:
> Hi Kevin,
>
> Kevin Atkinson <address@hidden> skribis:
>
> > 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.
>
> Thanks for the tips. I ended up using something similar to what you
> suggest:
>
>
> https://git.savannah.gnu.org/cgit/guix.git/commit/?id=6d35b1c99c15f87a30fdf1a38c88db844b3e8303
If you tested it both with $ASPELL_DICT_DIR defined and without then it
looks good.
Kevin