From: David Bremner <david@tethera.net>
To: Ian <saturns_rings@protonmail.com>,
"notmuch@notmuchmail.org" <notmuch@notmuchmail.org>
Subject: Re: [BUG] Minor: config list adds a semi-colon to lists with a single item until set
Date: Sat, 18 Nov 2017 16:13:07 -0400 [thread overview]
Message-ID: <87o9nz73cc.fsf@tethera.net> (raw)
In-Reply-To: <6O3LTUhoXlrnkPWCtPJCP4cagU7mFVEdyTpcC_37BoSzStlARXDBa7oczy6hB0jyjGjBQvgj_jFV58cw0aNx-jUg1h1O-FQ7820k68C0X4M=@protonmail.com>
Ian <saturns_rings@protonmail.com> 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.
next prev parent reply other threads:[~2017-11-18 20:13 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-14 21:17 [BUG] Minor: config list adds a semi-colon to lists with a single item until set Ian
2017-11-18 20:13 ` David Bremner [this message]
2022-01-17 23:54 ` [PATCH 1/2] test/setup: add known broken test for single items David Bremner
2022-01-17 23:54 ` [PATCH 2/2] CLI/setup: special case single item lists David Bremner
2022-01-24 13:35 ` David Bremner
2022-01-24 13:37 ` [BUG] Minor: config list adds a semi-colon to lists with a single item until set David Bremner
2022-03-31 9:14 ` Ian
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87o9nz73cc.fsf@tethera.net \
--to=david@tethera.net \
--cc=notmuch@notmuchmail.org \
--cc=saturns_rings@protonmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).