all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Andrea Crotti <andrea.crotti.0@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Tramp question
Date: Tue, 19 Oct 2010 17:49:17 +0200	[thread overview]
Message-ID: <87mxqab2te.fsf@gmx.de> (raw)
In-Reply-To: <m14oci1dag.fsf@gmail.com> (Andrea Crotti's message of "Tue, 19 Oct 2010 16:13:11 +0200")

Andrea Crotti <andrea.crotti.0@gmail.com> writes:

> --8<---------------cut here---------------start------------->8---
> M-: RET (shell-command-to-string "git ls-files")
> --8<---------------cut here---------------end--------------->8---
> it doesn't work on the remote machine.

`shell-command-to-string' uses internally `call-process', which does not
support processes on remote hosts. Replacing this call by `process-file'
seems to DTRT. You might write a bug report.

> I think that's more or less also why something works in tramp and
> something doesn't (gtags-mode for example).

I do not know, whether it is always intended to run `shell-command-to-string'
on the remote host. Must be checked, before it is changed.

Best regards, Michael.



  reply	other threads:[~2010-10-19 15:49 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-19 14:13 Tramp question Andrea Crotti
2010-10-19 15:49 ` Michael Albinus [this message]
2010-10-20  9:08   ` Andrea Crotti
2010-10-20 13:44     ` Michael Albinus
2010-10-20 18:59       ` Andrea Crotti
2010-10-21  3:04         ` Michael Albinus
     [not found]     ` <mailman.0.1287582252.26344.help-gnu-emacs@gnu.org>
2010-10-20 16:43       ` Stefan Monnier
  -- strict thread matches above, loose matches on Subject: below --
2003-12-10 22:46 tramp question Michael W. Daniels
     [not found] ` <nq8yljn3sw.fsf@alcatel.de>
2003-12-14  2:15   ` Michael W. Daniels
2003-12-16 23:56 ` Kai Grossjohann
2003-12-17  0:42   ` Thomas F. Burdick
2003-12-17 21:05     ` Kai Grossjohann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mxqab2te.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=andrea.crotti.0@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.