From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id NbqJCZIGdGGjfQAAgWs5BA (envelope-from ) for ; Sat, 23 Oct 2021 14:56:50 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 2AKyBJIGdGFeZgAAB5/wlQ (envelope-from ) for ; Sat, 23 Oct 2021 12:56:50 +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 C4E9A13C8F for ; Sat, 23 Oct 2021 14:56:49 +0200 (CEST) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 9A8AE2C19A; Sat, 23 Oct 2021 08:56:46 -0400 (EDT) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by mail.notmuchmail.org (Postfix) with ESMTP id 285392C194 for ; Sat, 23 Oct 2021 08:56:43 -0400 (EDT) Received: by fethera.tethera.net (Postfix, from userid 1001) id 0AC555FC42; Sat, 23 Oct 2021 08:56:43 -0400 (EDT) Received: (nullmailer pid 1837471 invoked by uid 1000); Sat, 23 Oct 2021 12:56:42 -0000 From: David Bremner To: notmuch@notmuchmail.org Subject: Re: [PATCH 2/2] CLI: move indexopts variable out of shared options block In-Reply-To: <20210612132617.813170-3-david@tethera.net> References: <20210612132617.813170-1-david@tethera.net> <20210612132617.813170-3-david@tethera.net> Date: Sat, 23 Oct 2021 09:56:42 -0300 Message-ID: <878ryjew6t.fsf@tethera.net> MIME-Version: 1.0 Message-ID-Hash: IYTWL6NXG3LVXUGKOR374XKDDY52JA2K X-Message-ID-Hash: IYTWL6NXG3LVXUGKOR374XKDDY52JA2K 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; 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=1634993809; 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-unsubscribe:list-subscribe:list-post; bh=T6lyrWYYAkceJDN75MWbyqtxdYADZ34KtDb8m6AJyO4=; b=lwxR/QWSGGwUHlcoDJcoWGhcVOsFEHLBFXijTJFVWoNWg+P+fucohQATgOKMx134nmwUF6 YZDkSBY8bNN7ceognrvIJ3sYf4NKJOhlvRXe43CHin77hRvneIWMnNcUJPLFYbm8KIwHoD d4b+aDTPL+nIB2Re5wknCGIBuOr0EbC+Gyu089SJJKOtTV9zkDAm84hbanQIAj3WMg0ggs rc8EzC109l0sIrRf+MqalMstWVwoRRc7aYO3KWbfNWp8cPcrmssAUEmv+FJ6Gu7q2C8Dw8 yYdK/H/zdwSh1ZuwrxAIFfXyZpeHTOwrxih0cPp4Es2GyA3ncXncGkPg3b/PDQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1634993809; a=rsa-sha256; cv=none; b=CTB1sPQgZfWOT9PF+S7w0rlwV6w5nPwLn7+LiPBp5NrcRqPyoCu4A1EC6lb+MQS9jDSAng wWSBJ4rc8cFe6BevelgzM5uDEs0SUgfgReOoTRQlVHXd+osZeSBntVjKDSmv6AsTwnpwhs XTeSMsW8WMJpUxkgMXFpLWPAnKbUOQytRSvro+fKZs/QsJZ+uKvRCXAEpQIw0xEG5iHH7W dinaxJ4nOBQ1Uo6mPO/ZT8J2HsAawQSBBQcJiCOsuS9UG8lf++jr9/mfmBg8yJC0UIaoZA gODWvii5TKlZvFYsIIBOke/q9ICMB8YGkXG8h/nEW2Y6SCIzd2HLkGfuxvrOOg== ARC-Authentication-Results: i=1; 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-Spam-Score: -2.15 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: C4E9A13C8F X-Spam-Score: -2.15 X-Migadu-Scanner: scn0.migadu.com X-TUID: gviT/wDgMqRc David Bremner writes: > This reduces the amount of global state. Furthermore, index options > can be set (in principle) in several ways, not just in the one > function for processing indexing command line options. series applied to master. d