unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: David Bremner <david@tethera.net>
To: William Casarin <jb55@jb55.com>,
	notmuch@notmuchmail.org, notmuch@freelists.org
Subject: Re: notmuch-search: sort by subject or author?
Date: Mon, 04 Sep 2017 10:54:32 -0300	[thread overview]
Message-ID: <87h8wiy3fr.fsf@tethera.net> (raw)
In-Reply-To: <87a82aip0d.fsf@jb55.com>

William Casarin <jb55@jb55.com> writes:

> Hey there,
>
> Is there a way to sort by subject or author in emacs/notmuch-search? I
> find myself wanting to do this a lot. My particular use case is rss
> feeds, where I have many different feeds in my rss tag that I would like
> to group together.
>
> If not, I am interested in adding this feature.
>
> Thanks,
> William

I think it's not really possible at the moment. If you want this to work
with large searches then it probably needs to be done at the CLI level
(see [1] for work in progress adding sorting by file size).

Luckily 'From' and 'Subject' are already value slots in the database,
which means that nothing should have to change in the database to add
those sort orders (i.e. it should be less work than [1]).

[1] id:20170518222708.30032-1-adi@adirat.com

  reply	other threads:[~2017-09-04 13:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-04 13:15 notmuch-search: sort by subject or author? William Casarin
2017-09-04 13:54 ` David Bremner [this message]
2017-09-04 15:30   ` William Casarin

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=87h8wiy3fr.fsf@tethera.net \
    --to=david@tethera.net \
    --cc=jb55@jb55.com \
    --cc=notmuch@freelists.org \
    --cc=notmuch@notmuchmail.org \
    /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).