From: Firmin Martin <firminmartin24@gmail.com>
To: David Bremner <david@tethera.net>, notmuch@notmuchmail.org
Subject: Re: Bug: Unrecognized option: --sort=newest-first
Date: Fri, 06 Aug 2021 12:32:08 +0200 [thread overview]
Message-ID: <87h7g2279z.fsf@gmail.com> (raw)
In-Reply-To: <87pmuqvpww.fsf@tethera.net>
David Bremner <david@tethera.net> writes:
> Firmin Martin <firminmartin24@gmail.com> writes:
>
>> 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"
>
> Yep. If you choose to use MELPA, you need to (somehow) keep the notmuch
> binary in sync.
Yeah, that's exactly what I've done. And the bug is unrelated to the
binary: it's in the notmuch-tree function (see the lower part of the bug
report).
command: notmuch show --body\=false --format\=sexp --format-version\=4 --sort\=newest-first --entire-thread thread\:000000000000b4ea\ and\ \(date\:today\ and\ tag\:inbox\)
exit status: 1
stderr:
Unrecognized option: --sort=newest-first
It calls notmuch show with the option --sort, which is wrong.
Firmin
next prev parent reply other threads:[~2021-08-06 10:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2021-08-06 11:45 ` Adam Plaice
2021-08-06 12:06 ` Firmin Martin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87h7g2279z.fsf@gmail.com \
--to=firminmartin24@gmail.com \
--cc=david@tethera.net \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).