[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX] Long loading time
From: |
Mosè Giordano |
Subject: |
Re: [AUCTeX] Long loading time |
Date: |
Sat, 2 May 2015 21:59:50 +0200 |
2015-05-02 21:04 GMT+02:00 David Kastrup <address@hidden>:
> Mosè Giordano <address@hidden> writes:
>
>> 2015-05-02 8:53 GMT+02:00 Tassilo Horn <address@hidden>:
>>> Mosè Giordano <address@hidden> writes:
>>>
>>>> Reading more thoroughly `TeX-search-files-kpathsea' I see that
>>>> `TeX-kpathsea-path-delimiter' is set after getting the output of a
>>>> `kpsewhich' call, instead we need the separator before calling it.
>>>
>>> Exactly.
>>>
>>>> The kpathsea manual says [1] the separator is ";" on Windows, ":"
>>>> otherwise,
>>>
>>> That's what I've also read.
>>
>> How about `path-separator'?
>>
>>>> so we could set the default value of `TeX-kpathsea-path-delimiter'
>>>> looking at Emacs `system-type' variable, instead of the t (autodect),
>>>> what do you think?
>>>
>>> I think so, although I guess there has be a reason for this
>>> auto-detection at some point in time.
>>
>> David you introduced `TeX-kpathsea-path-delimiter', could you please
>> explain why that autodetect mechanism is better than using
>> `path-separator'?
>
> Why would Kpathsea heed an Emacs variable?
Not that kpathsea should care about an Emacs variable, but _if_ the
separator is chosen with the same logic in both programs that would be
fine. Anyway, we need a method to guess the correct separator before
calling kpsewhich, see `TeX-parse-path' and `TeX-tree-expand'. In the
former AUCTeX looks at the structure of an environment variable, in
the latter to the value of `system-type'.
Bye,
Mosè
- Re: [AUCTeX] Long loading time, (continued)
- Re: [AUCTeX] Long loading time, jfbu, 2015/05/01
- Re: [AUCTeX] Long loading time, Tassilo Horn, 2015/05/01
- Re: [AUCTeX] Long loading time, Mosè Giordano, 2015/05/01
- Re: [AUCTeX] Long loading time, jfbu, 2015/05/01
- Re: [AUCTeX] Long loading time, Mosè Giordano, 2015/05/01
- Re: [AUCTeX] Long loading time, Tassilo Horn, 2015/05/02
- Re: [AUCTeX] Long loading time, Mosè Giordano, 2015/05/02
- Re: [AUCTeX] Long loading time, David Kastrup, 2015/05/02
- Re: [AUCTeX] Long loading time, Ken Brown, 2015/05/02
- Re: [AUCTeX] Long loading time, David Kastrup, 2015/05/02
- Re: [AUCTeX] Long loading time,
Mosè Giordano <=
- Re: [AUCTeX] Long loading time, David Kastrup, 2015/05/02
- Re: [AUCTeX] Long loading time, jfbu, 2015/05/01
- Re: [AUCTeX] Long loading time, jfbu, 2015/05/01
- Re: [AUCTeX] Long loading time, Tassilo Horn, 2015/05/02
- Re: [AUCTeX] Long loading time, Tassilo Horn, 2015/05/08