From 294bb3a6368192b07f426f8e3104eb33a08a8327 Mon Sep 17 00:00:00 2001 From: Mark Walters Date: Sat, 19 Apr 2014 08:49:56 +0100 Subject: [PATCH] [PATCH] NEWS for displaying tag changes --- 5e/7178201917267af17cd1759ac1143263117847 | 107 ++++++++++++++++++++++ 1 file changed, 107 insertions(+) create mode 100644 5e/7178201917267af17cd1759ac1143263117847 diff --git a/5e/7178201917267af17cd1759ac1143263117847 b/5e/7178201917267af17cd1759ac1143263117847 new file mode 100644 index 000000000..acf64d106 --- /dev/null +++ b/5e/7178201917267af17cd1759ac1143263117847 @@ -0,0 +1,107 @@ +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 1BA19431FB6 + for ; Sat, 19 Apr 2014 00:50:16 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0.201 +X-Spam-Level: +X-Spam-Status: No, score=0.201 tagged_above=-999 required=5 + tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, + FREEMAIL_ENVFROM_END_DIGIT=1, FREEMAIL_FROM=0.001, + 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 Oe+yERE5VIJK for ; + Sat, 19 Apr 2014 00:50:12 -0700 (PDT) +Received: from mail-we0-f176.google.com (mail-we0-f176.google.com + [74.125.82.176]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id B3A14431FAF + for ; Sat, 19 Apr 2014 00:50:11 -0700 (PDT) +Received: by mail-we0-f176.google.com with SMTP id x48so2165295wes.7 + for ; Sat, 19 Apr 2014 00:50:09 -0700 (PDT) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; + h=from:to:cc:subject:date:message-id; + bh=KatxebWssWcIFIpea3xh8ANf8WYe74OANjoWILK7IqQ=; + b=KxtQleC0gVqqjfJ0uDquc2Iwk/KIPksGKBP1DAZC7bVBgPMsgb8ltSyZyewn8bgV83 + 0Yn1esYXStegiq/+lpk7jj2NMU2vSwFq8RiMHiIFmHXOz/PmA7t6ltjBIUVP0TeL9okv + UteNUi+X8Qw+k6ggH8i1tjrQ17MeoUzWIIlNXxbfT5G8Vlk4C2M6iNnKsusqZcnFo9Ai + 6JtPTLZE7vbbQc2bOWtZnhQeW3krXy+sMtPRVuUVLchgpP8mzAcZnRSpV6S5BhzITRXg + xFi0kp8NoKm+ZTSa3H67lRt8DOonXarQn6c1Qdh3U5U5krtpepmhAFV/zo/9ztaVr65r + 4SXw== +X-Received: by 10.180.92.34 with SMTP id cj2mr5667513wib.15.1397893809243; + Sat, 19 Apr 2014 00:50:09 -0700 (PDT) +Received: from localhost (94.196.248.227.threembb.co.uk. [94.196.248.227]) + by mx.google.com with ESMTPSA id uy4sm33108682wjc.8.2014.04.19.00.50.07 + for + (version=TLSv1.2 cipher=RC4-SHA bits=128/128); + Sat, 19 Apr 2014 00:50:08 -0700 (PDT) +From: Mark Walters +To: notmuch@notmuchmail.org +Subject: [PATCH] NEWS for displaying tag changes +Date: Sat, 19 Apr 2014 08:49:56 +0100 +Message-Id: <1397893796-21065-1-git-send-email-markwalters1009@gmail.com> +X-Mailer: git-send-email 1.7.10.4 +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: Sat, 19 Apr 2014 07:50:16 -0000 + +--- +I don't know if any special markdown is needed for the two lisp +expressions: '((".*" nil)) and '((".*" tag)) so that may need tweaking. + +Best wishes + +Mark + + NEWS | 21 +++++++++++++++++++++ + 1 file changed, 21 insertions(+) + +diff --git a/NEWS b/NEWS +index 19c6556..ec10c58 100644 +--- a/NEWS ++++ b/NEWS +@@ -52,6 +52,27 @@ The keys of `notmuch-tag-formats` are now regexps + `notmuch-tag-formats` will continue to work as before unless tags + contain regexp special characters like `.` or `*`. + ++Changed tags are now shown in the buffer ++ ++ Previously tag changes made in a buffer were shown immediately. In ++ some cases (particularly automatic tag changes like marking read) ++ this made it hard to see what had happened (e.g., whether the ++ message had been unread). ++ ++ The changes are now shown explicitly in the buffer: by default ++ deleted tags are displayed with red strike-through and added tags ++ are displayed underlined in green (inverse video is used for deleted ++ tags if the terminal does not support strike-through). ++ ++ The variables `notmuch-tag-deleted-formats` and ++ `notmuch-tag-added-formats`, which have the same syntax as ++ `notmuch-tag-formats`, allow this to be customized. ++ ++ Setting `notmuch-tag-deleted-formats` to '((".*" nil))) and ++ `notmuch-tag-added-formats` to '((".*" tag)) will give the old ++ behavior of hiding deleted tags and showing added tags identically ++ to tags already present. ++ + Version variable + + The new, build-time generated variable `notmuch-emacs-version` is used +-- +1.7.10.4 + -- 2.26.2