[PATCH 6/6] notmuch-maildir-fcc: replace caddr with (car (cdr (cdr)))
authorSebastian Spaeth <Sebastian@SSpaeth.de>
Thu, 22 Apr 2010 09:07:31 +0000 (11:07 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:36:47 +0000 (09:36 -0800)
2e/04fdca1ba5d17e6f77327e14be08c732f2a997 [new file with mode: 0644]

diff --git a/2e/04fdca1ba5d17e6f77327e14be08c732f2a997 b/2e/04fdca1ba5d17e6f77327e14be08c732f2a997
new file mode 100644 (file)
index 0000000..d4f93de
--- /dev/null
@@ -0,0 +1,69 @@
+Return-Path: <Sebastian@SSpaeth.de>\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 3A0A1418C25\r
+       for <notmuch@notmuchmail.org>; Thu, 22 Apr 2010 02:08:38 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -1.9\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5\r
+       tests=[BAYES_00=-1.9] autolearn=ham\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 ofWbBq6stB4o for <notmuch@notmuchmail.org>;\r
+       Thu, 22 Apr 2010 02:08:36 -0700 (PDT)\r
+Received: from homiemail-a13.g.dreamhost.com (caiajhbdcagg.dreamhost.com\r
+       [208.97.132.66])\r
+       by olra.theworths.org (Postfix) with ESMTP id 0E46A40CAD8\r
+       for <notmuch@notmuchmail.org>; Thu, 22 Apr 2010 02:08:24 -0700 (PDT)\r
+Received: from localhost.localdomain (mtec-hg-docking-1-dhcp-204.ethz.ch\r
+       [129.132.133.204]) (Authenticated sender: sebastian@sspaeth.de)\r
+       by homiemail-a13.g.dreamhost.com (Postfix) with ESMTPA id E0A566A8058; \r
+       Thu, 22 Apr 2010 02:08:17 -0700 (PDT)\r
+From: Sebastian Spaeth <Sebastian@SSpaeth.de>\r
+To: Notmuch developer list <notmuch@notmuchmail.org>\r
+Subject: [PATCH 6/6] notmuch-maildir-fcc: replace caddr with (car (cdr (cdr)))\r
+Date: Thu, 22 Apr 2010 11:07:31 +0200\r
+Message-Id: <1271927251-19867-7-git-send-email-Sebastian@SSpaeth.de>\r
+X-Mailer: git-send-email 1.7.0.4\r
+In-Reply-To: <87ochbx3er.fsf@SSpaeth.de>\r
+References: <87ochbx3er.fsf@SSpaeth.de>\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: Thu, 22 Apr 2010 09:08:38 -0000\r
+\r
+The former requires 'cl to be loaded and during make install emacs complained about not knowing it.\r
+\r
+Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>\r
+---\r
+ emacs/notmuch-maildir-fcc.el |    2 +-\r
+ 1 files changed, 1 insertions(+), 1 deletions(-)\r
+\r
+diff --git a/emacs/notmuch-maildir-fcc.el b/emacs/notmuch-maildir-fcc.el\r
+index c47bfb3..3dc8283 100644\r
+--- a/emacs/notmuch-maildir-fcc.el\r
++++ b/emacs/notmuch-maildir-fcc.el\r
+@@ -58,7 +58,7 @@\r
+ (defun notmuch-maildir-fcc-make-uniq-maildir-id ()\r
+    (let* ((ct (current-time))\r
+         (timeid (+ (* (car ct) 65536) (cadr ct)))\r
+-        (microseconds (caddr ct))\r
++        (microseconds (car (cdr (cdr ct))))\r
+         (hostname (notmuch-maildir-fcc-host-fixer system-name)))\r
+      (setq notmuch-maildir-fcc-count (+ notmuch-maildir-fcc-count 1))\r
+      (format "%d.%d_%d_%d.%s"\r
+-- \r
+1.7.0.4\r
+\r