Re: notmuch-reply date format
authorSime Ramov <sramov@pobox.com>
Mon, 14 Jul 2014 13:25:10 +0000 (15:25 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 18:03:37 +0000 (10:03 -0800)
f7/9f53315e67422b464545838f1e0cca180b514a [new file with mode: 0644]

diff --git a/f7/9f53315e67422b464545838f1e0cca180b514a b/f7/9f53315e67422b464545838f1e0cca180b514a
new file mode 100644 (file)
index 0000000..f7b96ff
--- /dev/null
@@ -0,0 +1,84 @@
+Return-Path: <sramov@pobox.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 16C04431FBD\r
+       for <notmuch@notmuchmail.org>; Mon, 14 Jul 2014 06:25:28 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.099\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.099 tagged_above=-999 required=5\r
+       tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+       RCVD_IN_DNSWL_NONE=-0.0001, UNPARSEABLE_RELAY=0.001]\r
+       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 8lg8MLryJo+W for <notmuch@notmuchmail.org>;\r
+       Mon, 14 Jul 2014 06:25:20 -0700 (PDT)\r
+Received: from smtp.pobox.com (smtp.pobox.com [208.72.237.35])\r
+       by olra.theworths.org (Postfix) with ESMTP id 89E27431FBC\r
+       for <notmuch@notmuchmail.org>; Mon, 14 Jul 2014 06:25:20 -0700 (PDT)\r
+Received: from smtp.pobox.com (unknown [127.0.0.1])\r
+       by pb-smtp0.pobox.com (Postfix) with ESMTP id 5AEB125B47\r
+       for <notmuch@notmuchmail.org>; Mon, 14 Jul 2014 09:25:02 -0400 (EDT)\r
+DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=date\r
+       :message-id:from:subject:to:in-reply-to:references; s=sasl; bh=Y\r
+       fCXoPtKlVjT7jW/Xvu7YR0AvJM=; b=lD0M9Nq9VGVJm+us3vjjWMz13wywFNcYt\r
+       p+8A2C92LuJivt39a9a3JOfp2qigFZL/gh/E/N/8CC0wvm7PtfGXeNPGl2FIfjMH\r
+       CHpRARxJZcBNQ5i93asx64Zyd/b/1SpCeevwIZ+c+OGOsAbAWBRz327HGoZTT1XS\r
+       NVmyrlzHKw=\r
+DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=date:message-id\r
+       :from:subject:to:in-reply-to:references; q=dns; s=sasl; b=vKACqh\r
+       Xa2b5q5QloMR89VTWGXwKz1bPjVdQhy5CRTAC9PtuFX7wlqmvIf7CYUewwRrkhri\r
+       oH/oZPomRetTZQy+murOqjgY7BSadXyB3RIJbEfq/nhywQvLa/3lLb6ykOXZAMBO\r
+       T4gf2xtOO46Pb7b0fFPyKdBeydvNRjnGwX9MA=\r
+Received: from pb-smtp0.int.icgroup.com (unknown [127.0.0.1])\r
+       by pb-smtp0.pobox.com (Postfix) with ESMTP id 0843325B46\r
+       for <notmuch@notmuchmail.org>; Mon, 14 Jul 2014 09:25:01 -0400 (EDT)\r
+Received: from ouroboros.ramov.inet (unknown [178.218.165.9])\r
+       (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
+       (No client certificate requested)\r
+       by pb-smtp0.pobox.com (Postfix) with ESMTPSA id F150E25B3F\r
+       for <notmuch@notmuchmail.org>; Mon, 14 Jul 2014 09:24:54 -0400 (EDT)\r
+Received: from localhost (1000@localhost [local]);\r
+       by localhost (OpenSMTPD) with ESMTPA id bce2a1d8;\r
+       for <notmuch@notmuchmail.org>; Mon, 14 Jul 2014 15:25:10 +0200 (CEST)\r
+Date: Mon, 14 Jul 2014 15:25:10 +0200 (CEST)\r
+Message-Id: <11514334886126561373.enqueue@ouroboros.ramov.inet>\r
+From: Sime Ramov <sramov@pobox.com>\r
+Subject: Re: notmuch-reply date format\r
+To: notmuch@notmuchmail.org\r
+In-Reply-To: <20140714130431.GB4660@mit.edu>\r
+References: <1722345767858996112.enqueue@ouroboros.ramov.inet>\r
+       <20140714130431.GB4660@mit.edu>\r
+X-Pobox-Relay-ID:\r
+ 3E7C2854-0B5A-11E4-A58B-9903E9FBB39C-45584858!pb-smtp0.pobox.com\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: Mon, 14 Jul 2014 13:25:28 -0000\r
+\r
+* Austin Clements <amdragon@MIT.EDU> [Mon, 14 Jul 2014 09:04:31 -0400]:\r
+> First, are you sure this is the right place to modify reply\r
+> attribution? The Emacs frontend builds its own reply template. I'm not\r
+> sure what the other frontends do.\r
+\r
+I'm not using any frontends, only CLI.\r
+\r
+> Assuming the CLI is the right place for you to change this, you\r
+> probably want to call notmuch_message_get_date, then localtime, then\r
+> strftime. The call to notmuch_message_get_header returns the literal\r
+> text from the message's Date: header, while notmuch_message_get_date\r
+> returns the parsed Date: header as a time_t.\r
+\r
+Thanks, will try.\r