GNU bug report logs -
#31079
Windows - Emacs-25.3.1 Can't find source.tex file
Previous Next
Reported by: Liyu Gong <liyu.gong <at> uky.edu>
Date: Fri, 6 Apr 2018 19:13:02 UTC
Severity: normal
Tags: notabug
Done: Arash Esbati <arash <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Hi Liyu,
Could you tell me what the output of
(call-process "kpsewhich" nil (list standard-output nil) nil
"--expand-path" "{.,./.}")
is? If that is ".;./.", we can use it to know the right path
delimiter.
Regards,
Ikumi Keita
>>>>> Ikumi Keita <ikumi <at> ikumi.que.jp> writes:
> Hi Liyu,
>>>>> Liyu Gong <liyu.gong <at> uky.edu> writes:
>> Sorry for multiple replies. But I just noticed that my cursor moves to
>> the next line after evaluation. So I guess there is a ".\n" inserted.
>> Thanks,
>> Liyu
>> On Sun, Apr 8, 2018 at 1:09 AM, Liyu Gong <liyu.gong <at> uky.edu> wrote:
>>> Hi Ikumi,
>>>
>>> After evaluation, there is only a dot inserted right at where I type "C-x C-e".
>>> .
>>>
>>> Thanks,
>>> Liyu
> Thanks. Hmm, strange result... Here both texlive for freebsd and
> texlive for w32 don't remove ".." from the output, even when the current
> directory is the root directory. When the result doesn't contain
> neither ":" nor ";", AUCTeX cannot know the right path delimiter.
> Sorry, let me think for for a while.
> Regards,
> Ikumi Keita
>>>
>>> On Sun, Apr 8, 2018 at 12:59 AM, Ikumi Keita <ikumi <at> ikumi.que.jp> wrote:
>>>> Hi Liyu, thanks for your patience.
>>>>
>>>>>>>>> Liyu Gong <liyu.gong <at> uky.edu> writes:
>>>>> Hi Ikumni,
>>>>> The result of the evaluation is: 1 (#o1, #x1, ?\C-a)
>>>>
>>>> Ah, no, what I'd like to know is not the lisp return value, but the
>>>> string inserted in the buffer. What string is inserted in the buffer
>>>> when you put the point just after the following form in *scratch* buffer
>>>> and type C-x C-e ?
>>>>
>>>> (call-process "kpsewhich" nil
>>>> (list standard-output nil) nil
>>>> "--expand-path" "{.,..}")
>>>>
>>>> I suspect that it is ".:..", not ".;..". If this speculation is
>>>> correct, then cygwin version of kpsewhich is used at auto detection.
>>>>
>>>>> Yes, I do have a cygwin version TeX distribution. But I just double
>>>>> checked. I didn't put the cygwin path in windows PATH, or in emacs
>>>>> exec-path.
>>>>
>>>> Hmm.
>>>>
>>>> Regards,
>>>> Ikumi Keita
This bug report was last modified 2 years and 361 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.