From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#74352: 29.4; emerge-files with tramp + local file fails Date: Thu, 14 Nov 2024 09:10:53 +0100 Message-ID: <87ttca9qwi.fsf@gmx.de> References: Reply-To: Michael Albinus Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29694"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 74352@debbugs.gnu.org To: =?UTF-8?Q?J=C3=B6rg?= Sommer Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 14 09:12:42 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tBUy2-0007ai-9q for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 14 Nov 2024 09:12:42 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tBUxR-0008Au-12; Thu, 14 Nov 2024 03:12:05 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tBUxP-0008AX-3H for bug-gnu-emacs@gnu.org; Thu, 14 Nov 2024 03:12:03 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tBUxO-0005TR-Pq for bug-gnu-emacs@gnu.org; Thu, 14 Nov 2024 03:12:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=0TNe88NdAn/mm1C8G5qKv5lMbzPIjOxMPFJVM2zm2/I=; b=HLblj11s6T/NBVDNFxeCiqQTql8yZVV2nlIP+oiQPRzH2t9lHFNi3K8lx7RBxxj2RaFg236Fb2rYnzFxp2Rgl61/2xa3ewDFJGy3NHCqLEt3p5UVc3Tbo3IvJeotoFm+4zvM4SDwfkAdK2ZZUd84o0Xf8mjz4G88vlWJ0FJ0vcmM7wunvzl1FbThu5qfmCMcnvqSeruQdhEykx2x0Pn7q8tETtDw2+DBMnKOsF9FBPUJKiBC4/xYOTUUP4ftiP92ZxVB+tWuCSBc6Z6zO5dLOaXunWurrFFCSH3p3NCO1+8idI396AldwKJ2MA5Jbl3oNMmP5eGaqNHAwPz+zqqKLg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tBUxO-00009U-Es for bug-gnu-emacs@gnu.org; Thu, 14 Nov 2024 03:12:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 14 Nov 2024 08:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74352 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Original-Received: via spool by 74352-submit@debbugs.gnu.org id=B74352.1731571868485 (code B ref 74352); Thu, 14 Nov 2024 08:12:02 +0000 Original-Received: (at 74352) by debbugs.gnu.org; 14 Nov 2024 08:11:08 +0000 Original-Received: from localhost ([127.0.0.1]:44882 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tBUwW-00007l-1f for submit@debbugs.gnu.org; Thu, 14 Nov 2024 03:11:08 -0500 Original-Received: from mout.gmx.net ([212.227.17.22]:35379) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tBUwT-00007A-Oj for 74352@debbugs.gnu.org; Thu, 14 Nov 2024 03:11:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de; s=s31663417; t=1731571854; x=1732176654; i=michael.albinus@gmx.de; bh=0TNe88NdAn/mm1C8G5qKv5lMbzPIjOxMPFJVM2zm2/I=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:cc: content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=VF4Q9/mzP8mroAqHtyE2W10vBaDMwoGOd830JpCbGeMl1Xk5kvbJYiFIOXHAVXuk EKsQqLSuCg9YItlIG9STGsb6Lnc7ZYLMU8c6x+PPNynhpYbjz5pCyU7fzbQhHKs5V ZGAP+xFwdD83VT8O+CLWc33Bp2/hA3c6YXdF5V8iWgZNLalKMua3W5WIfeglIlqJG L4fjDVY8HtXWKnI5iQ9rfzg3DFmZfR93ky33vuIPfRZx06K69VwQZewyFqq4BO1pd rdEeyehkGZMV6TyDWL0BnP5AYalY4NldpFYrkBSt/JBxki8sW42KZzMrH/7NeJCNc XTo8BCURzINK5rVraA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from gandalf.gmx.de ([185.89.38.155]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1Mi2O1-1tfrod27xx-00fxKg; Thu, 14 Nov 2024 09:10:54 +0100 In-Reply-To: ("=?UTF-8?Q?J=C3=B6rg?= Sommer"'s message of "Wed, 13 Nov 2024 20:11:10 +0100") X-Provags-ID: V03:K1:2DTdip6zbBEhj9Tpjg7aJrSfJ9pLBb61F7CUmttVhR2xPS2bIzF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s-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:295309 Archived-At: J=C3=B6rg Sommer writes: > Hi, Hi Joerg, > when running `emerge-files` with `/ssh:remote:file` and `~/local-file` I = get > the buffer `*emerge-diff-errors*` with: > > ``` > diff: /tmp/tramp.wlcRNL: No such file or directory > diff: /home/joerg/local-file: No such file or directory > ``` Thanks for the report. There is also bug#6850 about the same topic, I've merged both. > This change solves the problem: > > ```diff > diff --git lisp/vc/emerge.el lisp/vc/emerge.el > index ca48f2f3c7b..562041e4232 100644 > --- lisp/vc/emerge.el > +++ lisp/vc/emerge.el > @@ -581,6 +581,7 @@ emerge-make-diff-list > (setq emerge-diff-buffer (get-buffer-create "*emerge-diff*")) > (with-current-buffer > emerge-diff-buffer > + (setq default-directory (file-name-directory file-A)) > (erase-buffer) > (shell-command > (format "%s %s %s %s" > ``` Unfortunately, nobody felt comfortable to work on this over the years. I'll take the stab, and check your patch next days. So we should fix this after so many years. > Regards J=C3=B6rg Thanks for the heads-up, and best regards, Michael.