[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#21320: diff-buffer-with-file fails on remote files
From: |
Michael Albinus |
Subject: |
bug#21320: diff-buffer-with-file fails on remote files |
Date: |
Sun, 20 Sep 2015 19:40:02 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Michael Albinus <michael.albinus@gmx.de> writes:
> Stefan Monnier <monnier@iro.umontreal.ca> writes:
>
>> If you visit a file via Tramp, then make some changes and do M-x
>> diff-buffer-with-file, you'll get an error in the diff buffer because
>> "diff" is executed locally with the Tramp file name.
>
> I cannot reproduce it with "emacs -Q". The diff uses respective labels,
> but that's it. It uses temporary local files. And the contents looks OK
> to me, like this:
>
> diff -u --label /ssh\:ford\:/share/albinus/mail --label \#\<buffer\ mail\>
> /tmp/tramp.29783xKm /tmp/buffer-content-29783-Us
> --- /ssh:ford:/share/albinus/mail
> +++ #<buffer mail>
> @@ -1,4 +1,4 @@
> - From: Michael@RAINER.i-did-not-set--mail-host-address--so-tickle-me
> +From: Michael@RAINER.i-did-not-set--mail-host-address--so-tickle-me
> To: bug-gnu-emacs@gnu.org
> Subject: 24.3.50; set-file-acl on MS Windows shall check ACL string format
> --text follows this line--
>
> Diff finished. Sat Aug 22 20:31:02 2015
Ping.
Stefan, is this still a problem for you?
>> Stefan
Best regards, Michael.
- bug#21320: diff-buffer-with-file fails on remote files,
Michael Albinus <=