unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [PATCH 0/2] emacs: tree: use notmuch-tag-format-tags
@ 2014-01-11 21:41 Mark Walters
  2014-01-11 21:41 ` [PATCH 1/2] emacs: tree: default face for matching/non-matching messages Mark Walters
  2014-01-13 21:00 ` [PATCH 0/2] emacs: tree: use notmuch-tag-format-tags Tomi Ollila
  0 siblings, 2 replies; 6+ messages in thread
From: Mark Walters @ 2014-01-11 21:41 UTC (permalink / raw)
  To: notmuch

This is a reworking of the second patch in the series
id:1387480344-14326-1-git-send-email-markwalters1009@gmail.com (it
applies on top of the first patch in that series which has been marked
ready)

The first patch gives tree default matching/non-matching faces. This
should make it easier for users to customize the tree display. It also
makes the switch to using notmuch-tag-format-tags easier in patch 2 of
this series.

Best wishes

Mark






Mark Walters (2):
  emacs: tree: default face for matching/non-matching messages
  emacs: tree: use tag-format-tags

 emacs/notmuch-tag.el  |   17 +++++++++--------
 emacs/notmuch-tree.el |   41 +++++++++++++++++++++++++++--------------
 2 files changed, 36 insertions(+), 22 deletions(-)

-- 
1.7.9.1

^ permalink raw reply	[flat|nested] 6+ messages in thread
* [PATCH 0/2] make tree use notmuch-tag-format-tags
@ 2013-12-19 19:12 Mark Walters
  2013-12-19 19:12 ` [PATCH 2/2] emacs: tree: use tag-format-tags Mark Walters
  0 siblings, 1 reply; 6+ messages in thread
From: Mark Walters @ 2013-12-19 19:12 UTC (permalink / raw)
  To: notmuch

My experiments with unread handling lead me to consider showing
added/deleted tags explicitly (eg deleted with strike-through and
added with underlining). The series
id:1387065197-15776-1-git-send-email-markwalters1009@gmail.com does
this by hooking into notmuch-tag-format-tags.

Tree view does not use this functionality so did not get this
feature. This pair of patches makes tree use notmuch-tag-format-tags
so it can get all this extra, as well as the existing functionality
that notmuch-tag-format-tags provides (eg star symbols for flagged
messages)

In doing so I discovered that tree separates the tags with ", " not
just " "; this would change when moving to notmuch-tag-format-tags so
do this trivial change first as it does require a large patch (160
lines) to fix all the test expected outputs.

Best wishes

Mark


Mark Walters (2):
  emacs: tree remove comma separator tags
  emacs: tree: use tag-format-tags

 emacs/notmuch-tag.el                               |   17 ++--
 emacs/notmuch-tree.el                              |    8 +-
 .../notmuch-tree-single-thread                     |    8 +-
 test/tree.expected-output/notmuch-tree-tag-inbox   |  104 ++++++++++----------
 .../notmuch-tree-tag-inbox-tagged                  |  104 ++++++++++----------
 .../notmuch-tree-tag-inbox-thread-tagged           |  104 ++++++++++----------
 6 files changed, 173 insertions(+), 172 deletions(-)

-- 
1.7.9.1

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

end of thread, other threads:[~2014-01-19  0:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-11 21:41 [PATCH 0/2] emacs: tree: use notmuch-tag-format-tags Mark Walters
2014-01-11 21:41 ` [PATCH 1/2] emacs: tree: default face for matching/non-matching messages Mark Walters
2014-01-11 21:49   ` [PATCH 2/2] emacs: tree: use tag-format-tags Mark Walters
2014-01-19  0:06   ` [PATCH 1/2] emacs: tree: default face for matching/non-matching messages David Bremner
2014-01-13 21:00 ` [PATCH 0/2] emacs: tree: use notmuch-tag-format-tags Tomi Ollila
  -- strict thread matches above, loose matches on Subject: below --
2013-12-19 19:12 [PATCH 0/2] make tree " Mark Walters
2013-12-19 19:12 ` [PATCH 2/2] emacs: tree: use tag-format-tags 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).