1 Return-Path: <Sebastian@SSpaeth.de>
\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 3A0A1418C25
\r
6 for <notmuch@notmuchmail.org>; Thu, 22 Apr 2010 02:08:38 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5
\r
12 tests=[BAYES_00=-1.9] autolearn=ham
\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 ofWbBq6stB4o for <notmuch@notmuchmail.org>;
\r
16 Thu, 22 Apr 2010 02:08:36 -0700 (PDT)
\r
17 Received: from homiemail-a13.g.dreamhost.com (caiajhbdcagg.dreamhost.com
\r
19 by olra.theworths.org (Postfix) with ESMTP id 0E46A40CAD8
\r
20 for <notmuch@notmuchmail.org>; Thu, 22 Apr 2010 02:08:24 -0700 (PDT)
\r
21 Received: from localhost.localdomain (mtec-hg-docking-1-dhcp-204.ethz.ch
\r
22 [129.132.133.204]) (Authenticated sender: sebastian@sspaeth.de)
\r
23 by homiemail-a13.g.dreamhost.com (Postfix) with ESMTPA id E0A566A8058;
\r
24 Thu, 22 Apr 2010 02:08:17 -0700 (PDT)
\r
25 From: Sebastian Spaeth <Sebastian@SSpaeth.de>
\r
26 To: Notmuch developer list <notmuch@notmuchmail.org>
\r
27 Subject: [PATCH 6/6] notmuch-maildir-fcc: replace caddr with (car (cdr (cdr)))
\r
28 Date: Thu, 22 Apr 2010 11:07:31 +0200
\r
29 Message-Id: <1271927251-19867-7-git-send-email-Sebastian@SSpaeth.de>
\r
30 X-Mailer: git-send-email 1.7.0.4
\r
31 In-Reply-To: <87ochbx3er.fsf@SSpaeth.de>
\r
32 References: <87ochbx3er.fsf@SSpaeth.de>
\r
33 X-BeenThere: notmuch@notmuchmail.org
\r
34 X-Mailman-Version: 2.1.13
\r
36 List-Id: "Use and development of the notmuch mail system."
\r
37 <notmuch.notmuchmail.org>
\r
38 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
39 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
40 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
41 List-Post: <mailto:notmuch@notmuchmail.org>
\r
42 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
43 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
44 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
45 X-List-Received-Date: Thu, 22 Apr 2010 09:08:38 -0000
\r
47 The former requires 'cl to be loaded and during make install emacs complained about not knowing it.
\r
49 Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
\r
51 emacs/notmuch-maildir-fcc.el | 2 +-
\r
52 1 files changed, 1 insertions(+), 1 deletions(-)
\r
54 diff --git a/emacs/notmuch-maildir-fcc.el b/emacs/notmuch-maildir-fcc.el
\r
55 index c47bfb3..3dc8283 100644
\r
56 --- a/emacs/notmuch-maildir-fcc.el
\r
57 +++ b/emacs/notmuch-maildir-fcc.el
\r
59 (defun notmuch-maildir-fcc-make-uniq-maildir-id ()
\r
60 (let* ((ct (current-time))
\r
61 (timeid (+ (* (car ct) 65536) (cadr ct)))
\r
62 - (microseconds (caddr ct))
\r
63 + (microseconds (car (cdr (cdr ct))))
\r
64 (hostname (notmuch-maildir-fcc-host-fixer system-name)))
\r
65 (setq notmuch-maildir-fcc-count (+ notmuch-maildir-fcc-count 1))
\r
66 (format "%d.%d_%d_%d.%s"
\r