1 Return-Path: <markwalters1009@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 F0ABD431FBF
\r
6 for <notmuch@notmuchmail.org>; Wed, 16 Apr 2014 14:22:11 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=2.7 tagged_above=-999 required=5
\r
12 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
\r
13 FREEMAIL_ENVFROM_END_DIGIT=1, FREEMAIL_FROM=0.001,
\r
14 FREEMAIL_REPLY=2.499, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
\r
15 Received: from olra.theworths.org ([127.0.0.1])
\r
16 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
17 with ESMTP id v59nXcKMxdeW for <notmuch@notmuchmail.org>;
\r
18 Wed, 16 Apr 2014 14:22:06 -0700 (PDT)
\r
19 Received: from mail-ee0-f41.google.com (mail-ee0-f41.google.com
\r
20 [74.125.83.41]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client
\r
21 certificate requested) by olra.theworths.org (Postfix) with ESMTPS id
\r
22 4593C431FAE for <notmuch@notmuchmail.org>; Wed, 16 Apr 2014 14:22:06 -0700
\r
24 Received: by mail-ee0-f41.google.com with SMTP id t10so9349399eei.0
\r
25 for <notmuch@notmuchmail.org>; Wed, 16 Apr 2014 14:22:03 -0700 (PDT)
\r
26 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
\r
27 h=from:to:cc:subject:date:message-id;
\r
28 bh=QUoywGNYjHkbmH+vgSdFaq69hGNI1keRKPgGFGJff8E=;
\r
29 b=YPUA0G+LWE0jrszecFYZeePb4q+sOvJRXC/ZsRIJUIdaFKvvpQ6wfL4LMSmqXoaeEj
\r
30 0C7PNnuQVb63gBmei9BpA4lXxeNiCkCgogiLWY3V4YGPOg2aIrhwbDAd62slqrfM+SrS
\r
31 Tucuw7YMPlc4WYsUKQmenDzRIUcs9BcLZEPtElMtpnYMwuwGThwBAa2KuP71VH9A5IF0
\r
32 Nn5ASlA7ldKby687ZG8PHx6fmLpkHrcaJxrVtaSxnruqdAvLMjrHkiGzGPLslE4ft8Au
\r
33 lbXHC0tTxTJ5CRbylvrcgQUVexG3s95BRTUlDnP8MCM29dlmlqEuoT7+LAHAh08zamCd
\r
35 X-Received: by 10.14.113.194 with SMTP id a42mr5611890eeh.115.1397683322685;
\r
36 Wed, 16 Apr 2014 14:22:02 -0700 (PDT)
\r
37 Received: from localhost ([217.17.137.178])
\r
38 by mx.google.com with ESMTPSA id n41sm61328141eeg.4.2014.04.16.14.22.01
\r
39 for <multiple recipients>
\r
40 (version=TLSv1.2 cipher=RC4-SHA bits=128/128);
\r
41 Wed, 16 Apr 2014 14:22:02 -0700 (PDT)
\r
42 From: Mark Walters <markwalters1009@gmail.com>
\r
43 To: notmuch@notmuchmail.org
\r
44 Subject: [PATCH 0/1] emacs: hello: bugfix for saved searches defcustom
\r
45 Date: Wed, 16 Apr 2014 22:21:52 +0100
\r
46 Message-Id: <1397683313-28268-1-git-send-email-markwalters1009@gmail.com>
\r
47 X-Mailer: git-send-email 1.7.10.4
\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: Wed, 16 Apr 2014 21:22:12 -0000
\r
62 This is almost the same as id:1397627927-9692-1-git-send-email-markwalters1009@gmail.com but with a commit message a couple of function renames and a couple of spelling/typo mistakes fixed (pointed out by Tomi)
\r
64 The diff from the WIP version is:
\r
66 diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el
\r
67 index 27eac72..a7a8e20 100644
\r
68 --- a/emacs/notmuch-hello.el
\r
69 +++ b/emacs/notmuch-hello.el
\r
70 @@ -56,7 +56,7 @@ lists (NAME QUERY COUNT-QUERY)."
\r
71 "Return a copy of SAVED-SEARCH in plist form.
\r
73 If saved search is a plist then just return a copy. In other
\r
74 -cases, for backwards compatability, convert to plist form and
\r
75 +cases, for backwards compatibility, convert to plist form and
\r
77 (if (keywordp (car saved-search))
\r
78 (copy-seq saved-search)
\r
79 @@ -67,11 +67,11 @@ return that."
\r
81 (setq plist-search (append plist-search (list field string)))))))))
\r
83 -(defun notmuch--saved-searches-to-plist (symbol)
\r
84 +(defun notmuch-hello--saved-searches-to-plist (symbol)
\r
85 "Extract a saved-search variable into plist form.
\r
87 The new style saved search is just a plist, but for backwards
\r
88 -compatatibility we use this function to extract old style saved
\r
89 +compatibility we use this function to extract old style saved
\r
90 searches so they still work in customize."
\r
91 (let ((saved-searches (default-value symbol)))
\r
92 (mapcar #'notmuch-hello-saved-search-to-plist saved-searches)))
\r
93 @@ -114,7 +114,7 @@ or a list of the form (NAME QUERY COUNT-QUERY)."
\r
94 ;; section. This section generates its own saved-search list in one of
\r
95 ;; the latter two forms.
\r
97 - :get 'notmuch--saved-searches-to-plist
\r
98 + :get 'notmuch-hello--saved-searches-to-plist
\r
99 :type '(repeat notmuch-saved-search-plist)
\r
100 :tag "List of Saved Searches"
\r
101 :group 'notmuch-hello)
\r
105 emacs: hello: bugfix for saved searches defcustom
\r
107 emacs/notmuch-hello.el | 128 ++++++++++++++++++++++++++++++++++--------------
\r
108 emacs/notmuch-lib.el | 52 --------------------
\r
109 2 files changed, 90 insertions(+), 90 deletions(-)
\r