auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX] "No connection to bus" message in Cygwin Emacs


From: Sebastien Vauban
Subject: Re: [AUCTeX] "No connection to bus" message in Cygwin Emacs
Date: Thu, 11 Jun 2015 12:31:59 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (cygwin)

Tassilo Horn <address@hidden> writes:
> Sebastien Vauban <address@hidden> writes:
>
>>> Could you try to run that command from the cygwin bash with the values
>>> you have for TeX-shell and TeX-shell-command-option?
>>
>> TeX-shell: "/bin/sh".
>> TeX-shell-command-option: "-c".
>>
>> While the command
>>
>>   pdflatex  -file-line-error   -interaction=nonstopmode "\input" haie-ecm.tex
>>
>> does work from Cygwin, the following does NOT:
>>
>>   /bin/sh -c "pdflatex  -file-line-error   -interaction=nonstopmode "\input" 
>> haie-ecm.tex"
>>
>> and it outputs what you effectively see in the `C-c C-l' buffer.
>
> Aha, there we have the culprit!

Yes, one step forward.

>>> But anyway, the problem seems to be that the command is executed
>>> from the wrong directory as said above.
>>
>> This does not seem to be the preferred explanation, right?
>
> Well, it seems that a command executed with /bin/sh -c in cygwin isn't
> run from the current working directory.  What does
>
>   $ /bin/sh -c pwd
>
> executed in the directory containing you tex master file return?

Though, I can't interpret the following result with the problem at hand.

--8<---------------cut here---------------start------------->8---
> /bin/sh -c pwd
/cygdrive/d/Users/sva/Personal/Lettres
> /bin/sh -c "pwd"
/cygdrive/d/Users/sva/Personal/Lettres
--8<---------------cut here---------------end--------------->8---

I mean, here, it works...  So, any other good idea?

Best regards,
  Seb

-- 
Sebastien Vauban



reply via email to

[Prev in Thread] Current Thread [Next in Thread]