From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/13929 Path: news.gmane.org!not-for-mail From: Andreo Newsgroups: gmane.emacs.gnus.user Subject: [emacs] problem in `delete-directory' with enabled `delete-by-removing-to-trash' Date: Sat, 3 Apr 2010 06:43:25 -0700 (PDT) Organization: http://groups.google.com Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1273155120 22163 80.91.229.12 (6 May 2010 14:12:00 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 6 May 2010 14:12:00 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Thu May 06 16:12:00 2010 connect(): No such file or directory Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OA1nz-00056J-I8 for gegu-info-gnus-english@m.gmane.org; Thu, 06 May 2010 16:11:59 +0200 Original-Received: from localhost ([127.0.0.1]:55558 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OA1ny-00084W-Io for gegu-info-gnus-english@m.gmane.org; Thu, 06 May 2010 10:11:58 -0400 Original-Path: usenet.stanford.edu!postnews.google.com!15g2000yqi.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Lines: 20 Original-NNTP-Posting-Host: 213.151.0.45 Original-X-Trace: posting.google.com 1270302205 19127 127.0.0.1 (3 Apr 2010 13:43:25 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sat, 3 Apr 2010 13:43:25 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: 15g2000yqi.googlegroups.com; posting-host=213.151.0.45; posting-account=7KQAxwoAAAB40ktWkrkciPlinyfaFwhi User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/533.2 (KHTML, like Gecko) Chrome/5.0.342.7 Safari/533.2,gzip(gfe) Original-Xref: usenet.stanford.edu gnu.emacs.gnus:84211 X-Mailman-Approved-At: Wed, 05 May 2010 21:10:52 -0400 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:13929 Archived-At: 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'.