unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [PATCH WIP v4 0/3] emacs: show: redesign unread/read logic
@ 2013-12-10  8:57 Mark Walters
  2013-12-10  8:57 ` [PATCH WIP v4 1/3] emacs: show: mark tags changed since buffer loaded Mark Walters
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Mark Walters @ 2013-12-10  8:57 UTC (permalink / raw)
  To: notmuch

This is v4 of this WIP set; v3 is at id:1386273871-24214-1-git-send-email-markwalters1009@gmail.com

This is still WIP: in particular lots of tests fail (for the obvious
reason that unread is being removed differently). I don't think it's
worth updating them until we have some consensus on how this should
work.

The main change from v3 is to make the added/deleted tag handling
cleaner, and to do something sensible on terminals (where
strike-through is not available). The cleaner handling means it is
easy for a user to revert to the current behaviour (deleted tags
immediately disappear). However, it is much more general and fits
neatly into the existing tag formatting framework.

This is all done in patch 1/3. (The patch is much smaller than it
looks: a large chunk of it is just code-movement). This patch is
independent of the later one; it does still break the tests as the
deleted "unread" tags are no longer removed just shown with
strike-through or inverse-video.

Patches 2 and 3 are unchanged from before. They implement the new
unread handling as described in the previous thread.

As with the earlier versions *all* feedback is gratefully received
including "I HATE IT" (though reasons are nice!)

Best wishes

Mark




Mark Walters (3):
  emacs: show: mark tags changed since buffer loaded
  emacs: show: add an update seen function to post-command-hook
  emacs: show: make `seen' mean user viewed whole message

 emacs/notmuch-show.el |  123 +++++++++++++++++++++++++++++++++++++++++--------
 emacs/notmuch-tag.el  |  105 ++++++++++++++++++++++++++++++------------
 2 files changed, 178 insertions(+), 50 deletions(-)

-- 
1.7.9.1

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-12-10  8:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-10  8:57 [PATCH WIP v4 0/3] emacs: show: redesign unread/read logic Mark Walters
2013-12-10  8:57 ` [PATCH WIP v4 1/3] emacs: show: mark tags changed since buffer loaded Mark Walters
2013-12-10  8:57 ` [PATCH WIP v4 2/3] emacs: show: add an update seen function to post-command-hook Mark Walters
2013-12-10  8:57 ` [PATCH WIP v4 3/3] emacs: show: make `seen' mean user viewed whole message Mark Walters

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).