unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [PATCH v3 0/2] Customize how each tag is displayed
@ 2013-03-23 11:29 Damien Cassou
  2013-03-23 11:29 ` [PATCH 1/2] emacs: Add notmuch-combine-face-text-property-string Damien Cassou
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Damien Cassou @ 2013-03-23 11:29 UTC (permalink / raw)
  To: notmuch

[PATCH 1/2] emacs: Add notmuch-combine-face-text-property-string
[PATCH 2/2] emacs: possibility to customize the rendering of tags

These patches are the first of an upcoming series whose goal is to
integrate notmuch-labeler into notmuch. See the following for more
details: https://github.com/DamienCassou/notmuch-labeler

- These patches depend on
id:1360013822-6562-1-git-send-email-amdragon@mit.edu
"notmuch-combine-face-text-property improvements" by Austin Clements.

- This series does not have any unit-test to make it smaller and more
  amenable to comments. I will send a patch when requested.

- Patch 1/2 just add a convenient function to call
  `notmuch-combine-face-text-property' on strings.

- Patch 2/2 introduces `notmuch-tagger-formats', a list of pairs (KEY
  FORMAT) to format a tag matching KEY using a special format.
  Currently, an example of such a list is:

   '(("unread" (propertize tag 'face '(:foreground "red")))
     ("flagged" (notmuch-tag-format-image-data tag (notmuch-tag-star-icon))))

  to set the unread tag to be red and the flagged tag to have a star
  picture attached. This variable can be customized, thanks to the
  work of Austin Clements.

- Patch 2/2 also provides 3 pictures, all in SVG and all directly
  embedded in the elisp source code as proposed by Austin Clements and
  Tomi Ollila.


Compared to v2, I took care of Austin Clements' comments by
simplifying embedded SVG pictures and by reorganizing some functions
and their comments.

^ permalink raw reply	[flat|nested] 11+ messages in thread
* [PATCH v2 0/2] Customize how each tag is displayed
@ 2013-02-06 14:53 Damien Cassou
  2013-02-06 14:53 ` [PATCH 1/2] emacs: Add notmuch-combine-face-text-property-string Damien Cassou
  0 siblings, 1 reply; 11+ messages in thread
From: Damien Cassou @ 2013-02-06 14:53 UTC (permalink / raw)
  To: notmuch

[PATCH 1/2] emacs: Add notmuch-combine-face-text-property-string
[PATCH 2/2] emacs: possibility to customize the rendering of tags

These patches are the first of an upcoming series whose goal is to
integrate notmuch-labeler into notmuch. See the following for more
details: https://github.com/DamienCassou/notmuch-labeler

- These patches depend on
id:1360013822-6562-1-git-send-email-amdragon@mit.edu
"notmuch-combine-face-text-property improvements" by Austin Clements.

- This series does not have any unit-test to make it smaller and more
  amenable to comments. I will send a patch when requested.

- Patch 1/2 just add a convenient function to call
  `notmuch-combine-face-text-property' on strings.

- Patch 2/2 introduces `notmuch-tagger-formats', a list of pairs (KEY
  FORMAT) to format a tag matching KEY using a special format.
  Currently, an example of such a list is:

   '(("unread" (propertize tag 'face '(:foreground "red")))
     ("flagged" (notmuch-tag-format-image-data tag (notmuch-tag-star-icon))))

  to set the unread tag to be red and the flagged tag to have a star
  picture attached. This variable can be customized, thanks to the
  work of Austin Clements.

- Patch 2/2 also provides 3 pictures, all in SVG and all directly
  embedded in the elisp source code as proposed by Austin Clements and
  Tomi Ollila.

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

end of thread, other threads:[~2013-03-25 15:46 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-23 11:29 [PATCH v3 0/2] Customize how each tag is displayed Damien Cassou
2013-03-23 11:29 ` [PATCH 1/2] emacs: Add notmuch-combine-face-text-property-string Damien Cassou
2013-03-23 11:42   ` Tomi Ollila
2013-03-25  2:15     ` Austin Clements
2013-03-23 11:29 ` [PATCH 2/2] emacs: possibility to customize the rendering of tags Damien Cassou
2013-03-25 14:22   ` Austin Clements
2013-03-25 14:26     ` Austin Clements
2013-03-25 14:23 ` [PATCH v3 0/2] Customize how each tag is displayed Austin Clements
2013-03-25 15:46   ` David Bremner
2013-03-25 15:46 ` David Bremner
  -- strict thread matches above, loose matches on Subject: below --
2013-02-06 14:53 [PATCH v2 " Damien Cassou
2013-02-06 14:53 ` [PATCH 1/2] emacs: Add notmuch-combine-face-text-property-string Damien Cassou

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