[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#1440: marked as done (23.0.60; delete-by-moving-to-trash loses data

From: Emacs bug Tracking System
Subject: bug#1440: marked as done (23.0.60; delete-by-moving-to-trash loses data)
Date: Sun, 28 Dec 2008 03:25:05 +0000

Your message dated Sat, 27 Dec 2008 22:19:52 -0500
with message-id <address@hidden>
and subject line Re: bug#1440: Concerning delete-by-moving-to-trash on free 
has caused the Emacs bug report #1440,
regarding 23.0.60; delete-by-moving-to-trash loses data
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact address@hidden

1440: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=1440
Emacs Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 23.0.60; delete-by-moving-to-trash loses data Date: Thu, 27 Nov 2008 16:44:09 +0100 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)
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 address@hidden 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 (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 <address@hidden>

--- End Message ---
--- Begin Message --- Subject: Re: bug#1440: Concerning delete-by-moving-to-trash on free systems Date: Sat, 27 Dec 2008 22:19:52 -0500
> > I'd propose to let-unbind backup-directory-alist when making backups
> > for deleted files.
> That seems sensible/necessary.


David's patch in bug#973, which implements the Freedesktop trash can,
looks good... but I think we should wait till after the release to
include it.

--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]