From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/62502 Path: news.gmane.org!not-for-mail From: David Z Maze Newsgroups: gmane.emacs.gnus.general Subject: Re: deleting last article in nnmh? Date: Tue, 04 Apr 2006 13:38:48 -0400 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1144172593 22762 80.91.229.2 (4 Apr 2006 17:43:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 4 Apr 2006 17:43:13 +0000 (UTC) Original-X-From: ding-owner+m11029@lists.math.uh.edu Tue Apr 04 19:43:11 2006 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FQpYc-0003WU-G2 for ding-account@gmane.org; Tue, 04 Apr 2006 19:43:11 +0200 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 1FQpYS-0002nj-00; Tue, 04 Apr 2006 12:43:00 -0500 Original-Received: from nas01.math.uh.edu ([129.7.128.39]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1FQpVL-0002ne-00 for ding@lists.math.uh.edu; Tue, 04 Apr 2006 12:39:47 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas01.math.uh.edu with esmtp (Exim 4.52) id 1FQpVI-0007p3-0a for ding@lists.math.uh.edu; Tue, 04 Apr 2006 12:39:46 -0500 Original-Received: from south-station-annex.mit.edu ([18.72.1.2]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1FQpVF-0004tY-00 for ; Tue, 04 Apr 2006 19:39:41 +0200 Original-Received: from central-city-carrier-station.mit.edu (CENTRAL-CITY-CARRIER-STATION.MIT.EDU [18.7.7.72]) by south-station-annex.mit.edu (8.13.6/8.9.2) with ESMTP id k34Hddnk005091 for ; Tue, 4 Apr 2006 13:39:40 -0400 (EDT) Original-Received: from outgoing-legacy.mit.edu (OUTGOING-LEGACY.MIT.EDU [18.7.22.104]) by central-city-carrier-station.mit.edu (8.13.6/8.9.2) with ESMTP id k34HcuHU005890; Tue, 4 Apr 2006 13:38:56 -0400 (EDT) Original-Received: from contents-vnder-pressvre.mit.edu (CONTENTS-VNDER-PRESSVRE.MIT.EDU [18.7.16.67]) ) by outgoing-legacy.mit.edu (8.13.6/8.12.4) with ESMTP id k34HcmW1000508; Tue, 4 Apr 2006 13:38:49 -0400 (EDT) Original-To: ding@gnus.org Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAFVBMVEUGBgS83KhoOivUeFmC pXj4o39qeFZD1JPmAAACOklEQVR4nE2UQY/bIBCFkVPlbpX0bA2tz7sQcl5SlnsWc7cclv// E/oGjNNxokjz8eYxA7HwR9xLKQGRC4eQezqUj7KWnDOzAOB3EjaBKDl4KPARzkvpAIqoUTwI a2op6WVoeXHOlfgsnJPM1kl0SdMIFEJ0AaIJshiRhkCsHbC/51LycKDmgiw2jVJy9B9IDPNN U5NkSMQoR+c5/zTW3qjZgwg5ylpJ2YT4wubO7FEVEs0NhvPJaqzxDaDS2gUpGUjyDkau9NxB fKsmu4Ir2XSpwAjxYwfsfeqlbJwqcAwwcLINxGRWtIhhMEB7ZLoAJudd4aE42e4RCQDjYMXK CpS6XOBtNM7EVfPAbRgihfU08Sg9jqIr9G9JJuo70cCty66gwY6kzJ9xIygyJs7mDNQcSEUV iPSE1qt5mLgUkcGj8ExTbrvii2CwG3UCQkxUXDUPE03KIqPw8Iq33IBfUcbw/Ez9eeo8VvPr qrRNj2RU1DjeaN6cG8c6RKVNnTg+GIDWfAkPBVdK2jC84fCq4n4yik+VNICNtoPlPkScrKmh bPw+FIGSYmBrOUPeNfATjajPpFXtMl0Hvyt4imfzqDvC9zZ3cAEYvlt/ADq7rvDbNKj3RuxC B7gsZRWzbSAaymNXSPxjia8id1GmV6kUyjDMf9vd3daXAiYFd4GvXNzmaT7AspRyJnoif6Nn Ob8UC94fN6KybTSbvB0e46d3Tyzm+I7v4QWW5WGswZulXFNyv/4DGFvqYRv4BxSm28ZwQ4mv AAAAAElFTkSuQmCC X-Face: &OO..E]'&$Q?jm[7H$]lCS"t#FD[|jK.HfvP#![KZ`/,O)lQ(pE<2QS1i~K3+u\{Bh"(4h4G0W#R-F2zZNO6n\!8bk;tu%)f>y{C` P*^7yM`e/x"b1q[?^-9zxTp In-Reply-To: (gdt@work.lexort.com's message of "Tue, 04 Apr 2006 11:12:31 -0400") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (usg-unix-v) X-Spam-Score: -2.599 X-Spam-Flag: NO X-Scanned-By: MIMEDefang 2.42 X-Spam-Score: -2.6 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:62502 Archived-At: gdt@work.lexort.com writes: > I have an nnmh select method and a lot of groups, and can do most > operations fine. > > When I enter a group nnmh:foo, and then do > > M P a # set process mark on all articles > B m nnimap+my.domain:lists.foo > > the last article is not moved. Trying to B m just that article > fails, and G DEL also won't delete it. (I've done B c and the rm -rf > of the directory.) This is a "feature" of nnmh. In Gnus's newsreaderly view of the world, article numbers need to be monotonically increasing, but in nnmh the only state is the article numbers themselves. I can't find a mention of it in the manual, though. nnmh.el defines a function nnmh-deletable-article-p which is called from a couple of places with a comment "We can never delete the last article in the group"; you could conceivably set ;; Don't even think about setting this variable. It does not exist. ;; Forget about it. Uh-huh. Nope. Nobody here. It's only bound ;; dynamically by certain functions in nndraft. (defvar nnmh-allow-delete-final nil) to t. Unless you're actively using another MH-based mail client (MH-E, scan/show/...) you might consider using nnml as a mail backend instead of nnmh. It has the same one-file-per-message format ("you can still grep your mail") with an added .overview file that contains the subjects and senders of each message, which makes scanning a folder a lot faster. --dzm