From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/49699 Path: main.gmane.org!not-for-mail From: prj@po.cwru.edu (Paul Jarc) Newsgroups: gmane.emacs.gnus.general Subject: Re: three nnmaildir questions: naming, numbering, and splitting Date: Tue, 28 Jan 2003 17:40:39 -0500 Organization: What did you have in mind? A short, blunt, human pyramid? Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1043793689 1926 80.91.224.249 (28 Jan 2003 22:41:29 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 28 Jan 2003 22:41:29 +0000 (UTC) Cc: ding@hpc.uh.edu Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18dePK-0000RX-00 for ; Tue, 28 Jan 2003 23:40:43 +0100 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 18dePg-00049L-00; Tue, 28 Jan 2003 16:41:04 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 28 Jan 2003 16:42:00 -0600 (CST) Original-Received: from multivac.cwru.edu (multivac.STUDENT.CWRU.Edu [129.22.96.25]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id QAA00359 for ; Tue, 28 Jan 2003 16:41:49 -0600 (CST) Original-Received: (qmail 15126 invoked by uid 500); 28 Jan 2003 22:41:02 -0000 Original-To: David Wuertele In-Reply-To: (David Wuertele's message of "Tue, 28 Jan 2003 14:11:54 -0800") Mail-Copies-To: nobody Original-Lines: 60 User-Agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.2 (i686-pc-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:49699 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:49699 David Wuertele wrote: > '((nnmaildir "" > (directory "~/mail/maildirs") > (create-directory ".") That's broken. Currently, create-directory and directory must not be the same. With your configuration, group creation and deletion will break. Other things might work ok. > I'm seeing weird (wrong) unread article counts, like this: > > 425: nnmaildir:dave@example.com > > even if I have no unread mail in that group. When I enter such a > group, the number quickly reverts to zero and the cursor just moves > down in the group buffer to the next group. Ideas? This happens (with any backend) when there are holes in the article range; Gnus ignores the backend's article count and makes up its own guess based on the highest and lowest article numbers. nnmaildir used to be even worse off than other backends in this area, but I think I fixed that. To check, load this defun, eval the following call, and post the result: (defun report-nnmaildir-group (pgname) (let* ((gname (gnus-group-real-name pgname)) (server-name (gnus-group-real-prefix pgname)) (method (gnus-server-to-method server-name)) (server-address (nth 1 method)) (group (nnmaildir--prepare server-address gname)) (server nnmaildir--cur-server) (max (nnmaildir--group-maxnum server group)) (min (nnmaildir--grp-min group)) (count (nnmaildir--grp-count group))) (list 'pgname pgname 'max max 'min min 'count count))) (report-nnmaildir-group "nnmaildir:dave@example.com") > Second question: I would like to rename that group. Since I have a > lot of nnmaildir: groups, I'd like to say 'j' to jump, then type > 'dave@' and do completion. But as it stands I have to type > 'nnmaildir:dave@' then do completion. Is there a way to make this > quicker? Not that I know of. This isn't specific to nnmaildir; it's the same with all non-primary select methods, using any backend. Of course, you can write a new Lisp command to do what you want. > Third question: I'm also wondering wondering what the best strategy > for splitting is. > > 1. I want to continue to use nnmaildir as the select method > > 2. I don't want to split into different maildirs (since they don't do > crossposting elegantly). What specific inelegance are you concerned about? paul