unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Tomas Nordin <tomasn@posteo.net>
To: David Wen Riccardi-Zhu <dwrz@dwrz.net>, notmuch@notmuchmail.org
Subject: Re: Search -- Display Recent Dates First
Date: Tue, 27 Dec 2016 19:24:31 +0100	[thread overview]
Message-ID: <8737h9s00w.fsf@flaptop.tomnor.org> (raw)
In-Reply-To: <87vau6qpyz.fsf@dwrz.net>

David Wen Riccardi-Zhu <dwrz@dwrz.net> writes:

> When I run a search with notmuch (on Emacs), olders email are shown first
> (at the top of the screen). This is inconvenient, since the majority of
> my searches relate to more recent emails. Is there a way to flip the
> output around, so that newer mails appear first?

Check out the variable notmuch-search-oldest-first. I have this set in
my notmuch-config:

   (setq notmuch-search-oldest-first t)

you should have

   (setq notmuch-search-oldest-first nil)

I guess. Also, in a notmuch-search buffer, the effect of pressing o for
me is to toggle the search order. C-h k o

   o runs the command notmuch-search-toggle-order, which is an
   interactive compiled Lisp function in `notmuch.el'.

   It is bound to o.

   (notmuch-search-toggle-order)

   Toggle the current search order.

  reply	other threads:[~2016-12-27 18:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-26 22:34 Search -- Display Recent Dates First David Wen Riccardi-Zhu
2016-12-27 18:24 ` Tomas Nordin [this message]
2016-12-28  3:09   ` david wen riccardi-zhu

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=8737h9s00w.fsf@flaptop.tomnor.org \
    --to=tomasn@posteo.net \
    --cc=dwrz@dwrz.net \
    --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).