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