* [PATCH] contrib: pick: bugfix: use notmuch-show-mark-read-tags instead of unread
@ 2013-06-01 21:49 Mark Walters
2013-06-02 12:35 ` Tomi Ollila
2013-06-03 0:10 ` David Bremner
0 siblings, 2 replies; 3+ messages in thread
From: Mark Walters @ 2013-06-01 21:49 UTC (permalink / raw)
To: notmuch
Previously pick removed the unread tag from its tag display: since the
tag change is now customisable use the customised variable.
This only affected the tags displayed, not the tags in the database as
notmuch-show (in the view pane) did the actual tag changes.
---
Thanks to Tomi for pointing this out in id:m2r4mecofa.fsf@guru.guru-group.fi
Best wishes
Mark
contrib/notmuch-pick/notmuch-pick.el | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/contrib/notmuch-pick/notmuch-pick.el b/contrib/notmuch-pick/notmuch-pick.el
index 128fabf..9079acf 100644
--- a/contrib/notmuch-pick/notmuch-pick.el
+++ b/contrib/notmuch-pick/notmuch-pick.el
@@ -384,7 +384,8 @@ Does NOT change the database."
(with-current-buffer buffer
(setq notmuch-pick-message-window window)
(add-hook 'kill-buffer-hook 'notmuch-pick-message-window-kill-hook)))
- (notmuch-pick-tag-update-display (list "-unread"))
+ (when notmuch-show-mark-read-tags
+ (notmuch-pick-tag-update-display notmuch-show-mark-read-tags))
(setq notmuch-pick-message-buffer buffer))))
(defun notmuch-pick-show-message-out ()
--
1.7.9.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] contrib: pick: bugfix: use notmuch-show-mark-read-tags instead of unread
2013-06-01 21:49 [PATCH] contrib: pick: bugfix: use notmuch-show-mark-read-tags instead of unread Mark Walters
@ 2013-06-02 12:35 ` Tomi Ollila
2013-06-03 0:10 ` David Bremner
1 sibling, 0 replies; 3+ messages in thread
From: Tomi Ollila @ 2013-06-02 12:35 UTC (permalink / raw)
To: Mark Walters, notmuch
On Sun, Jun 02 2013, Mark Walters <markwalters1009@gmail.com> wrote:
> Previously pick removed the unread tag from its tag display: since the
> tag change is now customisable use the customised variable.
>
> This only affected the tags displayed, not the tags in the database as
> notmuch-show (in the view pane) did the actual tag changes.
> ---
>
> Thanks to Tomi for pointing this out in
> id:m2r4mecofa.fsf@guru.guru-group.fi
LGTM :D
Tomi
>
> Best wishes
>
> Mark
>
> contrib/notmuch-pick/notmuch-pick.el | 3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/contrib/notmuch-pick/notmuch-pick.el b/contrib/notmuch-pick/notmuch-pick.el
> index 128fabf..9079acf 100644
> --- a/contrib/notmuch-pick/notmuch-pick.el
> +++ b/contrib/notmuch-pick/notmuch-pick.el
> @@ -384,7 +384,8 @@ Does NOT change the database."
> (with-current-buffer buffer
> (setq notmuch-pick-message-window window)
> (add-hook 'kill-buffer-hook 'notmuch-pick-message-window-kill-hook)))
> - (notmuch-pick-tag-update-display (list "-unread"))
> + (when notmuch-show-mark-read-tags
> + (notmuch-pick-tag-update-display notmuch-show-mark-read-tags))
> (setq notmuch-pick-message-buffer buffer))))
>
> (defun notmuch-pick-show-message-out ()
> --
> 1.7.9.1
>
> _______________________________________________
> notmuch mailing list
> notmuch@notmuchmail.org
> http://notmuchmail.org/mailman/listinfo/notmuch
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] contrib: pick: bugfix: use notmuch-show-mark-read-tags instead of unread
2013-06-01 21:49 [PATCH] contrib: pick: bugfix: use notmuch-show-mark-read-tags instead of unread Mark Walters
2013-06-02 12:35 ` Tomi Ollila
@ 2013-06-03 0:10 ` David Bremner
1 sibling, 0 replies; 3+ messages in thread
From: David Bremner @ 2013-06-03 0:10 UTC (permalink / raw)
To: Mark Walters, notmuch
Mark Walters <markwalters1009@gmail.com> writes:
> Previously pick removed the unread tag from its tag display: since the
> tag change is now customisable use the customised variable.
>
> This only affected the tags displayed, not the tags in the database as
> notmuch-show (in the view pane) did the actual tag changes.
> ---
Pushed,
d
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-06-03 0:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-01 21:49 [PATCH] contrib: pick: bugfix: use notmuch-show-mark-read-tags instead of unread Mark Walters
2013-06-02 12:35 ` Tomi Ollila
2013-06-03 0:10 ` 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).