[PATCH 5/5] NEWS: insert and new refuse invalid tags
authorJani Nikula <jani@nikula.org>
Thu, 1 May 2014 14:42:02 +0000 (17:42 +0300)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 18:02:02 +0000 (10:02 -0800)
a6/36a0b82ebe2d025e15d29ccc61512dfe21ef47 [new file with mode: 0644]

diff --git a/a6/36a0b82ebe2d025e15d29ccc61512dfe21ef47 b/a6/36a0b82ebe2d025e15d29ccc61512dfe21ef47
new file mode 100644 (file)
index 0000000..45251c4
--- /dev/null
@@ -0,0 +1,96 @@
+Return-Path: <jani@nikula.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 2268B431FAF\r
+       for <notmuch@notmuchmail.org>; Thu,  1 May 2014 07:42:53 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References"\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.7\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id dVqpcm28d33u for <notmuch@notmuchmail.org>;\r
+       Thu,  1 May 2014 07:42:49 -0700 (PDT)\r
+Received: from mail-ee0-f41.google.com (mail-ee0-f41.google.com\r
+ [74.125.83.41])       (using TLSv1 with cipher RC4-SHA (128/128 bits))        (No client\r
+ certificate requested)        by olra.theworths.org (Postfix) with ESMTPS id\r
+ 911A8431FBF   for <notmuch@notmuchmail.org>; Thu,  1 May 2014 07:42:18 -0700\r
+ (PDT)\r
+Received: by mail-ee0-f41.google.com with SMTP id t10so2334276eei.0\r
+       for <notmuch@notmuchmail.org>; Thu, 01 May 2014 07:42:17 -0700 (PDT)\r
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+       d=1e100.net; s=20130820;\r
+       h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\r
+       :references:in-reply-to:references;\r
+       bh=ayX1n+kHdrhAel+ODCOizzwj+fKv8GU1DqDCQFDsIc8=;\r
+       b=F+IyLbc0pdsUC9C5+EUbDk+bKkjJw1oyBxvgCDvAHeQz5pIfHMzOGu0sBlJd/jDFC5\r
+       2JGvUwjkirPmWc+HQNJTmXl6/MFHFCoFiZIJClWK7zQbrni9KdxPKwxRP6af2Kz05RK+\r
+       cGQQyNr8eG8c2vk8YKrOsJR7FsLdK4BT3hMNS5CGRREK9XTgRyFFc2mP8Z0H3KvsXKUQ\r
+       MJgYaLhnRAsT19SMQFpj+cmIZr/WTzL7yyE5z6TsP4E9HTqv2EdAjKkgmPBMuSrHvSOY\r
+       jIwDE5BS+F06b3YZg2HQ97GCu2DxhVQhwOdRdM3B1TYt51WXVdAjJ4N58LjOXgF9OyE6\r
+       XE+w==\r
+X-Gm-Message-State:\r
+ ALoCoQnL25wTEmZkTRdQyTui24/1nB7+xgE8X+7AwpZIfO2UH3sG0e84jyyNfj8di/Zv//vnEZDH\r
+X-Received: by 10.14.126.73 with SMTP id a49mr10173533eei.46.1398955337393;\r
+       Thu, 01 May 2014 07:42:17 -0700 (PDT)\r
+Received: from localhost (dsl-hkibrasgw2-58c36f-91.dhcp.inet.fi.\r
+       [88.195.111.91]) by mx.google.com with ESMTPSA id\r
+       x46sm76815733een.17.2014.05.01.07.42.15 for <multiple recipients>\r
+       (version=TLSv1.2 cipher=RC4-SHA bits=128/128);\r
+       Thu, 01 May 2014 07:42:16 -0700 (PDT)\r
+From: Jani Nikula <jani@nikula.org>\r
+To: notmuch@notmuchmail.org,\r
+       david@tethera.net\r
+Subject: [PATCH 5/5] NEWS: insert and new refuse invalid tags\r
+Date: Thu,  1 May 2014 17:42:02 +0300\r
+Message-Id:\r
+ <78c8d1e945c61aeae4c7990a9e9790066c0716d3.1398955196.git.jani@nikula.org>\r
+X-Mailer: git-send-email 1.9.2\r
+In-Reply-To: <cover.1398955196.git.jani@nikula.org>\r
+References: <1398899916-18352-1-git-send-email-david@tethera.net>\r
+       <cover.1398955196.git.jani@nikula.org>\r
+In-Reply-To: <cover.1398955196.git.jani@nikula.org>\r
+References: <cover.1398955196.git.jani@nikula.org>\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Thu, 01 May 2014 14:42:53 -0000\r
+\r
+---\r
+ NEWS | 7 +++++++\r
+ 1 file changed, 7 insertions(+)\r
+\r
+diff --git a/NEWS b/NEWS\r
+index 3d42d08684be..1948072ae43c 100644\r
+--- a/NEWS\r
++++ b/NEWS\r
+@@ -83,6 +83,13 @@ The commands set consistent exit status codes on failures\r
+   the status codes for format version mismatches for commands that\r
+   support formatted output.\r
\r
++Bug fix for checking configured new.tags for invalid tags\r
++\r
++  `notmuch new` and `notmuch insert` now check the user configured\r
++  new.tags for invalid tags, and refuse to apply them, similar to\r
++  `notmuch tag`. Invalid tags are currently the empty string and tags\r
++  starting with `-`.\r
++\r
+ Emacs Interface\r
+ ---------------\r
\r
+-- \r
+1.9.2\r
+\r