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 ms5.migadu.com with LMTPS id oCt+Btt0pmLO4wAAbAwnHQ (envelope-from ) for ; Mon, 13 Jun 2022 01:20:59 +0200 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 cNzQBdt0pmIgZgEAG6o9tA (envelope-from ) for ; Mon, 13 Jun 2022 01:20:59 +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 B948A149D2 for ; Mon, 13 Jun 2022 01:20:57 +0200 (CEST) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 15E815F529; Sun, 12 Jun 2022 23:20:55 +0000 (UTC) X-Greylist: delayed 557 seconds by postgrey-1.36 at yantan; Sun, 12 Jun 2022 23:20:51 UTC Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) by mail.notmuchmail.org (Postfix) with ESMTPS id C808B5F3FE for ; Sun, 12 Jun 2022 23:20:51 +0000 (UTC) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 4BF81320091A; Sun, 12 Jun 2022 19:11:32 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Sun, 12 Jun 2022 19:11:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ecocode.net; h= cc:content-type:date:date:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to; s=fm1; t= 1655075491; x=1655161891; bh=r5r0tjmQw8ZsyWoqVB/dwgNHO91WeyUxjQQ DPsCwu94=; b=kTSCso6QyQb5+OetDzqS9EQaLGlwxEVl+zslRXLzr2akkrcz9UJ I5BwrOdfjfYJv5z5CkPkcAZ4ECFEoXANmN0rMXLIwGewlHmxt4LS3O/U0eFxOgwf wzXSLnup7BtrS5JyKvz1q9N2m5pZJasUkDUcHK6uH/cTaCeXIcGknNFiSS+gv4Dl LXAV43BeOtb4r4jUfgr/nfJYbi31r1VbfUn7G5QFyyJbZfBpvhCZ86Rhe+J4At7G PAULYX/RUD7+F3JXKrivDcPeKoWl9sBMb0pq7JABFt0wxWvPviqu9nxiCW6ONcNN AD+zMWwemUuRJhfV1alPJW1joaCTTbBuLjw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:message-id:mime-version :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1655075491; x= 1655161891; bh=r5r0tjmQw8ZsyWoqVB/dwgNHO91WeyUxjQQDPsCwu94=; b=q EqQAmxS0GoGvCvfLoTIeskyWOLX3GMVbkVIe5fBZQV9CULntpiIRj1Nz8uTWVnAF UV24mFD63wdHBbcMleXz0Q7WvLGPCXY5kg6RKaWvuQ+dUY4IXAFSZQanJ9Cvipmy VAmamBvCmUp2EMnfjce489gsYbRQgdKqXMTjwBIdetLGGpIGjgLt/Sda9DKqgExP c7TgiZV0vUwF+zoYX1ambb11OpPDw0mkO8LtnVYzeKjHzdnMEZ0VSMCjGxG8x1lj TBNvfci2g8o1QZA26S4X80p7QzX0dTuZK+oaaGGuRPWmm4ayROwnP4gv89XOMHuE pfIJ7X7cNEE9s/kPg8LAg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrudduiedgudehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkgggtsehttdertddttd dtnecuhfhrohhmpegvrhhikhcutgholhhsohhnuceovggtohesvggtohgtohguvgdrnhgv theqnecuggftrfgrthhtvghrnhepjeekuddtkeevhfejjedvfedtieetkefgueeutedvfe fhteeuheevueffjeegfeevnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehm rghilhhfrhhomhepvggtohesvggtohgtohguvgdrnhgvth X-ME-Proxy: Feedback-ID: ifb71477a:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 12 Jun 2022 19:11:31 -0400 (EDT) From: erik colson To: notmuch@notmuchmail.org Subject: sexp and strings Date: Mon, 13 Jun 2022 01:11:29 +0200 Message-ID: <87o7yxqxy6.fsf@code.pm> MIME-Version: 1.0 Message-ID-Hash: JWDLF7LBL6CPJOT5MFFADFWQ3JQA4GWJ X-Message-ID-Hash: JWDLF7LBL6CPJOT5MFFADFWQ3JQA4GWJ X-MailFrom: eco@ecocode.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 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=1655076058; 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=eoXjMfuO/b8Y7ettctgruacgOl7kg5WxUjhLEkiyL3k=; b=iwTcy9oxlwVV6pdP7Ff92QxBkHCxb3wQIWVJuYlnVpSMm4uJhBiXoMwCJ49FjQgkZbFr8V dLXgRGxGCobsMrZFaKJvqXtQPvRP/VtIa9ALWp3gcw0jOs+CNqPdB5bEf5cj3xQuRBcYRO qZRWKSsNLcR/BCY81hesc8u5wBbRJqV8MQAEkdI//ezENcScCKsqjxYf6okRmftWu/XXNR hw3bRIIdXHGP8MkmeeJ0IKYBH+dcvtU1YFyejAWLtVJeQfrTHO8nasAhroRFCXl4Sd1aZx 9ZrvmE8cY4SBy0qlyeg4IkWxQwuJxyLGqyzm1rE8krZK2wdf70N/pK3oGl5NHw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1655076058; a=rsa-sha256; cv=none; b=qp+2TzyQEQZ611OqVnEs2OrUl1T9yJdjjUND7WOmwcZjCsaZE8wVhMPs7/+6suxqbycSLA EH93SmGw6+WfZPKJEagqHQQi1yQ3AL8bsc32wLjct5lVQdnq443i/tP1anKMJdq15UrfwN Dcn0TSXJ0qsSVeijyviHeDn8gQHM++t/g0jxx/W6myTlXXn7IMjYZmpYM67zNapyZ7HYjK tNMIa/Cqyy0VoPC9T7hmPG16u0rJMAep0KkMmlJTALleFoguqEqG4PFA1OBGY5e5i50EvR mtck8ZeQxjTyNcuWohT7YwAyuYlbvlCySn7fKWgBDjW543wZs1KeHxNVQAMN8Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=ecocode.net header.s=fm1 header.b=kTSCso6Q; dkim=fail ("body hash did not verify") header.d=messagingengine.com header.s=fm2 header.b="q EqQAmx"; dmarc=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: 0.34 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=ecocode.net header.s=fm1 header.b=kTSCso6Q; dkim=fail ("body hash did not verify") header.d=messagingengine.com header.s=fm2 header.b="q EqQAmx"; dmarc=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: B948A149D2 X-Spam-Score: 0.34 X-Migadu-Scanner: scn0.migadu.com X-TUID: /968Up1VhAP1 Hi, I would like to define a squery in my notmuch configuration which would ease a query I often use. The query is tag:/ddddd/ where ddddd are decimal numbers. Now I would like to shorten this to D ddddd wherefor I was thinking of using a macro like: D=(macro (dossier) ((tag (regex ,dossier)))) But this doesn't seem to do the job. Any ideas how I can achieve this ? thx -- erik colson