From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/83905 Path: news.gmane.org!not-for-mail From: Alexander Baier Newsgroups: gmane.emacs.gnus.general Subject: Re: Create a group from a list of message-ids Date: Mon, 25 Nov 2013 09:52:01 +0100 Message-ID: <871u24c18u.fsf@gmail.com> References: <87vbzjs5fk.fsf@gmail.com> <844n71b5nh.fsf@davestoy.home> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1385369561 9824 80.91.229.3 (25 Nov 2013 08:52:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 Nov 2013 08:52:41 +0000 (UTC) Cc: ding@gnus.org To: david.goldberg6@verizon.net (Dave Goldberg) Original-X-From: ding-owner+M32160@lists.math.uh.edu Mon Nov 25 09:52:43 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 1VkruN-0001tP-1i for ding-account@gmane.org; Mon, 25 Nov 2013 09:52: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 1VkruB-0007s9-19; Mon, 25 Nov 2013 02:52:31 -0600 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 1Vkru8-0007rt-9b for ding@lists.math.uh.edu; Mon, 25 Nov 2013 02:52:28 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1Vkru5-0003wP-9i for ding@lists.math.uh.edu; Mon, 25 Nov 2013 02:52:27 -0600 Original-Received: from mail-wg0-f49.google.com ([74.125.82.49]) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1Vkru3-0002kh-JD for ding@gnus.org; Mon, 25 Nov 2013 09:52:23 +0100 Original-Received: by mail-wg0-f49.google.com with SMTP id x12so3445010wgg.28 for ; Mon, 25 Nov 2013 00:52:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:mail-followup-to:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=LkUNRZamPpO84VZvHraYATNjxNkLqRveoN+RVkzzD+Q=; b=QRTobvTanY4uNKWbyoASe/M/y2kTg8lBo5ks0aLO4HgG2ewTRDoOuk30jiqQt8Ah5q bJSYj+h5/LrnT2nKZxH3BYEeBxxTkcm6IMpHzEbmB0k3rhq5Zpmn8LZcb2dJ2ccBZrix +/mEE/HBADgZUDRRCY9sB8lJjeMuZ0rX3e9rOWoGTexUofIVItxMiCvdBgVYCPyQQCZV /wUyexlIRN+qditPYzJ/rRksypui7FMQbFZobc/nyHDPALMmO7IPcae0tzoltyRlFQz8 Zb3j0Ipk2UTb9uatR78zYGl1iLlLguCZ8/nEuNSfLv0C2kuSyJsmdiezWllyH0B1vK/w Wpag== X-Received: by 10.180.103.193 with SMTP id fy1mr12695470wib.10.1385369538145; Mon, 25 Nov 2013 00:52:18 -0800 (PST) Original-Received: from T420s (nat-wh-wh36.rz.uni-karlsruhe.de. [141.70.81.154]) by mx.google.com with ESMTPSA id w1sm11861892wib.6.2013.11.25.00.52.17 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 25 Nov 2013 00:52:17 -0800 (PST) Mail-Followup-To: david.goldberg6@verizon.net (Dave Goldberg), ding@gnus.org In-Reply-To: <844n71b5nh.fsf@davestoy.home> (Dave Goldberg's message of "Sun, 24 Nov 2013 21:02:10 -0500") User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3 (gnu/linux) X-Spam-Score: -3.0 (---) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:83905 Archived-At: 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. Regards, -- Alex