Bug: Unrecognized option: --sort=newest-first

Subject: Bug: Unrecognized option: --sort=newest-first

Date: Fri, 06 Aug 2021 10:56:22 +0200

To: notmuch@notmuchmail.org

Cc:

From: Firmin Martin


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

Thread: