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 WAGBB+i7k2JzcwAAbAwnHQ (envelope-from ) for ; Sun, 29 May 2022 20:31:04 +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 mI1aB+i7k2KoIAEAauVa8A (envelope-from ) for ; Sun, 29 May 2022 20:31:04 +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)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D63773959A for ; Sun, 29 May 2022 20:31:03 +0200 (CEST) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 4C3385F6C5; Sun, 29 May 2022 18:22:13 +0000 (UTC) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by mail.notmuchmail.org (Postfix) with ESMTP id 22F535F3FE for ; Sun, 29 May 2022 18:22:11 +0000 (UTC) Received: by fethera.tethera.net (Postfix, from userid 1001) id 5F2335FC01; Sun, 29 May 2022 14:22:10 -0400 (EDT) Received: (nullmailer pid 1766090 invoked by uid 1000); Sun, 29 May 2022 18:22:07 -0000 From: David Bremner To: notmuch@notmuchmail.org Subject: [PATCH 2/2] CLI: mention sexp-queries in help topics, alphabetize Date: Sun, 29 May 2022 15:22:04 -0300 Message-Id: <20220529182204.1766073-2-david@tethera.net> X-Mailer: git-send-email 2.35.2 In-Reply-To: <20220529182204.1766073-1-david@tethera.net> References: <20220529182204.1766073-1-david@tethera.net> MIME-Version: 1.0 Message-ID-Hash: FTYYMWJUBT6QQIWG6SF63SSMD5IV65ZE X-Message-ID-Hash: FTYYMWJUBT6QQIWG6SF63SSMD5IV65ZE 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; 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=1653849063; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post; bh=oQW4ZTabRCkPKp2QXoLPhiZs1rrp8q30seZWh8Y7EfA=; b=FcpY43yzUAnI6rmiis7lUifL1g/mf5ALP+5M3PQ8VwGJPMfj484YSk4wzWYh/DtU6rFyPq gKUynkCJe1ZRSfZI4gtDJ0hOsTezUrYfh+DagJtTv6rfc9YF1qPFHtDlJ85iUdIEMHRaeG y6JPVyzkSCTUvMZUYZBN12yMgCZkSfA/dBQz+eUGR41N6cYefYvin8VPVcyE/M9lggh2Si 2CfS4bBm/E3ltEP+55PrCqCAUiJoVrdV/dIePqcUwtSOGsE2bqtcX3t8ZLJw4sJ3Yx9yrQ t0/SaoEt/rSruUfngYRotWPEeDuFaI7Ba50x5KObHdNtttUy3faDpU7uTLDQZg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653849063; a=rsa-sha256; cv=none; b=FbT3tTLiT9Z8iAJ5yrSt88B6gWF1WEmw51xM31sBZZ8BTLLLnPhzWzmMasFb60qbOC3wX8 s12zwKffhH1GLN1tMay63psBN8yWGuWO2ijZyDccRraWMFnqlKcjCFChkMXxYL2EO5iiZD wldOo5Jr680gMAEbrx1z2fpbjLZjxRqBfC69yi8bhh3bGV+O9tYx939J7NWnHE4/hNUioB +0hb/RlhGtEYdQJiPbnYWK5FbYtnrUQjtiIhh5vWdDi7+eZoiAUzlj0EhOkVrRdfR2iLnX RqBXdR+HtYdCjDjg8D7aG+MQqx6lFnSp+pphnDRrlGjYfaurawHmn1eZw43h3g== 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: 5.97 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: D63773959A X-Spam-Score: 5.97 X-Migadu-Scanner: scn0.migadu.com X-TUID: JQ9++do2XYth There does not seem to be an easy way to automate maintaining this list, but new topics are not added very often. --- notmuch.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/notmuch.c b/notmuch.c index c39fcfb2..68a785e2 100644 --- a/notmuch.c +++ b/notmuch.c @@ -211,12 +211,14 @@ typedef struct help_topic { } help_topic_t; static const help_topic_t help_topics[] = { - { "search-terms", - "Common search term syntax." }, { "hooks", "Hooks that will be run before or after certain commands." }, { "properties", "Message property conventions and documentation." }, + { "search-terms", + "Common infix search term syntax." }, + { "sexp-queries", + "Common s-expression search term syntax." }, }; static const command_t * -- 2.35.2