--- /dev/null
+Return-Path: <tomi.ollila@iki.fi>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id 59BFA6DE0A87\r
+ for <notmuch@notmuchmail.org>; Sat, 20 Feb 2016 02:16:36 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.639\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.639 tagged_above=-999 required=5 tests=[AWL=-0.013,\r
+ SPF_NEUTRAL=0.652] autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id ns8TcGpBjF5U for <notmuch@notmuchmail.org>;\r
+ Sat, 20 Feb 2016 02:16:33 -0800 (PST)\r
+Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])\r
+ by arlo.cworth.org (Postfix) with ESMTP id 634CE6DE0274\r
+ for <notmuch@notmuchmail.org>; Sat, 20 Feb 2016 02:16:32 -0800 (PST)\r
+Received: from guru.guru-group.fi (localhost [IPv6:::1])\r
+ by guru.guru-group.fi (Postfix) with ESMTP id 5478C1000CA;\r
+ Sat, 20 Feb 2016 12:16:33 +0200 (EET)\r
+From: Tomi Ollila <tomi.ollila@iki.fi>\r
+To: Neeum Zawan <mailinglists@nawaz.org>, notmuch@notmuchmail.org\r
+Subject: Re: Loading a notmuch email buffer in Emacs from the command line\r
+In-Reply-To: <87egc8nhdh.fsf@nawaz.org>\r
+References: <87egc8nhdh.fsf@nawaz.org>\r
+User-Agent: Notmuch/0.21+70~g0bc8909 (http://notmuchmail.org) Emacs/24.3.1\r
+ (x86_64-unknown-linux-gnu)\r
+X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL\r
+ $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F\r
+ !)g;OY^,BjTbr)Np:%c_o'jj,Z\r
+Date: Sat, 20 Feb 2016 12:16:33 +0200\r
+Message-ID: <m2si0n660u.fsf@guru.guru-group.fi>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.20\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sat, 20 Feb 2016 10:16:36 -0000\r
+\r
+On Sat, Feb 20 2016, Neeum Zawan <mailinglists@nawaz.org> wrote:\r
+\r
+> Hi,\r
+>\r
+> Is there a way (e.g. with emacsclient) to load up a particular email\r
+> thread or email message buffer from the command line?\r
+\r
+quick test yields that at least\r
+\r
+ emacs -f notmuch --eval '(notmuch-search "id:87egc8nhdh.fsf@nawaz.org")'\r
+\r
+works (maybe not exactly as desired, but based on that more should\r
+be able to be achieved with moderate ease...)\r
+\r
+>\r
+> Also, for those familiar with Org mode, I'd like to do something\r
+> similar: Suppose I have the ID of an email. Can I, from the command\r
+> line, launch a capture template with a prepopulated link to the notmuch\r
+> message?\r
+>\r
+> The rationale: I'd like to switch to using alot for reading emails as\r
+> opposed to the Emacs interface. However, there will be times where I'd\r
+> like to make Org mode notes about an email or view it within Emacs. So\r
+> I'd like to set up a command from alot to open it in Emacs.\r
+>\r
+> -- \r
+> A neutrino walks into a bar. The bartender asks him if he wants \r
+> anything to drink. "No thanks, just passing through."\r
+> _______________________________________________\r
+> notmuch mailing list\r
+> notmuch@notmuchmail.org\r
+> https://notmuchmail.org/mailman/listinfo/notmuch\r