[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Difference between shell-command and shell-command-on-region in TRAM
From: |
Kai Großjohann |
Subject: |
Re: Difference between shell-command and shell-command-on-region in TRAMP buffer. |
Date: |
Fri, 11 Oct 2002 09:46:23 +0200 |
User-agent: |
Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu) |
Francis Litterio <address@hidden> writes:
> If I visit a remote file using TRAMP, and type:
>
> ESC ESC (shell-command "pwd") RET
>
> I see the output of the "pwd" command executed on the remote host.
> But if I type:
>
> ESC ESC (shell-command-on-region (point-min) (point-max) "pwd") RET
>
> the buffer *Shell Command Output* contains the output of the "pwd"
> command executed on the local host.
>
> Is this by design, or is there a bug/omission in TRAMP?
I never thought about it... Can you investigate in the Emacs sources
what is meant? I don't know myself what is the right behavior.
Possibly there is a Tramp bug, possibly there is an Emacs bug.
kai
--
~/.signature is: umop ap!sdn (Frank Nobis)