[BUG] Minor: config list adds a semi-colon to lists with a single item until set
David Bremner
david at tethera.net
Sat Nov 18 12:13:07 PST 2017
Ian <saturns_rings at 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.
More information about the notmuch
mailing list