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.


Firmin Martin
notmuch mailing list --
To unsubscribe send an email to

Reply via email to