From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/83912 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 20:20:17 +0700 Message-ID: <87txf01uum.fsf@ericabrahamsen.net> References: <87vbzjs5fk.fsf@gmail.com> <844n71b5nh.fsf@davestoy.home> <871u24c18u.fsf@gmail.com> <87d2lo4zy7.fsf@ericabrahamsen.net> <87siukalp5.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1385385579 2538 80.91.229.3 (25 Nov 2013 13:19:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 Nov 2013 13:19:39 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M32167@lists.math.uh.edu Mon Nov 25 14:19:44 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 1Vkw4k-0002Ai-TK for ding-account@gmane.org; Mon, 25 Nov 2013 14:19:43 +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 1Vkw42-0000wo-Vj; Mon, 25 Nov 2013 07:18:59 -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 1Vkw41-0000wZ-3G for ding@lists.math.uh.edu; Mon, 25 Nov 2013 07:18:57 -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 1Vkw3v-0004xh-UT for ding@lists.math.uh.edu; Mon, 25 Nov 2013 07:18:56 -0600 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1Vkw3t-0000vN-T0 for ding@gnus.org; Mon, 25 Nov 2013 14:18:49 +0100 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Vkw3t-0001it-9T for ding@gnus.org; Mon, 25 Nov 2013 14:18:49 +0100 Original-Received: from 223.204.249.62 ([223.204.249.62]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 25 Nov 2013 14:18:49 +0100 Original-Received: from eric by 223.204.249.62 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 25 Nov 2013 14:18:49 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 63 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 223.204.249.62 User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:WlbwMN6SfOCj30yBesdMQC7w4UU= 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-288--2226h-0s--0d--H*u:Emacs, 0.000-206--1596h-0s--0d--H*u:Gnus, 0.000-206--1596h-0s--0d--H*UA:Gnus, 0.000-196--1515h-0s--0d--H*u:linux, 0.000-196--1515h-0s--0d--H*UA:linux Spam tokens: 0.992-11785--521h-47925s--0d--HX-Spam-Relays-External:quimby.gnus.org, 0.992-16788--809h-68530s--0d--HTo:D*gnus.org, 0.991-17437--866h-71280s--0d--H*RU:quimby.gnus.org, 0.990-17254--1049h-71281s--0d--HX-Spam-Relays-Internal:quimby.gnus.org, 0.990-17254--1049h-71281s--0d--H*RT:80.91.231.51 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:83912 Archived-At: Alexander Baier writes: > Hello Eric, > > On 13-11-25 10:01 Eric Abrahamsen wrote: >> 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 > > I did not yet give notmuch a look, could you point out what in your > opinion make notmuch more flexible than namazu? Hmm, I was afraid you'd ask that! :) As far as I can recall, the interface to namazu felt very slow, and the search syntax was much more awkward and limited than notmuch. Notmuch just feels easier to use: it caches recent queries, lets you filter previous queries more easily, and makes browsing the results quite easy -- it actually acts as its own little MUA, with threading and everything. (Actually that can be annoying when all you want is the original message.) Mairix can't do unicode indexing, so that was right out. Test-installing notmuch isn't too onerous (though the initial indexing is slow), it keeps all its business in one directory that you can nuke if you don't like it. It also ships with all the necessary elisp files. It's also under very active (borderline obsessive) development. The notmuch developers paid me nothing for this message :) Eric