From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id qPLNAC8OJWGr4AAAgWs5BA (envelope-from ) for ; Tue, 24 Aug 2021 17:20:15 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 0Lb1Ny4OJWHHYQAAbx9fmQ (envelope-from ) for ; Tue, 24 Aug 2021 15:20:14 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [IPv6:2607:5300:201:3100::1657]) (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 AF45FBAD9 for ; Tue, 24 Aug 2021 17:20:14 +0200 (CEST) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 5BCD5200A9; Tue, 24 Aug 2021 11:20:08 -0400 (EDT) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by mail.notmuchmail.org (Postfix) with ESMTP id 2F0A41FB64 for ; Tue, 24 Aug 2021 11:20:06 -0400 (EDT) Received: by fethera.tethera.net (Postfix, from userid 1001) id B983D5FD5C; Tue, 24 Aug 2021 11:20:05 -0400 (EDT) Received: (nullmailer pid 2942825 invoked by uid 1000); Tue, 24 Aug 2021 15:17:51 -0000 From: David Bremner To: notmuch@notmuchmail.org Subject: v5 sexp query parser Date: Tue, 24 Aug 2021 08:17:09 -0700 Message-Id: <20210824151745.2941868-1-david@tethera.net> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Message-ID-Hash: IO4WWS43UJC7QM4XY67OHCUXEROTSEPR X-Message-ID-Hash: IO4WWS43UJC7QM4XY67OHCUXEROTSEPR X-MailFrom: bremner@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; 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=1629818414; 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-unsubscribe:list-subscribe:list-post; bh=m+aswRuXAGyosx80sxDgy6Nnc3ZBvZcwUFUb0iwBia8=; b=KXdrfDEzEY0znFKlhCHkJpDbtZYw8TcXliQI7OeqygGu9CjGRJcOiOxsAvbb/ZCX3OBl0o NQy/JnDHOx4dfKz2wPoGA1WH9C9ok1YlLUd8gJ+YPq6ruUHO2LLadGLWWdfqaklGk1lBhQ NQ9gg7AqCMa61x6Iepv/e6Jz3WiauGl7zdCRrhHJaRiHEqbdhWf3Zhp7B9Er7z8ZGS7BsD ++Lr/Smp0LJ25p+oFf0pAtZJpegl2skmQU7okcQRDvEvr3k9H+sQgRMkaP67ly/KGdY2I2 27chQodBPrQrujaII3H5vjY71eh/2ehnnIxE+f4jJNdMPIwdTTTrIlQe+Blr9A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1629818414; a=rsa-sha256; cv=none; b=sb7KklydeQS6K9QcSAg/WG+LPOjn0eFUmm14u5xGUr2l1xmkw2nEJnAAgPZeaw3nm0an16 XMwReYyusKCK2tO9cMpxA84VTNn397+NgQiIiPZHRUGd006c4uvmwmuHyo+23T5nu1uz0p VbmtiFllcftVeXcx0PzKEfMSElYB5p2ghf/+31NMp35hc05L8rIF4pcF8sHnup/59A+Lg4 qmCeh6/3ARLcCEp4XBf8LYczPRJsmuOq5TSzes5VfKvFdGPhy1SHFGHnDk5Gx4uhlCu5Q4 FQpKr+JUAVebXH788PkfdIaQ4e25YbXqokc8thuoqNQBcXg6VpRaRQar6HOkpg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2607:5300:201:3100::1657 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -0.93 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2607:5300:201:3100::1657 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: AF45FBAD9 X-Spam-Score: -0.93 X-Migadu-Scanner: scn0.migadu.com X-TUID: IlmaRbPAa1vu Changes since v4: 1) --query=sexp is now recognized for all notmuch subcommands (and ignored where there is no query argument). 2) cleanup for the (common) case of missing the sfsexp library 3) An updated "SYNOPSIS" and "DESCRIPTION" the notmuch-sexp-queries(7) man page. I don't plan on applying this for 0.33, but will probably go ahead and apply something like this series to master soon after the 0.33 release. So now is the time to bikeshed. d