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#44217: 28.0.50; Incorret during delete in Tramp: Trashing...done Date: Sun, 1 Nov 2020 16:33:01 +0300 Message-ID: References: <87tuuh15zm.fsf@gnus.org> <878sbtuhj6.fsf@gmx.de> <87ft60ru6g.fsf@gnus.org> <87v9evu1jv.fsf@gmx.de> <87r1pjtolo.fsf@gmx.de> <87imapgue9.fsf_-_@gmx.de> <87d00xgrfv.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="23234"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/+ (1036f0e) (2020-10-18) Cc: Lars Ingebrigtsen , 44217@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 01 14:35:10 2020 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 1kZDVk-0005vQ-SZ for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 01 Nov 2020 14:35:08 +0100 Original-Received: from localhost ([::1]:40644 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kZDVj-0001gz-RU for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 01 Nov 2020 08:35:07 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35780) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kZDUj-0001fM-IQ for bug-gnu-emacs@gnu.org; Sun, 01 Nov 2020 08:34:12 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52685) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kZDUg-0001sQ-Ag for bug-gnu-emacs@gnu.org; Sun, 01 Nov 2020 08:34:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kZDUg-0002bH-8e for bug-gnu-emacs@gnu.org; Sun, 01 Nov 2020 08:34: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: Sun, 01 Nov 2020 13:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44217 X-GNU-PR-Package: emacs Original-Received: via spool by 44217-submit@debbugs.gnu.org id=B44217.16042375899935 (code B ref 44217); Sun, 01 Nov 2020 13:34:02 +0000 Original-Received: (at 44217) by debbugs.gnu.org; 1 Nov 2020 13:33:09 +0000 Original-Received: from localhost ([127.0.0.1]:35998 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZDTp-0002aB-I6 for submit@debbugs.gnu.org; Sun, 01 Nov 2020 08:33:09 -0500 Original-Received: from static.rcdrun.com ([95.85.24.50]:52751) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZDTo-0002a3-4S for 44217@debbugs.gnu.org; Sun, 01 Nov 2020 08:33:08 -0500 Original-Received: from localhost ([::ffff:197.157.0.60]) (AUTH: PLAIN admin, TLS: TLS1.2,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by static.rcdrun.com with ESMTPSA id 00000000002A0B3B.000000005F9EB912.00006CF9; Sun, 01 Nov 2020 13:33:05 +0000 Content-Disposition: inline In-Reply-To: <87d00xgrfv.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" Xref: news.gmane.io gmane.emacs.bugs:192372 Archived-At: * Michael Albinus [2020-11-01 16:03]: > Jean Louis writes: > > Hi Jean, > > > Thank you, while I am git pull-ing and compiling, do you mean that you > > have implemented that scp or ssh connections would be moving files to > > local trash? > > Yes. > > > Does that mean if I have delete-by-moving-to-trash set for local file > > system that in case of deletion of remote files those files would be > > transferred to my local computer? That would be counter feature. As > > remotely I am keeping huge files. Somehow I was thinking to distinct > > between local and remote. > > Do not trash them. Delete them, or move them manually somewhere > else. Thank you, I appreciate your efforts. My testing was just find, deleted files on remote computers are transferred to local trash when I have variable delete-by-moving-to-trash defined. Often I am editing system files remotely and deleting backup~ files for security reasons. Those files are small and transferred automatically to local trash for some time, and I find it useful, with less fear if I make some problem remotely. For big files like videos and remote DVD images I will have to find way to turn off trashing when connecting to Tramp. I can make local directory variables if that works in Tramp too, or make small function to verify if size of files is like more than 100K and switch off delete by moving to trash. Thank you. Now close.