Re: [PATCH] emacs: notmuch-hello: Add variable to control order or saved-search results
authorKeith Packard <keithp@keithp.com>
Sat, 8 Feb 2014 02:29:55 +0000 (18:29 +1600)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:59:47 +0000 (09:59 -0800)
c3/acc225ffe3fe98bb38f7e18e256048a468e8af [new file with mode: 0644]

diff --git a/c3/acc225ffe3fe98bb38f7e18e256048a468e8af b/c3/acc225ffe3fe98bb38f7e18e256048a468e8af
new file mode 100644 (file)
index 0000000..5615c63
--- /dev/null
@@ -0,0 +1,102 @@
+Return-Path: <keithp@keithp.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 0EF0D431FB6\r
+       for <notmuch@notmuchmail.org>; Fri,  7 Feb 2014 18:30:16 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.01\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.01 tagged_above=-999 required=5\r
+       tests=[T_MIME_NO_TEXT=0.01] 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 qKn+QBBKs2-q for <notmuch@notmuchmail.org>;\r
+       Fri,  7 Feb 2014 18:30:08 -0800 (PST)\r
+Received: from keithp.com (home.keithp.com [63.227.221.253])\r
+       by olra.theworths.org (Postfix) with ESMTP id 99CBD431FBC\r
+       for <notmuch@notmuchmail.org>; Fri,  7 Feb 2014 18:30:08 -0800 (PST)\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by keithp.com (Postfix) with ESMTP id 79D631488019;\r
+       Fri,  7 Feb 2014 18:30:05 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at keithp.com\r
+Received: from keithp.com ([127.0.0.1])\r
+       by localhost (keithp.com [127.0.0.1]) (amavisd-new, port 10024)\r
+       with LMTP id bIwhJLqJibwF; Fri,  7 Feb 2014 18:29:57 -0800 (PST)\r
+Received: by keithp.com (Postfix, from userid 1033)\r
+       id DF3AC1488018; Fri,  7 Feb 2014 18:29:56 -0800 (PST)\r
+Received: from miki.keithp.com (localhost [127.0.0.1])\r
+       by keithp.com (Postfix) with ESMTP id BFED1148C013;\r
+       Fri,  7 Feb 2014 18:29:56 -0800 (PST)\r
+Received: by miki.keithp.com (Postfix, from userid 1001)\r
+       id 5FF3DAF5; Fri,  7 Feb 2014 18:29:56 -0800 (PST)\r
+From: Keith Packard <keithp@keithp.com>\r
+To: Carl Worth <cworth@cworth.org>, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH] emacs: notmuch-hello: Add variable to control order or\r
+       saved-search results\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
+User-Agent: Notmuch/0.17 (http://notmuchmail.org) Emacs/23.4.1\r
+       (i486-pc-linux-gnu)\r
+Date: Fri, 07 Feb 2014 18:29:55 -0800\r
+Message-ID: <86y51ms5ek.fsf@miki.keithp.com>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+       micalg=pgp-sha256; protocol="application/pgp-signature"\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: Sat, 08 Feb 2014 02:30:16 -0000\r
+\r
+--=-=-=\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+Carl Worth <cworth@cworth.org> writes:\r
+\r
+> This allows for the user to control the order that results are\r
+> returned from saved-searches, (and independently from the order of all\r
+> other searches which is controlled by notmuch-search-oldest-first).\r
+\r
+After we lost this from notmuch, I added this to my .emacs, which made\r
+my hello searches oldest first:\r
+\r
+(defun notmuch-hello-widget-search (widget &rest ignore)\r
+ (notmuch-search (widget-get widget\r
+                             :notmuch-search-terms)\r
+                t))\r
+\r
+\r
+=2D-=20\r
+keith.packard@intel.com\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1\r
+\r
+iQIVAwUBUvWWpNsiGmkAAAARAQjDVg//QvBKcqtoewR3QHHjj6jrSdZBrXRoTLgX\r
+H8e1kYShf9F97rOOv/A2GHqCDAvsXx8m/nDm7wWyztKhRkaU8H7Fle4aHewHKsCh\r
+4HJ1bs+hFunmTn1AKBCORUGrSh5nlg7nk0TDEaEhMtZbux5P9SHOrR83o1ZtAbLW\r
+6b52yj0yFiyDSBhEc7uZD5EnpgpB4b6/PtkBaOtMdJDNsQCSHYfT1YObvV28eQwN\r
+xn6Ja5AznYCpliLK7QmjGdLooO/oIshXJ8tGXeQuKOH3Qc9a7jtan2Lnt3ITcGtv\r
+WJ4Hxi+gPZPsV76XEtX3W5U6Lz+XZuSOWD7w4nAupOw4hqWoQXIe61T62LbASweU\r
+UuIH0tyl4X2kQ8+z+2tX7y+RdMcX4H+CVIQz6YLa6JpUHnuchFerjsKUhjkZeSvi\r
+gsGQoHAuhxf/9Xwa2rNRZ02yp0jT7WOMgzTk4Ocj/uRyFUD9KIRoQjjEh3xuPKZq\r
+aK8JMtwxPkz6BHdwqU619PDW6yaEkE0lYrZuu+HNc8cKXiIM3z3S55B1Kip8JW1i\r
+dCqYpTaUwxCDC4lR0GbCAiIeV9YIlYcphuKRn35LPuZ0xTiHW9wH/+dFDKuiyfaJ\r
+v2/T5tXQPFLlUH1ALc7XRji5uyxA3BzUWgIKlsuMNqkq6GIa/fQm7iDUcImQS29a\r
+hS4lXyZRVnw=\r
+=hLN7\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r