From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/83907 Path: news.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.gnus.general Subject: Re: Create a group from a list of message-ids Date: Mon, 25 Nov 2013 16:01:52 +0700 Message-ID: <87d2lo4zy7.fsf@ericabrahamsen.net> References: <87vbzjs5fk.fsf@gmail.com> <844n71b5nh.fsf@davestoy.home> <871u24c18u.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1385370032 15099 80.91.229.3 (25 Nov 2013 09:00:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 Nov 2013 09:00:32 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M32162@lists.math.uh.edu Mon Nov 25 10:00:36 2013 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Vks1y-0005bw-W4 for ding-account@gmane.org; Mon, 25 Nov 2013 10:00:35 +0100 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 1Vks1x-0007xi-8N; Mon, 25 Nov 2013 03:00:33 -0600 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 1Vks1w-0007xV-24 for ding@lists.math.uh.edu; Mon, 25 Nov 2013 03:00:32 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1Vks1r-0003qz-6S for ding@lists.math.uh.edu; Mon, 25 Nov 2013 03:00:31 -0600 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1Vks1p-00031K-5y for ding@gnus.org; Mon, 25 Nov 2013 10:00:25 +0100 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Vks1i-0005TD-Pu for ding@gnus.org; Mon, 25 Nov 2013 10:00:18 +0100 Original-Received: from 223.204.249.218 ([223.204.249.218]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 25 Nov 2013 10:00:18 +0100 Original-Received: from eric by 223.204.249.218 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 25 Nov 2013 10:00:18 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 35 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 223.204.249.218 User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:/xrcyHVenQeRLL/rKLy+eteNmNU= X-Spam-Score: 1.3 (+) X-Spam-Report: SpamAssassin (3.3.1 2010-03-16) analysis follows Bayesian score: 0.0000 Ham tokens: 0.000-287--2222h-0s--0d--H*u:Emacs, 0.000-206--1592h-0s--0d--H*UA:Gnus, 0.000-206--1592h-0s--0d--H*u:Gnus, 0.000-196--1512h-0s--0d--H*u:linux, 0.000-196--1512h-0s--0d--H*UA:linux Spam tokens: 0.992-11777--518h-47886s--0d--HX-Spam-Relays-External:quimby.gnus.org, 0.992-16777--808h-68491s--0d--HTo:D*gnus.org, 0.991-17428--863h-71241s--0d--H*RU:quimby.gnus.org, 0.990-17245--1046h-71242s--0d--HX-Spam-Relays-Internal:quimby.gnus.org, 0.990-17245--1046h-71242s--0d--H*RT:quimby.gnus.org Autolearn status: no -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [80.91.229.3 listed in list.dnswl.org] 1.2 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO -0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 2.0 FSL_HELO_BARE_IP_2 FSL_HELO_BARE_IP_2 List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:83907 Archived-At: Alexander Baier writes: > Hello David, > > On 13-11-25 03:02 Dave Goldberg wrote: >>> Hello, >>> I use a tool called mu [1] to index and search my mail, which is stored >>> in a Maildir folder. mu is able to give me the message ids of all the >>> mails that match a given query. I want to use these ids to create a new >>> group in gnus that shows the search result. So it basically boils down >>> to this: >> >>> Is there a function or facility in gnus that takes a list of message-ids >>> (or even a list of local path names) and creates a new group containing >>> the corresponding messages? >> >>> I am fine with writing some elisp to call out to mu and converting its >>> output to a list, I just need above mentioned functionality. >> >> nnir.el provides an interface to various search capabilities and >> although I can't speak to it as I don't use it, I see maildir >> mentioned for one of the backends. Perhaps that is enough to get you >> started. > > Thank you for that tipp. I just looked at a few backends for nnir and > found that the namazu backend provides similar if not the same > capabilities as the command line utility mu. > > I will look into this and see if it meets my demands. If you're willing to consider switching indexing backends, I'd also recommend notmuch, which I found more flexible and easier to use than namazu or mairix. Eric