unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Carl Worth <cworth@cworth.org>
To: Sebastian Spaeth <Sebastian@SSpaeth.de>,
	Olly Betts <olly@survex.com>,
	notmuch@notmuchmail.org
Subject: Re: [PATCH] allow to not sort the search results
Date: Wed, 21 Apr 2010 16:09:52 -0700	[thread overview]
Message-ID: <87d3xsjtbz.fsf@yoom.home.cworth.org> (raw)
In-Reply-To: <87wrw4sw2d.fsf@SSpaeth.de>

[-- Attachment #1: Type: text/plain, Size: 1148 bytes --]

On Sun, 18 Apr 2010 15:56:58 +0200, "Sebastian Spaeth" <Sebastian@SSpaeth.de> wrote:
> > The patches do:
> > 1: Introduce NOTMUCH_SORT_UNSORTED
> > 2: Introduce notmuch search --sort=unsorted
> > 3: Make notmuch tag not sort results by date
> > 
> > #2 is the one I am least sure about, I don't know if there is a use case
> > for notmuch search returning unsorted results. But 1 & 3 are useful at
> > least.
...
> May I advocate patches 1 & 3 for inclusion in 0.3? I've been using this
> in my tree without problems. patch 2 is left to your judgement as to
> whether a "--sort=unsorted" is useful for notmuch search. (it will
> probably rather benefit from a --sort=relevance, I guess).

Done.

I've pushed out 1 & 3 now. I can't find any use case where
--sort=unsorted is interesting for "notmuch search".

If people want to start playing with --sort=relevance then that could be
very interesting. (For me, and for almost all email searches I do, I
almost always want date-based sorting. But if I start having trouble
finding things with particular queries, I might want to play with the
relevance-based stuff.)

-Carl

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

      reply	other threads:[~2010-04-21 23:09 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-14  6:30 [PATCH] allow to not sort the search results Sebastian Spaeth
2010-04-14  6:55 ` Jason White
2010-04-14  7:51   ` Sebastian Spaeth
2010-04-15 12:54     ` Olly Betts
2010-04-16  6:37       ` Sebastian Spaeth
2010-04-16  6:38         ` [PATCH 1/3] query.cc: allow to return query results unsorted Sebastian Spaeth
2010-04-16  6:38         ` [PATCH 2/3] notmuch-search: Introduce --sort=unsorted Sebastian Spaeth
2010-04-16  6:38         ` [PATCH 3/3] notmuch-tag: don't sort messages before applying tag changes Sebastian Spaeth
2010-04-16  6:58         ` [PATCH] allow to not sort the search results Olly Betts
2010-04-18 13:56         ` Sebastian Spaeth
2010-04-21 23:09           ` Carl Worth [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d3xsjtbz.fsf@yoom.home.cworth.org \
    --to=cworth@cworth.org \
    --cc=Sebastian@SSpaeth.de \
    --cc=notmuch@notmuchmail.org \
    --cc=olly@survex.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).