all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [emacs] problem in `delete-directory' with enabled  `delete-by-removing-to-trash'
@ 2010-04-03 14:02 Andrey Torba
  0 siblings, 0 replies; only message in thread
From: Andrey Torba @ 2010-04-03 14:02 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 600 bytes --]

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

-- 
Regards, Andrey

[-- Attachment #2: Type: text/html, Size: 899 bytes --]

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

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

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

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.