[PATCH 0/2] emacs: wash: word-wrap bugfix and tweak
[notmuch-archives.git] / ff / 5c77bbafd42844916717d89703fc6f9c397dcc
1 Return-Path: <Sebastian@SSpaeth.de>\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 BF823431FB6\r
6         for <notmuch@notmuchmail.org>; Thu, 25 Nov 2010 00:55:00 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.09\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.09 tagged_above=-999 required=5\r
12         tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
13         RCVD_IN_DNSWL_NONE=-0.0001, T_MIME_NO_TEXT=0.01] autolearn=disabled\r
14 Received: from olra.theworths.org ([127.0.0.1])\r
15         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
16         with ESMTP id LPKmRmqTGfZa for <notmuch@notmuchmail.org>;\r
17         Thu, 25 Nov 2010 00:55:00 -0800 (PST)\r
18 Received: from homiemail-a15.g.dreamhost.com (caiajhbdcaib.dreamhost.com\r
19         [208.97.132.81])\r
20         by olra.theworths.org (Postfix) with ESMTP id 5734A431FB5\r
21         for <notmuch@notmuchmail.org>; Thu, 25 Nov 2010 00:55:00 -0800 (PST)\r
22 Received: from homiemail-a15.g.dreamhost.com (localhost [127.0.0.1])\r
23         by homiemail-a15.g.dreamhost.com (Postfix) with ESMTP id 88DED76C065;\r
24         Thu, 25 Nov 2010 00:54:59 -0800 (PST)\r
25 DomainKey-Signature: a=rsa-sha1; c=nofws; d=SSpaeth.de; h=from:to:subject\r
26         :in-reply-to:references:date:message-id:mime-version:\r
27         content-type; q=dns; s=sspaeth.de; b=KJsY1zA7Dja++8EDTboepXOIQvL\r
28         KvcuOgPDSg5Y7elgiaQLThcvXvWgggm2SjQhMZc2ekxNUF36uceRBt8vJazC44Gf\r
29         AH0BQXRG9tj7uGk8e7jlVkSglcX5qHhS8JZOhUaio+3br25N1x/z6tmECrpR8aCN\r
30         KDai6YjWana8VFdE=\r
31 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=SSpaeth.de; h=from:to\r
32         :subject:in-reply-to:references:date:message-id:mime-version:\r
33         content-type; s=sspaeth.de; bh=XtKDyynOJbFufUiMGW0/xby5UqM=; b=E\r
34         wgVS/dMMoMGr38ASilFrmq1nI2d4SuOrNeIMFXsACyogcVrq1QX9duXmU7pFV1gY\r
35         L93TQnBqkQqB7lXi7my/8WtKGBYb2AvUSWbaGLV8BZIAmfpyBGV7kIF3gJUN81yk\r
36         cDQLd/srU8mc3Pvpa5c6Q2kBBoCOMYMVzsloFKnLu0=\r
37 Received: from spaetzbook.sspaeth.de (unknown [84.55.209.24])\r
38         (Authenticated sender: fax@sspaeth.de)\r
39         by homiemail-a15.g.dreamhost.com (Postfix) with ESMTPA id EAE2A76C058; \r
40         Thu, 25 Nov 2010 00:54:57 -0800 (PST)\r
41 Received: by spaetzbook.sspaeth.de (sSMTP sendmail emulation);\r
42         Thu, 25 Nov 2010 09:54:54 +0100\r
43 From: Sebastian Spaeth <Sebastian@SSpaeth.de>\r
44 To: Xavier Maillard <xma@gnu.org>, notmuch@notmuchmail.org\r
45 Subject: Re: [FEATURE REQUEST]: post-processing on notmuch new\r
46 In-Reply-To: <m262vl3jc8.fsf@kcals.maillard.im>\r
47 References: <m28w0i2w7y.fsf@kcals.maillard.im> <8739qqufzu.fsf@gmail.com>\r
48         <87bp5dga6k.fsf@SSpaeth.de> <m262vl3jc8.fsf@kcals.maillard.im>\r
49 User-Agent: Notmuch/0.5 (http://notmuchmail.org) Emacs/23.1.1\r
50         (x86_64-pc-linux-gnu)\r
51 Date: Thu, 25 Nov 2010 09:54:54 +0100\r
52 Message-ID: <8739qpg4v5.fsf@SSpaeth.de>\r
53 MIME-Version: 1.0\r
54 Content-Type: multipart/signed; boundary="=-=-=";\r
55         micalg=pgp-sha1; protocol="application/pgp-signature"\r
56 X-BeenThere: notmuch@notmuchmail.org\r
57 X-Mailman-Version: 2.1.13\r
58 Precedence: list\r
59 List-Id: "Use and development of the notmuch mail system."\r
60         <notmuch.notmuchmail.org>\r
61 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
62         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
63 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
64 List-Post: <mailto:notmuch@notmuchmail.org>\r
65 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
66 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
67         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
68 X-List-Received-Date: Thu, 25 Nov 2010 08:55:00 -0000\r
69 \r
70 --=-=-=\r
71 Content-Transfer-Encoding: quoted-printable\r
72 \r
73 On Thu, 25 Nov 2010 09:20:39 +0100, Xavier Maillard <xavier@maillard.im> wr=\r
74 ote:\r
75 >=20\r
76 > On Thu, 25 Nov 2010 08:00:03 +0100, Sebastian Spaeth <Sebastian@SSpaeth.d=\r
77 e> wrote:\r
78 > > On Thu, 25 Nov 2010 00:30:45 -0500, Ben Gamari <bgamari@gmail.com> wrot=\r
79 e:\r
80 > > > I, for one, simply have a get-mail script\r
81 > > > which calls offlineimap, notmuch new, and finally my sorting\r
82 > > > script. This seems like a more straightforward way to manage this;\r
83 > >=20\r
84 > > I have notmuch new and my sorting script run as posthooks in my\r
85 > > offlineimap, so I simply invoke offlineimap to get my mail and run\r
86 > > notmuch new (and do some tagging)\r
87 >=20\r
88 > Interesting. Could you share your setup here ?\r
89 \r
90 Easy, it's pretty hacky, but works:\r
91 \r
92 This is in my .offlinesyncrc in the [Account x] section:\r
93 \r
94 #-----------------------------------------------------------\r
95 #currently not needed\r
96 #presynchook =3D notmuch new > /dev/null && /home/spaetz/src/notmuchsync/no=\r
97 tmuchsync -q -s\r
98 \r
99 postsynchook =3D notmuch new && callanothernotmuchscripthere && notmuch\r
100 search --output=3Dthreads tag:ignore | xargs notmuch tag +ignore -- not tag=\r
101 :ignore and=20\r
102 \r
103 #not needed anymore\r
104 #&& /home/spaetz/src/notmuchsync/notmuchsync -r -q\r
105 #-----------------------------------------------------------\r
106 \r
107 \r
108 I simply run offlineimap in a cron script, or via 'G' (ie M-x\r
109 notmuch-poll) or asynchron via another key binding with offlineimap.el\r
110 that I downloaded from somewhere.\r
111 \r
112 Sebastian\r
113 \r
114 --=-=-=\r
115 Content-Type: application/pgp-signature\r
116 \r
117 -----BEGIN PGP SIGNATURE-----\r
118 Version: GnuPG v1.4.10 (GNU/Linux)\r
119 \r
120 iEYEARECAAYFAkzuJF4ACgkQVYX1jMgnoGJNAgCfWXIxPRNbeEK/OjOElqgQUeiX\r
121 iv0Anjg3SrGt+QqkdJixjkBkhVE/ouG/\r
122 =PTPF\r
123 -----END PGP SIGNATURE-----\r
124 --=-=-=--\r