From: Damien Cassou <damien.cassou@gmail.com>
To: notmuch@notmuchmail.org
Subject: [PATCH v3 0/2] Customize how each tag is displayed
Date: Sat, 23 Mar 2013 12:29:52 +0100 [thread overview]
Message-ID: <1364038194-19856-1-git-send-email-damien.cassou@gmail.com> (raw)
[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.
next reply other threads:[~2013-03-23 11:30 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-23 11:29 Damien Cassou [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1364038194-19856-1-git-send-email-damien.cassou@gmail.com \
--to=damien.cassou@gmail.com \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).