[PATCH 1/2] emacs: store sort order in the widgets in notmuch-hello
authorJani Nikula <jani@nikula.org>
Fri, 7 Feb 2014 11:25:52 +0000 (12:25 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:59:46 +0000 (09:59 -0800)
fb/476d5f8f64e5fcb4db753683bb833e4b37920e [new file with mode: 0644]

diff --git a/fb/476d5f8f64e5fcb4db753683bb833e4b37920e b/fb/476d5f8f64e5fcb4db753683bb833e4b37920e
new file mode 100644 (file)
index 0000000..ce9bb03
--- /dev/null
@@ -0,0 +1,99 @@
+Return-Path: <jani@nikula.org>\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 9541A431FC3\r
+       for <notmuch@notmuchmail.org>; Fri,  7 Feb 2014 03:26:10 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References"\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.7\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
+       tests=[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 S2uRrT-Lu33V for <notmuch@notmuchmail.org>;\r
+       Fri,  7 Feb 2014 03:26:05 -0800 (PST)\r
+Received: from mail-qc0-f179.google.com (mail-qc0-f179.google.com\r
+       [209.85.216.179]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id BD8D2431FB6\r
+       for <notmuch@notmuchmail.org>; Fri,  7 Feb 2014 03:26:05 -0800 (PST)\r
+Received: by mail-qc0-f179.google.com with SMTP id e16so5524184qcx.38\r
+       for <notmuch@notmuchmail.org>; Fri, 07 Feb 2014 03:26:04 -0800 (PST)\r
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+       d=1e100.net; s=20130820;\r
+       h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\r
+       :references:in-reply-to:references;\r
+       bh=jYsM7On4Beguz6giSphEjIvJSc4SWC3fX+jkM80euTQ=;\r
+       b=joAJdCKfgilB2Pt5iIDsiCMx9/QrrDnrcZFjRv8ImWSBXspL0cCU8VyRwfIismxZzr\r
+       ddwT0KO36W7rQRlux8q63ajYz+Dn2mJB09ZxelO2o7a+Ysm5exqMtENN/HFtW7vC8c9P\r
+       8eSsAsnX3pZNnF0zijp3xgIlRno7zkck+L+Bc97Kcv+OEoL2WX2o8zHfd8+RjsqxszW0\r
+       JBBk6AsHhHkVWHTcZ7Rx8EalbGM/nz50y9ElgN7L+cT16FfNXe2K+/T9uGZic1iNnMuS\r
+       47G9TIfFHrId+6+P2nY18lqntqJZARHmZTaGlnw7yJZoqCIsYC1SaINTjuwhlzl//kkE\r
+       Xxlg==\r
+X-Gm-Message-State:\r
+ ALoCoQl2M0WfzFIuU3GzXKleJge9LXiMQeQGqTsbOwtfBtNV5cGzXE+7kkv/mBJDGHJzK8GHHFSn\r
+X-Received: by 10.140.51.109 with SMTP id t100mr19372074qga.50.1391772364216; \r
+       Fri, 07 Feb 2014 03:26:04 -0800 (PST)\r
+Received: from localhost ([2001:4b98:dc0:43:216:3eff:fe1b:25f3])\r
+       by mx.google.com with ESMTPSA id 30sm8322371qgt.4.2014.02.07.03.26.03\r
+       for <multiple recipients>\r
+       (version=TLSv1.1 cipher=RC4-SHA bits=128/128);\r
+       Fri, 07 Feb 2014 03:26:03 -0800 (PST)\r
+From: Jani Nikula <jani@nikula.org>\r
+To: notmuch@notmuchmail.org,\r
+       cworth@cworth.org\r
+Subject: [PATCH 1/2] emacs: store sort order in the widgets in notmuch-hello\r
+Date: Fri,  7 Feb 2014 12:25:52 +0100\r
+Message-Id:\r
+ <4c3876274126985683e888641b29cf18142a5eb8.1391771337.git.jani@nikula.org>\r
+X-Mailer: git-send-email 1.7.2.5\r
+In-Reply-To: <1391727088-22172-1-git-send-email-cworth@cworth.org>\r
+References: <1391727088-22172-1-git-send-email-cworth@cworth.org>\r
+In-Reply-To: <cover.1391771337.git.jani@nikula.org>\r
+References: <cover.1391771337.git.jani@nikula.org>\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: Fri, 07 Feb 2014 11:26:10 -0000\r
+\r
+---\r
+ emacs/notmuch-hello.el |    4 +++-\r
+ 1 files changed, 3 insertions(+), 1 deletions(-)\r
+\r
+diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el\r
+index 7b3d76b..1c30b47 100644\r
+--- a/emacs/notmuch-hello.el\r
++++ b/emacs/notmuch-hello.el\r
+@@ -325,7 +325,8 @@ diagonal."\r
+ (defun notmuch-hello-widget-search (widget &rest ignore)\r
+   (notmuch-search (widget-get widget\r
+                             :notmuch-search-terms)\r
+-                notmuch-search-oldest-first))\r
++                (widget-get widget\r
++                            :notmuch-search-oldest-first)))\r
\r
+ (defun notmuch-saved-search-count (search)\r
+   (car (process-lines notmuch-command "count" search)))\r
+@@ -462,6 +463,7 @@ Such a list can be computed with `notmuch-hello-query-counts'."\r
+               (widget-create 'push-button\r
+                              :notify #'notmuch-hello-widget-search\r
+                              :notmuch-search-terms query\r
++                             :notmuch-search-oldest-first notmuch-search-oldest-first\r
+                              name)\r
+               (setq column-indent\r
+                     (1+ (max 0 (- column-width (length name)))))))\r
+-- \r
+1.7.2.5\r
+\r