unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: jvolbers@zedat.fu-berlin.de (Jörg Volbers)
To: notmuch@notmuchmail.org
Subject: notmuch-emacs: Highlight the file attachment
Date: Thu, 18 Jun 2020 14:11:20 +0200	[thread overview]
Message-ID: <87bllg4lqv.fsf@joergvolbers.de> (raw)

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

             reply	other threads:[~2020-06-18 13:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-18 12:11 Jörg Volbers [this message]
2020-06-19  9:59 ` notmuch-emacs: Highlight the file attachment David Edmondson

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=87bllg4lqv.fsf@joergvolbers.de \
    --to=jvolbers@zedat.fu-berlin.de \
    --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).