unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* notmuch-emacs: Highlight the file attachment
@ 2020-06-18 12:11 Jörg Volbers
  2020-06-19  9:59 ` David Edmondson
  0 siblings, 1 reply; 2+ messages in thread
From: Jörg Volbers @ 2020-06-18 12:11 UTC (permalink / raw)
  To: notmuch

Hi there,

When showing a message with notmuch-show, I'd love to highlight 
the file attachment part. I want to distinguish them from the 
other mml stuff which I usually do not need to care about. Is 
there any easy way to determine that part programmatically?

Looking at the text properties in the show buffer, these parts 
seem to be simple buttons with no special property. If notmuch 
show would add a text property when inserting these particular 
buttons, one could simply add a face overlay or something. Or it 
could be wrapped in a special face.

JV

-- 
http://www.joergvolbers.de
https://fu-berlin.academia.edu/joergvolbers
https://www.geisteswissenschaften.fu-berlin.de/we01/institut/mitarbeiter/koop_gaeste/volbers/index.html

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

end of thread, other threads:[~2020-06-19  9:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-18 12:11 notmuch-emacs: Highlight the file attachment Jörg Volbers
2020-06-19  9:59 ` David Edmondson

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