fourier / ztree

Directory tree comparison mode for Emacs
http://www.emacswiki.org/emacs/ZtreeDiff
GNU General Public License v3.0
239 stars 21 forks source link

TRAMP support #7

Closed Silex closed 10 years ago

Silex commented 10 years ago

Hello,

First of all, thanks for this nice plugin. It works pretty fine.

My problem is that it almost works over TRAMP except it detects all files as "mismatching". I can browse the results or start ediff sessions just fine, only the detection fails.

Would it be easy to make it work over TRAMP?

fourier commented 10 years ago

Hm, I never thought of using this tool over the network - since it relies on an external diff tool. The problem is how to make diff tool to work other the network or use TRAMP

Silex commented 10 years ago

well, AFAIK shell-command works over TRAMP... only shell-command-to-string doesn't. I see that it's possible to make it TRAMP aware tho: http://forrst.com/posts/Force_shell_command_to_string_to_work_with_Tramp-0f7

Are you only using shell-command-to-string or do you use another mechanism?

[EDIT] wait, shell-command-to-string is TRAMP aware in my emacs... maybe everything is already working except something silly happens. I'll try to investiguate.

Silex commented 10 years ago

I'm closing this as discussion should continue on the PR.

avoine commented 9 years ago

I think ztree is still detecting all files as mismatching if you compare two directories on two remote servers.

fourier commented 9 years ago

@Silex any comments on that ? I never tried to use it over remote at first place.