[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [EXT] Re: Emacs 29 and Tramp and Remote Dired confusion
From: |
Bill Benedetto |
Subject: |
RE: [EXT] Re: Emacs 29 and Tramp and Remote Dired confusion |
Date: |
Fri, 7 Jul 2023 12:58:55 +0000 |
Hello, Michael.
Sorry I wasn't clearer.
If I do like you said, copy from a remote to a local dired, it does retain the
timestamp.
And if I copy from a remote to a different remote dired, the timestamp is still
retained.
But if I copy within the same remote dired to a new name within that same
remote dired, the timestamp changes.
(Like to make a backup copy of the original file.)
It used to keep the original timestamp in earlier emacs/tramps.
Thanks!
-Bill
-----Original Message-----
From: Michael Albinus <michael.albinus@gmx.de>
Sent: Friday, July 7, 2023 8:39 AM
To: Bill Benedetto <bbenedetto@goodyear.com>
Cc: help-gnu-emacs@gnu.org
Subject: [EXT] Re: Emacs 29 and Tramp and Remote Dired confusion
WARNING: This is an EXTERNAL email. THINK before you open attachments, click
links or respond. USE the Outlook button to REPORT suspicious email.
Bill Benedetto <bbenedetto@goodyear.com> writes:
> Good day.
Hi Bill,
> I'm confused about what I'm seeing in Emacs 29.
>
> Heretofore, when I copied a file in a remote dired, it would keep the same
> timestamp.
> AFAIK, that's always worked and always been the default.
>
> However, that is not the default in Emacs 29.
> When I copy a file, it copies it with the current timestamp instead of the
> original.
>
> I'm an admin and do this stuff all day.
> This is a deal breaker for me.
>
> I've nosed around and didn't see anything in the NEWS about a change like
> that.
> And I've tried to figure out what variable I need to (re)set to get the old
> behavior back, but haven't found it yet.
>
> I'm using emacs 29.0.92 (but I saw the same result in the previous two
> pretests).
>
> Can someone shed some light on this for me?
I cannot reproduce it here. Scenario, using a recent build of Emacs 29:
# ~/src/emacs-29/src/emacs ~/
;; There is a file ccc, which is from last year. Dired shows it like
--8<---------------cut here---------------start------------->8---
-rw-rw-r--. 1 albinus albinus 173 Jun 22 2022 ccc
--8<---------------cut here---------------end--------------->8---
;; I type "C", and give as remote target "/ssh:anotherhost:/tmp"
;; It is copied to the remote host, where it didn't exist before.
;; Then I type "C-x C-f /ssh:anotherhost:/tmp", and I see there
--8<---------------cut here---------------start------------->8---
-rw-rw-r-- 1 albinus albinus 173 Jun 22 2022 ccc
--8<---------------cut here---------------end--------------->8---
Could you pls give me your recipe when it fails?
> Thanks!
>
> - Bill
Best regards, Michael.
Re: Emacs 29 and Tramp and Remote Dired confusion, Eli Zaretskii, 2023/07/07