[PATCH 0/1] add some constraints to tag contents

Jani Nikula jani at nikula.org
Thu Nov 10 13:14:30 PST 2011


Hi, spawning from the realization that tags are pretty much unconstrained in
what they can contain (newlines, whitespace, a solo '-' which you can add but
not remove, etc.) there was some talk on IRC about restricting them. Notmuch,
but a little. This patch does just that. Perhaps it should be in lib rather than
cli, but it's a start for a discussion on what's an acceptable tag really.


BR,
Jani.


Jani Nikula (1):
  cli: add some constraints to tags

 notmuch-client.h |    1 +
 notmuch-tag.c    |   20 ++++++++++++++++++++
 2 files changed, 21 insertions(+), 0 deletions(-)

-- 
1.7.5.4



More information about the notmuch mailing list