[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tramp (2.3.2); be sure dired "*" commands work in tramp
From: |
Michael Albinus |
Subject: |
Re: tramp (2.3.2); be sure dired "*" commands work in tramp |
Date: |
Sun, 08 Oct 2017 11:39:10 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.60 (gnu/linux) |
積丹尼 Dan Jacobson <address@hidden> writes:
> Please be sure dired "*" commands work in tramp.
> If the user does
> (dired-do-shell-command "cat * > /tmp/rrr" ...
> the /tmp/rrr should refer to the local machine, else he would write
> /adb::/tmp !
How shall this work? `dired-do-shell-command' calls `shell-command'
internally. Tramp provides a handler for this,
`tramp-adb-handle-shell-command', but it is not responsible for the
arguments. It takes them literally.
The feature you are asking for must be implemented on dired level, I
believe.
Best regards, Michael.