GNU bug report logs - #21320
diff-buffer-with-file fails on remote files

Previous Next

Package: emacs;

Reported by: Stefan Monnier <monnier <at> iro.umontreal.ca>

Date: Sat, 22 Aug 2015 15:11:01 UTC

Severity: normal

Found in version 25.0.50

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 21320 <at> debbugs.gnu.org
Subject: bug#21320: diff-buffer-with-file fails on remote files
Date: Sun, 20 Sep 2015 19:40:02 +0200
Michael Albinus <michael.albinus <at> gmx.de> writes:

> Stefan Monnier <monnier <at> 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 <at> RAINER.i-did-not-set--mail-host-address--so-tickle-me
> +From: Michael <at> RAINER.i-did-not-set--mail-host-address--so-tickle-me
>  To: bug-gnu-emacs <at> 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.




This bug report was last modified 9 years and 247 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.