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