Re: [code] Finding the Textadept configuration in a script.

From: Michael Richter <ttmrichter.att.gmail.com>
Date: Sat, 9 Jan 2016 23:11:30 +0800

Ah. Of course I was looking under every conceivable name (some of them
quite out there!) other than "home". :(

Thanks.

On 9 January 2016 at 22:54, Robert Gieseke <rob.g.att.web.de> wrote:

> Hi Michael,
>
> Am 09/01/16 um 15:39 schrieb Michael Richter:
> > init.lua sits in different places by operating system. Is there a
> > convenient place to find that directory in the API or will I have to
> > hand-spin a function that I can only hope works on all the platforms
> > (seeing as I can't test one platform and don't really use another very
> > often)?
> >
>
> _USERHOME holds the path to `.textadept`, (_HOME has the path to the
> Textadept binary).
>
> Cheers,
> Robert
> --
> You are subscribed to code.att.foicica.com.
> To change subscription settings, send an e-mail to code+help.att.foicica.com.
> To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
>
>

-- 
"Perhaps people don't believe this, but throughout all of the discussions
of entering China our focus has really been what's best for the Chinese
people. It's not been about our revenue or profit or whatnot."
--Sergey Brin, demonstrating the emptiness of the "don't be evil" mantra.
-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Sat 09 Jan 2016 - 10:11:30 EST

This archive was generated by hypermail 2.2.0 : Sun 10 Jan 2016 - 06:34:46 EST