From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/65363 Path: news.gmane.org!not-for-mail From: David Newsgroups: gmane.emacs.gnus.general Subject: Re: released mairix backend nnmairix.el Date: Fri, 05 Oct 2007 11:46:11 +0200 Organization: Linux Private Site Message-ID: References: <87ir5mvnah.fsf@bzg.ath.cx> <87d4vukdcc.fsf@bzg.ath.cx> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1191577628 14995 80.91.229.12 (5 Oct 2007 09:47:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 5 Oct 2007 09:47:08 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M13874@lists.math.uh.edu Fri Oct 05 11:47:06 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 1Idjlx-0001xM-JZ for ding-account@gmane.org; Fri, 05 Oct 2007 11:47:05 +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 1Idjlh-0000Ex-T9; Fri, 05 Oct 2007 04:46:49 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Idjlg-0000Eh-Ju for ding@lists.math.uh.edu; Fri, 05 Oct 2007 04:46:48 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1Idjla-0008J1-CG for ding@lists.math.uh.edu; Fri, 05 Oct 2007 04:46:48 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1IdjlS-00077m-00 for ; Fri, 05 Oct 2007 11:46:34 +0200 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IdjlY-00040O-2Z for ding@gnus.org; Fri, 05 Oct 2007 09:46:40 +0000 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 ; Fri, 05 Oct 2007 09:46:40 +0000 Original-Received: from de_bb by musil.physik3.gwdg.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 05 Oct 2007 09:46:40 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 53 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:1zi5I7ycSvgamZraj/tx7dI0Lr0= X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:65363 Archived-At: Bastien writes: >> I've had some problems trying to set it up... some zz* groups popping up >> from nowhere, but I guess it's because of my poor knowledge of Gnus. > > Okay, I think it was related to `gnus-auto-subscribed-groups'. Yes. This happens when you use nnmairix with nnmaildir or nnml backends (see also the documentation on the emacswiki, it is mentioned there). You'll have to turn off auto-subscription completely, or you might use the following (ugly) kludge which still auto-subscribes all mail groups, except those that begin with 'zz_': (setq gnus-auto-subscribed-groups "^\\(nnml\\|nnfolder\\|nnmbox\\|nnmh\\|nnbabyl\\|nnmaildir\\).*\ :\\([^z]\\|z$\\|\\z[^z]\\|zz$\\|zz[^_]\\|zz_$\\).*") (Note to the Gnus developers: It would be much easier if I could just put ".*:zz_mairix-.*" into gnus-options-not-subscribe, but gnus-auto-subscribed-groups precedes it in the function gnus-matches-options-n, so that doesn't work.) >One thing: each time I check for new messages with `g', the search is >performed again (even with the group being hidden). So I have to find >the group and assign an empty query "" to it. This is a bit awkward. Just set your nnmairix groups to a lower group level (using 'S l' in the group buffer), so that it isn't updated when you hit 'g'. A level of '4' or '5' should do the trick (it depends on your value of gnus-activate-level). >Sorry to continue on my own but a nice feature to have for nnmairix.el >would be to let the user build the query *interactively*, thus letting >him use the full potential of mairix. > >Something of this flavor: > >(defcustom nnmairix-interactive-query-parameters > '(from to cc subject body attachment timespan) > ...) > >What do you think? Well, you can already create queries interactively based on the current article using "S g" in summary mode. However, that's only for creating permanent nnmairix groups but could be easily extended. Your suggestion would be even more flexible. I definitely will look into that. Thanks for the feedback, it's really appreciated! -David