unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Tomi Ollila <tomi.ollila@iki.fi>
To: Jani Nikula <jani@nikula.org>, notmuch@notmuchmail.org
Subject: Re: [PATCH] emacs: update search sort order help to match code
Date: Mon, 10 Jun 2013 18:41:32 +0300	[thread overview]
Message-ID: <m2a9my6kib.fsf@guru.guru-group.fi> (raw)
In-Reply-To: <1370282191-4526-1-git-send-email-jani@nikula.org>

On Mon, Jun 03 2013, Jani Nikula <jani@nikula.org> wrote:

> ---

LGTM.

Tomi

>  emacs/notmuch-lib.el |    7 ++++++-
>  emacs/notmuch.el     |   13 ++-----------
>  2 files changed, 8 insertions(+), 12 deletions(-)
>
> diff --git a/emacs/notmuch-lib.el b/emacs/notmuch-lib.el
> index 28f78e0..c43d5a9 100644
> --- a/emacs/notmuch-lib.el
> +++ b/emacs/notmuch-lib.el
> @@ -68,7 +68,12 @@
>    :group 'notmuch)
>  
>  (defcustom notmuch-search-oldest-first t
> -  "Show the oldest mail first when searching."
> +  "Show the oldest mail first when searching.
> +
> +This variable defines the default sort order for displaying
> +search results. Note that any filtered searches created by
> +`notmuch-search-filter' retain the search order of the parent
> +search."
>    :type 'boolean
>    :group 'notmuch-search)
>  
> diff --git a/emacs/notmuch.el b/emacs/notmuch.el
> index 26ba7e7..cc62088 100644
> --- a/emacs/notmuch.el
> +++ b/emacs/notmuch.el
> @@ -1030,17 +1030,8 @@ depending on the value of `notmuch-poll-script'."
>  (defun notmuch-search-toggle-order ()
>    "Toggle the current search order.
>  
> -By default, the \"inbox\" view created by `notmuch' is displayed
> -in chronological order (oldest thread at the beginning of the
> -buffer), while any global searches created by `notmuch-search'
> -are displayed in reverse-chronological order (newest thread at
> -the beginning of the buffer).
> -
> -This command toggles the sort order for the current search.
> -
> -Note that any filtered searches created by
> -`notmuch-search-filter' retain the search order of the parent
> -search."
> +This command toggles the sort order for the current search. The
> +default sort order is defined by `notmuch-search-oldest-first'."
>    (interactive)
>    (set 'notmuch-search-oldest-first (not notmuch-search-oldest-first))
>    (notmuch-search-refresh-view))
> -- 
> 1.7.10.4
>
> _______________________________________________
> notmuch mailing list
> notmuch@notmuchmail.org
> http://notmuchmail.org/mailman/listinfo/notmuch

  reply	other threads:[~2013-06-10 15:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-03 17:56 [PATCH] emacs: update search sort order help to match code Jani Nikula
2013-06-10 15:41 ` Tomi Ollila [this message]
2013-06-10 19:43 ` Mark Walters
2013-06-25  6:07 ` David Bremner

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=m2a9my6kib.fsf@guru.guru-group.fi \
    --to=tomi.ollila@iki.fi \
    --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).