From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 30 21:41:54 2010 Received: (at submit) by debbugs.gnu.org; 1 May 2010 01:41:54 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O81iM-0000xo-5S for submit@debbugs.gnu.org; Fri, 30 Apr 2010 21:41:54 -0400 Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O81iK-0000xg-7N for submit@debbugs.gnu.org; Fri, 30 Apr 2010 21:41:52 -0400 Received: from lists.gnu.org ([199.232.76.165]:58568) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1O81iG-0006XH-Fp for submit@debbugs.gnu.org; Fri, 30 Apr 2010 21:41:48 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O81iG-0004Oh-2x for bug-gnu-emacs@gnu.org; Fri, 30 Apr 2010 21:41:48 -0400 Received: from [140.186.70.92] (port=49683 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O81iE-0004Ms-L0 for bug-gnu-emacs@gnu.org; Fri, 30 Apr 2010 21:41:47 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_MIME_NO_TEXT, T_RP_MATCHES_RCVD, T_TO_NO_BRKTS_FREEMAIL, T_TVD_MIME_NO_HEADERS autolearn=unavailable version=3.3.0 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O81iC-0002wl-Rl for bug-gnu-emacs@gnu.org; Fri, 30 Apr 2010 21:41:46 -0400 Received: from ppsw-32.csi.cam.ac.uk ([131.111.8.132]:34686) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O81iC-0002wb-KO for bug-gnu-emacs@gnu.org; Fri, 30 Apr 2010 21:41:44 -0400 X-Cam-AntiVirus: no malware found X-Cam-SpamDetails: not scanned X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ Received: from cpc1-cmbg13-0-0-cust596.cmbg.cable.ntl.com ([86.9.122.85]:58432 helo=Victoria.local) by ppsw-32.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.158]:587) with esmtpsa (PLAIN:sl392) (TLSv1:DHE-RSA-AES128-SHA:128) id 1O81iA-0002lX-CE (Exim 4.70) for bug-gnu-emacs@gnu.org (return-path ); Sat, 01 May 2010 02:41:43 +0100 From: Leo To: bug-gnu-emacs@gnu.org Subject: 23.1.96; delete-by-moving-to-trash Date: Sat, 01 May 2010 02:41:41 +0100 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) --=-=-= While experimenting some of the new features, I quite like to use delete-by-moving-to-trash to double protect deleting files by accident. However, with (setq delete-by-moving-to-trash t), a lot of (internal) temporary files are also moved to the trash bin. See the attached file for an output of `ls' in the .Trash directory after roughly two hours of emacs. To reproduce, just (setq delete-by-moving-to-trash t) and carry on with normal Emacs editing. After a while you should notice the trash bin heavily populated. The trash bin is a buffer area to rescue a lost file. Flood it with many internal temp files makes it very difficult to do so. Before emptying the trash bin (or remove files permanently) I (I guess many will do the same) often have a quick look at the files. This is now almost impossible if delete-by-moving-to-trash has been used. Could someone take a look at this issue? Thank you. Leo --=-=-= Content-Disposition: attachment; filename=trash-ls.log Content-Description: trash-bin-ls.log leo@Victoria ~/.Trash$ ls !Users!leo!GNUS!.newsrc.eld.~106~ diff16258KRU diff26258KKg emacsca2LL8 jka-com6258xvm #%2Ascratch%2A#88815TN# diff16258LEz diff26258WaT emacsgM68Dw jka-com8881_hQ #%2Ascratch%2A#8969WYO# diff16258XUm diff26258WhH emacsmgCrUd jka-com8881yXK #*message*-20100308-115723# diff16258jrN diff26258XNy emacsqCMK1i jka-com89692BS #.newsrc-dribble# diff16258v7A diff26258Xba emacsvlXg3W jka-com8969ctF #init# diff16258w8H diff26258jyB epg-output896926d jka-com8969dZw #init# 12-48-39-517 diff16258wnr diff26258kes epg-output8969DFk jka-com8969p3L #init# 12-50-18-590 diff16258wuf diff26258w1T epg-output8969PcL jka-com8969qj2 #init# 12-59-40-774 diff16258xoy emacs0K0etW epg-output8969cmR server #init# 13-01-51-136 diff262588FH emacs16PAo6 epg-output8969pwX server 11-57-09-965 diff162589_Z diff2625894l emacs9lYpE7 epg-signature8969QPq diff16258JQN diff262589GO emacsTRvUUZ jka-com6258-5s diff16258JXB diff262589NC emacsVJlI9u jka-com6258jkZ diff16258KDs diff262589xx emacsWVYHIH jka-com6258klg --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 30 22:19:52 2010 Received: (at 6070) by debbugs.gnu.org; 1 May 2010 02:19:52 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O82J5-0001EB-Qn for submit@debbugs.gnu.org; Fri, 30 Apr 2010 22:19:51 -0400 Received: from pantheon-po17.its.yale.edu ([130.132.50.73]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O82J3-0001E5-OF for 6070@debbugs.gnu.org; Fri, 30 Apr 2010 22:19:50 -0400 Received: from furry (adsl-99-75-106-162.dsl.wlfrct.sbcglobal.net [99.75.106.162]) (authenticated bits=0) by pantheon-po17.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o412JjeP015011 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 30 Apr 2010 22:19:46 -0400 Received: by furry (Postfix, from userid 1000) id 9121EC055; Fri, 30 Apr 2010 22:19:45 -0400 (EDT) From: Chong Yidong To: Leo Subject: Re: bug#6070: 23.1.96; delete-by-moving-to-trash References: Date: Fri, 30 Apr 2010 22:19:45 -0400 In-Reply-To: (Leo's message of "Sat, 01 May 2010 02:41:41 +0100") Message-ID: <87hbms8ita.fsf@stupidchicken.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-Spam-Score: -3.2 (---) X-Debbugs-Envelope-To: 6070 Cc: 6070@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.2 (---) Leo writes: > While experimenting some of the new features, I quite like to use > delete-by-moving-to-trash to double protect deleting files by accident. > > However, with (setq delete-by-moving-to-trash t), a lot of (internal) > temporary files are also moved to the trash bin. See the attached file > for an output of `ls' in the .Trash directory after roughly two hours of > emacs. Good point. I have commited a change that inhibits trashing for jka-compr, server, diff, and epg. Probably more such changes are required. From debbugs-submit-bounces@debbugs.gnu.org Sat May 01 00:00:08 2010 Received: (at 6070) by debbugs.gnu.org; 1 May 2010 04:00:08 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O83s7-0001tB-Ml for submit@debbugs.gnu.org; Sat, 01 May 2010 00:00:07 -0400 Received: from ppsw-32.csi.cam.ac.uk ([131.111.8.132]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O83s6-0001sX-7p for 6070@debbugs.gnu.org; Sat, 01 May 2010 00:00:07 -0400 X-Cam-AntiVirus: no malware found X-Cam-SpamDetails: not scanned X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ Received: from smaug.linux.pwf.cam.ac.uk ([193.60.95.72]:35362) by ppsw-32.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.158]:587) with esmtpsa (LOGIN:sl392) (TLSv1:DHE-RSA-AES128-SHA:128) id 1O83s1-0000lS-A5 (Exim 4.70) (return-path ); Sat, 01 May 2010 05:00:01 +0100 From: Leo To: Chong Yidong Subject: Re: bug#6070: 23.1.96; delete-by-moving-to-trash References: <87hbms8ita.fsf@stupidchicken.com> Date: Sat, 01 May 2010 05:00:00 +0100 In-Reply-To: <87hbms8ita.fsf@stupidchicken.com> (Chong Yidong's message of "Fri, 30 Apr 2010 22:19:45 -0400") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.2 (------) X-Debbugs-Envelope-To: 6070 Cc: 6070@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.2 (------) On 2010-05-01 03:19 +0100, Chong Yidong wrote: >> However, with (setq delete-by-moving-to-trash t), a lot of (internal) >> temporary files are also moved to the trash bin. See the attached file >> for an output of `ls' in the .Trash directory after roughly two hours of >> emacs. > > Good point. I have commited a change that inhibits trashing for > jka-compr, server, diff, and epg. Probably more such changes are > required. Thank you for the quick fix. I will be using it and let you if there are other cases need fixing. Leo From debbugs-submit-bounces@debbugs.gnu.org Sat May 01 00:44:59 2010 Received: (at 6070) by debbugs.gnu.org; 1 May 2010 04:44:59 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O84ZX-0002Bq-0q for submit@debbugs.gnu.org; Sat, 01 May 2010 00:44:59 -0400 Received: from ppsw-43.csi.cam.ac.uk ([131.111.8.143]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O84ZV-0002Bl-IT for 6070@debbugs.gnu.org; Sat, 01 May 2010 00:44:58 -0400 X-Cam-AntiVirus: no malware found X-Cam-SpamDetails: not scanned X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ Received: from smaug.linux.pwf.cam.ac.uk ([193.60.95.72]:54495) by ppsw-43.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.156]:587) with esmtpsa (LOGIN:sl392) (TLSv1:DHE-RSA-AES128-SHA:128) id 1O84ZR-0006HQ-Cx (Exim 4.70) (return-path ); Sat, 01 May 2010 05:44:53 +0100 From: Leo To: Chong Yidong Subject: Re: bug#6070: 23.1.96; delete-by-moving-to-trash References: <87hbms8ita.fsf@stupidchicken.com> Date: Sat, 01 May 2010 05:44:52 +0100 In-Reply-To: (Leo's message of "Sat, 01 May 2010 05:00:00 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: 6070 Cc: 6070@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.2 (----) On 2010-05-01 05:00 +0100, Leo wrote: >> Good point. I have commited a change that inhibits trashing for >> jka-compr, server, diff, and epg. Probably more such changes are >> required. > > Thank you for the quick fix. I will be using it and let you if there are > other cases need fixing. delete-auto-save-file-if-necessary still creates a lot temp files in the trash bin. Any idea where names like emacs6ljgy9 or emacsXWkc8c come from? They look like temp file. Is it from with-temp-file? Cheers, Leo From debbugs-submit-bounces@debbugs.gnu.org Sat May 01 08:43:53 2010 Received: (at submit) by debbugs.gnu.org; 1 May 2010 12:43:53 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O8C2y-0005y7-Tx for submit@debbugs.gnu.org; Sat, 01 May 2010 08:43:53 -0400 Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O8C2w-0005y0-O1 for submit@debbugs.gnu.org; Sat, 01 May 2010 08:43:51 -0400 Received: from lists.gnu.org ([199.232.76.165]:56643) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1O8C2r-0000kX-Gc for submit@debbugs.gnu.org; Sat, 01 May 2010 08:43:45 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O8C2r-0001QW-16 for bug-gnu-emacs@gnu.org; Sat, 01 May 2010 08:43:45 -0400 Received: from [140.186.70.92] (port=38901 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O8C2p-0001QO-9l for bug-gnu-emacs@gnu.org; Sat, 01 May 2010 08:43:44 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_RP_MATCHES_RCVD, T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.0 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O8C2n-0000AP-PF for bug-gnu-emacs@gnu.org; Sat, 01 May 2010 08:43:43 -0400 Received: from lo.gmane.org ([80.91.229.12]:40912) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O8C2n-0000AA-HJ for bug-gnu-emacs@gnu.org; Sat, 01 May 2010 08:43:41 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1O8C2i-0002gQ-8w for bug-gnu-emacs@gnu.org; Sat, 01 May 2010 14:43:36 +0200 Received: from smaug.linux.pwf.cam.ac.uk ([193.60.95.72]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 01 May 2010 14:43:36 +0200 Received: from sdl.web by smaug.linux.pwf.cam.ac.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 01 May 2010 14:43:36 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: bug-gnu-emacs@gnu.org connect(): No such file or directory From: Leo Subject: Re: bug#6070: 23.1.96; delete-by-moving-to-trash Date: Sat, 01 May 2010 13:43:28 +0100 Organization: University of Cambridge Lines: 36 Message-ID: References: <87hbms8ita.fsf@stupidchicken.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: smaug.linux.pwf.cam.ac.uk User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:fWcsR+2d5Q63isOLhy52ItT9tqI= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -5.9 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) On 2010-05-01 05:44 +0100, Leo wrote: >> Thank you for the quick fix. I will be using it and let you if there are >> other cases need fixing. > > delete-auto-save-file-if-necessary still creates a lot temp files in the > trash bin. Any idea where names like emacs6ljgy9 or emacsXWkc8c come > from? They look like temp file. Is it from with-temp-file? These are from the following files in Gnus: ---------------- leo@Victoria ...share/emacs/23.1.96/lisp/gnus$ zgrep -n "delete-file" mm*.el.gz mm-decode.el.gz:874: (ignore-errors (delete-file file)) mm-decode.el.gz:899: (delete-file ,file) mm-decode.el.gz:1031: (ignore-errors (delete-file (car object))) mm-decode.el.gz:1434: (delete-file file))))) mm-view.el.gz:366: (delete-file file)) mml-smime.el.gz:140: (delete-file tmp)) mml-smime.el.gz:143: (delete-file tmp)) mml2015.el.gz:858: (delete-file signature-file) mml2015.el.gz:863: (delete-file signature-file) ---------------- In my view the current implementation of this feature is far from optimal. It is almost sure that every occurrence of delete-file should not move things to trash bin. And it seems only a handful of commands need to move things to trash bin when deleting. Do you have a better way of fixing this bug? Thank you. I have been thinking whether it will be better to introduce a new function delete-file-soft that respects delete-by-moving-to-trash while leaving delete-file alone. Leo From debbugs-submit-bounces@debbugs.gnu.org Sat May 01 10:18:06 2010 Received: (at submit) by debbugs.gnu.org; 1 May 2010 14:18:06 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O8DWA-00078K-Dd for submit@debbugs.gnu.org; Sat, 01 May 2010 10:18:06 -0400 Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O8DW8-00077x-Oy for submit@debbugs.gnu.org; Sat, 01 May 2010 10:18:05 -0400 Received: from lists.gnu.org ([199.232.76.165]:37548) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1O8DW3-0002Bm-O9 for submit@debbugs.gnu.org; Sat, 01 May 2010 10:17:59 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O8DW2-0002SB-VM for bug-gnu-emacs@gnu.org; Sat, 01 May 2010 10:17:58 -0400 Received: from [140.186.70.92] (port=33317 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O8DW0-0002M0-UQ for bug-gnu-emacs@gnu.org; Sat, 01 May 2010 10:17:58 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=unavailable version=3.3.0 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O8DVz-0003AE-P9 for bug-gnu-emacs@gnu.org; Sat, 01 May 2010 10:17:56 -0400 Received: from mtaout22.012.net.il ([80.179.55.172]:51266) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O8DVz-00039x-H3 for bug-gnu-emacs@gnu.org; Sat, 01 May 2010 10:17:55 -0400 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0L1Q00700VNHEX00@a-mtaout22.012.net.il> for bug-gnu-emacs@gnu.org; Sat, 01 May 2010 17:17:49 +0300 (IDT) Received: from HOME-C4E4A596F7 ([77.126.59.39]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L1Q0060IVPOWB20@a-mtaout22.012.net.il>; Sat, 01 May 2010 17:17:49 +0300 (IDT) Date: Sat, 01 May 2010 17:17:51 +0300 From: Eli Zaretskii Subject: Re: bug#6070: 23.1.96; delete-by-moving-to-trash In-reply-to: X-012-Sender: halo1@inter.net.il To: Leo Message-id: <83bpczwvsg.fsf@gnu.org> References: <87hbms8ita.fsf@stupidchicken.com> X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: submit Cc: bug-gnu-emacs@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.3 (----) > From: Leo > Date: Sat, 01 May 2010 13:43:28 +0100 > Cc: > > In my view the current implementation of this feature is far from > optimal. It is almost sure that every occurrence of delete-file should > not move things to trash bin. And it seems only a handful of commands > need to move things to trash bin when deleting. Do you have a better way > of fixing this bug? Perhaps the few functions that create temporary files should record the file in some list, and delete-file could then consult that list to decide whether to delete or move to trash bin. Alternatively, perhaps only a few interactive commands should actually move to trash, while all the other uses of delete-file should actually delete. From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 21 19:42:04 2010 Received: (at control) by debbugs.gnu.org; 22 Nov 2010 00:42:04 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PKKTs-0007Gr-CX for submit@debbugs.gnu.org; Sun, 21 Nov 2010 19:42:04 -0500 Received: from pantheon-po25.its.yale.edu ([130.132.50.119]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PKKTq-0007GK-Ho for control@debbugs.gnu.org; Sun, 21 Nov 2010 19:42:02 -0500 Received: from furball (dhcp128036014014.central.yale.edu [128.36.14.14]) (authenticated bits=0) by pantheon-po25.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id oAM0lGIJ026776 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sun, 21 Nov 2010 19:47:16 -0500 Received: by furball (Postfix, from userid 1000) id 32D6A1610A5; Sun, 21 Nov 2010 19:47:16 -0500 (EST) From: Chong Yidong To: control@debbugs.gnu.org Subject: close 6070 Date: Sun, 21 Nov 2010 19:47:16 -0500 Message-ID: <87y68m4223.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) close 6070 thanks From unknown Sun Jun 15 08:42:53 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 20 Dec 2010 12:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator