From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/59430 Path: main.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: can't delete nnml groups Date: Thu, 16 Dec 2004 15:55:29 +0900 Organization: Emacsen advocacy group Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1103181778 30451 80.91.229.6 (16 Dec 2004 07:22:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 16 Dec 2004 07:22:58 +0000 (UTC) Original-X-From: ding-owner+M7970@lists.math.uh.edu Thu Dec 16 08:22:52 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13] ident=mail) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CepyO-0002Fr-00 for ; Thu, 16 Dec 2004 08:22:52 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1CeprJ-0001v7-00; Thu, 16 Dec 2004 01:15:33 -0600 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1Cepqk-0001uz-00 for ding@lists.math.uh.edu; Thu, 16 Dec 2004 01:14:58 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by util2.math.uh.edu with esmtp (Exim 4.30) id 1CepqX-0004gv-UQ for ding@lists.math.uh.edu; Thu, 16 Dec 2004 01:14:46 -0600 Original-Received: from washington.hostforweb.net ([69.61.11.2]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1CepqN-00026I-00 for ; Thu, 16 Dec 2004 08:14:35 +0100 Original-Received: from yamaoka by washington.hostforweb.net with local (Exim 4.43) id 1CepqT-0005Qs-98 for ding@gnus.org; Thu, 16 Dec 2004 02:14:41 -0500 Original-To: ding@gnus.org X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:ispJNYnQvW09YvGyBUyyKkSHRlc= X-Hashcash: 1:20:041216:ding@gnus.org::lNHQqvgW7+p+JZw2:0000196G X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - washington.hostforweb.net X-AntiAbuse: Original Domain - gnus.org X-AntiAbuse: Originator/Caller UID/GID - [32041 32332] / [47 12] X-AntiAbuse: Sender Address Domain - washington.hostforweb.net X-Source: /bin/tcsh X-Source-Args: -csh X-Source-Dir: jpl.org:/temp Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: main.gmane.org gmane.emacs.gnus.general:59430 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:59430 Hi, I noticed I cannot delete nnml groups if there are persistent articles. Debugger entered--Lisp error: (file-error "Removing old name: is a directory" "/home/yamaoka/News/cache/nnml:foo.bar.baz") delete-file("/home/yamaoka/News/cache/nnml:foo.bar.baz") gnus-delete-file("/home/yamaoka/News/cache/nnml:foo.bar.baz") gnus-cache-delete-group("nnml:foo.bar.baz") gnus-request-delete-group("nnml:foo.bar.baz" (4)) gnus-group-delete-group("nnml:foo.bar.baz" (4)) call-interactively(gnus-group-delete-group) There seems to be the same problem in `gnus-agent-delete-group'. Although making articles persistent in nnml groups might be nonsense, it will be useful for back ends which don't make local article files. Emacs 21 provides the `dired-delete-file' function which deletes a file and also a directory recursively. Can't we use the copy of it as `gnus-delete-file'? Regards,