From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 +P9cChyr7mEbRgAAgWs5BA (envelope-from ) for ; Mon, 24 Jan 2022 14:35:24 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id CB6vBxyr7mH7YAEA9RJhRA (envelope-from ) for ; Mon, 24 Jan 2022 14:35:24 +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 D902037B30 for ; Mon, 24 Jan 2022 14:35:23 +0100 (CET) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id C4FB75F6DD; Mon, 24 Jan 2022 13:35:21 +0000 (UTC) Received: from fethera.tethera.net (fethera.tethera.net [IPv6:2607:5300:60:c5::1]) by mail.notmuchmail.org (Postfix) with ESMTP id 48AA45F6CE for ; Mon, 24 Jan 2022 13:35:19 +0000 (UTC) Received: by fethera.tethera.net (Postfix, from userid 1001) id AB8265FC01; Mon, 24 Jan 2022 08:35:18 -0500 (EST) Received: (nullmailer pid 2287404 invoked by uid 1000); Mon, 24 Jan 2022 13:35:17 -0000 From: David Bremner To: Ian , "notmuch@notmuchmail.org" Subject: Re: [PATCH 2/2] CLI/setup: special case single item lists In-Reply-To: <20220117235453.2735624-2-david@tethera.net> References: <6O3LTUhoXlrnkPWCtPJCP4cagU7mFVEdyTpcC_37BoSzStlARXDBa7oczy6hB0jyjGjBQvgj_jFV58cw0aNx-jUg1h1O-FQ7820k68C0X4M=@protonmail.com> <20220117235453.2735624-1-david@tethera.net> <20220117235453.2735624-2-david@tethera.net> Date: Mon, 24 Jan 2022 09:35:17 -0400 Message-ID: <875yq9dzoq.fsf@tethera.net> MIME-Version: 1.0 Message-ID-Hash: FIBY7MMHAL52XDAHXBHNLZHXO3CZ67EB X-Message-ID-Hash: FIBY7MMHAL52XDAHXBHNLZHXO3CZ67EB 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; 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=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1643031323; 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=f5TtzYNHrr6x/WA40wwGOqXrLdmB3tKY8PaN3ZaRjlY=; b=XLEXdeuMFeCnty1x14gTm9RqWW7RsjOkbg8M4xPT0bLQkTUjgGAFwFxWYHWULatTZSSCw2 cWyOM6pZCyj84WUy34AVGp3fyabDkOYP2CyuarliS8k+ff33HCYrUG966vWBuUViElC6gR iWStKtqAQHmpekyfMBwjpARLJRHDX2c1g6j7R/wJN+ecq+K1S9OB2TXuJO+J34iuETd2O3 L3ohTpGxrkVKrMPS0et5flInX47o9W/eW2lkrjnQOz/AOf+hbwvPkXr1gsIhkkPysVQriE CdtnZYXi73hqtLkuHJ2icREp9bcj+8W/RRKZPwM+enT68zIihffu1YZkvyLS9w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1643031323; a=rsa-sha256; cv=none; b=hs9GRJsYtPUZnV2sAkyqkwd/coQRUp7a304wbU8XBk0ffSyVOLC+PT3jkeQ6mkJz54juwK 7NoxFneDiAJ19N0zCGish6yU7UV7jPJv1vM75FiSrRiR+S+4SmCSl2G9cFWinlJikK9whI biscm8knj6MIAfw8z2r1tod5xixDO2JoWGZ/FntsXfYy1XehPpixaELv6ZoAWWScC9towC f8Nbo2qY/LS418NwwoRdftdqkltLv8BIbraYVJRhTjpWGti/YgOitubzQNHkVJmHSJw9sI h37p39AmVrJiGq+5+pai31WGC0WNfpc3L3XE+d0yb6GJ7dYD4lkX4/XvD8jqKw== 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: -2.36 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: D902037B30 X-Spam-Score: -2.36 X-Migadu-Scanner: scn0.migadu.com X-TUID: M60+nF3NbckN David Bremner writes: > This matches the heuristic used by "notmuch config set" to decide if > something is a list. > > This change fixes the bug reported at [1]. > > [1]: id:6O3LTUhoXlrnkPWCtPJCP4cagU7mFVEdyTpcC_37BoSzStlARXDBa7oczy6hB0jyjGjBQvgj_jFV58cw0aNx-jUg1h1O-FQ7820k68C0X4M=@protonmail.com Series applied to master.