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 D5DEB431FB6 for ; Sat, 19 Apr 2014 01:08:52 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] 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 EgscDNdfBKz2 for ; Sat, 19 Apr 2014 01:08:48 -0700 (PDT) Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34]) by olra.theworths.org (Postfix) with ESMTP id 8CF46431FAF for ; Sat, 19 Apr 2014 01:08:48 -0700 (PDT) Received: from guru.guru-group.fi (localhost [IPv6:::1]) by guru.guru-group.fi (Postfix) with ESMTP id 3C73110008F; Sat, 19 Apr 2014 11:08:39 +0300 (EEST) From: Tomi Ollila To: Mark Walters , notmuch@notmuchmail.org Subject: Re: [PATCH] NEWS for displaying tag changes In-Reply-To: <1397893796-21065-1-git-send-email-markwalters1009@gmail.com> References: <1397893796-21065-1-git-send-email-markwalters1009@gmail.com> User-Agent: Notmuch/0.17+201~g56da2d6 (http://notmuchmail.org) Emacs/24.3.1 (x86_64-unknown-linux-gnu) X-Face: HhBM'cA~ MIME-Version: 1.0 Content-Type: text/plain 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 08:08:53 -0000 On Sat, Apr 19 2014, Mark Walters wrote: > --- > 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 perhaps just `'((".*" nil))` and `'((".*" tag))`, former with 2 closing parens ;) Tomi > + 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 > > _______________________________________________ > notmuch mailing list > notmuch@notmuchmail.org > http://notmuchmail.org/mailman/listinfo/notmuch