unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Jeremy Nickurak <not-much@trk.nickurak.ca>
To: notmuch@notmuchmail.org
Subject: Re: [PATCH 0/2] emacs: per saved search sort order
Date: Tue, 2 Oct 2012 17:04:17 -0600	[thread overview]
Message-ID: <CA+eQo_3Sms3bC9+agn8HU4HY7d=dmoTpksCwZGMzYoMig=0kvQ@mail.gmail.com> (raw)
In-Reply-To: <1349209083-7170-1-git-send-email-jani@nikula.org>

Would it be better to include sorting options in the query string?
Then it could just be stored in the saved search, and used outside
saved searches.

On Tue, Oct 2, 2012 at 2:18 PM, Jani Nikula <jani@nikula.org> wrote:
> These (fairly unpolished) patches add support for defining the sort order
> for each saved search individually. The approach is very low-tech and
> simple; providing a separate alist which maps saved search names with sort
> order for the saved searches that should have a sort order overriding the
> default notmuch-search-oldest-first.
>
> Having this embedded directly in notmuch-saved-searches would be nicer, but
> also much more complicated due to backwards compatibility issues. I presume
> the diffstat would be at least an order of magnitude bigger.
>
> The patches may not be up to notmuch standards, but I'm providing them
> anyway should anyone find them useful.
>
> BR,
> Jani.
>
>
> Jani Nikula (2):
>   emacs: store sort order in the widgets in notmuch-hello
>   emacs: add support for defining custom sort order for saved searches
>
>  emacs/notmuch-hello.el |   10 +++++++---
>  emacs/notmuch-lib.el   |    9 +++++++++
>  2 files changed, 16 insertions(+), 3 deletions(-)
>
> --
> 1.7.2.5
>
> _______________________________________________
> notmuch mailing list
> notmuch@notmuchmail.org
> http://notmuchmail.org/mailman/listinfo/notmuch

  parent reply	other threads:[~2012-10-02 23:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-02 20:18 [PATCH 0/2] emacs: per saved search sort order Jani Nikula
2012-10-02 20:18 ` [PATCH 1/2] emacs: store sort order in the widgets in notmuch-hello Jani Nikula
2012-10-02 20:18 ` [PATCH 2/2] emacs: add support for defining custom sort order for saved searches Jani Nikula
2012-10-02 23:04 ` Jeremy Nickurak [this message]
     [not found] <1391727088-22172-1-git-send-email-cworth@cworth.org>
2014-02-07 11:25 ` [PATCH 0/2] emacs: per saved search sort order Jani Nikula

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='CA+eQo_3Sms3bC9+agn8HU4HY7d=dmoTpksCwZGMzYoMig=0kvQ@mail.gmail.com' \
    --to=not-much@trk.nickurak.ca \
    --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).