On Tue, 06 May 2008 16:35:41 +0200 David Kastrup <[EMAIL PROTECTED]> wrote:
> Stephen Berman <[EMAIL PROTECTED]> 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)
_______________________________________________
auctex-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex-devel