From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id CFC4E6DE024A for ; Sat, 18 Nov 2017 12:13:14 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[AWL=0.011, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Y1HPYzyZDrTh for ; Sat, 18 Nov 2017 12:13:13 -0800 (PST) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by arlo.cworth.org (Postfix) with ESMTPS id CF4196DE0183 for ; Sat, 18 Nov 2017 12:13:12 -0800 (PST) Received: from remotemail by fethera.tethera.net with local (Exim 4.89) (envelope-from ) id 1eG9UD-0005sv-4f; Sat, 18 Nov 2017 15:13:09 -0500 Received: (nullmailer pid 10588 invoked by uid 1000); Sat, 18 Nov 2017 20:13:07 -0000 From: David Bremner To: Ian , "notmuch@notmuchmail.org" Subject: Re: [BUG] Minor: config list adds a semi-colon to lists with a single item until set In-Reply-To: <6O3LTUhoXlrnkPWCtPJCP4cagU7mFVEdyTpcC_37BoSzStlARXDBa7oczy6hB0jyjGjBQvgj_jFV58cw0aNx-jUg1h1O-FQ7820k68C0X4M=@protonmail.com> References: <6O3LTUhoXlrnkPWCtPJCP4cagU7mFVEdyTpcC_37BoSzStlARXDBa7oczy6hB0jyjGjBQvgj_jFV58cw0aNx-jUg1h1O-FQ7820k68C0X4M=@protonmail.com> Date: Sat, 18 Nov 2017 16:13:07 -0400 Message-ID: <87o9nz73cc.fsf@tethera.net> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Nov 2017 20:13:15 -0000 Ian writes: > $ notmuch config list > ... > search.exclude_tags=spam > > ; > > <-- Semi-colon > ... > $ notmuch config get search.exclude_tags > spam > $ notmuch config > > set > > search.exclude_tags spam > $ notmuch config get search.exclude_tags > spam > $ notmuch config list > ... > search.exclude_tags=spam <-- No semi-colon Thanks for the report. It looks like two issues. The main one is that "notmuch config list" is not sanitizing the input sufficiently, so if extra ';' are added, they show in the list output. The second is that notmuch setup is adding ; to single item lists. d PS. For better or worse, HTML is bound to get mangled this list.