From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 7C5AC6DE1348 for ; Fri, 19 Feb 2016 20:28:57 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.911 X-Spam-Level: X-Spam-Status: No, score=-0.911 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.211] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FqxIcF1uWef0 for ; Fri, 19 Feb 2016 20:28:54 -0800 (PST) X-Greylist: delayed 556 seconds by postgrey-1.35 at arlo; Fri, 19 Feb 2016 20:28:54 PST Received: from filter02.dlls.pa.frontiernet.net (filter02.dlls.pa.frontiernet.net [199.224.80.229]) by arlo.cworth.org (Postfix) with ESMTP id 7E4516DE10F8 for ; Fri, 19 Feb 2016 20:28:54 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by filter02.dlls.pa.frontiernet.net (Postfix) with ESMTP id 83A1023133A for ; Sat, 20 Feb 2016 04:19:36 +0000 (UTC) Received: from relay04.dlls.pa.frontiernet.net ([199.224.80.247]) by localhost (filter02.dlls.pa.frontiernet.net [199.224.80.229]) (amavisd-new, port 10024) with LMTP id rjgxvg6sqBib for ; Sat, 20 Feb 2016 04:19:25 +0000 (UTC) X-Originating-IP: [50.39.167.78] X-Previous-IP: 50.39.167.78 Received: from beetle_b (50-39-167-78.bvtn.or.frontiernet.net [50.39.167.78]) by relay04.dlls.pa.frontiernet.net (Postfix) with ESMTPA id D36282F809B for ; Sat, 20 Feb 2016 04:19:23 +0000 (UTC) Received: by beetle_b (Postfix, from userid 1000) id 02E6D81B73; Fri, 19 Feb 2016 20:19:22 -0800 (PST) From: Neeum Zawan To: notmuch@notmuchmail.org Subject: Loading a notmuch email buffer in Emacs from the command line User-Agent: Notmuch/0.20.2 (http://notmuchmail.org) Emacs/24.5.1 (x86_64-pc-linux-gnu) Date: Fri, 19 Feb 2016 20:19:22 -0800 Message-ID: <87egc8nhdh.fsf@nawaz.org> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Feb 2016 04:28:57 -0000 Hi, Is there a way (e.g. with emacsclient) to load up a particular email thread or email message buffer from the command line? Also, for those familiar with Org mode, I'd like to do something similar: Suppose I have the ID of an email. Can I, from the command line, launch a capture template with a prepopulated link to the notmuch message? The rationale: I'd like to switch to using alot for reading emails as opposed to the Emacs interface. However, there will be times where I'd like to make Org mode notes about an email or view it within Emacs. So I'd like to set up a command from alot to open it in Emacs. -- A neutrino walks into a bar. The bartender asks him if he wants anything to drink. "No thanks, just passing through."