unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* Bug: Unrecognized option: --sort=newest-first
@ 2021-08-06  8:56 Firmin Martin
  2021-08-06 10:16 ` David Bremner
  0 siblings, 1 reply; 5+ messages in thread
From: Firmin Martin @ 2021-08-06  8:56 UTC (permalink / raw)
  To: notmuch

If I remember correctly, after upgrading notmuch.el through MELPA,
I have experienced a strange bug when calling
notmuch-tree-from-search-thread in Emacs: it failed due
to the error "Unrecognized option: --sort=newest-first"

The first thing I did was building Notmuch from source to the last
version 0.32.2 (M-x notmuch-version and the CLI command notmuch version
return the same version).

But the error was still there. After investigating a bit, the bug resides
in the notmuch-tree function: it wrongly passes sort-arg to "notmuch
show" which, I believe, doesn't have the option "--sort" at all. Removing it
fixes the bug. Would be grateful if anyone can patch it.

Thanks,

Firmin Martin

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

end of thread, other threads:[~2021-08-06 12:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-06  8:56 Bug: Unrecognized option: --sort=newest-first Firmin Martin
2021-08-06 10:16 ` David Bremner
2021-08-06 10:32   ` Firmin Martin
2021-08-06 11:45     ` Adam Plaice
2021-08-06 12:06       ` Firmin Martin

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