GNU bug report logs - #31079
Windows - Emacs-25.3.1 Can't find source.tex file

Previous Next

Package: auctex;

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


Message #98 received at 31079 <at> debbugs.gnu.org (full text, mbox):

From: Liyu Gong <liyu.gong <at> uky.edu>
To: Ikumi Keita <ikumi <at> ikumi.que.jp>
Cc: gojjoe <at> gmail.com, 31079 <at> debbugs.gnu.org
Subject: Re: bug#31079: Windows - Emacs-25.3.1 Can't find source.tex file
Date: Sun, 8 Apr 2018 00:49:45 -0400
Hi Ikumni,

The result of the evaluation is: 1 (#o1, #x1, ?\C-a)

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.

Thanks,
Liyu

On Sun, Apr 8, 2018 at 12:36 AM, Ikumi Keita <ikumi <at> ikumi.que.jp> wrote:
> Hi Liyu,
>
> Thanks, very helpful.  Then the auto detection of kpathsea path
> delimiter returns wrong result on your environment.
>
> I guess that you have two different TeX distribution, texlive for w32
> and texlive for cygwin, and the latter is used for auto detection while
> the former is used at actually running (pdf)latex.
>
> Could you please tell me what string is inserted in the buffer when you
> evaluate the following form in the *scratch* buffer?
> (call-process "kpsewhich" nil
>                                (list standard-output nil) nil
>                                "--expand-path" "{.,..}")
>
> Regards,
> Ikumi Keita
>
>>>>>> Liyu Gong <liyu.gong <at> uky.edu> writes:
>> Ahha,
>> This is it. I customized the variable TeX-kpathsea-path-delimiter to
>> ";", then the aa.tex file can be compiled smoothly.
>
>> Thanks,
>> Liyu
>
>> On Sun, Apr 8, 2018 at 12:09 AM, Liyu Gong <liyu.gong <at> uky.edu> wrote:
>>> Hi Ikumi,
>>>
>>> The value is ":"
>>>
>>> TeX-kpathsea-path-delimiter is a variable defined in ‘tex.el’.
>>> Its value is ":"
>>>
>>> Documentation:
>>> Path delimiter for kpathsea output.
>>> t means autodetect, nil means kpathsea is disabled.
>>>
>>> You can customize this variable.
>>>
>>> Thanks,
>>> Liyu
>>>
>>> On Sun, Apr 8, 2018 at 12:00 AM, Ikumi Keita <ikumi <at> ikumi.que.jp> wrote:
>>>> Hi Liyu, thanks for your cooperation.
>>>>
>>>>>>>>> Liyu Gong <liyu.gong <at> uky.edu> writes:
>>>>> Hi Joe and David,
>>>>> My values is:
>>>>> .:d:/.emacs.d/elpa/auctex-12.1.1/latex:
>>>>
>>>>> on the old version which works for the file, the value is:
>>>>> .;d:/.emacs.d/elpa/auctex-11.91.0/latex;
>>>>
>>>>> Note that the path separator are different, for 12.1.1, it is ":", for
>>>>> 11.91.0, it is ";". I'm not sure whether it is important.
>>>>
>>>> Apparently the change I introduced in
>>>> https://lists.gnu.org/archive/html/auctex-devel/2017-12/msg00016.html
>>>> interferes with `preview-TeX-style-cooked' and it does not use the right
>>>> separator.
>>>> I'll look into that from now on.
>>>>
>>>> Could you provide the value of the elisp variable
>>>> `TeX-kpathsea-path-delimiter' ?
>>>>
>>>> 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.