Re: [PATCH v4 13/16] add indexopts to notmuch python bindings.
[notmuch-archives.git] / d5 / 62cdadb9677eff79cb6289c327dcf4f502e3d4
1 Return-Path: <anarcat@anarcat.ath.cx>\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 50EAF431FD0\r
6         for <notmuch@notmuchmail.org>; Wed, 20 Jul 2011 14:36:49 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0.01\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0.01 tagged_above=-999 required=5\r
12         tests=[T_MIME_NO_TEXT=0.01] autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id CEePVyVkmSwZ for <notmuch@notmuchmail.org>;\r
16         Wed, 20 Jul 2011 14:36:48 -0700 (PDT)\r
17 Received: from marcos.anarcat.ath.cx (H144.C72.B0.tor.eicat.ca [72.0.72.144])\r
18         by olra.theworths.org (Postfix) with ESMTP id 1793A431FB6\r
19         for <notmuch@notmuchmail.org>; Wed, 20 Jul 2011 14:36:48 -0700 (PDT)\r
20 Received: by marcos.anarcat.ath.cx (Postfix, from userid 1000)\r
21         id 5EA65761D1; Wed, 20 Jul 2011 17:36:47 -0400 (EDT)\r
22 From: Antoine =?utf-8?Q?Beaupr=C3=A9?= <anarcat@koumbit.org>\r
23 To: Austin Clements <amdragon@mit.edu>\r
24 Subject: Re: [PATCH 2/2] add edit function to resume postponed emails\r
25 In-Reply-To:\r
26  <CAH-f9Wtff0noP2-jxSmmhMRDWebt6G10Pe+3r-m6WvhDm_--ow@mail.gmail.com>\r
27 References: <1310807540-29960-1-git-send-email-anarcat@koumbit.org>\r
28         <1310841685-29167-1-git-send-email-anarcat@koumbit.org>\r
29         <CAH-f9Wtff0noP2-jxSmmhMRDWebt6G10Pe+3r-m6WvhDm_--ow@mail.gmail.com>\r
30 User-Agent: Notmuch/0.6+nmu1 (http://notmuchmail.org) Emacs/23.3.1\r
31         (x86_64-pc-linux-gnu)\r
32 Date: Wed, 20 Jul 2011 17:36:43 -0400\r
33 Message-ID: <874o2gskgk.fsf@marcos.anarcat.ath.cx>\r
34 MIME-Version: 1.0\r
35 Content-Type: multipart/signed; boundary="=-=-=";\r
36         micalg=pgp-sha256; protocol="application/pgp-signature"\r
37 Cc: notmuch@notmuchmail.org\r
38 X-BeenThere: notmuch@notmuchmail.org\r
39 X-Mailman-Version: 2.1.13\r
40 Precedence: list\r
41 List-Id: "Use and development of the notmuch mail system."\r
42         <notmuch.notmuchmail.org>\r
43 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
44         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
45 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
46 List-Post: <mailto:notmuch@notmuchmail.org>\r
47 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
48 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
49         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
50 X-List-Received-Date: Wed, 20 Jul 2011 21:36:49 -0000\r
51 \r
52 --=-=-=\r
53 Content-Transfer-Encoding: quoted-printable\r
54 \r
55 On Sat, 16 Jul 2011 15:31:31 -0400, Austin Clements <amdragon@mit.edu> wrot=\r
56 e:\r
57 > I think this could be simplified a lot and many of the known issues\r
58 > addressed if this were narrowed to *only* resuming from drafts.\r
59 > message-mode draft files aren't MIME messages (or, at least, they're\r
60 > never multipart, and message-mode has its own special annotations over\r
61 > basic RFC 822), so rather than treating the draft as a MIME message\r
62 > and trying to transform it back into a message-mode-compatible draft\r
63 > (which, in full generality, would be somewhere between hard and\r
64 > impossible), what about just dumping the raw contents of the draft\r
65 > file into a buffer and pointing message-mode at it?  If the draft file\r
66 > is available, you could even open it directly (this wouldn't work for\r
67 > remote usage, but remote drafts introduce many other problems, too).\r
68 \r
69 I think this is a great idea. Unfortunately, I had a lot of trouble\r
70 making message-mode digest an existing buffer. For example, if you take\r
71 any existing buffer and call (message-mode) on it, you will notice it\r
72 will clear the buffer completely.\r
73 \r
74 I guess I would need to look at how (notmuch-mua-edit-mail) does it but\r
75 it was the blocker i had when i tried to figure this out..\r
76 \r
77 Any suggestions?\r
78 \r
79 A.\r
80 \r
81 =2D-=20\r
82 To be naive and easily deceived is impermissible, today more than\r
83 ever, when the prevailing untruths may lead to a catastrophe because\r
84 they blind people to real dangers and real possibilities.\r
85                         - Erich Fromm\r
86 \r
87 --=-=-=\r
88 Content-Type: application/pgp-signature\r
89 \r
90 -----BEGIN PGP SIGNATURE-----\r
91 Version: GnuPG v1.4.11 (GNU/Linux)\r
92 \r
93 iQIcBAEBCAAGBQJOJ0psAAoJEHkhUlJ7dZIe99wP/0I8MM5HcvnYwqSojK1Dl8HD\r
94 FJXG4M9HzQijS8H3vCtK7oe9bKy9chzHEhlNvb4lB/lk9fwCjIBzgALYgCwSzwzO\r
95 c5l4EFyRN8nqsUevm/GuTAIbSLhiqwxqUq+TsUXVh7+N3hD8RISFHmoOeb1CXugE\r
96 1EOFQLizNvDtzU5M2SftgMoj92tHQ8d65TPAdq6GVJPEkX1JSAIvMt04JQ0YNpal\r
97 MDl8J5WjxzowlZ6uPoEaC4XG+Jw+n76KkEFvd0M7LmSDSRNhmimou+5rhhQ8jz3k\r
98 wbtDQCKXJtn/450/BmGEffBIJ7hGzgjo+4U5APBIFPDq8Lo+PGL22eJRup9ynX+G\r
99 wq8zRBzg5PagTlT851CQUaVon/E/Eh2xvAb5xUu8jspz1ydX7XA5PlHgw188FWxm\r
100 MZ5vyM8Rj4RFSoBFcPSwnvRtyUDFpkpI2jDAB5RWeuy1mZJ3PODZiqru7xjqtHmV\r
101 0EzOSPIiAArjLy7UBuiIlrZbeH7jfvfLTuT0jZWbJcjAxzLnu2RJFkXtSYKGRKDX\r
102 xY+qduuW9lmxrgEZBPdir3xGNGvoCj/P9OBMXbsBc/k81jipum1Jv0j9Za2CEKYX\r
103 s8kzD/sD9kbC3OP/KmfJeYRE9Bet+/piU4BPJYmnUZDw59HtsEnIXe6jHIsJhCyk\r
104 sq5m6w4fbsaLrSylQI6k\r
105 =aXay\r
106 -----END PGP SIGNATURE-----\r
107 --=-=-=--\r