From: Bill Benedetto <bbenedetto@goodyear.com>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: RE: [EXT] Re: Emacs 29 and Tramp and Remote Dired confusion
Date: Fri, 7 Jul 2023 12:58:55 +0000 [thread overview]
Message-ID: <DM4PR18MB419175418EBA6E32AF093768B92DA@DM4PR18MB4191.namprd18.prod.outlook.com> (raw)
In-Reply-To: <871qhjdhfv.fsf@gmx.de>
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.
next prev parent reply other threads:[~2023-07-07 12:58 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-07 12:14 Emacs 29 and Tramp and Remote Dired confusion Bill Benedetto
2023-07-07 12:39 ` Michael Albinus
2023-07-07 12:58 ` Bill Benedetto [this message]
2023-07-07 13:10 ` [EXT] " Eli Zaretskii
2023-07-07 14:42 ` Bill Benedetto
2023-07-07 17:30 ` [EXT] " Michael Albinus
2023-07-07 17:57 ` Bill Benedetto
2023-07-08 13:50 ` Michael Albinus
2023-07-10 11:23 ` Bill Benedetto
2023-07-07 13:05 ` Eli Zaretskii
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=DM4PR18MB419175418EBA6E32AF093768B92DA@DM4PR18MB4191.namprd18.prod.outlook.com \
--to=bbenedetto@goodyear.com \
--cc=help-gnu-emacs@gnu.org \
--cc=michael.albinus@gmx.de \
/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.
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).