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 23511431FD0 for ; Sat, 3 Sep 2011 15:02:14 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.7 X-Spam-Level: X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 fRaWMn9kG0Nl for ; Sat, 3 Sep 2011 15:02:11 -0700 (PDT) Received: from mail-fx0-f53.google.com (mail-fx0-f53.google.com [209.85.161.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 74669431FB6 for ; Sat, 3 Sep 2011 15:02:11 -0700 (PDT) Received: by fxd23 with SMTP id 23so2714951fxd.26 for ; Sat, 03 Sep 2011 15:02:08 -0700 (PDT) Received: by 10.223.55.205 with SMTP id v13mr2768417fag.88.1315087328230; Sat, 03 Sep 2011 15:02:08 -0700 (PDT) Received: from localhost (dsl-hkibrasgw4-fe5cdc00-23.dhcp.inet.fi [80.220.92.23]) by mx.google.com with ESMTPS id f4sm1942785fag.15.2011.09.03.15.02.04 (version=SSLv3 cipher=OTHER); Sat, 03 Sep 2011 15:02:05 -0700 (PDT) From: Jani Nikula To: Tomi Ollila Subject: Re: [PATCH] emacs: Sort saved searches In-Reply-To: References: <1314966486-20708-1-git-send-email-jani@nikula.org> User-Agent: Notmuch/0.7-40-g8c669e9 (http://notmuchmail.org) Emacs/23.2.1 (i686-pc-linux-gnu) Date: Sun, 04 Sep 2011 01:02:03 +0300 Message-ID: <8739gdb7z8.fsf@nikula.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: notmuch@notmuchmail.org 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, 03 Sep 2011 22:02:14 -0000 On Sat, 03 Sep 2011 14:56:09 +0300, Tomi Ollila wrote: > On Fri 02 Sep 2011 15:28, Jani Nikula writes: > > > Display saved searches sorted, like tags are displayed. > > > > This only affects the display of the saved searches, not the order in which > > they are stored in .emacs. > > > > Signed-off-by: Jani Nikula > > --- > > Fun! I reveresed the sorting order so I got 'unread' first ;). Well, I > prefer to sort the value of the (customizable) variable > 'notmuch-saved-searches' myself (unless there is another variable which > also provides 'saved searches' into notmuch-hello buffer)... Well, this is obviously easy to customize... and indeed I've got a ready patch to do just that... but I've been told before to avoid customization and prefer sane defaults instead. So which do we want, really? If you want sorting customizable, then I'll also include a patch to make saving new saved searches append vs. prepend customizable too, as that's important if you don't want sorting. It's fine for me either way, really, with or without customization, as long as one of these ways is upstreamed and I don't have to carry the patches for myself... BR, Jani.