* [PATCH] NEWS for displaying tag changes
@ 2014-04-19 7:49 Mark Walters
2014-04-19 8:08 ` Tomi Ollila
0 siblings, 1 reply; 4+ messages in thread
From: Mark Walters @ 2014-04-19 7:49 UTC (permalink / raw)
To: notmuch
---
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
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] NEWS for displaying tag changes
2014-04-19 7:49 [PATCH] NEWS for displaying tag changes Mark Walters
@ 2014-04-19 8:08 ` Tomi Ollila
2014-04-19 8:52 ` [PATCH v2] " Mark Walters
0 siblings, 1 reply; 4+ messages in thread
From: Tomi Ollila @ 2014-04-19 8:08 UTC (permalink / raw)
To: Mark Walters, notmuch
On Sat, Apr 19 2014, Mark Walters <markwalters1009@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@notmuchmail.org
> http://notmuchmail.org/mailman/listinfo/notmuch
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH v2] NEWS for displaying tag changes
2014-04-19 8:08 ` Tomi Ollila
@ 2014-04-19 8:52 ` Mark Walters
2014-04-20 22:15 ` David Bremner
0 siblings, 1 reply; 4+ messages in thread
From: Mark Walters @ 2014-04-19 8:52 UTC (permalink / raw)
To: notmuch
---
Fixed the markdown and the bracket error.
Best wishes
Mark
NEWS | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/NEWS b/NEWS
index 19c6556..39fa447 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
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH v2] NEWS for displaying tag changes
2014-04-19 8:52 ` [PATCH v2] " Mark Walters
@ 2014-04-20 22:15 ` David Bremner
0 siblings, 0 replies; 4+ messages in thread
From: David Bremner @ 2014-04-20 22:15 UTC (permalink / raw)
To: Mark Walters, notmuch
Mark Walters <markwalters1009@gmail.com> writes:
> ---
> Fixed the markdown and the bracket error.
pushed.
d
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-04-20 22:15 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-19 7:49 [PATCH] NEWS for displaying tag changes Mark Walters
2014-04-19 8:08 ` Tomi Ollila
2014-04-19 8:52 ` [PATCH v2] " Mark Walters
2014-04-20 22:15 ` David Bremner
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).