Re: Honoring ‘ASPELL_CONF’ in libaspell
Kevin Atkinson <[email protected]> Wed, 3 May 2017 14:14:08 -0400
| Newsgroups | gmane.comp.gnu.aspell.devel |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format. --===============6800271972165861327== Content-Type: multipart/alternative; boundary="------------020604040903070106040307" This is a multi-part message in MIME format. --------------020604040903070106040307 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit 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 <[email protected] > <mailto:[email protected]>>: > > 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 > <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=25836#14>>. > > Kevin Atkinson <[email protected] <mailto:[email protected]>> 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 cant choose it at configure > time (unless Aspell expands $HOME?). > > Even if we did, wed 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 > [email protected] > https://lists.gnu.org/mailman/listinfo/aspell-devel --------------020604040903070106040307 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: 8bit <html> <head> <meta content="text/html; charset=windows-1252" http-equiv="Content-Type"> </head> <body bgcolor="#FFFFFF" text="#000000"> <div class="moz-cite-prefix">Sorry,<br> <br> 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/<wbr>aspell. Due to the way the code is written an alternative must always be given, in particular "<$HOME>/.guix-profile/lib/<wbr>aspell" is unlikely to work. You could also use: "<home-dir>/.guix-profile/lib/<wbr>aspell". Note that the expansion is only for compiled in defaults, if the value is manually set, then there is no expansion.<br> <br> When you do "aspell --config" it will print the defaults and then also what it expands to.<br> <br> On 05/03/2017 12:49 PM, Catonano wrote:<br> </div> <blockquote cite="mid:CAJ98PDx4vbkpejWqyvehNccf1Fvn-F5WJLR5Yfqm2wkpVq-4=Q@mail.gmail.com" type="cite"> <div dir="ltr">2017-03-27 10:26 GMT+02:00 Ludovic Courtès <span dir="ltr"><<a moz-do-not-send="true" href="mailto:[email protected]" target="_blank">[email protected]</a>></span>:<br> <div class="gmail_extra"> <div class="gmail_quote"> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Kevin,<br> <br> From your reply it seems the second part of my message got lost; you can<br> see it at <<a moz-do-not-send="true" href="https://debbugs.gnu.org/cgi/bugreport.cgi?bug=25836#14" rel="noreferrer" target="_blank">https://debbugs.gnu.org/cgi/<wbr>bugreport.cgi?bug=25836#14</a>>.<br> <br> Kevin Atkinson <<a moz-do-not-send="true" href="mailto:[email protected]">[email protected]</a>> skribis:<br> <span class=""><br> > It would be better to change the compiled in defaults. I believe<br> > the --enable-dict-dir configure option should change the default for dict-dir.<br> <br> </span>The problem is that dict-dir is typically<br> $HOME/.guix-profile/lib/<wbr>aspell, so we cant choose it at configure<br> time (unless Aspell expands $HOME?).<br> <br> Even if we did, wed like to offer users the ability to choose<br> dictionaries located in a different place.<br> <br> How would you achieve that?<br> <br> Thanks for your reply,<br> Ludo.<br> </blockquote> </div> <br> <br> </div> <div class="gmail_extra">ehm, are there any news on this ?<br> </div> </div> <br> <fieldset class="mimeAttachmentHeader"></fieldset> <br> <pre wrap="">_______________________________________________ Aspell-devel mailing list <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a> <a class="moz-txt-link-freetext" href="https://lists.gnu.org/mailman/listinfo/aspell-devel">https://lists.gnu.org/mailman/listinfo/aspell-devel</a> </pre> </blockquote> <br> </body> </html> --------------020604040903070106040307-- --===============6800271972165861327== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Aspell-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/aspell-devel --===============6800271972165861327==--