From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#21320: diff-buffer-with-file fails on remote files Date: Sat, 22 Aug 2015 20:36:49 +0200 Message-ID: <87d1yfmapq.fsf@gmx.de> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1440268642 19994 80.91.229.3 (22 Aug 2015 18:37:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 22 Aug 2015 18:37:22 +0000 (UTC) Cc: 21320@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Aug 22 20:37:11 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZTDfC-000423-F1 for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Aug 2015 20:37:10 +0200 Original-Received: from localhost ([::1]:47770 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZTDfB-0003M1-DQ for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Aug 2015 14:37:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38452) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZTDf7-0003LX-W3 for bug-gnu-emacs@gnu.org; Sat, 22 Aug 2015 14:37:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZTDf4-0001zD-QS for bug-gnu-emacs@gnu.org; Sat, 22 Aug 2015 14:37:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:43240) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZTDf4-0001z9-NO for bug-gnu-emacs@gnu.org; Sat, 22 Aug 2015 14:37:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZTDf4-0005D4-9I for bug-gnu-emacs@gnu.org; Sat, 22 Aug 2015 14:37:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 22 Aug 2015 18:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21320 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21320-submit@debbugs.gnu.org id=B21320.144026861720016 (code B ref 21320); Sat, 22 Aug 2015 18:37:02 +0000 Original-Received: (at 21320) by debbugs.gnu.org; 22 Aug 2015 18:36:57 +0000 Original-Received: from localhost ([127.0.0.1]:35450 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZTDez-0005Ck-Am for submit@debbugs.gnu.org; Sat, 22 Aug 2015 14:36:57 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:51183) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZTDew-0005Cc-Jw for 21320@debbugs.gnu.org; Sat, 22 Aug 2015 14:36:55 -0400 Original-Received: from detlef.gmx.de ([87.146.57.150]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0MB1C4-1Zd9pA02Gy-00A0j7; Sat, 22 Aug 2015 20:36:52 +0200 In-Reply-To: (Stefan Monnier's message of "Sat, 22 Aug 2015 11:10:09 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-Provags-ID: V03:K0:Hvu2llgJIEDK3D6BOAlBAOgNWL8BIMZN+1be8AfIpvsQv14LtFo /iusNOjZVrStXR34uMfYBbVQyeSt76xKgqi+lOFr8OfxCsP1qApzc8tYubZtPZfnZFITpTb rkrixn4XTDupLOmCAxg9oZVR9ohBBpzVcr/SpN0M5oLgUKi+1p4KVZFCAPzOmIaSHyMKUC+ WJY5th/iNriQi5iykOYnw== X-UI-Out-Filterresults: notjunk:1;V01:K0:G/sgxfIeJMc=:ZKsfrXRBt4nzKkhyyJb8yN wCd1Gw5421/CzP3mkX2Bt3gCH4Gm0Vgbms/JpWVoF6DFhfVZtta1opQXovo89gdntb8Awzr91 80eHhjyXyS/lSCl/rNZfyZ6iRVYIix0Xq4/zKh0c9CwqkF0kxtq+N1JAeA/H9CJUF7JtXJhaI /OGJJr9P8m31JnfdRL0VbmvYNcVmaUFWgxg6tMSjjuSRHQojCf9pR+abwy9dYkLUfHZPnaLdp UcLNNrQNC/nmJxySxCVFsdn6TomPQF330+6nUYrqRQMGOHZpbn4wh/yWK1xFrkBm9kgGiHFnI H3vviBYRG3Xsfs6KT41+dRUH/1zVoBWToJDaNHy1wsLBR6tbbX5eeofyRSXo/CuvaN5AGnjaG BMEq3PIOIAHNfSmbYchM4b7c1d2TkscIhkjq5EkNCCUKf4LpDD8nSDLaGxbRnNiwgZHEaNeBe L2GVJSuMGg6Iwcmg09ja99eympnSXJdsT8IwMMcboEhh+EF2yUlGdaDfRVDwtxtKdmWX897CW NyzufI448Ov+nVuhGtszZynlPzZJ4+nmM2yi87nuD/8hE14KMUaeZ0HPBkcUbZ/MqIgKQUb+s ccP52L6sq1tB8UobcnrL2orBoWqS6j/4bjIVnmbkmau0A9Ww8mW/iK2rqwjOWQMnnyTXKChhU o6dDcOu5xLpisN5vNPA6jQ6xjBBeaUdm1Kj43bN7sBBWg9RShxrEMQEWMaXPp8iA2U0oIhdym JpC39uzzD33maqzChs+mubyS8MetL7+7KLaQyA== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:105711 Archived-At: Stefan Monnier 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: --8<---------------cut here---------------start------------->8--- diff -u --label /ssh\:ford\:/share/albinus/mail --label \#\ /tmp/tramp.29783xKm /tmp/buffer-content-29783-Us --- /ssh:ford:/share/albinus/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 --8<---------------cut here---------------end--------------->8--- > Stefan Best regards, Michael.