Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* [emacs] problem in `delete-directory' with enabled  `delete-by-removing-to-trash'
@ 2010-04-03 13:43 Andreo
  0 siblings, 0 replies; only message in thread
From: Andreo @ 2010-04-03 13:43 UTC (permalink / raw)
  To: info-gnus-english

Hi All,
There is a strange behavior of `delete-directory' function with
enabled flag `delete-by-removing-to-trash'. It deletes files one by
one instead of applying `move-file-to-trash' to the directory? As a
result emacs deletes big directories slowly and after deleting there
are many files in the trash directory, so it is impossible to restore.

Directory structure:
ddd/
    ccc/
        1.txt

There are three files in the trash after deleting `ddd' instead of
one:
ddd/
ccc/
1.txt

How to solve the problem? As a solution i see making advice function
for `delete-directory'.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-04-03 13:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-03 13:43 [emacs] problem in `delete-directory' with enabled `delete-by-removing-to-trash' Andreo

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 NNTP newsgroup(s).