From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 OCjWAOVCLmNcYQEAbAwnHQ (envelope-from ) for ; Sat, 24 Sep 2022 01:36:05 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id UNHOAOVCLmNsaAAAauVa8A (envelope-from ) for ; Sat, 24 Sep 2022 01:36:05 +0200 Received: from mail.notmuchmail.org (yantan.tethera.net [135.181.149.255]) (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 B501D21A86 for ; Sat, 24 Sep 2022 01:36:04 +0200 (CEST) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id A984D5F3E7; Fri, 23 Sep 2022 23:36:02 +0000 (UTC) Received: from fethera.tethera.net (fethera.tethera.net [IPv6:2607:5300:60:c5::1]) by mail.notmuchmail.org (Postfix) with ESMTP id 092575F368 for ; Fri, 23 Sep 2022 23:35:59 +0000 (UTC) Received: by fethera.tethera.net (Postfix, from userid 1001) id 59AD45FBC0; Fri, 23 Sep 2022 19:35:58 -0400 (EDT) Received: (nullmailer pid 674553 invoked by uid 1000); Fri, 23 Sep 2022 23:35:57 -0000 From: David Bremner To: Jose A Ortega Ruiz , Tomi Ollila , notmuch@notmuchmail.org Subject: Re: [PATCH] emacs: add notmuch-search-edit-search and notmuch-tree-edit-search In-Reply-To: <87y1ugpwc4.fsf@mail.jao.io> References: <20220918130550.213777-1-tomi.ollila@iki.fi> <87y1ugpwc4.fsf@mail.jao.io> Date: Fri, 23 Sep 2022 20:35:57 -0300 Message-ID: <87k05t1x5u.fsf@tethera.net> MIME-Version: 1.0 Message-ID-Hash: BZXOGFUHCEA4KH45OH5U7NKVFBZB4I67 X-Message-ID-Hash: BZXOGFUHCEA4KH45OH5U7NKVFBZB4I67 X-MailFrom: david@tethera.net 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=1663976164; 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; bh=RZ9fBvzTK7liQ6VVlcZtHxyjf8fmp75LXuIxBA4SYlA=; b=Bn5K6rgS4DAZIYYdiCTwaBNxK5Y9fOPKUxsvep9Sx2rHddYbgtwfPDyDqWgPYiNn7dhh8Q 7cMRs2yUfkTcNSdiRi4qHX6wS1lGvjYBkX9suUOXldJQPdwXaheUF55fWC5YI9QBSfhgRT zytVmwVl9tKDDPFoFyfNddzWYUTu/kahP5Jl0CZVSQDngT44DSgUuexUpNyRyiDSFpUUqk h4E0+DfFZwicXu6w8z2mMiXm5So7oAnGWxPnG+Fz3qvzP1zGtgWCXn+SGrS9SL7eqK4C45 UcHSQuvw80ahEcvnchl+srFF4dfxjdW0R8f/WE9UlpVqRQ1xwUBFhTBjGsWm8g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1663976164; a=rsa-sha256; cv=none; b=NOOo7yJ4m/mPojD7uBFg79Fh5gE+ax8wn7ixgBLUP4N1EzAxVe/QDbNZR9DBras6FfVX2r t3qsA09Hjs8v8mcxl9l+jPeH9cNEolLmDNF/gKpRi7/vCviG9XUcjtDswh9dwCYArWzIsz 2ZhdURQGih0oq7INS/zF2UgKvjtqgNf56q5thQKc9PZHiRo71bbUiBEEMZ0kpdNzb6OBuE P1vPLRZ2h0fpO5cGwcva4tsxCoUXHmTt0B7HBI7zA3rfJGT4pbV50J/JlmjYW4kkiwr4nc Eu9HvIgyThFfdlXRL7aQwEtYILkc/RzsmrHHP8qLr8+pTyRcwopF67on3B/vng== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -2.01 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: B501D21A86 X-Spam-Score: -2.01 X-Migadu-Scanner: scn1.migadu.com X-TUID: uEA1Pa/HV8Ei Jose A Ortega Ruiz writes: > 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. At the risk of stating the obvious, we already sortof have this with notmuch-tag-jump and notmuch-jump-search. Maybe that code can be generalized / re-used? It might just be familiarity, but I actually prefer the way our "hydras" work to those of magit. d