1 Return-Path: <damien.cassou@gmail.com>
\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 01329431FC7
\r
6 for <notmuch@notmuchmail.org>; Fri, 18 Jan 2013 08:04:20 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5
\r
12 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
\r
13 FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
\r
14 Received: from olra.theworths.org ([127.0.0.1])
\r
15 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
16 with ESMTP id H7pGzymxmc5A for <notmuch@notmuchmail.org>;
\r
17 Fri, 18 Jan 2013 08:04:19 -0800 (PST)
\r
18 Received: from mail-we0-f174.google.com (mail-we0-f174.google.com
\r
19 [74.125.82.174]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
20 (No client certificate requested)
\r
21 by olra.theworths.org (Postfix) with ESMTPS id DC08B431FC9
\r
22 for <notmuch@notmuchmail.org>; Fri, 18 Jan 2013 08:04:15 -0800 (PST)
\r
23 Received: by mail-we0-f174.google.com with SMTP id x10so927149wey.33
\r
24 for <notmuch@notmuchmail.org>; Fri, 18 Jan 2013 08:04:13 -0800 (PST)
\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
\r
26 h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to
\r
27 :references; bh=M/GivEDbX31/dubUPZ6r2mJBN+oyTXrUV/ASJLmDQt4=;
\r
28 b=cggiB0qKPPnFI4pXmuRJ0wyHC1sfLJ1hWitcV3w/nzr1Fgw26os3bRl0Brcqyfg94q
\r
29 MXAOB/jycgTHkpWBgUjC9ZWALPtXodg2RWBbfUAxW2NHn40VoDnA8IQgNCsbO27dch8H
\r
30 RiuBDkxP9djTVd1EX1CRg8hNLdPfPAym/YdB65uk/vtpffsl6dw7cceucjgusOgosfis
\r
31 FqLzkzJbvrFNTnXRFmZgQyZphK9YoXO+kcoGYQy7TFiBr86d8+z2WdN/oCZgROMHhSzS
\r
32 FF1pqbI75mBzBEdxKBfXf3eS3UpiqxkIFhgSayEn66Z4stU6g+PC9aktMM3zKTk/P8vu
\r
34 X-Received: by 10.180.88.40 with SMTP id bd8mr4442132wib.33.1358525053367;
\r
35 Fri, 18 Jan 2013 08:04:13 -0800 (PST)
\r
36 Received: from luz3.lille.inria.fr ([193.51.236.44])
\r
37 by mx.google.com with ESMTPS id i2sm4073866wiw.3.2013.01.18.08.04.11
\r
38 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
\r
39 Fri, 18 Jan 2013 08:04:12 -0800 (PST)
\r
40 From: Damien Cassou <damien.cassou@gmail.com>
\r
41 To: notmuch mailing list <notmuch@notmuchmail.org>
\r
42 Subject: [PATCH 1/4] emacs: Add notmuch-intersperse to notmuch-lib/
\r
43 Date: Fri, 18 Jan 2013 17:03:55 +0100
\r
44 Message-Id: <1358525039-13569-2-git-send-email-damien.cassou@gmail.com>
\r
45 X-Mailer: git-send-email 1.7.10.4
\r
46 In-Reply-To: <1358525039-13569-1-git-send-email-damien.cassou@gmail.com>
\r
47 References: <1358525039-13569-1-git-send-email-damien.cassou@gmail.com>
\r
48 X-BeenThere: notmuch@notmuchmail.org
\r
49 X-Mailman-Version: 2.1.13
\r
51 List-Id: "Use and development of the notmuch mail system."
\r
52 <notmuch.notmuchmail.org>
\r
53 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
54 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
55 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
56 List-Post: <mailto:notmuch@notmuchmail.org>
\r
57 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
58 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
59 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
60 X-List-Received-Date: Fri, 18 Jan 2013 16:04:20 -0000
\r
62 (notmuch-intersperse LIST SEP)
\r
64 Return a list with all elements of LIST separated by SEP.
\r
66 Signed-off-by: Damien Cassou <damien.cassou@gmail.com>
\r
68 emacs/notmuch-lib.el | 11 +++++++++--
\r
69 1 file changed, 9 insertions(+), 2 deletions(-)
\r
71 diff --git a/emacs/notmuch-lib.el b/emacs/notmuch-lib.el
\r
72 index d78bcf8..3566126 100644
\r
73 --- a/emacs/notmuch-lib.el
\r
74 +++ b/emacs/notmuch-lib.el
\r
75 @@ -716,8 +716,15 @@ left it."
\r
76 ;; Clear out what we've parsed
\r
77 (delete-region (point-min) (point))))
\r
81 +(defun notmuch-intersperse (list sep)
\r
82 + "Return a list with all elements of LIST separated by SEP."
\r
85 + (dolist (elt list (nreverse res))
\r
91 (provide 'notmuch-lib)
\r