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