From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Bill Benedetto Newsgroups: gmane.emacs.help Subject: Re: Emacs 29 and Tramp and Remote Dired confusion Date: Fri, 7 Jul 2023 14:42:14 +0000 Message-ID: References: <871qhjdhfv.fsf@gmx.de> <83h6qfg94a.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22029"; mail-complaints-to="usenet@ciao.gmane.io" To: "help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jul 07 16:42:55 2023 Return-path: Envelope-to: geh-help-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 1qHmff-0005TU-5R for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 07 Jul 2023 16:42:55 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qHmf8-0000hT-74; Fri, 07 Jul 2023 10:42:22 -0400 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 1qHmf6-0000gV-Bu for help-gnu-emacs@gnu.org; Fri, 07 Jul 2023 10:42:20 -0400 Original-Received: from mail-co1nam11on2071.outbound.protection.outlook.com ([40.107.220.71] helo=NAM11-CO1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qHmf4-0004ii-Bg for help-gnu-emacs@gnu.org; Fri, 07 Jul 2023 10:42:20 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GhgExor232xsJbo+xkpB3Le0JYRnrx36nbgxHubW2oguDbhUfWQskBjsD4y7zoF1HWkXFF19l3ImFShixx8EOSYHFnmYM7P20S471i+t2bRdaSUvvKozYJuvK3iUROPcRuGeWFHy3aoxhcUDay1hU9F15m7Hd5PWYSXGFVmJlnvSBQhpM37cUcCwXRUiipC2fQ8VRrN4bv4kXa8ctqYaMugggnyD16p9Tocct5wBZfsJTywnRn80x8ke7149gKaZ0M2OEp8riktFzQZVD0FbeqlzhZEIPH+OeEIKAOL8G7HlttSR0RJJwVqJs1I00Laq3U5SpQM04z9adsUseY3BGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=/nusTXOqcp/+9pdoB4JXun7bYWG5m6iOuphaFCZwb8s=; b=gbXXqGHYKt1QG61/0yTeTxiikpBuOhJ9oiMAtQnslnI1loOu8cbM499/435n5ly3WH8dz1b7j9OvhdAm//1UDnjZPT6ajZ6mxX/31/Mh2xfANebl8UQsVrpCZM7Y0Kujq/dFu1bMVE0LZM+sOyxCQSjwYt2jCVjyiwotO9kBq68IN5zGJh07fOuRdcK2i94137iqKwhsr4tpFa/lpLv9hffXwqS3YH7aiIvmxM92fRcHkieMGSDsvD1X/VsZHFumCvRNx8sw5k6Fj4YO2Bjr9ETAFCObtxStA6zae4xKRr9F4f4ciltGIgsO695Wnr5e6GQMJAYs+IcyTzSX3ezHjQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=goodyear.com; dmarc=pass action=none header.from=goodyear.com; dkim=pass header.d=goodyear.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=goodyear.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/nusTXOqcp/+9pdoB4JXun7bYWG5m6iOuphaFCZwb8s=; b=HkkipBZ+YnrT6n7ME1lpFzLfOvbMT2xDthYTYq5pdUoc+EY2Ds4gN0yGetrbPVz373wtwZjuJ9Z4ZhswQRbOfRtJ2aY+AZcv42nmlobolmjNLspo863m1qtqv95Z+BDCjclnZRrEsbobBbp433kJWEmqv8mguZUDBG2Yb6lMLvwxCHXT6tZd+rjN8UJ7ZixWTRLRVOZrmYbK8E5CC9benyWfyk0MF+UZmF9Omyhcxi5MhLQop2CHedtvtkUcpHtp7zvGeTK0Acy6TILhCk0O/r9mRI9+VQudeBcq81o/tP5u5sMfuh1BjV/PQ9GkEjlb5rGxW5OJwEjosa3HvekVDQ== Original-Received: from DM4PR18MB4191.namprd18.prod.outlook.com (2603:10b6:5:392::15) by CH3PR18MB5439.namprd18.prod.outlook.com (2603:10b6:610:160::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6565.17; Fri, 7 Jul 2023 14:42:14 +0000 Original-Received: from DM4PR18MB4191.namprd18.prod.outlook.com ([fe80::326e:58fa:6aa7:1c9f]) by DM4PR18MB4191.namprd18.prod.outlook.com ([fe80::326e:58fa:6aa7:1c9f%6]) with mapi id 15.20.6565.025; Fri, 7 Jul 2023 14:42:14 +0000 Thread-Topic: Emacs 29 and Tramp and Remote Dired confusion Thread-Index: AQHZsOE4TBIt+pNvNE6esnH67VH18A== In-Reply-To: <83h6qfg94a.fsf@gnu.org> Accept-Language: en-US Content-Language: en-US authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=goodyear.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DM4PR18MB4191:EE_|CH3PR18MB5439:EE_ x-ms-office365-filtering-correlation-id: b008c490-5aeb-4813-0eb0-08db7ef85afa x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: N468h+EH9ZjCDtYVQusgA7UHZjkRb2ZozDUJI0ZyNF4/co3CyIW/W4FCcuip8XO25fdjeO7NvQ4pFyOLort7njmNN9EdGVHurzT3OPgjO8pDipBCphkUaPYUXR1K/9zzAvwtJQ5Pr9nEomrXS2U33ISc+pScYd1ZqyhukoHsmA/3lgpxcKw/hT812q5bAoSLHQgHH9RrBTGN2+zu5FJeqwOYM/iu9ADHrWwaE0viQU3MQzJF9nkRlz43F3Sqo/t/LHm3tFdH8ptnm6p8Li1OSIfSOYKeZWR0uS5KWx2nS4t8nUEf3nVQsUN+7Cnu8aaUVRXfILYcRtc9LR03x2jGvvQNhg/ayJs/vn4jNl1bE7OM+t5bxdaCv9Z/Wlykb+A4wTtXeBF8m16iUWGXVnkSpextsM8ubcQgSQsYZi9RPI7cUDoxVdU36W/w8uRXrfKnJ3aLYqCaU1ExOfmrYJpCmz97AQXUIwZ9yNc5hLPxJOh0H1lrCfdo6ejhUoenDO0GvW+YhUGP/cw+ThjENblJTFJH6dmvw6KbbNSLTInW9zE4ijzUicLLxTGz+vG30K5Bj0jr4wnNbhymm2ELzg+ye7f9alAGr4RHnH7M0tTYc6UgBXAv/Uyxdy5EZXcFGzHf x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR18MB4191.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(136003)(396003)(346002)(366004)(39860400002)(376002)(451199021)(478600001)(7696005)(76116006)(71200400001)(33656002)(38070700005)(86362001)(6506007)(55016003)(2906002)(66556008)(186003)(53546011)(26005)(66946007)(9686003)(66446008)(83380400001)(122000001)(38100700002)(5660300002)(41300700001)(6916009)(316002)(66476007)(64756008)(8936002)(8676002)(52536014); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?SJJ8ULYBdbBVXqk2Hxkw/2MJdVrzUij+kAd375n8Ip5rO7c7yqte3bISU8Z/?= =?us-ascii?Q?uAf4ZCMbz0Urusfm7I7IrBVSEnYoR9MfXRTPWk1jaVdN5715HgsvfoJrHABx?= =?us-ascii?Q?mQ2MP1ZWY98Hj8fugQIOU9J4BasisUj9/4KfxvkYNtQSf1zTGlZKaavISdeL?= =?us-ascii?Q?/t7ApJ9daOvLHTkhyxVjmiV9yAaIiK47YWsPEBZ/iIlfZ5o+xobrO+Ry4dXP?= =?us-ascii?Q?MiBI7DZKM5mRM1rKOtP0fKhJniQORPEWh+pRadGMr583fX4AwIoO6XKGxxZC?= =?us-ascii?Q?mj9OmZ6t0YgxBaO4AMy18rjEyHzv5gV5/EyOi93qTIKRolfdevHhyHslLjU7?= =?us-ascii?Q?TyBZ3F/+rFl2yL7qHJp2+RDnQvwetB2DpKqu0586ftvOpa848UhlbvnZTs3V?= =?us-ascii?Q?27czpH9OUDnBlP4eMyBw+2KOqLiJ6orxYZPH5VnTtYKLb5pTZX/gaMnd/cEC?= =?us-ascii?Q?dbn4jNmwCpoyCk1l7s8xrD9Hr8E+r35Z+CDdAHtZFzYtYR/B1Az/F8bv66RZ?= =?us-ascii?Q?AA5oWLAp1bqQaeTvAuc4czWOBNqpi8sarnb6TaC2/y8NQ/ZISU2tQe6c+7et?= =?us-ascii?Q?wE6AbWm1QVL2qg3HnY/s7OW9s3G9i4huiPFw8wvJYxIMRE5Vp2U4ku7Obtvb?= =?us-ascii?Q?D+ X-OriginatorOrg: goodyear.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM4PR18MB4191.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: b008c490-5aeb-4813-0eb0-08db7ef85afa X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Jul 2023 14:42:14.6271 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 939e8966-9285-4a9a-9f04-0887efe8aae0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 6kqbUX59eBOe+rnKTQQGRL3OVlSUNAmu7p6deKI6Am0166YKGpl0aWLq8NhRhxyy045qgFcTHT5lwTzHsF0aPA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH3PR18MB5439 Received-SPF: pass client-ip=40.107.220.71; envelope-from=bbenedetto@goodyear.com; helo=NAM11-CO1-obe.outbound.protection.outlook.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:144161 Archived-At: Great idea! Remembering that this is emacs 29. 1. emacs -Q 2. C-x C-f 3. /ssh:me@remotemachine:. 4. C-x 1 5. C (dired-do-copy) 6. type a new name for the target file and hit The new file will have the current timestamp instead of the original timest= amp. In previous versions of emacs/tramp, it would have the original timestamp. I also checked dired-copy-preserve-time and it is t in both versions that I= am testing (28 and 29 pretest 29.0.92) Is this any clearer? -Bill=20 -----Original Message----- From: help-gnu-emacs-bounces+bbenedetto=3Dgoodyear.com@gnu.org On Behalf Of Eli Zaretskii Sent: Friday, July 7, 2023 9:11 AM To: help-gnu-emacs@gnu.org Subject: Re: [EXT] Re: Emacs 29 and Tramp and Remote Dired confusion > From: Bill Benedetto > CC: "help-gnu-emacs@gnu.org" > Date: Fri, 7 Jul 2023 12:58:55 +0000 >=20 > If I do like you said, copy from a remote to a local dired, it does retai= n the timestamp. > And if I copy from a remote to a different remote dired, the timestamp is= still retained. >=20 > 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.) What do you mean by "that same remote dired"? What is "the same" in this c= ase? How about showing a complete recipe, starting from "emacs -Q" and showing a= ll the commands and key sequences you type to reproduce the problem?