From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id xBRPDOpJ12AKPQAAgWs5BA (envelope-from ) for ; Sat, 26 Jun 2021 17:38:18 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id +GOIB+pJ12BvfAAAB5/wlQ (envelope-from ) for ; Sat, 26 Jun 2021 15:38:18 +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 8756F11107 for ; Sat, 26 Jun 2021 17:38:17 +0200 (CEST) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 0734F290CE; Sat, 26 Jun 2021 11:38:14 -0400 (EDT) Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by mail.notmuchmail.org (Postfix) with ESMTPS id 7FA66290A8 for ; Sat, 26 Jun 2021 11:38:11 -0400 (EDT) Received: from fencepost.gnu.org ([2001:470:142:3::e]:59842) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lxANm-0001xU-KC for notmuch@notmuchmail.org; Sat, 26 Jun 2021 11:38:10 -0400 Received: from cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net ([92.233.85.247]:48172 helo=osgiliath.local) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lxANm-0006H3-FD for notmuch@notmuchmail.org; Sat, 26 Jun 2021 11:38:10 -0400 Received: by osgiliath.local (Postfix, from userid 1000) id DA19B402B4; Sat, 26 Jun 2021 16:38:07 +0100 (BST) From: Jose Antonio Ortega Ruiz To: notmuch@notmuchmail.org Subject: Re: [PATCH 3/7] emacs/tree: command to toggle search sort order in tree mode In-Reply-To: <87h7hkhq7h.fsf@tethera.net> References: <20210626022846.233052-1-jao@gnu.org> <20210626022846.233052-4-jao@gnu.org> <87h7hkhq7h.fsf@tethera.net> X-Attribution: jao X-Clacks-Overhead: GNU Terry Pratchett X-URL: Date: Sat, 26 Jun 2021 16:38:07 +0100 Message-ID: <87zgvcljq8.fsf@gnus.jao.io> MIME-Version: 1.0 Message-ID-Hash: 5YHID6XFUMXA7Z7GEDEN2ZGAPIZJO4JP X-Message-ID-Hash: 5YHID6XFUMXA7Z7GEDEN2ZGAPIZJO4JP X-MailFrom: jao@gnu.org 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=1624721897; 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; bh=4nFmUAL8FSPbT2BUi9WRsAS20pZmHTt/D2Zi3IaWiKc=; b=NwP3vYz5FzUhCE3PwaXxnOj7W2hvp2S6fcBiR0iEwG8biQ04JqUyvOyW5qtKdEZkZBPpZI lkFwwTNPv3Qesu6oUT0lwqDkveXhHrP/IxRO5yhtNqwotR1f1yZDOiYZJTBXgZzdeUbY3f yvcrhw4pm7wf3togJKrdTvF1fu3j9lrJphpe/lxdSD5Anj7g3I3e7fg6fGbG8ehpk1GhDo f5GkmnhqTCUYQijgkT6W794XWfX5cck2t8Rbj5uKGYhcCPCzOkTW0U3RRX5I/UIdQjkU3I dVwamzWLHUwVotOp8ouaAQTRuSY5RAU36agVOe2ONfGjh34x5m9UGdGoU2kNZw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1624721897; a=rsa-sha256; cv=none; b=c5v5hCW7FCm1Xmuw70huU/oVZZvFHK8P3PY5QgblaSPzLEyvkh8I77xMQddAApsmXLqoSS mnIGxU3WjK2F7UUjq9wd4zlCEzqC4tB5JgnBaVYwYYOBJU/l0glivw2SqgbULDJ3G38OPU i9LJxyAATx+ZvWwiFNj6GI3KTKG4G8nsjSXz/kIgulDAvMW0FgEAP58qch/wUP1/39bkoL CdfhBSkg5A7nHOpMa/Ui5TEiD7uTFdoQf6ONsFwWnJ5JvyAG5OZcScIXVv0xJpf6+EmaQ9 k6i6tTWUMrxkAPgdw4b2Q/jz7wLrksSjfZcMuBhdhC5RLpMD+4Lxbw9ztvtrSw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=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: -1.96 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gnu.org (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: 8756F11107 X-Spam-Score: -1.96 X-Migadu-Scanner: scn0.migadu.com X-TUID: MqRive9uwLsu On Sat, Jun 26 2021, David Bremner wrote: > jao writes: > >> New command notmuch-tree-toggle-order for switching the sort order (by >> reissuing the search with a different flag) in a notmuch-tree buffer. >> --- >> emacs/notmuch-tree.el | 14 +++++++++++++- >> 1 file changed, 13 insertions(+), 1 deletion(-) >> >> diff --git a/emacs/notmuch-tree.el b/emacs/notmuch-tree.el >> index 6ef8e439..c23dacfc 100644 >> --- a/emacs/notmuch-tree.el >> +++ b/emacs/notmuch-tree.el >> @@ -322,6 +322,7 @@ then NAME behaves like CMD." >> ;; that additionally close the message window. >> (define-key map [remap notmuch-bury-or-kill-this-buffer] 'notmuch-tree-quit) >> (define-key map [remap notmuch-search] 'notmuch-tree-to-search) >> + (define-key map [remap notmuch-search] 'notmuch-tree-toggle-order) >> (define-key map [remap notmuch-help] 'notmuch-tree-help) >> (define-key map [remap notmuch-mua-new-mail] 'notmuch-tree-new-mail) >> (define-key map [remap notmuch-jump-search] 'notmuch-tree-jump-search) > > That remap command looks like a copy-paste failure. Does it actually > work? it was a copy-paste failure, yes. it's fixed in patch 7.