From: Michael Albinus <michael.albinus@gmx.de>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 21320@debbugs.gnu.org
Subject: bug#21320: diff-buffer-with-file fails on remote files
Date: Sun, 20 Sep 2015 19:40:02 +0200 [thread overview]
Message-ID: <874mipng5p.fsf@gmx.de> (raw)
In-Reply-To: <87d1yfmapq.fsf@gmx.de> (Michael Albinus's message of "Sat, 22 Aug 2015 20:36:49 +0200")
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.
next prev parent reply other threads:[~2015-09-20 17:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-22 15:10 bug#21320: diff-buffer-with-file fails on remote files Stefan Monnier
2015-08-22 18:36 ` Michael Albinus
2015-09-20 17:40 ` Michael Albinus [this message]
2015-09-20 19:42 ` Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874mipng5p.fsf@gmx.de \
--to=michael.albinus@gmx.de \
--cc=21320@debbugs.gnu.org \
--cc=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).