From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/65251 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: Proper way to handle group for mairix searches? Date: Tue, 25 Sep 2007 10:21:07 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos 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 1190733750 20349 80.91.229.12 (25 Sep 2007 15:22:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 25 Sep 2007 15:22:30 +0000 (UTC) Cc: ding@gnus.org To: "Georg C. F. Greve" Original-X-From: ding-owner+M13763@lists.math.uh.edu Tue Sep 25 17:22:25 2007 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1IaCEr-0001J1-Ss for ding-account@gmane.org; Tue, 25 Sep 2007 17:22:18 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1IaCEd-0004BQ-Cg; Tue, 25 Sep 2007 10:22:03 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1IaCEb-0004BA-W1 for ding@lists.math.uh.edu; Tue, 25 Sep 2007 10:22:02 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1IaCEW-0001cr-2M for ding@lists.math.uh.edu; Tue, 25 Sep 2007 10:22:01 -0500 Original-Received: from blockstar.com ([170.224.69.95] helo=mail.blockstar.com) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1IaCEN-0004qv-00 for ; Tue, 25 Sep 2007 17:21:47 +0200 Original-Received: from tzz (c-24-14-57-89.hsd1.il.comcast.net [24.14.57.89]) by mail.blockstar.com (Postfix) with ESMTP id BCDDD3F80D3; Tue, 25 Sep 2007 08:36:34 -0700 (PDT) X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Mail-Followup-To: "Georg C. F. Greve" , ding@gnus.org In-Reply-To: (Georg C. F. Greve's message of "Tue, 25 Sep 2007 16:22:30 +0200") User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (darwin) X-Spam-Score: -2.4 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:65251 Archived-At: On Tue, 25 Sep 2007 16:22:30 +0200 "Georg C. F. Greve" wrote: GCFG> So from Gnus point of view, there is a maildir folder that changes its GCFG> contents entirely based on the output of mairix. GCFG> What I want Gnus to do is to forget about the old status of the folder, GCFG> and open it with the new results without checking for new mail or GCFG> anything else to slow it down. The best way I found so far was a GCFG> combination of GCFG> (gnus-group-quick-select-group 0 mairix-results-group) GCFG> (gnus-summary-reselect-current-group t t) GCFG> (see below) but this does not work perfectly. I see zombies in the GCFG> Summary and Gnus occasionally seems semi-confused about the group. Maybe you can put an IMAP server (Courier/dovecot) in front of the Maildir? If not, you may need to write nnmairix based on nnmaildir, unfortunately (I don't have a better suggestion but someone else may). GCFG> Here are my questions: GCFG> a) Can someone tell me how to do this "properly"? Sorry, I haven't done this. GCFG> b) Is there a way to select one of the articles on its Message-ID GCFG> quickly? Not currently in core Gnus. The gnus-registry knows where an article is, once you visit a group (it notices each article's message ID), but doesn't remember the article number. So you can write code that will go to that group and find the message ID, or you (and I) can extend the gnus-registry to remember the article number as well. Ted