From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/9596 Path: news.gmane.org!not-for-mail From: David Newsgroups: gmane.emacs.gnus.user Subject: Re: mairix search results Date: Wed, 29 Aug 2007 13:58:42 +0200 Organization: Linux Private Site Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1188390636 13530 80.91.229.12 (29 Aug 2007 12:30:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 29 Aug 2007 12:30:36 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Wed Aug 29 14:30:35 2007 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.50) id 1IQMgf-0005wS-7U for gegu-info-gnus-english@m.gmane.org; Wed, 29 Aug 2007 14:30:21 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IQMgc-0006ps-Di for gegu-info-gnus-english@m.gmane.org; Wed, 29 Aug 2007 08:30:18 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IQMgV-0006mL-FF for info-gnus-english@gnu.org; Wed, 29 Aug 2007 08:30:11 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IQMgT-0006lf-Na for info-gnus-english@gnu.org; Wed, 29 Aug 2007 08:30:10 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IQMgT-0006lX-JG for info-gnus-english@gnu.org; Wed, 29 Aug 2007 08:30:09 -0400 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IQMgT-0007dl-6P for info-gnus-english@gnu.org; Wed, 29 Aug 2007 08:30:09 -0400 Original-Received: from root by ciao.gmane.org with local (Exim 4.43) id 1IQMgM-0008Ne-Q4 for info-gnus-english@gnu.org; Wed, 29 Aug 2007 14:30:02 +0200 Original-Received: from musil.physik3.gwdg.de ([134.76.92.62]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 29 Aug 2007 14:30:02 +0200 Original-Received: from de_bb by musil.physik3.gwdg.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 29 Aug 2007 14:30:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 37 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: musil.physik3.gwdg.de User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.3 (gnu/linux) Cancel-Lock: sha1:2sY+FLoaUmSttHzPiQR1BjCm2Rw= X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) 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:9596 Archived-At: Austin Frank writes: > By default, mairix overwrites old results on each new search. Gnus, > however, remembers all of the messages that have ever been in the > directory. If the first search I run after creating the ~/Mairix > directory returns 100 results, and the next search returns 50, I expect > to see 50 as the number of messages in the group, but instead see 150. I have written a Gnus backend for mairix (nnmairix.el) which I hope to release shortly. I still have to resolve some minor bugs and write some documentation. Writing this backend was more complicated than I thought due to the problems you describe. Gnus isn't really amused when things are happening behind its back. > Is there a way to tell the nnmaildir backend to forget about the > messages it has seen before? After much fiddling I hope I resolved the issue by deleting and re-creating the group using the nnmaildir backend. However, this leads to a new problem since the article numbers then start again at 1, but this is corrected by the nnmairix backend. If someone knows an easier way I'd love to hear about it. > I also have the option of serving maildir formatted mailboxes over imap > using a local installation of Dovecot. Would forgetting previously seen > messages be possible with the nnimap backend? I also happen to use Dovecot together with mairix, and it isn't really amused either when the contents of mailboxes suddenly changes, so I also use "delete and re-create mailbox" with nnimap before calling mairix. Using nnmairix with nnml doesn't help, since mairix doesn't necessarily produce consecutive article numbers, so the article count is usually wrong (but gets corrected after you have entered the group). -David