[PATCH v2 0/3] composing patches
authorFelipe Contreras <felipe.contreras@gmail.com>
Wed, 18 Apr 2012 12:39:10 +0000 (15:39 +0300)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:46:31 +0000 (09:46 -0800)
e7/70a439a3671569030af4e1a813f3ff137021a4 [new file with mode: 0644]

diff --git a/e7/70a439a3671569030af4e1a813f3ff137021a4 b/e7/70a439a3671569030af4e1a813f3ff137021a4
new file mode 100644 (file)
index 0000000..9a746ed
--- /dev/null
@@ -0,0 +1,93 @@
+Return-Path: <felipe.contreras@gmail.com>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 4FE2C431FBC\r
+       for <notmuch@notmuchmail.org>; Wed, 18 Apr 2012 05:39:42 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.799\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5\r
+       tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+       FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id Fb9+WX9nAZXN for <notmuch@notmuchmail.org>;\r
+       Wed, 18 Apr 2012 05:39:41 -0700 (PDT)\r
+Received: from mail-lpp01m010-f53.google.com (mail-lpp01m010-f53.google.com\r
+       [209.85.215.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 86763431FAE\r
+       for <notmuch@notmuchmail.org>; Wed, 18 Apr 2012 05:39:41 -0700 (PDT)\r
+Received: by lahc1 with SMTP id c1so5790633lah.26\r
+       for <notmuch@notmuchmail.org>; Wed, 18 Apr 2012 05:39:40 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+       h=from:to:cc:subject:date:message-id:x-mailer;\r
+       bh=024Y0JNzNcY6P1CqEDi2qnglsErBJOS0+dFstgnLSwM=;\r
+       b=lJDTsVYorZS1hYR8CIWYECkuJlaiYMg2MD9HyLdx0KCFYNQaNjGmSHEMwa4UyjtDwy\r
+       ZzCw+uk5nc5oGG5S1uf6KsycGxe43yDxSmx2yfKakKr+xMVA+5bbgf+MmMjZm7+XmLba\r
+       bmviqYyLCOcbwJJDe8gcUusVtebzxRbuvva1DlaF5SqZnZUYV6br8xxSSmuJGjgXc1l5\r
+       oxvJOpljmX4k0SpGZ5w8cjvO9gmrjkf+8Gc7f6wxqy7EuX7jD5jhLqH+yqmup1phCDIn\r
+       8oob7IMKkrqIeC6Vb8W1vl1Sq8gSSc4zuXWIwXLZa4kyghQJE0L2G0crjvHCeNJzZt38\r
+       z3xA==\r
+Received: by 10.152.105.197 with SMTP id go5mr1898984lab.43.1334752779912;\r
+       Wed, 18 Apr 2012 05:39:39 -0700 (PDT)\r
+Received: from localhost (85-156-70-103.elisa-mobile.fi. [85.156.70.103])\r
+       by mx.google.com with ESMTPS id mr15sm26189870lab.8.2012.04.18.05.39.38\r
+       (version=TLSv1/SSLv3 cipher=OTHER);\r
+       Wed, 18 Apr 2012 05:39:39 -0700 (PDT)\r
+From: Felipe Contreras <felipe.contreras@gmail.com>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH v2 0/3] composing patches\r
+Date: Wed, 18 Apr 2012 15:39:10 +0300\r
+Message-Id: <1334752753-23970-1-git-send-email-felipe.contreras@gmail.com>\r
+X-Mailer: git-send-email 1.7.10\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Wed, 18 Apr 2012 12:39:42 -0000\r
+\r
+Hi,\r
+\r
+I don't know how it works in gnus, but at least on the vim mode, the output\r
+generated by 'notmuch reply' is not ready to be sent, at least the Message-ID\r
+field is needed, and also is nice to have the User-Agent.\r
+\r
+Besides, in order to avoid creating a new message by hand (possibly fetching\r
+the info from notmuch config), it's more straightforward to have 'notmuch\r
+compose' command.\r
+\r
+In the future 'notmuch compose' might be used to replace 'notmuch reply' and\r
+possily add a forward option too. It might also be possible to add mail aliases\r
+when composing a message, and these aliases might be used while generating the\r
+'notmuch search' output.\r
+\r
+Although we are adding extra fields in notmuch reply, higher layers can just\r
+override them easily.\r
+\r
+Felipe Contreras (3):\r
+  Add 'compose' command\r
+  reply: add message-id header\r
+  reply: add user-agent field\r
+\r
+ Makefile.local    |    1 +\r
+ notmuch-client.h  |    3 ++\r
+ notmuch-compose.c |  111 +++++++++++++++++++++++++++++++++++++++++++++++++++++\r
+ notmuch-reply.c   |   17 ++++++++\r
+ notmuch.c         |    5 +++\r
+ 5 files changed, 137 insertions(+)\r
+ create mode 100644 notmuch-compose.c\r
+\r
+-- \r
+1.7.10\r
+\r