[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX-devel] Fix about usage of kpsewhich
From: |
Ikumi Keita |
Subject: |
Re: [AUCTeX-devel] Fix about usage of kpsewhich |
Date: |
Mon, 04 Dec 2017 00:22:31 +0900 |
>>>>> Ikumi Keita <address@hidden> writes:
> Hi David and all,
>>>>> David Kastrup <address@hidden> writes:
>>>> I just thought of another approach using brace expansion. We can obtain
>>>> the right path delimiter by just taking the second character of the
>>>> output of "kpsewhich --expand-path {.,..}".
>>>
>>> Presumably
>>>
>>> kpsewhich --expand-path "{.,..}"
>>>
>>> That's really clever. Yes, it should do the trick, assuming the Windows
>>> executable doesn't try to be helpful by inserting the current directory,
>>> and "foreign" implementations of kpsewhich (like the MikTeX one) behave
>>> accordingly.
>> Ok, here is how I suggest to use that trick: if the expanded string
>> contains ; use ; as delimiter, otherwise :. That should work even if
>> some executable considers it sane to insert drive letters or directory
>> separators or whatever else. But a ; in there should never be
>> accidental.
> Thanks, I took in your suggestion to create the attached patch. I
> checked that it also passes the regression tests. If nobody objects, I
> will commit it to the git repo.
Done. Mosè, now I'm ready for the new release.
Best regards,
Ikumi Keita
- [AUCTeX-devel] Fix about usage of kpsewhich, Ikumi Keita, 2017/12/01
- Re: [AUCTeX-devel] Fix about usage of kpsewhich, Mosè Giordano, 2017/12/01
- Re: [AUCTeX-devel] Fix about usage of kpsewhich, David Kastrup, 2017/12/01
- Re: [AUCTeX-devel] Fix about usage of kpsewhich, Mosè Giordano, 2017/12/01
- Re: [AUCTeX-devel] Fix about usage of kpsewhich, Ikumi Keita, 2017/12/02
- Re: [AUCTeX-devel] Fix about usage of kpsewhich, David Kastrup, 2017/12/02
- Re: [AUCTeX-devel] Fix about usage of kpsewhich, David Kastrup, 2017/12/02
- Re: [AUCTeX-devel] Fix about usage of kpsewhich, Ikumi Keita, 2017/12/03
- Re: [AUCTeX-devel] Fix about usage of kpsewhich,
Ikumi Keita <=
- Re: [AUCTeX-devel] Fix about usage of kpsewhich, Mosè Giordano, 2017/12/03