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 F25C76DE028C for ; Mon, 4 Sep 2017 15:05:26 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.022 X-Spam-Level: X-Spam-Status: No, score=-0.022 tagged_above=-999 required=5 tests=[AWL=-0.061, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.211, SPF_PASS=-0.001] 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 AQvM3IkRRfQK for ; Mon, 4 Sep 2017 15:05:22 -0700 (PDT) Received: from mail-wr0-f175.google.com (mail-wr0-f175.google.com [209.85.128.175]) by arlo.cworth.org (Postfix) with ESMTPS id 197DD6DE00D3 for ; Mon, 4 Sep 2017 15:05:22 -0700 (PDT) Received: by mail-wr0-f175.google.com with SMTP id y15so4557951wrc.2 for ; Mon, 04 Sep 2017 15:05:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=bnW9g05Xjtiiqq31/GqN+fJ2N1J7imd0sj/2Mu3JZ10=; b=Uv4VCMmm7C5Rw1KZUwolR5uN2MFupDVWrFxEQZ4lYB64RRSJGXdLTVFXh50d3l/DF9 gXOvgpg+6Jxtz26OQRH1oFyCyg009T1+paU+QcfBCCDkHcRTub4VgvUJg0XXKM+I6O+X Gqfu5e+J2gSYLDzADzFnuKUdUxgJd6tqJEnQOUTeWZjBTZQycMjNnO+yWe94zFZEGef2 GXwEBKhG19SuhE2+ldhm4JKSQlhD1bJRdyZCMPeIg2ehEuLhrsV4IwMPNvFnjkuzkB3f /kj1Ln8gXCTo9YXo8QvGUXNHOkfP0YS35re2GA9ikDL4Pi2b3ckum8g65U5hx+WjYI5/ wXKg== X-Gm-Message-State: AHPjjUg0X/8hbwij3xSAWIHD7Wum59IRZfa5+SGz0vaqjWqOLLAFZrNc xqCBhL4mRzcpzwAKZY0= X-Google-Smtp-Source: ADKCNb4dbh/GHtRT3RxDKXhOmL36ljs5TThmWXrLC9UrJ0kuU+MYaWsyR7Y1MDjp8b0bsIt2b1rVJw== X-Received: by 10.223.144.33 with SMTP id h30mr994112wrh.181.1504562720381; Mon, 04 Sep 2017 15:05:20 -0700 (PDT) Received: from home.thecybershadow.net (CyberShadow-1-pt.tunnel.tserv1.bud1.ipv6.he.net. [2001:470:1f1a:172::2]) by smtp.gmail.com with ESMTPSA id n11sm6585388wra.9.2017.09.04.15.05.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 Sep 2017 15:05:19 -0700 (PDT) Subject: Re: [PATCH v2] emacs: Add notmuch-update-search-tags To: David Bremner , notmuch@notmuchmail.org References: <41a586b8-5059-7190-3ae6-ab6017795c28@gmail.com> <20170826015541.25937-1-notmuch@thecybershadow.net> <87wp5n18ac.fsf@tethera.net> From: Vladimir Panteleev Message-ID: <64d9d4d9-2d21-7931-1622-9e6acaf38333@thecybershadow.net> Date: Mon, 4 Sep 2017 22:05:18 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <87wp5n18ac.fsf@tethera.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit 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: Mon, 04 Sep 2017 22:05:27 -0000 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