From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id A0C5E6DE0BA2 for ; Wed, 6 Sep 2017 06:11:11 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.001 X-Spam-Level: X-Spam-Status: No, score=-0.001 tagged_above=-999 required=5 tests=[AWL=0.010, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HtYb9RbSOtnX for ; Wed, 6 Sep 2017 06:11:10 -0700 (PDT) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by arlo.cworth.org (Postfix) with ESMTPS id 9D3776DE0A89 for ; Wed, 6 Sep 2017 06:11:10 -0700 (PDT) Received: from remotemail by fethera.tethera.net with local (Exim 4.89) (envelope-from ) id 1dpa3E-0000oQ-0L; Wed, 06 Sep 2017 09:07:28 -0400 Received: (nullmailer pid 10133 invoked by uid 1000); Wed, 06 Sep 2017 13:11:04 -0000 From: David Bremner To: Vladimir Panteleev , notmuch@notmuchmail.org Subject: Re: [PATCH v2] emacs: Add notmuch-update-search-tags In-Reply-To: <64d9d4d9-2d21-7931-1622-9e6acaf38333@thecybershadow.net> References: <41a586b8-5059-7190-3ae6-ab6017795c28@gmail.com> <20170826015541.25937-1-notmuch@thecybershadow.net> <87wp5n18ac.fsf@tethera.net> <64d9d4d9-2d21-7931-1622-9e6acaf38333@thecybershadow.net> Date: Wed, 06 Sep 2017 10:11:04 -0300 Message-ID: <87lglsas5z.fsf@tesseract.cs.unb.ca> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Sep 2017 13:11:11 -0000 Vladimir Panteleev 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