unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: David Bremner <david@tethera.net>
To: Vladimir Panteleev <notmuch@thecybershadow.net>, notmuch@notmuchmail.org
Subject: Re: [PATCH v2] emacs: Add notmuch-update-search-tags
Date: Wed, 06 Sep 2017 10:11:04 -0300	[thread overview]
Message-ID: <87lglsas5z.fsf@tesseract.cs.unb.ca> (raw)
In-Reply-To: <64d9d4d9-2d21-7931-1622-9e6acaf38333@thecybershadow.net>

Vladimir Panteleev <notmuch@thecybershadow.net> writes:

> On 2017-08-29 01:18, David Bremner wrote:
>> Maybe I'm overthinking this, but it seems like we'd need some way to
>> recognize various faces. There is a package called faceup that is
>> targeted at roughly this problem.  I know that racket-mode uses it to
>> test highlighting. Perhaps that's an dependancy we can tolerate for the
>> test suite, at least optionally. Or perhaps some simpler approach can
>> work since we can choose the faces as well.
>
> FWIW, I have had good results with using htmlfontify, which is 
> distributed with Emacs.
>
> Example from the d-mode package:
>
> https://github.com/Emacs-D-Mode-Maintainers/Emacs-D-Mode/blob/a97c92ced57224287a84e7fc48ba9aac6b2afc08/d-mode-test.el#L270-L292
>
> https://github.com/Emacs-D-Mode-Maintainers/Emacs-D-Mode/blob/a97c92ced57224287a84e7fc48ba9aac6b2afc08/tests/fonts.d.html
>
> -- 
> Best regards,
>   Vladimir

That also sounds like a viable approach, with the advantage of not
needing an add-on package.

d

      reply	other threads:[~2017-09-06 13:11 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-14  5:54 [PATCH 0/2] Update search results when tags change Vladimir Panteleev
2017-08-14  5:54 ` [PATCH 1/2] notmuch-tag.el: Fix minor grammar error Vladimir Panteleev
2017-08-23 11:11   ` David Bremner
2017-08-14  5:54 ` [PATCH 2/2] emacs: Add notmuch-update-search-tags Vladimir Panteleev
2017-08-25 11:12   ` David Bremner
2017-08-26  1:50     ` Vladimir Panteleev
2017-08-26  1:55       ` [PATCH v2] " Vladimir Panteleev
2017-08-26 10:23         ` Mark Walters
2017-08-26 17:15           ` Vladimir Panteleev
2017-08-27  7:46             ` Mark Walters
2017-08-29  1:18         ` David Bremner
2017-09-04 22:05           ` Vladimir Panteleev
2017-09-06 13:11             ` David Bremner [this message]

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=87lglsas5z.fsf@tesseract.cs.unb.ca \
    --to=david@tethera.net \
    --cc=notmuch@notmuchmail.org \
    --cc=notmuch@thecybershadow.net \
    /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).