unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Tassilo Horn <tassilo@member.fsf.org>
To: emacs-pretest-bug@gnu.org
Subject: bug#1440: 23.0.60; delete-by-moving-to-trash loses data
Date: Thu, 27 Nov 2008 16:44:09 +0100	[thread overview]
Message-ID: <87hc5trx6e.fsf@thinkpad.tsdh.de> (raw)

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 list.

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=/usr' '--host=x86_64-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--libdir=/usr/lib64' '--program-suffix=-emacs-23' '--infodir=/usr/share/info/emacs-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=gtk' '--without-hesiod' '--without-kerberos' '--without-kerberos5' '--with-gpm' '--with-dbus' '--build=x86_64-pc-linux-gnu' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' 'CFLAGS=-g -ggdb -O1 -pipe' 'LDFLAGS=''

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:
<left> <left> <left> <left> <left> <left> <left> <left> 
<left> <left> <left> <left> <left> <backspace> SPC 
c a l l s M-q <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> s M-q <right> <right> <right> 
<right> <right> <right> <right> <right> <right> <right> 
<right> <right> <right> <right> <right> <right> <right> 
<right> <right> <right> <right> <right> <right> <right> 
<right> <right> <right> <right> <right> <right> <right> 
<right> <down> <down> <return> <return> b <tab> C-c 
C-c c <return> SPC SPC SPC S W C-k C-k C-k C-k C-k 
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 
SPC W o l f g a n g , <return> <down> <down> <return> 
<up> <return> P r i m a ! SPC ; - ) <return> <down> 
M-q <down> <down> C-k C-k C-k C-k C-k C-k <return> 
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 
g e n a u s e <backspace> o SPC w i e SPC f ü r SPC 
G N H <backspace> U . SPC SPC F r i s c h SPC a u s 
SPC d e m SPC C V S S-SPC u n d SPC z u m SPC s e l 
b e r k o m p i l i e r e n . M-q <M-left> <M-left> 
<M-right> <M-backspace> <backspace> M-q <end> <down> 
<down> <down> <down> SPC SPC <backspace> <backspace> 
<return> <return> g <tab> C-c C-c c <return> SPC c 
l s 1 g <down> <down> <down> <return> <return> M-2 
<tab> <tab> <return> <help-echo> <down-mouse-1> <mouse-1> 
q <return> SPC ^ ^ ^ ^ ^ M-1 M-2 <down> <down> <down> 
C-SPC <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <up> M-w M-x r e b <return> <return>

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

-- 
      "OS's and GUI's come and go, only Emacs has lasting power."
          Per Abrahamsen in <rjbsysc7n1.fsf@zuse.dina.kvl.dk>






             reply	other threads:[~2008-11-27 15:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87fxk9htpj.fsf@cyd.mit.edu>
2008-11-27 15:44 ` Tassilo Horn [this message]
2008-12-28  3:25   ` bug#1440: marked as done (23.0.60; delete-by-moving-to-trash loses data) Emacs bug Tracking System

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87hc5trx6e.fsf@thinkpad.tsdh.de \
    --to=tassilo@member.fsf.org \
    --cc=1440@emacsbugs.donarmstrong.com \
    --cc=emacs-pretest-bug@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).