--- /dev/null
+Return-Path: <markwalters1009@gmail.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 F0ABD431FBF\r
+ for <notmuch@notmuchmail.org>; Wed, 16 Apr 2014 14:22:11 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 2.7\r
+X-Spam-Level: **\r
+X-Spam-Status: No, score=2.7 tagged_above=-999 required=5\r
+ tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+ FREEMAIL_ENVFROM_END_DIGIT=1, FREEMAIL_FROM=0.001,\r
+ FREEMAIL_REPLY=2.499, RCVD_IN_DNSWL_LOW=-0.7] 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 v59nXcKMxdeW for <notmuch@notmuchmail.org>;\r
+ Wed, 16 Apr 2014 14:22:06 -0700 (PDT)\r
+Received: from mail-ee0-f41.google.com (mail-ee0-f41.google.com\r
+ [74.125.83.41]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client\r
+ certificate requested) by olra.theworths.org (Postfix) with ESMTPS id\r
+ 4593C431FAE for <notmuch@notmuchmail.org>; Wed, 16 Apr 2014 14:22:06 -0700\r
+ (PDT)\r
+Received: by mail-ee0-f41.google.com with SMTP id t10so9349399eei.0\r
+ for <notmuch@notmuchmail.org>; Wed, 16 Apr 2014 14:22:03 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+ h=from:to:cc:subject:date:message-id;\r
+ bh=QUoywGNYjHkbmH+vgSdFaq69hGNI1keRKPgGFGJff8E=;\r
+ b=YPUA0G+LWE0jrszecFYZeePb4q+sOvJRXC/ZsRIJUIdaFKvvpQ6wfL4LMSmqXoaeEj\r
+ 0C7PNnuQVb63gBmei9BpA4lXxeNiCkCgogiLWY3V4YGPOg2aIrhwbDAd62slqrfM+SrS\r
+ Tucuw7YMPlc4WYsUKQmenDzRIUcs9BcLZEPtElMtpnYMwuwGThwBAa2KuP71VH9A5IF0\r
+ Nn5ASlA7ldKby687ZG8PHx6fmLpkHrcaJxrVtaSxnruqdAvLMjrHkiGzGPLslE4ft8Au\r
+ lbXHC0tTxTJ5CRbylvrcgQUVexG3s95BRTUlDnP8MCM29dlmlqEuoT7+LAHAh08zamCd\r
+ eLzA==\r
+X-Received: by 10.14.113.194 with SMTP id a42mr5611890eeh.115.1397683322685;\r
+ Wed, 16 Apr 2014 14:22:02 -0700 (PDT)\r
+Received: from localhost ([217.17.137.178])\r
+ by mx.google.com with ESMTPSA id n41sm61328141eeg.4.2014.04.16.14.22.01\r
+ for <multiple recipients>\r
+ (version=TLSv1.2 cipher=RC4-SHA bits=128/128);\r
+ Wed, 16 Apr 2014 14:22:02 -0700 (PDT)\r
+From: Mark Walters <markwalters1009@gmail.com>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH 0/1] emacs: hello: bugfix for saved searches defcustom\r
+Date: Wed, 16 Apr 2014 22:21:52 +0100\r
+Message-Id: <1397683313-28268-1-git-send-email-markwalters1009@gmail.com>\r
+X-Mailer: git-send-email 1.7.10.4\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: Wed, 16 Apr 2014 21:22:12 -0000\r
+\r
+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
+\r
+The diff from the WIP version is:\r
+\r
+diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el\r
+index 27eac72..a7a8e20 100644\r
+--- a/emacs/notmuch-hello.el\r
++++ b/emacs/notmuch-hello.el\r
+@@ -56,7 +56,7 @@ lists (NAME QUERY COUNT-QUERY)."\r
+ "Return a copy of SAVED-SEARCH in plist form.\r
+ \r
+ If saved search is a plist then just return a copy. In other\r
+-cases, for backwards compatability, convert to plist form and\r
++cases, for backwards compatibility, convert to plist form and\r
+ return that."\r
+ (if (keywordp (car saved-search))\r
+ (copy-seq saved-search)\r
+@@ -67,11 +67,11 @@ return that."\r
+ (when string\r
+ (setq plist-search (append plist-search (list field string)))))))))\r
+ \r
+-(defun notmuch--saved-searches-to-plist (symbol)\r
++(defun notmuch-hello--saved-searches-to-plist (symbol)\r
+ "Extract a saved-search variable into plist form.\r
+ \r
+ The new style saved search is just a plist, but for backwards\r
+-compatatibility we use this function to extract old style saved\r
++compatibility we use this function to extract old style saved\r
+ searches so they still work in customize."\r
+ (let ((saved-searches (default-value symbol)))\r
+ (mapcar #'notmuch-hello-saved-search-to-plist saved-searches)))\r
+@@ -114,7 +114,7 @@ or a list of the form (NAME QUERY COUNT-QUERY)."\r
+ ;; section. This section generates its own saved-search list in one of\r
+ ;; the latter two forms.\r
+ \r
+- :get 'notmuch--saved-searches-to-plist\r
++ :get 'notmuch-hello--saved-searches-to-plist\r
+ :type '(repeat notmuch-saved-search-plist)\r
+ :tag "List of Saved Searches"\r
+ :group 'notmuch-hello)\r
+\r
+\r
+Mark Walters (1):\r
+ emacs: hello: bugfix for saved searches defcustom\r
+\r
+ emacs/notmuch-hello.el | 128 ++++++++++++++++++++++++++++++++++--------------\r
+ emacs/notmuch-lib.el | 52 --------------------\r
+ 2 files changed, 90 insertions(+), 90 deletions(-)\r
+\r
+-- \r
+1.7.10.4\r
+\r