(setq notmuch-search-oldest-first nil) doesn't behave as expected

Subject: (setq notmuch-search-oldest-first nil) doesn't behave as expected

Date: Wed, 27 Jan 2021 03:08:03 +0100

To: notmuch@notmuchmail.org

Cc:

From: Firmin Martin


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
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: