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 2DFD6431FD0 for ; Tue, 6 Sep 2011 08:23:45 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 1.313 X-Spam-Level: * X-Spam-Status: No, score=1.313 tagged_above=-999 required=5 tests=[URI_HEX=1.313] 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 q4Lz52U2iKlb for ; Tue, 6 Sep 2011 08:23:44 -0700 (PDT) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id A5674431FB6 for ; Tue, 6 Sep 2011 08:23:44 -0700 (PDT) Received: from ben.nabble.com ([192.168.236.152]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1R0xV1-0003YO-Iv for notmuch@notmuchmail.org; Tue, 06 Sep 2011 08:23:43 -0700 Date: Tue, 6 Sep 2011 08:23:43 -0700 (PDT) From: Adam Wolfe Gordon To: notmuch@notmuchmail.org Message-ID: <1315322623575-3313863.post@n3.nabble.com> In-Reply-To: <8739gcw4lj.fsf@nikula.org> References: <1314966486-20708-1-git-send-email-jani@nikula.org> <8739gdb7z8.fsf@nikula.org> <878vq4agex.fsf@servo.factory.finestructure.net> <8739gcw4lj.fsf@nikula.org> Subject: Re: [PATCH] emacs: Sort saved searches MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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: Tue, 06 Sep 2011 15:23:45 -0000 Jani Nikula wrote: > > Hmm. Let's look at this from another perspective: do you know if there's > a reasonable way to make ordering of the customized saved searches > easier? It's not exactly user friendly to move items up and down in the > list. Or to sort them. > > On the other hand, the tags are sorted. Saved searches are not. Should > it be possible to display tags in user defined order...? > > I know I can twist this the way I want and carry my own modifications, > but I'd like to make notmuch user friendly for people who don't know > elisp. > My two cents on this, as someone who uses notmuch as a Gmail-alike for non-Gmail email: I keep my saved searches in a particular order, kind of emulating the Gmail sidebar: unread, inbox, sent, all mail. Putting these in alphabetical order either direction would not achieve the goal of having the most used/important saved searches first (i.e. I hardly ever use all mail, so it shouldn't be first in the list). The tags list, on the other hand, I like having sorted to make tags easy to find. It has a different purpose than saved searches for me, so its behavior is different. I think having an option to sort the saved searches is a fine idea. The Emacs Way would probably be to have an option for the sort order that takes the name of a function, which is called to sort the searches. My first thought is that this isn't very user-friendly. But, thinking about it a bit more, if the default causes the searches to be sorted alphabetically, and setting the value to nil causes them not to be sorted, then it's user-friendly for the two most common cases, and still 100% customizable for those who want different sort orders. ----- -- Adam Wolfe Gordon -- View this message in context: http://notmuch.198994.n3.nabble.com/PATCH-emacs-Sort-saved-searches-tp3304068p3313863.html Sent from the notmuch mailing list archive at Nabble.com.