[PATCH] NEWS for displaying tag changes

Tomi Ollila tomi.ollila at iki.fi
Sat Apr 19 01:08:38 PDT 2014


On Sat, Apr 19 2014, Mark Walters <markwalters1009 at gmail.com> 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 at notmuchmail.org
> http://notmuchmail.org/mailman/listinfo/notmuch


More information about the notmuch mailing list