From 934673302c6b7b42a887d0a8e1a153c481801573 Mon Sep 17 00:00:00 2001 From: MaDhAt2r Date: Sat, 2 Aug 2014 11:09:38 +1900 Subject: [PATCH] Custom Tag Images --- 6a/1654a8172619919ac45329dff6758263bf974c | 115 ++++++++++++++++++++++ 1 file changed, 115 insertions(+) create mode 100644 6a/1654a8172619919ac45329dff6758263bf974c diff --git a/6a/1654a8172619919ac45329dff6758263bf974c b/6a/1654a8172619919ac45329dff6758263bf974c new file mode 100644 index 000000000..77398a7e2 --- /dev/null +++ b/6a/1654a8172619919ac45329dff6758263bf974c @@ -0,0 +1,115 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 11173431FAE + for ; Fri, 1 Aug 2014 09:09:56 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.7 +X-Spam-Level: +X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 + tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id dVNJvQfTVV1r for ; + Fri, 1 Aug 2014 09:09:48 -0700 (PDT) +Received: from mail-ob0-f171.google.com (mail-ob0-f171.google.com + [209.85.214.171]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 0F34F431FB6 + for ; Fri, 1 Aug 2014 09:09:48 -0700 (PDT) +Received: by mail-ob0-f171.google.com with SMTP id wm4so2758094obc.2 + for ; Fri, 01 Aug 2014 09:09:45 -0700 (PDT) +X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=1e100.net; s=20130820; + h=x-gm-message-state:from:to:subject:user-agent:date:message-id + :mime-version:content-type; + bh=EBYPq8vFc+BvT+Hw67lhxvYlPdjtmZRLEALd5ROoMBE=; + b=OF3p+Xszv4O1os+3QgRKaq3YdWCqdEezNFXe25e4/wBSbFMYfaUwKlIH9A5yAfgZ/0 + Ck4WzlZPJnQOQA0yT9YEAzhKEI5xZP+o7p9pQ2aiM6n6TaqA7Kh7YUfcEqPNc8x7OHL7 + XvZ0EJtlQ77NmXP9vfvo7usZoH4DiIbDzgbF/E2I+254YsGpC8nzhpT2etWfpTaYIF4U + x7TIJwdmoBUAmo+gUfSanU6+auPD5KuKMGBacGdbnohhGD3kWRT/Lx2yNIn4E63mA7SP + Zqa/JmPGRwR5KzVX3e5eFsneu9q/albsd76hLqNzOd8z+Djx7RZR+NQxkk+lwlepvsmQ + 5IbA== +X-Gm-Message-State: + ALoCoQmL3CfSi67kIwNN9MMBL95cbLV3v+N54BEESriv3yWNfBuex44S8cIzXmk6yd6acAbHiZ2c +X-Received: by 10.182.65.65 with SMTP id v1mr9796327obs.58.1406909384582; + Fri, 01 Aug 2014 09:09:44 -0700 (PDT) +Received: from localhost (216-177-191-101.block0.gvtc.com. [216.177.191.101]) + by mx.google.com with ESMTPSA id + bv3sm17900191obd.2.2014.08.01.09.09.41 for + (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); + Fri, 01 Aug 2014 09:09:42 -0700 (PDT) +From: MaDhAt2r +To: notmuch@notmuchmail.org +Subject: Custom Tag Images +User-Agent: Notmuch/0.18 (http://notmuchmail.org) Emacs/24.3.1 + (x86_64-unknown-linux-gnu) +Date: Fri, 01 Aug 2014 11:09:38 -0500 +Message-ID: + <877g2stcn1.fsf@ArchNemesis.i-did-not-set--mail-host-address--so-tickle-me> +MIME-Version: 1.0 +Content-Type: text/plain +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +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: Fri, 01 Aug 2014 16:09:56 -0000 + + +Hello Everyone. + + If this is not the place to address this issue, could you please + direct me to the proper forum. + + Info: Using Emacs 24.3.1 on ArchLinux + + I am interested in setting up custom image for some of the tags I use. + + I have tried to use a svg file by setting it in the following ways: + + (defun notmuch-tag-list-icon () + "Return SVG data representing a list. + This can be used with `notmuch-tag-format-image-data'." + + " + + + + + + + + ") + + and setting it like I do the default images. e.g. + (setq notmuch-tag-formats '( + ("flagged" (notmuch-tag-format-image-data tag (notmuch-tag-star-icon))) + ("lists" (notmuch-tag-format-image-data tag (notmuch-tag-list-icon))) + )) + + I have also tried via the customize image setting and using the path to + the file. + + Both ways produce nothing but a colored rectangle. + + I have downloaded the file in question from http://IcoMoon.io + + Am I missing something obvious here, or is this svg perhaps formatted + incorrectly for notmuch emacs? + + Any pointers in the right direction are greatly appreciated. + + Thanks. -- 2.26.2