From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58135) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dB3TY-0001BA-E1 for guix-patches@gnu.org; Wed, 17 May 2017 14:15:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dB3TS-0004Te-SK for guix-patches@gnu.org; Wed, 17 May 2017 14:15:08 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:48592) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dB3TS-0004TT-PH for guix-patches@gnu.org; Wed, 17 May 2017 14:15:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dB3TS-0003iS-IG for guix-patches@gnu.org; Wed, 17 May 2017 14:15:02 -0400 Subject: bug#25836: [aspell-devel] Honoring =?UTF-8?Q?=E2=80=98ASPELL=5FCONF=E2=80=99?= in libaspell Resent-Message-ID: Date: Wed, 17 May 2017 14:14:24 -0400 From: Kevin Atkinson Message-ID: <20170517141424.33191a25@intel.home> In-Reply-To: <87efvnwoln.fsf@gnu.org> References: <87wpbx9z7b.fsf@gnu.org> <87vaqwp2l8.fsf_-_@gnu.org> <87shlznn02.fsf@gnu.org> <590A1DF0.7040907@gnu.org> <87efvnwoln.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 25836@debbugs.gnu.org, aspell-devel@gnu.org On Wed, 17 May 2017 16:21:40 +0200 ludo@gnu.org (Ludovic Court=C3=A8s) wrote: > Hi Kevin, >=20 > Kevin Atkinson skribis: >=20 > > 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: "/.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. >=20 > Thanks for the tips. I ended up using something similar to what you > suggest: >=20 > https://git.savannah.gnu.org/cgit/guix.git/commit/?id=3D6d35b1c99c15f87= a30fdf1a38c88db844b3e8303 If you tested it both with $ASPELL_DICT_DIR defined and without then it looks good. Kevin