unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* (setq notmuch-search-oldest-first nil) doesn't behave as expected
@ 2021-01-27  2:08 Firmin Martin
  2021-08-02  2:34 ` David Bremner
  0 siblings, 1 reply; 5+ messages in thread
From: Firmin Martin @ 2021-01-27  2:08 UTC (permalink / raw)
  To: notmuch

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-10-28  3:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-27  2:08 (setq notmuch-search-oldest-first nil) doesn't behave as expected Firmin Martin
2021-08-02  2:34 ` David Bremner
2021-08-02 16:05   ` Firmin Martin
2023-10-28  3:40   ` Ryan Tate
2023-10-28  3:49     ` Ryan Tate

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).