Re: [PATCH 3/5] nmbug-status: Add an nmbug-status(5) man page
[notmuch-archives.git] / 8c / 62f94e6f0bb0aa2ae9f82cb959e5b22703ea58
1 Return-Path: <awg@xvx.ca>\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 5194F431FB6\r
6         for <notmuch@notmuchmail.org>; Wed, 18 Apr 2012 10:36:39 -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.7\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 ikW8f8CctOd4 for <notmuch@notmuchmail.org>;\r
16         Wed, 18 Apr 2012 10:36:38 -0700 (PDT)\r
17 Received: from mail-lpp01m010-f53.google.com (mail-lpp01m010-f53.google.com\r
18         [209.85.215.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id A15C5431FAE\r
21         for <notmuch@notmuchmail.org>; Wed, 18 Apr 2012 10:36:38 -0700 (PDT)\r
22 Received: by lahc1 with SMTP id c1so6037950lah.26\r
23         for <notmuch@notmuchmail.org>; Wed, 18 Apr 2012 10:36:37 -0700 (PDT)\r
24 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
25         d=google.com; s=20120113;\r
26         h=mime-version:sender:x-originating-ip:in-reply-to:references:date\r
27         :x-google-sender-auth:message-id:subject:from:to:cc:content-type\r
28         :content-transfer-encoding:x-gm-message-state;\r
29         bh=PBLAWRvQ0mlo41cgoo2N7O8+C5lkd/AUJaVkKCAysLg=;\r
30         b=LiP70Qb+86OxuV71VJpZggvayBH7ISvQqXlPjaWVZqJkOBexkuFindUlk5Y17IehEu\r
31         tU+P2DaadYS/VmAhNYw4jpEPvoo9FWkWTLwpKfEY/bi9bt8nhjZmwzPp6SI9hZLKtAEc\r
32         dpl0amHuCItUSOklMs8f5GPPk/grr/Zsokh5z+ZvNnHNTG8630SXpQrjoK9qGIy19fuH\r
33         xiQ1SbxOYtxxfhR5e3f1fem7jWIlp3YfEXy6XYI4mcHczgBR/0NMf5glK68hsrmhrVSh\r
34         s0BFQm2xs0YPEBsSbH/SNvrsk3z3BeyWZwGmS8QO0Umtx+OlFRy0F41SOeBRRe+nTALM\r
35         01BQ==\r
36 MIME-Version: 1.0\r
37 Received: by 10.112.98.70 with SMTP id eg6mr1518119lbb.13.1334770596938; Wed,\r
38         18 Apr 2012 10:36:36 -0700 (PDT)\r
39 Sender: awg@xvx.ca\r
40 Received: by 10.112.23.39 with HTTP; Wed, 18 Apr 2012 10:36:36 -0700 (PDT)\r
41 X-Originating-IP: [128.221.197.57]\r
42 In-Reply-To: <1334752753-23970-1-git-send-email-felipe.contreras@gmail.com>\r
43 References: <1334752753-23970-1-git-send-email-felipe.contreras@gmail.com>\r
44 Date: Wed, 18 Apr 2012 11:36:36 -0600\r
45 X-Google-Sender-Auth: Lai21sVIhadXB4ncuAsYsxGwiA0\r
46 Message-ID:\r
47  <CAMoJFUsnpaoug58RUS_oQB9m1mhNjmBVZG5v6EDHkVqG3wX0jg@mail.gmail.com>\r
48 Subject: Re: [PATCH v2 0/3] composing patches\r
49 From: Adam Wolfe Gordon <awg+notmuch@xvx.ca>\r
50 To: Felipe Contreras <felipe.contreras@gmail.com>\r
51 Content-Type: text/plain; charset=ISO-8859-1\r
52 Content-Transfer-Encoding: quoted-printable\r
53 X-Gm-Message-State:\r
54  ALoCoQlRAR+aFFGJd+OZJIw9XMwYImIYNFOpPW8x8t+xzfxpdSW5un4vpDgZKTfKCSIBhMmRZs8f\r
55 Cc: notmuch@notmuchmail.org\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: Wed, 18 Apr 2012 17:36:39 -0000\r
69 \r
70 Hi Felipe,\r
71 \r
72 On Wed, Apr 18, 2012 at 06:39, Felipe Contreras\r
73 <felipe.contreras@gmail.com> wrote:\r
74 > I don't know how it works in gnus, but at least on the vim mode, the outp=\r
75 ut\r
76 > generated by 'notmuch reply' is not ready to be sent, at least the Messag=\r
77 e-ID\r
78 > field is needed, and also is nice to have the User-Agent.\r
79 \r
80 In the emacs interface, the Message-ID header is generated when the\r
81 message is sent, so it never shows up in the reply buffer. The\r
82 User-Agent header is created by the emacs reply code.\r
83 \r
84 > Besides, in order to avoid creating a new message by hand (possibly fetch=\r
85 ing\r
86 > the info from notmuch config), it's more straightforward to have 'notmuch\r
87 > compose' command.\r
88 >\r
89 > In the future 'notmuch compose' might be used to replace 'notmuch reply' =\r
90 and\r
91 > possily add a forward option too. It might also be possible to add mail a=\r
92 liases\r
93 > when composing a message, and these aliases might be used while generatin=\r
94 g the\r
95 > 'notmuch search' output.\r
96 \r
97 I can see how this functionality is useful, and I like the idea of\r
98 consolidating message creation, forwarding, and reply. However, if\r
99 this is intended to replace or share code with reply (and I think it\r
100 should), it should support all the existing reply formats: default,\r
101 json, and headers-only.\r
102 \r
103 In fact, I think it might make more sense to make this work an\r
104 extension of the existing reply code rather than a rewrite.\r
105 notmuch-reply.c could become notmuch-compose.c, and provide the\r
106 compose command (with flags for creating a reply), and also the reply\r
107 command (which would just be an alias to the compose functionality).\r
108 \r
109 > =A0Makefile.local =A0 =A0| =A0 =A01 +\r
110 > =A0notmuch-client.h =A0| =A0 =A03 ++\r
111 > =A0notmuch-compose.c | =A0111 +++++++++++++++++++++++++++++++++++++++++++=\r
112 ++++++++++\r
113 > =A0notmuch-reply.c =A0 | =A0 17 ++++++++\r
114 > =A0notmuch.c =A0 =A0 =A0 =A0 | =A0 =A05 +++\r
115 \r
116 Such a big new features should definitely have some tests.\r
117 \r
118 -- Adam\r