unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Firmin Martin <firmin.martin@ens-lyon.fr>
To: notmuch@notmuchmail.org
Subject: (setq notmuch-search-oldest-first nil) doesn't behave as expected
Date: Wed, 27 Jan 2021 03:08:03 +0100	[thread overview]
Message-ID: <87r1m7169o.fsf@Inspiron.i-did-not-set--mail-host-address--so-tickle-me> (raw)

After upgraded notmuch (now 0.29.3), I realized that 
the following line in my init file

(setq notmuch-search-oldest-first nil)

didn't work anymore when I entered in "all mail". 
That is, my oldest emails show up firstly.

However, when I evaled 

(notmuch-search "*")

my newest emails are displayed. 

I checked the source code of notmuch-search and cannot understand why 
notmuch-search sorts my email oldest-first when it is called interactively.

> (interactive
>  (list
>   ;; Prompt for a query
>   nil
>   ;; Use the default search order (if we're doing a search from a
>   ;; search buffer, ignore any buffer-local overrides)
>   (default-value 'notmuch-search-oldest-first)))

For now, I can sort my email newest-first by customized the
variable. But I would prefer to use setq if possible.

Best,

Firmin Martin

             reply	other threads:[~2021-07-30 23:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-27  2:08 Firmin Martin [this message]
2021-08-02  2:34 ` (setq notmuch-search-oldest-first nil) doesn't behave as expected David Bremner
2021-08-02 16:05   ` Firmin Martin
2023-10-28  3:40   ` Ryan Tate
2023-10-28  3:49     ` Ryan Tate

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=87r1m7169o.fsf@Inspiron.i-did-not-set--mail-host-address--so-tickle-me \
    --to=firmin.martin@ens-lyon.fr \
    --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).