From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id yIKXMTn7DGHkSwEAgWs5BA (envelope-from ) for ; Fri, 06 Aug 2021 11:04:57 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id JH4iLTn7DGEjTwAAbx9fmQ (envelope-from ) for ; Fri, 06 Aug 2021 09:04:57 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [144.217.243.247]) (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 F110C1531A for ; Fri, 6 Aug 2021 11:04:56 +0200 (CEST) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id DA90D291D0; Fri, 6 Aug 2021 05:04:52 -0400 (EDT) Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by mail.notmuchmail.org (Postfix) with ESMTPS id 5A456291CF for ; Fri, 6 Aug 2021 05:04:49 -0400 (EDT) Received: by mail-wr1-x431.google.com with SMTP id c9so10111025wri.8 for ; Fri, 06 Aug 2021 02:04:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=6N3Fm7nCe8ACJir4Kyd6hKyBQ2qUfMMRRTfVQhFJdQg=; b=rRzXZPTS/uSfdrpbXWI7zAbjvF4xCR68kF2dO1g4b+vb/wamiH2d/stXZwG6A3gF25 EcQ2/yOkBiXUQXd4Z0L1BBwnCr309LZAMMcXvHCPl8gD2LgUldyxQrogI/iZJx4eW3fN eLguHOk978Dr/lVJMguuRcCGXxmXoK9osKZbfkkwRNyiUHXAnncvUfUTW9seq2SdAN16 nO/sbDNRNDmm7rI1xP1u+h/0W9CGZrbj2EatITDffpgR8aFeTQ6lPO65wqonFGATUT/T MM4OLIVp4XUcqxXgbDk6DBl8fGzeQbAym0dVZeXzthgjg17K/V1fmNaXUp1T5kD2lJiC 09xQ== 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:date:message-id:mime-version; bh=6N3Fm7nCe8ACJir4Kyd6hKyBQ2qUfMMRRTfVQhFJdQg=; b=XmBiZmGN5E03gLLYI47/wUyj8P967QoDZfVtqloPrkUlDpfLBRMxTNniZqsqVxxAxG 4mvS+WRNOFu15c75dmnzujqhkuntoiLfzTON+nVsA7bRuDqf/9OjTUXZ3b3V7tP7VSoq GtpWeP7DgOw4Tlr1OJjhKjkMAYpeMyaw6vQPS+It5dkl7VZj7uqFdCVpGPD/r2uKZWm4 P4lyRziFoTqI/0En0CbQbGtFbs7vX+itGZeayfPV5uLvZgfrot0FvI1vQ6MKiNbS1nrG EbLkQUQd+EVScoiFIakVHLM2e+DGpOGC5ogOAIh7pzx+RYuGRYkGSXJLVQHh54epnayt 1PKQ== X-Gm-Message-State: AOAM533VSk1mrap/eIPtsG+rBWEKeHuaxIV7C+Aesyammz0gWzqeEF5O 5u9zBbdG2SYDAqkEavfmQVPemm6bZ3cXdw== X-Google-Smtp-Source: ABdhPJwWDyN53qkmUm6u0gyCEvHU2+6qUORUyylWpCU1FOe9JQCEIp85PnCX64xE9jwitio00K4tPQ== X-Received: by 2002:a5d:6991:: with SMTP id g17mr9683345wru.253.1628240687742; Fri, 06 Aug 2021 02:04:47 -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 u15sm1335533wmq.33.2021.08.06.02.04.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Aug 2021 02:04:47 -0700 (PDT) From: Firmin Martin To: notmuch@notmuchmail.org Subject: Bug: Unrecognized option: --sort=newest-first Date: Fri, 06 Aug 2021 10:56:22 +0200 Message-ID: <87tuk36jex.fsf@gmail.com> MIME-Version: 1.0 Message-ID-Hash: DYZAESMJ3DOAABPN3JSYDMYYHSXJ5GQV X-Message-ID-Hash: DYZAESMJ3DOAABPN3JSYDMYYHSXJ5GQV 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=1628240697; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=IPfrU+SFVlZZbl5aXjad1+R34nAPbj8gTT8lh43GOCw=; b=fpU8n3me63KlxtRgnldjXI9wzuP6WRPTMPVZhbFQZdYq67vC8VKaa+FAfOVMthS54tobsW js3cnaBPnmNBwk2BTPZbbwluH9Q84uwWXJ3NX7oGBmU3+Ro1s2ChcqmzGNAC+iu8/06FIF 2ZFtQ+37UT5nkTNxrOvM4W8es1nOYpvKmEe8eyGn1DSY4iCddGbKn+eRF/GFjyw5NcJr3g bvXI7ECSAfa6JTjIE1LkLdvH2/dj8pNqOpAv3l2J7P8C76Lq/+Qu/CioFq7KuotvsQznHt u+imGTpvSr3LMUiRDlRocxtlYncGLtan+x09w23TpfVh0T37doqOooVgHZOm9w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1628240697; a=rsa-sha256; cv=none; b=HqGmcU2sHV2wXtOplyg9c5394Fg8Sb7OYW6jRpeX37/UqWSbW4Y+7/5TEGATsDRbHoOu8c uEl5yt1EVzKx5gZJyHxPW2NRS1YPsRoTcAlLe3vMimxjh4vl8GBXot7Ectwqq84g8R521c jmt4Ss+ED3l0jZxwkolFLzp/deFrUe3j7ab5v3DNYF7UD0n4v4tCkYV6vuQzk2RJGkZDPP l0eU+T/R8cPkrWjZYMuWw0C5BQnPGFjJNotX5ljCfZNgFzUkVE8ulBsLMeC3hC77KBNsCy ACs6xSOCoOJw3G8sL+jfczxtseGvxRoZlYSwJZgzhdWWAxpazfdyHfZC8DBxMw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20161025 header.b=rRzXZPTS; 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 144.217.243.247 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -0.94 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20161025 header.b=rRzXZPTS; 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 144.217.243.247 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: F110C1531A X-Spam-Score: -0.94 X-Migadu-Scanner: scn0.migadu.com X-TUID: v6VDUVXMq2jA 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