From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.bugs Subject: bug#60460: 30.0.50; [FR] avoid putting remote files to local trash Date: Mon, 2 Jan 2023 13:35:10 +0300 Message-ID: References: <87358tfglk.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14537"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/2.2.9+54 (af2080d) (2022-11-21) Cc: ruijie@netyu.xyz, 60460@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jan 02 11:41:32 2023 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 1pCIG3-0003aY-K0 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 02 Jan 2023 11:41:31 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pCIFd-0004JH-0J; Mon, 02 Jan 2023 05:41: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 1pCIFa-0004J1-Gt for bug-gnu-emacs@gnu.org; Mon, 02 Jan 2023 05:41:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pCIFa-0000t6-91 for bug-gnu-emacs@gnu.org; Mon, 02 Jan 2023 05:41:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pCIFa-00029m-53 for bug-gnu-emacs@gnu.org; Mon, 02 Jan 2023 05:41:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jean Louis Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 02 Jan 2023 10:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60460 X-GNU-PR-Package: emacs Original-Received: via spool by 60460-submit@debbugs.gnu.org id=B60460.16726560348243 (code B ref 60460); Mon, 02 Jan 2023 10:41:02 +0000 Original-Received: (at 60460) by debbugs.gnu.org; 2 Jan 2023 10:40:34 +0000 Original-Received: from localhost ([127.0.0.1]:42556 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pCIF8-00028s-2B for submit@debbugs.gnu.org; Mon, 02 Jan 2023 05:40:34 -0500 Original-Received: from stw1.rcdrun.com ([217.170.207.13]:41433) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pCIF5-00028i-Hh for 60460@debbugs.gnu.org; Mon, 02 Jan 2023 05:40:32 -0500 Original-Received: from localhost ([::ffff:102.85.231.176]) (AUTH: PLAIN admin, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 0000000000055D56.0000000063B2B49F.00007A1C; Mon, 02 Jan 2023 03:40:31 -0700 Content-Disposition: inline In-Reply-To: <87358tfglk.fsf@gmx.de> 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:252322 Archived-At: * Michael Albinus [2023-01-02 12:11]: > We could use connection-local variables for achieving this effect. Just > set `delete-by-moving-to-trash' to nil by this mechanism. I guess the above option is not an option for people using `delete-by-moving-to-trash'. > Alternatively, we could add a new user option > `remote-file-name-inhibit-delete-by-moving-to-trash' (*), That sounds good. But what is remote? Is /sudo:: also remote? User may want to have access to sudo and move those files to Trash as well. -- Jean Take action in Free Software Foundation campaigns: https://www.fsf.org/campaigns In support of Richard M. Stallman https://stallmansupport.org/