From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id EHL2CXIyJ2PHDgAAbAwnHQ (envelope-from ) for ; Sun, 18 Sep 2022 17:00:02 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 2AkBCXIyJ2N4oQAAG6o9tA (envelope-from ) for ; Sun, 18 Sep 2022 17:00:02 +0200 Received: from mail.notmuchmail.org (yantan.tethera.net [IPv6:2a01:4f9:c011:7a79::1]) (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 A8982D1A9 for ; Sun, 18 Sep 2022 17:00:01 +0200 (CEST) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id B60A05E012; Sun, 18 Sep 2022 14:54:14 +0000 (UTC) Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by mail.notmuchmail.org (Postfix) with ESMTPS id 77F745DC06 for ; Sun, 18 Sep 2022 14:54:12 +0000 (UTC) Received: from fencepost.gnu.org ([2001:470:142:3::e]:59506) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oZvgQ-0004lz-8l; Sun, 18 Sep 2022 10:54:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=gcHc30KFPkoxI5w+O/fGrGnvo044r0jlzQpxQF9Vp6g=; b=CrJFmwBgKJEy1oP687Z6 iM+4ZsZlBNne8rkxCNsN70RqehgrtjmZiqg2lnRlibT3UEVv0jchKEXwvAHyg30lmrMC4G4yZ56mV 5bfjJD2AbDAEyY5D0OKA1v/oU5fu+hsotTmaRVwAHn+acTxOQcE0pKQmof7EqTi/40ec1Ho/1NY7l Bb1EAmZzH9tlFd3O74y9i/K/79Z28CLaJHx5tZW+BIF5ZPJP+MQRnlqL5cffQxxgN3j9ZvDa2Gd5E flb73VB0eu/7/B2nPl8q5dC5tGY3tC6cDHBbhOjpYVVGaBdGRvNr+S9C0uFJErf40z/sZPYhCmsV2 HPO+3EX+9+Z7yQ==; Received: from cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net ([92.233.85.247]:57868 helo=rivendell.localdomain) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oZvgP-0003nl-EE; Sun, 18 Sep 2022 10:54:10 -0400 Received: from localhost (rivendell.localdomain [local]) by rivendell.localdomain (OpenSMTPD) with ESMTPA id 8c2a7b22; Sun, 18 Sep 2022 14:54:03 +0000 (UTC) From: Jose A Ortega Ruiz To: Tomi Ollila , notmuch@notmuchmail.org Subject: Re: [PATCH] emacs: add notmuch-search-edit-search and notmuch-tree-edit-search In-Reply-To: <20220918130550.213777-1-tomi.ollila@iki.fi> References: <20220918130550.213777-1-tomi.ollila@iki.fi> X-Attribution: jao X-Clacks-Overhead: GNU Terry Pratchett X-URL: Date: Sun, 18 Sep 2022 15:54:03 +0100 Message-ID: <87y1ugpwc4.fsf@mail.jao.io> MIME-Version: 1.0 Message-ID-Hash: 4LPRVGBGB7QE54GLVDU27AOMU25Z4VOB X-Message-ID-Hash: 4LPRVGBGB7QE54GLVDU27AOMU25Z4VOB 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; digests; suspicious-header CC: tomi.ollila@iki.fi X-Mailman-Version: 3.3.3 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: DE ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1663513201; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc: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-owner:list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=D+0eHtLB7zUXSqh8WiSL2tJV+9PU+bQCpgiG54R1214=; b=A4lOjiejxlstzk4EGZSebZs/MVVFm2qruXhuudLstuJk9J6U1qYfrxWY0kFxVtPoK/t5/I cj8DDthMHf4tcSFCk02YWoG7Pa5k8O/sQ6ik0e80fHaG39lr04X11nokfjaDhB6qBpGV4u tUKvpC1+3ZwOAtRj6WnA9atitfEYav9l9MD4ReWx/Py1SiThPYha7vYdybu7uHvEBuzA77 a75dh90gVY43PJ7kPsj+1cxl3VgQxeTlCrBpfAd9icGruKsAiyy6u7IF5mAgnaz/okGgws tVsc13yVYS0UlKUg8fOPyGaqXlFg9kUNMorkRHMNF0rQ5rEr8yz6hbHMU8szHA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1663513201; a=rsa-sha256; cv=none; b=s9ol1xLUZOCivneeaYVK10jRHskUNIfdFmHs7HQ+umMlk+lN/Xf1pm0HiKgp5ojOAzdfYg PW4InYMeunJampd0XzzoGHhnyhIpMVV6qd1TG+D9BfsePcUdcUXsPy+pTmGL5tTLqxnEx9 OeyPgMBwoztYnmZlHzvB85VydkoRB57aZb8FwPW8NUO57hnjNAp1SfSFVZANOfgpMWeUBx WjW3Sc/iP+qCuyQYLRoQnhuggb0kF8cRtjAHgtl8KvxvXVM3BV+dMbeghctjwlSTAcUf98 3zUo2pta6DCiu71FVth6LoZgRbCfOluHc/UA1TrU9o7C/s/4hFNJum06uAPrAw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gnu.org header.s=fencepost-gnu-org header.b=CrJFmwBg; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gnu.org (policy=none); spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: 6.50 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gnu.org header.s=fencepost-gnu-org header.b=CrJFmwBg; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gnu.org (policy=none); spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: A8982D1A9 X-Spam-Score: 6.50 X-Migadu-Scanner: scn1.migadu.com X-TUID: b2Jbt6ZRwnf8 looks good, and very useful, to me, fwiw. now i'll have to free E in my keymap, which i was using for something else... i was thinking that, given how crowded those keymaps are becoming, it might be worth considering two-key chords, with the first grouping by "kind" (a la gnus); e.g. "/" could be a prefix for query-related ones. another option for recent emacsen which include transient (the menu system used in magit, for instance) could be to write one for notmuch-search-mode and notmuch-tree-search-mode. (of course, that's also easily done as an external package (i actually remember there is one such, but i didn't like its selection of command/keys), or even in one's init file, but so is the case with almost everything in emacs!) cheers, jao -- Dealing with failure is easy: Work hard to improve. Success is also easy to handle: You've solved the wrong problem. Work hard to improve. - Alan Perlis, Epigrams on Programming