From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id MCSwGbAPDWH7bAEAgWs5BA (envelope-from ) for ; Fri, 06 Aug 2021 12:32:16 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id oNVbFbAPDWEwfQAAbx9fmQ (envelope-from ) for ; Fri, 06 Aug 2021 10:32:16 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [IPv6:2607:5300:201:3100::1657]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 1DB941AAFA for ; Fri, 6 Aug 2021 12:32:16 +0200 (CEST) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id DEF1F291FB; Fri, 6 Aug 2021 06:32:12 -0400 (EDT) Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) by mail.notmuchmail.org (Postfix) with ESMTPS id DDAA5291E8 for ; Fri, 6 Aug 2021 06:32:10 -0400 (EDT) Received: by mail-wr1-x42b.google.com with SMTP id n12so392749wrr.2 for ; Fri, 06 Aug 2021 03:32:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:in-reply-to:references:date:message-id:mime-version; bh=y7YROT54NMFQaS/PTssg641DP4rNx7uq7rZzNkrK9vg=; b=C64PLEVFHCVkngokzcIgM6HGHgu38VViSHqdvS8jOcVVRQZdyLvi5DqsWG4vwJ90YH guQbQCR/vwlCk4qFCLxj4atUJuIaCqfJVThPw1x+PsP7ONcHEiEIFICaYMWPfNCRTvsO d16flAuGPQRqjejgB3rzie3BQm1Y2I6BiGozZMGiobCcCUgY03AWVfcNb5zqbvdJFUM8 tsfNJznF7IraApF3SRrZVhzE249WSo1ev7PJpGUHoxo+N/qWrUw4H05YQ0QaZNmjkRcc d0537wEAHftQ51Kp8MMuU2oAC81gPRy9+rp+s48MAxgY5ZtSss+ZCRtVR4C8KRP8Kezo ER5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version; bh=y7YROT54NMFQaS/PTssg641DP4rNx7uq7rZzNkrK9vg=; b=AeoZmlLL0cmEO/ord95UQcc03SrS1p3EV6whyPbtLpNERVJqRS3uhEtnlJMICnOfQ8 lhDIz7rb5mcP2yGclWOmJHrJo6h4+4TjYj1XvaDI2xqo1VfVWYh0nQeT5Jt3jpkAk3S1 3eN1R1xCWrd/Nt9plk5E+z61Iir4rfW/5TOZOr8AFsX3Ah81DR6vvLrG16JfttTqyE/w 0qj2KBW78abh2tDkDwp8iOlqjZDcZRcplsypHzfafzkH+GVyJkOn3AddLkCPlt5/H+M2 aRfSp2Onrjfr+dZ1/g5p6T2Be/05TgPEhYT5/I9bjDdrdS3ECwtBpBmNG1RC8wkRmANs XOPg== X-Gm-Message-State: AOAM533o6j2Omlqd2h+GnK5Ci7wPLPYAcyBV3pXpzCF7qAtyhNiBhC2X f9KQF16KT9Bx9d/yTfq/S+35bOZaXOIbAQ== X-Google-Smtp-Source: ABdhPJw+LiMv546OCmZiE1yFr0Sn/iaJ/7YR3SjGZLPmX1rFhI+JpSEdnG0oMxn45nlI9bvwlNjIWw== X-Received: by 2002:adf:d84b:: with SMTP id k11mr9876624wrl.135.1628245929376; Fri, 06 Aug 2021 03:32:09 -0700 (PDT) Received: from Inspiron (2a01cb04010c42008d2c6b3f69638a28.ipv6.abo.wanadoo.fr. [2a01:cb04:10c:4200:8d2c:6b3f:6963:8a28]) by smtp.gmail.com with ESMTPSA id c190sm8181333wma.21.2021.08.06.03.32.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Aug 2021 03:32:09 -0700 (PDT) From: Firmin Martin To: David Bremner , notmuch@notmuchmail.org Subject: Re: Bug: Unrecognized option: --sort=newest-first In-Reply-To: <87pmuqvpww.fsf@tethera.net> References: <87tuk36jex.fsf@gmail.com> <87pmuqvpww.fsf@tethera.net> Date: Fri, 06 Aug 2021 12:32:08 +0200 Message-ID: <87h7g2279z.fsf@gmail.com> MIME-Version: 1.0 Message-ID-Hash: BEDCWWG4DBUIXL7N7FAE5QQMXBBYRL72 X-Message-ID-Hash: BEDCWWG4DBUIXL7N7FAE5QQMXBBYRL72 X-MailFrom: firminmartin24@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header X-Mailman-Version: 3.2.1 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1628245936; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=MzWT1nB4XK/ZsLQPnrRXIFTst61a+ySGMgfR7pBhSFk=; b=Ia6YtOh8dueBGeuZyNr4X6EHqjjTeZb+RvR6sC8rpKXcFQvdSioBr7ch3gmQS3KI7so/Ta j9nOsw7Jw3G95g7JtIAc5cWNfYRfrAlJTnUCYKteGKWaweH+VacXCiG8F63g+WlXS34KBg o4XHRKNjuu9MSocdIn3TanYw440gACipQjn4RApgXHMbuDLBk6YzL9C6ia8Q99G7qchCSJ TCm6m6ELIvkmVVzD7QpBUNij8iQIdrGYJuTYURe9hpqTE+/mAxo6+E8jIMCcHeDqfCZt/N XZEjk5NQczNRbxLa0FJl2kspULepxGd3a38LykRXdpa6zBtBzRjv6shkzMyBGA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1628245936; a=rsa-sha256; cv=none; b=jQXMbDpbCRFT23Thhl2PVISKHkpMK/RbhxGI9rNNvgagQsP7pICeDs2g2teyIGTSAfisiG PSZYDBn/yLlO+P+/DjIs0jap7LVWWoxfkv6E+Lw88OC4f8f6NNdUnaW1FecSrFJlFmYuMz CWFoPFOPeAhiqDvDjq2ERSFPHTRmiIqapha2J4tspdTZ5BJT2KGelUNcJkOpymlG9odZO9 /SMTjdwDaW/fvLVouh/XMfJdkI1xSc0knoCH9XJDWTUzN1a34su34kJ59GlnhY/MHoE1iV 1LBHbRR27G9L6z7TYcglziFNiJTwpUcRMsRnpl1ggyJbBKXxEbQA8oPSeN9lRA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20161025 header.b=C64PLEVF; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2607:5300:201:3100::1657 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -0.90 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20161025 header.b=C64PLEVF; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2607:5300:201:3100::1657 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 1DB941AAFA X-Spam-Score: -0.90 X-Migadu-Scanner: scn0.migadu.com X-TUID: hU2WGrhGYlPS David Bremner writes: > Firmin Martin 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