From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#1440: 23.0.60; delete-by-moving-to-trash loses data Date: Thu, 27 Nov 2008 16:44:09 +0100 Message-ID: <87hc5trx6e.fsf@thinkpad.tsdh.de> Reply-To: Tassilo Horn , 1440@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1227801115 32192 80.91.229.12 (27 Nov 2008 15:51:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 27 Nov 2008 15:51:55 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Nov 27 16:52:56 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L5jAk-0003Zx-7c for geb-bug-gnu-emacs@m.gmane.org; Thu, 27 Nov 2008 16:52:54 +0100 Original-Received: from localhost ([127.0.0.1]:43951 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L5j9a-0008Cn-Bn for geb-bug-gnu-emacs@m.gmane.org; Thu, 27 Nov 2008 10:51:42 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L5j8C-0007mK-FM for bug-gnu-emacs@gnu.org; Thu, 27 Nov 2008 10:50:16 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L5j8A-0007lf-SG for bug-gnu-emacs@gnu.org; Thu, 27 Nov 2008 10:50:15 -0500 Original-Received: from [199.232.76.173] (port=48517 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L5j8A-0007lZ-JW for bug-gnu-emacs@gnu.org; Thu, 27 Nov 2008 10:50:14 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:47765) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L5j89-0002KS-T6 for bug-gnu-emacs@gnu.org; Thu, 27 Nov 2008 10:50:14 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mARFoBCZ018510; Thu, 27 Nov 2008 07:50:11 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mARFo4eE017848; Thu, 27 Nov 2008 07:50:04 -0800 X-Loop: don@donarmstrong.com Resent-From: Tassilo Horn Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 27 Nov 2008 15:50:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1440 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.122780066016363 (code B ref -1); Thu, 27 Nov 2008 15:50:04 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 27 Nov 2008 15:44:20 +0000 Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mARFiGe1016357 for ; Thu, 27 Nov 2008 07:44:17 -0800 Original-Received: from mx10.gnu.org ([199.232.76.166]:33760) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1L5j24-0000J3-C8 for emacs-pretest-bug@gnu.org; Thu, 27 Nov 2008 10:43:56 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1L5j2M-0001b2-EI for emacs-pretest-bug@gnu.org; Thu, 27 Nov 2008 10:44:15 -0500 Original-Received: from deliver.uni-koblenz.de ([141.26.64.15]:27472) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L5j2L-0001aq-To for emacs-pretest-bug@gnu.org; Thu, 27 Nov 2008 10:44:14 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 3A9F3789AB5C for ; Thu, 27 Nov 2008 16:44:13 +0100 (CET) Original-Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 27778-02-2 for ; Thu, 27 Nov 2008 16:44:10 +0100 (CET) X-CHKRCPT: Envelopesender vrfy tassilo@member.fsf.org Original-Received: from thinkpad.tsdh.de (dhcp83.uni-koblenz.de [141.26.71.83]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 2FB20789AB56 for ; Thu, 27 Nov 2008 16:44:09 +0100 (CET) Mail-Copies-To: never Severity: grave User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-Virus-Scanned: amavisd-new at uni-koblenz.de X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Thu, 27 Nov 2008 10:50:15 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:22716 gmane.emacs.pretest.bugs:23412 Archived-At: Severity: grave Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing lis= t. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: I've just found out about delete-by-moving-to-trash, and basically it sounds nice, but it's dangerous. The current implementation has one minor and one HUGE drawback. - Delete a directory foo which contains the files a and b recursively (from within dired). Then goto the trash-directory. Now foo, a and b are side by side. - Now delete another file named a. This file is really deleted, because a already exists in trash. (Overwriting would be as bad as the current decision.) In Bug #973 David De La Harpe Golden added a patch to implement the freedesktop.org trashcan spec, which solves both problems and integrates emacs much better into the modern GNU desktop. He implemented only the writing part, so currently one has to use some desktop file manager to restore files properly, but as long as no data is lost, I wouldn't consiter that a problem. If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file /usr/share/emacs/23.0.60/etc/DEBUG for instructions. In GNU Emacs 23.0.60.1 (x86_64-pc-linux-gnu, GTK+ Version 2.14.4) of 2008-11-25 on thinkpad Windowing system distributor `The X.Org Foundation', version 11.0.10502000 configured using `configure '--prefix=3D/usr' '--host=3Dx86_64-pc-linux-gn= u' '--mandir=3D/usr/share/man' '--infodir=3D/usr/share/info' '--datadir=3D/= usr/share' '--sysconfdir=3D/etc' '--localstatedir=3D/var/lib' '--libdir=3D/= usr/lib64' '--program-suffix=3D-emacs-23' '--infodir=3D/usr/share/info/emac= s-23' '--with-sound' '--with-x' '--with-toolkit-scroll-bars' '--with-gif' '= --with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xpm' '--with-= freetype' '--with-xft' '--with-libotf' '--with-m17n-flt' '--with-x-toolkit= =3Dgtk' '--without-hesiod' '--without-kerberos' '--without-kerberos5' '--wi= th-gpm' '--with-dbus' '--build=3Dx86_64-pc-linux-gnu' 'build_alias=3Dx86_64= -pc-linux-gnu' 'host_alias=3Dx86_64-pc-linux-gnu' 'CFLAGS=3D-g -ggdb -O1 -p= ipe' 'LDFLAGS=3D'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Article Minor modes in effect: rcirc-track-minor-mode: t yas/minor-mode: t shell-dirtrack-mode: t recentf-mode: t iswitchb-mode: t window-number-meta-mode: t window-number-mode: t savehist-mode: t exec-abbrev-cmd-mode: t show-paren-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: (only . t) Recent input: =20 SPC=20 c a l l s M-q =20 s M-q =20 =20 =20 =20 =20 b C-c=20 C-c c SPC SPC SPC S W C-k C-k C-k C-k C-k=20 C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k H i=20 SPC W o l f g a n g , =20 P r i m a ! SPC ; - ) =20 M-q C-k C-k C-k C-k C-k C-k =20 C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k J a , SPC=20 g e n a u s e o SPC w i e SPC f =FC r SPC=20 G N H U . SPC SPC F r i s c h SPC a u s=20 SPC d e m SPC C V S S-SPC u n d SPC z u m SPC s e l=20 b e r k o m p i l i e r e n . M-q =20 M-q =20 SPC SPC =20 g C-c C-c c SPC c=20 l s 1 g M-2=20 =20 q SPC ^ ^ ^ ^ ^ M-1 M-2 =20 C-SPC =20 =20 M-w M-x r e b Recent messages: 20081127T163816.052> Generating summary...done 20081127T163817.169> Generating summary... 20081127T163817.172> Generating summary...done 20081127T163818.539> Generating summary... 20081127T163818.542> Generating summary...done 20081127T163819.674> Generating summary... 20081127T163819.677> Generating summary...done 20081127T163820.704> Generating summary... 20081127T163820.708> Generating summary...done Mark set --=20 "OS's and GUI's come and go, only Emacs has lasting power." Per Abrahamsen in