GNU bug report logs -
#1440
23.0.60; delete-by-moving-to-trash loses data
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
This is an automatic notification regarding your bug report
which was filed against the emacs package:
#1440: 23.0.60; delete-by-moving-to-trash loses data
It has been closed by Chong Yidong <cyd <at> stupidchicken.com>.
Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Chong Yidong <cyd <at> stupidchicken.com> by
replying to this email.
--
1440: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=1440
Emacs Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
> > I'd propose to let-unbind backup-directory-alist when making backups
> > for deleted files.
>
> That seems sensible/necessary.
Done.
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.
[Message part 3 (message/rfc822, inline)]
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 <at> 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 <at> zuse.dina.kvl.dk>
This bug report was last modified 15 years and 151 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.