[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX] Long loading time
From: |
David Kastrup |
Subject: |
Re: [AUCTeX] Long loading time |
Date: |
Sat, 02 May 2015 22:15:23 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Mosè Giordano <address@hidden> writes:
> 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'.
Well, it appears to me like one should be able to integrate those with
the TeX-kpathsea-path-delimiter heuristic. At the time they need to
make a decision, they have a string available.
--
David Kastrup
- Re: [AUCTeX] Long loading time, (continued)
- 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, 2015/05/02
- Re: [AUCTeX] Long loading time,
David Kastrup <=
- 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