unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: William Casarin <jb55@jb55.com>
To: Jani Nikula <jani@nikula.org>, notmuch@notmuchmail.org
Subject: Re: [PATCH 0/6] Sort by from and subject
Date: Sat, 30 Sep 2017 07:55:11 -0700	[thread overview]
Message-ID: <871smome28.fsf@jb55.com> (raw)
In-Reply-To: <87r2uoqyy0.fsf@nikula.org>

Hey Jani,

Jani Nikula <jani@nikula.org> writes:

> I think there are two considerations here:
>
> First, is this something we want to have? Is this generally useful?

Sorting by from and subject are in most mail clients (mutt, gnus, outlook...)

> There's still the issue of From: and Subject: needing more heuristic for
> useful sorting that I mentioned in id:87efrm70ai.fsf@nikula.org.

I think I understand what you mean in id:87efrm70ai.fsf@nikula.org but I
don't have enough knowledge of notmuch to implement what you're asking
:(. I believe these are rare cases because I haven't ran into the issue
you described?

> Second, if we decide we want this, IMHO the interfaces (both human and
> the lib) need to split the sort key and sort order from the
> start. Fixing it later on is not going to be fun.

I agree, I figured that would have been a larger refactor so I decided
not to mix it in with this one. I'll start working on a branch that
addresses this.


Thanks!
William

-- 
https://jb55.com

  reply	other threads:[~2017-09-30 14:55 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-26  5:35 [PATCH 0/6] Sort by from and subject William Casarin
2017-09-26  5:35 ` [PATCH 1/6] sorting: add the ability to sort " William Casarin
2017-09-26  5:35 ` [PATCH 2/6] sorting: update ruby bindings for " William Casarin
2017-09-26  5:35 ` [PATCH 3/6] sorting: update man page William Casarin
2017-09-26  5:35 ` [PATCH 4/6] emacs: replace oldest-first with sort-order William Casarin
2017-09-26  5:35 ` [PATCH 5/6] emacs: notmuch-search-orders William Casarin
2017-09-26  5:35 ` [PATCH 6/6] emacs: add notmuch-search-change-order William Casarin
2017-09-30 10:10 ` [PATCH 0/6] Sort by from and subject Jani Nikula
2017-09-30 14:55   ` William Casarin [this message]
2017-09-30 15:29     ` Jani Nikula
2017-09-30 16:03       ` Mark Walters

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=871smome28.fsf@jb55.com \
    --to=jb55@jb55.com \
    --cc=jani@nikula.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).