1 Return-Path: <patricktotzke@googlemail.com>
\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 olra.theworths.org (Postfix) with ESMTP id 29E6D431E84
\r
6 for <notmuch@notmuchmail.org>; Wed, 29 Feb 2012 11:14:03 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=1.7 tagged_above=-999 required=5
\r
12 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
\r
13 FREEMAIL_FROM=0.001, FREEMAIL_REPLY=2.499, RCVD_IN_DNSWL_LOW=-0.7]
\r
15 Received: from olra.theworths.org ([127.0.0.1])
\r
16 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
17 with ESMTP id CIU5VsGz-u+g for <notmuch@notmuchmail.org>;
\r
18 Wed, 29 Feb 2012 11:14:02 -0800 (PST)
\r
19 Received: from mail-we0-f181.google.com (mail-we0-f181.google.com
\r
20 [74.125.82.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
21 (No client certificate requested)
\r
22 by olra.theworths.org (Postfix) with ESMTPS id 5C4BC431E82
\r
23 for <notmuch@notmuchmail.org>; Wed, 29 Feb 2012 11:14:02 -0800 (PST)
\r
24 Received: by werm13 with SMTP id m13so2301803wer.26
\r
25 for <notmuch@notmuchmail.org>; Wed, 29 Feb 2012 11:14:01 -0800 (PST)
\r
26 Received-SPF: pass (google.com: domain of patricktotzke@googlemail.com
\r
27 designates 10.180.24.7 as permitted sender)
\r
28 client-ip=10.180.24.7;
\r
29 Authentication-Results: mr.google.com; spf=pass (google.com: domain of
\r
30 patricktotzke@googlemail.com designates 10.180.24.7 as
\r
31 permitted sender) smtp.mail=patricktotzke@googlemail.com;
\r
32 dkim=pass header.i=patricktotzke@googlemail.com
\r
33 Received: from mr.google.com ([10.180.24.7])
\r
34 by 10.180.24.7 with SMTP id q7mr3564037wif.14.1330542841002 (num_hops =
\r
35 1); Wed, 29 Feb 2012 11:14:01 -0800 (PST)
\r
36 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
\r
37 d=googlemail.com; s=gamma;
\r
38 h=content-type:mime-version:content-transfer-encoding:from:user-agent
\r
39 :to:references:in-reply-to:message-id:subject:date;
\r
40 bh=GE/McJFwOZWFQg0Hztrp6a+Ca7N+wCO6rbm4495wFbE=;
\r
41 b=ePqo7W4J/WGVKLivDhhB5V2Zb1QZiJ/jqc9nsXbIxUlPy9Gen9eZwyqYCft46jV83o
\r
42 N9aa1YYCxjYgW5wHF+bhqF2f7HX7svjD7sayNLIWCMOCnIxoK8p17zbSMRKrteHMvyyw
\r
43 PcgyPx+GYo95z6Yf+YgnBdmo7WdU4r8ucXNu4=
\r
44 Received: by 10.180.24.7 with SMTP id q7mr2862597wif.14.1330542840855;
\r
45 Wed, 29 Feb 2012 11:14:00 -0800 (PST)
\r
46 Received: from localhost (dhcp-91-036.inf.ed.ac.uk. [129.215.91.36])
\r
47 by mx.google.com with ESMTPS id d8sm28977636wia.11.2012.02.29.11.13.59
\r
48 (version=TLSv1/SSLv3 cipher=OTHER);
\r
49 Wed, 29 Feb 2012 11:13:59 -0800 (PST)
\r
50 Content-Type: text/plain; charset="utf-8"
\r
52 Content-Transfer-Encoding: quoted-printable
\r
53 From: Patrick Totzke <patricktotzke@googlemail.com>
\r
54 User-Agent: alot/0.21+
\r
55 To: Philippe LeCavalier <support@plecavalier.com>, notmuch@notmuchmail.org
\r
56 References: <20120229163140.3587.19027@plc.plecavalier.com>
\r
57 In-Reply-To: <20120229163140.3587.19027@plc.plecavalier.com>
\r
58 Message-ID: <20120229191253.28323.85848@megatron>
\r
59 Subject: Re: [alot] nottoomuch-addresses.sh config
\r
60 Date: Wed, 29 Feb 2012 19:12:53 +0000
\r
61 X-BeenThere: notmuch@notmuchmail.org
\r
62 X-Mailman-Version: 2.1.13
\r
64 List-Id: "Use and development of the notmuch mail system."
\r
65 <notmuch.notmuchmail.org>
\r
66 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
67 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
68 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
69 List-Post: <mailto:notmuch@notmuchmail.org>
\r
70 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
71 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
72 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
73 X-List-Received-Date: Wed, 29 Feb 2012 19:14:03 -0000
\r
75 Quoting Philippe LeCavalier (2012-02-29 16:31:40)
\r
76 >I had nottoomuch-addresses.sh working perfectly in emacs and I'm trying
\r
77 >to get it going in alot. Here's[1] what I've got so far. One things that
\r
78 >really confusing me is the brackets in the help file[2]. As soon as I
\r
79 >put double brackets alot can't read the account. Am I misunderstanding
\r
80 >something about those brackets?
\r
81 the config uses a section called "account" and each subsection defines an a=
\r
83 each account subsection may have an "abook" subsubsection to define the abo=
\r
84 ok for this account.
\r
85 here's what I use myself:
\r
93 realname =3D Patrick Totzke
\r
94 address =3D patricktotzke@gmail.com
\r
95 aliases =3D patricktotzke@googlemail.com,
\r
96 sendmail_command =3D msmtp --account=3Dgmail -t
\r
97 draft_box =3D "maildir:///home/pazz/mail/gmail/[Google Mail].Drafts"
\r
98 sent_box =3D "maildir:///home/pazz/mail/gmail/[Google Mail].Sent Ma=
\r
101 command =3D nottoomuch-addresses.sh
\r
102 regexp =3D (\"(?P<name>.+)\")?\s*<(?P<email>.*@.+?)>
\r
108 > should I be creating a key binding to invoke the completion command?
\r
109 No: this is used when you are prompted for recipients when composing a mail:
\r
110 Hit `m`, select your account if you have more thn one, and when the prompt =
\r
116 >It would seem to me that I might need to specify where the heck the
\r
120 alot hands this command string to `subprocess.Popen`, which accepts
\r
121 command names to to look them up in $PATH or absolute paths to binaries
\r
122 if i'm not mistaken.
\r