Re: Looking for the perfect mail client
[notmuch-archives.git] / 67 / 4d38d1a8ad21d68967bb005333581454d049e7
1 Return-Path: <jani@nikula.org>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id 7954B431FD0\r
6         for <notmuch@notmuchmail.org>; Thu, 10 Nov 2011 13:14:37 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.7\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id VQv4dB5bSvy2 for <notmuch@notmuchmail.org>;\r
16         Thu, 10 Nov 2011 13:14:37 -0800 (PST)\r
17 Received: from mail-fx0-f53.google.com (mail-fx0-f53.google.com\r
18         [209.85.161.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id E2C91431FB6\r
21         for <notmuch@notmuchmail.org>; Thu, 10 Nov 2011 13:14:36 -0800 (PST)\r
22 Received: by faan15 with SMTP id n15so3758456faa.26\r
23         for <notmuch@notmuchmail.org>; Thu, 10 Nov 2011 13:14:34 -0800 (PST)\r
24 Received: by 10.223.16.91 with SMTP id n27mr14487672faa.1.1320959674049;\r
25         Thu, 10 Nov 2011 13:14:34 -0800 (PST)\r
26 Received: from localhost (dsl-hkibrasgw4-fe5cdc00-23.dhcp.inet.fi.\r
27         [80.220.92.23])\r
28         by mx.google.com with ESMTPS id l18sm12729669fab.9.2011.11.10.13.14.32\r
29         (version=SSLv3 cipher=OTHER); Thu, 10 Nov 2011 13:14:33 -0800 (PST)\r
30 From: Jani Nikula <jani@nikula.org>\r
31 To: notmuch@notmuchmail.org\r
32 Subject: [PATCH 0/1] add some constraints to tag contents\r
33 Date: Thu, 10 Nov 2011 23:14:30 +0200\r
34 Message-Id: <cover.1320958534.git.jani@nikula.org>\r
35 X-Mailer: git-send-email 1.7.5.4\r
36 X-BeenThere: notmuch@notmuchmail.org\r
37 X-Mailman-Version: 2.1.13\r
38 Precedence: list\r
39 List-Id: "Use and development of the notmuch mail system."\r
40         <notmuch.notmuchmail.org>\r
41 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
42         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
43 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
44 List-Post: <mailto:notmuch@notmuchmail.org>\r
45 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
46 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
47         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
48 X-List-Received-Date: Thu, 10 Nov 2011 21:14:37 -0000\r
49 \r
50 Hi, spawning from the realization that tags are pretty much unconstrained in\r
51 what they can contain (newlines, whitespace, a solo '-' which you can add but\r
52 not remove, etc.) there was some talk on IRC about restricting them. Notmuch,\r
53 but a little. This patch does just that. Perhaps it should be in lib rather than\r
54 cli, but it's a start for a discussion on what's an acceptable tag really.\r
55 \r
56 \r
57 BR,\r
58 Jani.\r
59 \r
60 \r
61 Jani Nikula (1):\r
62   cli: add some constraints to tags\r
63 \r
64  notmuch-client.h |    1 +\r
65  notmuch-tag.c    |   20 ++++++++++++++++++++\r
66  2 files changed, 21 insertions(+), 0 deletions(-)\r
67 \r
68 -- \r
69 1.7.5.4\r
70 \r