[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX] Re: AUCTeX and Tramp
From: |
Stephen Berman |
Subject: |
[AUCTeX] Re: AUCTeX and Tramp |
Date: |
Wed, 07 May 2008 13:25:07 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
On Tue, 06 May 2008 16:35:41 +0200 David Kastrup <address@hidden> wrote:
> Stephen Berman <address@hidden> writes:
>
>> When I try to run LaTeX via Tramp on a remote file under AUCTeX, LaTeX
>> says it can't find the file. I can't tell if this is a bug or a faulty
>> configuration or other user error. I have the same LaTeX setup (paths,
>> etc.) on both the local and remote machines. I can reproduce the
>> problem with Emacs -Q by evaluating (load "auctex.el" nil t t), opening
>> the file via /ssh:, and typing C-c C-c to run LaTeX. Then I get the
>> following output:
>
> Most likely some instances of start-process and
> start-process-shell-command need to be replaced with start-file-process
> and start-file-process-shell-command.
Thanks for the suggestion; the patch below fixes the problem for me (I
don't know if any of the remaining calls start-process in AUCTeX should
also be changed, but it wasn't necessary for my case).
Steve Berman
*** auctex/tex-buf.el.~1.272.~ 2008-05-07 12:52:44.000000000 +0200
--- auctex/tex-buf.el 2008-05-07 13:08:45.000000000 +0200
***************
*** 577,584 ****
(lambda (process name)
(message (concat name ": done."))))
(if TeX-process-asynchronous
! (let ((process (start-process name buffer TeX-shell
! TeX-shell-command-option command)))
(if TeX-after-start-process-function
(funcall TeX-after-start-process-function process))
(TeX-command-mode-line process)
--- 577,584 ----
(lambda (process name)
(message (concat name ": done."))))
(if TeX-process-asynchronous
! (let ((process (start-file-process name buffer TeX-shell
! TeX-shell-command-option command)))
(if TeX-after-start-process-function
(funcall TeX-after-start-process-function process))
(TeX-command-mode-line process)