notmuch/util
David Bremner bab633d3ac config: ignore leading/trailing spaces in ';'-delimited lists
In [1] Ciprian observed that it was easy for users to mistakenly
introduce leading and trailing space to new.tags when editing a
notmuch config file. This commit strips spaces on either side of the
';' delimiter when splitting.

In principle it would be possible to support tags (or other config
values) with leading or trailing spaces by processing '\s' escapes in
the input string. Currently such processing is not done.

[1]: id:CA+Tk8fzjPLaEd3vL1f9ebk_bF_RV8PDTLzDupraTkCLCpJAmCg@mail.gmail.com
2021-12-04 12:16:12 -04:00
..
crypto.c util: run uncrustify 2021-03-13 08:45:34 -04:00
crypto.h util: run uncrustify 2021-03-13 08:45:34 -04:00
error_util.c cppcheck: call va_end in _internal_error 2017-08-30 07:12:13 -03:00
error_util.h util: run uncrustify 2019-06-14 07:41:27 -03:00
gmime-extra.c cli/show: produce "email" element in sigstatus 2021-06-26 13:07:47 -03:00
gmime-extra.h cli/show: produce "email" element in sigstatus 2021-06-26 13:07:47 -03:00
hex-escape.c util: run uncrustify 2019-06-14 07:41:27 -03:00
hex-escape.h cli: remove enum names from typedefs 2021-10-23 08:39:16 -03:00
Makefile xutil.c: remove duplicate copies, create new library libutil.a to contain xutil. 2011-10-30 23:09:49 -03:00
Makefile.local compat: rename {,notmuch_}canonicalize_file_name 2021-04-24 08:07:00 -03:00
path-util.c compat: rename {,notmuch_}canonicalize_file_name 2021-04-24 08:07:00 -03:00
path-util.h compat: rename {,notmuch_}canonicalize_file_name 2021-04-24 08:07:00 -03:00
repair.c util: run uncrustify 2021-03-13 08:45:34 -04:00
repair.h util/repair: identify and repair "Mixed Up" mangled messages 2019-09-15 19:06:31 -04:00
string-util.c config: ignore leading/trailing spaces in ';'-delimited lists 2021-12-04 12:16:12 -04:00
string-util.h util: add strsplit_len: simplified strtok with delimiter escaping 2021-02-06 19:06:49 -04:00
talloc-extra.c util: add talloc-extra.[ch] 2012-12-30 21:12:11 -04:00
talloc-extra.h util: make remaining headers includable from C++ 2019-03-11 22:26:50 -03:00
unicode-util.c util: run uncrustify 2019-06-14 07:41:27 -03:00
unicode-util.h util/unicode: allow calling from C++ 2021-09-04 17:07:19 -07:00
util.c util: run uncrustify 2019-06-14 07:41:27 -03:00
util.h fix typos 2018-01-04 20:35:58 -04:00
xutil.c util: run uncrustify 2019-06-14 07:41:27 -03:00
xutil.h util: make remaining headers includable from C++ 2019-03-11 22:26:50 -03:00
zlib-extra.c util: run uncrustify 2021-03-13 08:45:34 -04:00
zlib-extra.h util: run uncrustify 2021-03-13 08:45:34 -04:00