From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 4IhEBwbF3mGAQAAAgWs5BA (envelope-from ) for ; Wed, 12 Jan 2022 13:09:42 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id uNUIAAbF3mH2QQEAG6o9tA (envelope-from ) for ; Wed, 12 Jan 2022 13:09:42 +0100 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 A94143DC6A for ; Wed, 12 Jan 2022 13:09:41 +0100 (CET) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 291E85F759; Wed, 12 Jan 2022 12:09:37 +0000 (UTC) Received: from lahtoruutu.iki.fi (lahtoruutu.iki.fi [185.185.170.37]) by mail.notmuchmail.org (Postfix) with ESMTPS id 179A35F751 for ; Wed, 12 Jan 2022 12:09:35 +0000 (UTC) Received: from guru.guru-group.fi (unknown [IPv6:2a02:2380:1:9:5054:ff:feb7:a4bc]) (using TLSv1.2 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: too) by lahtoruutu.iki.fi (Postfix) with ESMTPSA id 6C6DE1B000E5 for ; Wed, 12 Jan 2022 14:09:34 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1641989374; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=sc0Hv8mqCzWi0hC0dOrZSiY15SwwoP5z+PcJTitv1XE=; b=UYNZA98+iUtw3seKR5wwr2A2ZzOwvynYDPptMhVUIiGpLLiQUniyXL5OPLjILxsWB8UG1g ux9nS+Z1IAN8lUE/CPcexucBI0Pe866+F41fAdIg/kyLD5/uHxkhjdrLnCOK5oKwzndhuW ggd0pLNAgzabUcHWlzrfh7oEoB0f44DWl/AoQqLBu/f4/yDPTnMpfDfKfPeFzTPMB0bnNo BMzvcVXnZSPRu+xOANzZSP/wF6vD7C1ejSyhTq47JuhvzTBFxo+2PijJCG/oxRyUtrRffX iZ7y9OYhmwAw2gj8+JWQ7WZnYisd+HjVWYTEtEM0llVTsweA89dKeORq4sHNHg== From: Tomi Ollila To: Subject: FYI: emacs / notmuch-search-edit-search User-Agent: Notmuch/0.33+54~gcaf4513 (https://notmuchmail.org) Emacs/27.1 X-Face: HhBM'cA~ MIME-Version: 1.0 ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=too smtp.mailfrom=tomi.ollila@iki.fi ARC-Seal: i=1; s=lahtoruutu; d=iki.fi; t=1641989374; a=rsa-sha256; cv=none; b=k1p2WSsKFhezDkg2tTpNaSAjRzP8/EscYfj6D1c5EqmI7q/FuVbeFk9ubPPDbTGjwOxsKZ BM24IZhOhwHGjffV9m+D3US9DGbeOOjTSWkLgEIUe9QUMzp/anbO35bN37+HIlGlGZtCBQ BImWUDDvM8ffErZ74SD73TYDi1HPL9SWzDHyMLDWvFliiyrwMoh22UqHSEgto2kSLRMyoj 4aho3Js/ep5dBALiHCdp8rUE4K6uJdA5yFtSjlOApINaIctEIJO4+1nAS4vLWf0K8Dz7nn iRTm+Qmc67aKhxFuzBDAU2jB40eGtt1IdbGy7OsewNtAT4XTLz78daS6icvthg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1641989374; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=sc0Hv8mqCzWi0hC0dOrZSiY15SwwoP5z+PcJTitv1XE=; b=HTUm4FeHPdKtKKoa2y6PO6YRpYSafrlj7CVgi7nnfmZ3vSwsK1N5ZFWvoRhYSk6Vs9thm7 Irop+7gOjM7I97aPKHfduFescANLHKriDA8tbaUgFLWMI2thp/6llohHuZD9bGpOXbSQcd 1Ec+x+q+4+hqgQvvTAU3SDOlWU5XEXj5jtBtMT35W4b8olB6Hbh/nh2NP/KiJvWppUJLol 3lSk4AVtzHni3ukU5N1H+Nh9Lzr4y6uw9buls4Wgx1rMLbs23ZAWiRhot9y/1PPX/vuOyX 2i5iTPS2921EU4tYmitxB+h9u4a39jZtyYFxzTXfFdzZbrAyJqtPdiVWSmleYw== Message-ID-Hash: G5PRBINILUDEEPELWYJDZGW5HT72O2Y5 X-Message-ID-Hash: G5PRBINILUDEEPELWYJDZGW5HT72O2Y5 X-MailFrom: tomi.ollila@iki.fi 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 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-Country: DE ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1641989381; 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-owner:list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=pq5cSSDlryjdxCXEe94aUFAoXyMvGaOJExBN+JQeOG8=; b=hFe6TQtx0TEFzgIkyFH2QJB/JIutX6qNhltt0MI4uD+AP8fW/YIM7Xkb28NjhOZUPW/Jvo ZEraupQ4dTQz8EZqQ3Ljalnw/PuBSSVydJxh3dztim9VmGdJD98K8zGKMAhUE0WPXzlj3a 5wI4v6u2v5WQONPJh47uqQbt3Vjs2AQ4GKhDVzvhW/Qu6q8zfA8dhVS8Or7YbMFeLykZDW jLzuL/Wj02FuWdiD7LbyuPn/VLkdTFJAf7zJuL/wgIseVJmFYDeEQ8qrZ9UyaOP1ww0xjP 6dsGvym86vFzG2KeJEI2SxuD7LuxuUfEtipR8+IW2QFRRPoaLSLYdXHom70ANA== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1641989381; a=rsa-sha256; cv=fail; b=m+BvHnKvg7rr1p6JnaremwlqUFNvaSQGae/N+xNvDeAuZPOsSg8Ffe7MvYInJ1DiccBbKf Owto/EETOWd+bd9krpAo2cr74axomVPFjHOYG3sRoqdVPcykvq4HPZfnJzN0Cx+HFACOKV JKqRRcEwOlSaNKtzeugkbAdIU2ZmFZHKfpv0NqnDOu0l3yjUyUWFwcFj8glQdsbhIZlqM3 PrGg8NVXUwgpw/aj0DBLy+yG4Hogyxd9gEArnc/Zav9nwtoinXxS+dwk+WJylFi799gG0y eLo4gWcqv9QVz2bcxUHUAsJF7D6TDR025kgXkilbECvzjlYueO1fcJNqI3vngQ== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=iki.fi header.s=lahtoruutu header.b=UYNZA98+; arc=reject ("signature check failed: fail, {[1] = sig:iki.fi:reject}"); 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: -1.34 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=iki.fi header.s=lahtoruutu header.b=UYNZA98+; arc=reject ("signature check failed: fail, {[1] = sig:iki.fi:reject}"); 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: A94143DC6A X-Spam-Score: -1.34 X-Migadu-Scanner: scn0.migadu.com X-TUID: FNjs93SSj06H Hi all I've had this for a while in .emacs.d/notmuch-config.el --- (defun notmuch-search-edit-search () "Edit current search" (interactive) (notmuch-search (read-from-minibuffer "Edit search: " notmuch-search-query-string) notmuch-search-oldest-first)) (define-key notmuch-search-mode-map "e" #'notmuch-search-edit-search) --- It has been very useful for refining one saved search of me -- but today it was shown been far more useful in a large saved search (one I have for nmbug), so I eventually thought this is good thing to share. I also have created commit for that -- and is in my copy of notmuch*.elc but I have not been running it as the above overwrites it ;/ -- also before long ago I had last line as 'notmuch-search-oldest-first)) which was (obviously) incorrect but did not affect me as I have set that variable to true (which is also the default, I think). Tomi PS: initial version used notmuch-group-disjunctive-query-string but it just made it mode complex and usually provided worse content -- so if one thinks about that don't or think how use of it can be improved :D