[notmuch] Notmuch-side support for git send-email --notmuch id:<MESSAGE-ID>
authorJed Brown <jed@59A2.org>
Wed, 25 Nov 2009 01:35:12 +0000 (02:35 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:35:42 +0000 (09:35 -0800)
ad/c2ae3f6e834f43f96588477d0e34f6f656f882 [new file with mode: 0644]

diff --git a/ad/c2ae3f6e834f43f96588477d0e34f6f656f882 b/ad/c2ae3f6e834f43f96588477d0e34f6f656f882
new file mode 100644 (file)
index 0000000..4deed9b
--- /dev/null
@@ -0,0 +1,72 @@
+Return-Path: <five9a2@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 A2D61431FAE\r
+       for <notmuch@notmuchmail.org>; Tue, 24 Nov 2009 17:35:06 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\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 U9tzdOBnZ29E for <notmuch@notmuchmail.org>;\r
+       Tue, 24 Nov 2009 17:35:05 -0800 (PST)\r
+Received: from mail-bw0-f224.google.com (mail-bw0-f224.google.com\r
+       [209.85.218.224])\r
+       by olra.theworths.org (Postfix) with ESMTP id 18871431FBC\r
+       for <notmuch@notmuchmail.org>; Tue, 24 Nov 2009 17:35:04 -0800 (PST)\r
+Received: by bwz24 with SMTP id 24so5514914bwz.30\r
+       for <notmuch@notmuchmail.org>; Tue, 24 Nov 2009 17:35:04 -0800 (PST)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;\r
+       h=domainkey-signature:received:received:sender:from:to:cc:subject\r
+       :date:message-id:x-mailer;\r
+       bh=N1VoJ/jHpaLnoKkf/tItg8yQIA53uMVqxpyomM0TrUI=;\r
+       b=p0R6bVjmp26v4UVbF3tjNFz1WpRmqO+eWSJk7vHpq4SqDfwLMk/e2+BlIQQQUBI7of\r
+       HO/vxkYu4kVytuATsyDtflF+XJsDDa6dw6XksNfniy90dDkfs3YoVn8fh4ezFwNvFUsS\r
+       ZPZS1vpqsq4e1koaAPsQjhu+eSHZFw1fccV9Q=\r
+DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;\r
+       h=sender:from:to:cc:subject:date:message-id:x-mailer;\r
+       b=qtZasYVcYzQ05wug3MfifZHAmdNOqE0l+t0njwVyeFfIZ0Vqk2AYuoOZ/ZQQ3JZWoi\r
+       v765D+QJnQRU44BnLRbzKZiHqOXPWcgOLBL2floKa1nElJpA1UT42V+f7/rMNupJOGZE\r
+       i/gQEbJ38HgfqyFrAspdxMhuYoqNnkg9JKs9s=\r
+Received: by 10.204.8.151 with SMTP id h23mr6783099bkh.194.1259112904033;\r
+       Tue, 24 Nov 2009 17:35:04 -0800 (PST)\r
+Received: from localhost.localdomain (vawpc43.ethz.ch [129.132.59.11])\r
+       by mx.google.com with ESMTPS id 35sm7911394fkt.40.2009.11.24.17.35.02\r
+       (version=TLSv1/SSLv3 cipher=RC4-MD5);\r
+       Tue, 24 Nov 2009 17:35:03 -0800 (PST)\r
+Sender: Jed Brown <five9a2@gmail.com>\r
+From: Jed Brown <jed@59A2.org>\r
+To: notmuch@notmuchmail.org\r
+Date: Wed, 25 Nov 2009 02:35:12 +0100\r
+Message-Id: <1259112914-19806-1-git-send-email-jed@59A2.org>\r
+X-Mailer: git-send-email 1.6.5.3\r
+Subject: [notmuch] Notmuch-side support for git send-email --notmuch\r
+       id:<MESSAGE-ID>\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.12\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, 25 Nov 2009 01:35:06 -0000\r
+\r
+These two patches provide support for features like the one in the\r
+subject line.  Along with these two patches, I have one for git\r
+format-patch (which I will submit upstream soon) that uses the output\r
+from notmuch reply --format=headers-only to build a reply with proper\r
+referencing, To, and Cc fields.\r
+\r
+Since options for git send-email are passed to git format-patch,\r
+\r
+  git send-email --notmuch id:<ID>\r
+\r
+is a substitute for\r
+\r
+  git send-email --in-reply-to <ID> --to <TO> --cc <CC> --add-header 'References: ...'\r
+\r
+\r