[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX] "No connection to bus" message in Cygwin Emacs
From: |
Tassilo Horn |
Subject: |
Re: [AUCTeX] "No connection to bus" message in Cygwin Emacs |
Date: |
Thu, 11 Jun 2015 12:04:46 +0200 |
User-agent: |
Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux) |
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 is a variable defined in `tex-buf.el'.
> │ Its value is "/bin/sh"
> │
> │ Documentation:
> │ Name of shell used to parse TeX commands.
> └────
>
> ┌────
> │ TeX-shell-command-option is a variable defined in `tex-buf.el'.
> │ Its value is "-c"
> │
> │ Documentation:
> │ Shell argument indicating that next argument is the command.
> └────
>
> But I do indeed have a problem, as you can see on
> http://screencast.com/t/jSqkHkRCc.
>
> 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!
>> 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?
Bye,
Tassilo
- Re: [AUCTeX] "No connection to bus" message in Cygwin Emacs, (continued)
- Re: [AUCTeX] "No connection to bus" message in Cygwin Emacs, Tassilo Horn, 2015/06/08
- Re: [AUCTeX] "No connection to bus" message in Cygwin Emacs, Sebastien Vauban, 2015/06/09
- Re: [AUCTeX] "No connection to bus" message in Cygwin Emacs, Tassilo Horn, 2015/06/09
- Re: [AUCTeX] "No connection to bus" message in Cygwin Emacs, Sebastien Vauban, 2015/06/10
- Re: [AUCTeX] "No connection to bus" message in Cygwin Emacs, Tassilo Horn, 2015/06/10
- Re: [AUCTeX] "No connection to bus" message in Cygwin Emacs, Sebastien Vauban, 2015/06/10
- Re: [AUCTeX] "No connection to bus" message in Cygwin Emacs, Tassilo Horn, 2015/06/10
- Re: [AUCTeX] "No connection to bus" message in Cygwin Emacs, Sebastien Vauban, 2015/06/10
- Re: [AUCTeX] "No connection to bus" message in Cygwin Emacs, Tassilo Horn, 2015/06/11
- Re: [AUCTeX] "No connection to bus" message in Cygwin Emacs, Sebastien Vauban, 2015/06/11
- Re: [AUCTeX] "No connection to bus" message in Cygwin Emacs,
Tassilo Horn <=
- Re: [AUCTeX] "No connection to bus" message in Cygwin Emacs, Sebastien Vauban, 2015/06/11
- Re: [AUCTeX] "No connection to bus" message in Cygwin Emacs, Tassilo Horn, 2015/06/11
- Re: [AUCTeX] "No connection to bus" message in Cygwin Emacs, Sebastien Vauban, 2015/06/11
- Re: [AUCTeX] "No connection to bus" message in Cygwin Emacs, Tassilo Horn, 2015/06/11
- Re: [AUCTeX] "No connection to bus" message in Cygwin Emacs, Ken Brown, 2015/06/11