From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sean Devlin Newsgroups: gmane.emacs.bugs Subject: bug#68805: 29.2; Tramp: out-of-band copy-file fails when tramp-copy-keep-date is nil Date: Thu, 1 Feb 2024 11:52:26 -0500 Message-ID: References: <59B29F53-DEE4-4DDD-BC68-8BB16652633E@toadstyle.org> <87frycgvo7.fsf@gmx.de> <87a5okguqo.fsf@gmx.de> <55A934E6-19B9-4EFC-BA64-25F35E4115B4@toadstyle.org> <875xz8gn6h.fsf@gmx.de> Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.500.141\)) 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="20058"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 68805-done@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Feb 01 17:57:26 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 1rVaNR-0004yc-QA for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 01 Feb 2024 17:57:25 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rVaJa-0007jc-HE; Thu, 01 Feb 2024 11:53:26 -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 1rVaJ2-00070M-8n for bug-gnu-emacs@gnu.org; Thu, 01 Feb 2024 11:52:57 -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 1rVaJ2-0005XO-0Z for bug-gnu-emacs@gnu.org; Thu, 01 Feb 2024 11:52:52 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rVaJB-0001XH-QL for bug-gnu-emacs@gnu.org; Thu, 01 Feb 2024 11:53:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Sean Devlin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 01 Feb 2024 16:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68805 X-GNU-PR-Package: emacs Original-Received: via spool by 68805-done@debbugs.gnu.org id=D68805.17068063775890 (code D ref 68805); Thu, 01 Feb 2024 16:53:01 +0000 Original-Received: (at 68805-done) by debbugs.gnu.org; 1 Feb 2024 16:52:57 +0000 Original-Received: from localhost ([127.0.0.1]:43089 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rVaJ7-0001Wv-Bz for submit@debbugs.gnu.org; Thu, 01 Feb 2024 11:52:57 -0500 Original-Received: from mail-oo1-xc34.google.com ([2607:f8b0:4864:20::c34]:58473) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rVaJ4-0001Wf-BB for 68805-done@debbugs.gnu.org; Thu, 01 Feb 2024 11:52:55 -0500 Original-Received: by mail-oo1-xc34.google.com with SMTP id 006d021491bc7-5961a2726aaso657194eaf.0 for <68805-done@debbugs.gnu.org>; Thu, 01 Feb 2024 08:52:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=toadstyle-org.20230601.gappssmtp.com; s=20230601; t=1706806358; x=1707411158; darn=debbugs.gnu.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=wcNzNSGMsqVTEoKFQautD2VLtOd54hf3WQbZlzUrcQs=; b=jvk1yLxhQDDA6q8teVhkNozgUOVu7MHUjRpooSXX7Xo+Vi3O72T4s7REp4bnlBrcUM 22DfZFvMCHRKvSgL7B13DgLpLUBOOasfJYZk4cRjnR1Vyy3VOhcYHNjAvWctioAIMR5p siKiwWwZcGg+XZgS3xgHUX4ruNxKgD5wMVMVXMFKSuiY3TSav54usVRxQH+e8LJhU7rO qkqFKn+kx3ve+jIjzgbdlPZM/qQnUDTlsv5XWn8yDyMmZ4v6s1zN07/9QgeJy8acbP2H KZxCsx6wC+NxiOui56x04bYbWGzWCrCLYAP8Sje3ADw99by5GxHcb9e2hC04LQo6PpiT b+TA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706806358; x=1707411158; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=wcNzNSGMsqVTEoKFQautD2VLtOd54hf3WQbZlzUrcQs=; b=mKDWgsAJQdfTalXpqDvNQbwP0lBPgw1aJGpi+yaZOQiQKXVRp1rSv/SQfYPLntQgXC VLSdDVNCAGVwI0YsCxGWa13u7T8C5R5+/2E5R3IfP4FvDJ7OY9qVUvL2j5yIgEzWahjU C6+xhZFhhjAE7q1Buid9IUsmfTyzfJAJI1pH9TQwQAU3AUUxcEKOxvXV+IXa2VWuN28X zIcY6I0KHNA1Rc5AKF9DePTddL30+sxGn301p2KSAS+JsFI+xI1QNnX1PcYCb37Jx3Hs kgHe5OvC5lKBOdU/UasIAiQZCiWBrl8WhmW4KoVv0hD+tshPeH4ABb0G2OjQOMkTpRhG QXlA== X-Gm-Message-State: AOJu0YyY8JKL+L7LIGNbKtDj07gHnBMGoQwlQqHYgCh5D5fnHNSdkc6Q /pm+84Kh0B2N7CEJ4k8GRbEJjARQR2pfv1uHVd7GS6WnfwFlmAUTxvmWSGjpm+s= X-Google-Smtp-Source: AGHT+IEXOufA0JZe+IyBhH6qUBtL2N2UuHIbf7Qk9U5DRCQ5Zqxkf//kh31ijQkRSolZVtnJrmAp4g== X-Received: by 2002:a4a:d2c2:0:b0:59c:90fc:5e3b with SMTP id j2-20020a4ad2c2000000b0059c90fc5e3bmr538781oos.6.1706806358315; Thu, 01 Feb 2024 08:52:38 -0800 (PST) Original-Received: from smtpclient.apple ([2620:149:af:2020:d113:b293:a522:b396]) by smtp.gmail.com with ESMTPSA id 17-20020a4ae1b1000000b0059a530f54c6sm20941ooy.10.2024.02.01.08.52.37 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Feb 2024 08:52:38 -0800 (PST) In-Reply-To: <875xz8gn6h.fsf@gmx.de> X-Mailer: Apple Mail (2.3774.500.141) X-BeenThere: debbugs-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:279298 Archived-At: Hi Michael, > On Feb 1, 2024, at 11:32=E2=80=AFAM, Michael Albinus = wrote: >=20 > Version: 29.3 >=20 > Sean Devlin writes: >=20 >> Hi Michael, >=20 > Hi Sean, >=20 >> I can confirm the below patch fixes the issue. Thanks for your help! >=20 > Thanks for the feedback. I've pushed the fix to the repositories. Will > appear with the next Tramp release on GNU ELPA (2.6.2.2) later this > month. If there is an Emacs 29.3, it will also contain the fix. >=20 > In Emacs 30.0.50 (Tramp 2.7) this patch isn't needed, because due to > reorganization of the code, the cache is flushed in time. Sounds good. Thanks! >=20 >> Regarding the comment, couldn=E2=80=99t some cached file properties = (i.e. other than >> file-exists-p) be wrong even if NEWNAME did already exist? I = haven=E2=80=99t really >> thought this through, just curious. >=20 > Hmm, the comment isn't precise enough, yes. It reflects this bug. But > the code is. >=20 > If you like to contribute to Tramp (Emacs), send a patch :-) I would like to, but my current job makes it difficult for me to = contribute in this way. Maybe someday that will change. For now, I will try to file good bug reports. :) >=20 >> Thanks! >=20 > Best regards, Michael.