From 1b1a3f3a65177adf435e42328dcae4135f2350b8 Mon Sep 17 00:00:00 2001 From: MaDhAt2r Date: Fri, 1 Aug 2014 19:34:36 +1900 Subject: [PATCH] Custom Tag Images --- cf/98d48f71060b1b578bd26946083cf6f0f6a4b5 | 117 ++++++++++++++++++++++ 1 file changed, 117 insertions(+) create mode 100644 cf/98d48f71060b1b578bd26946083cf6f0f6a4b5 diff --git a/cf/98d48f71060b1b578bd26946083cf6f0f6a4b5 b/cf/98d48f71060b1b578bd26946083cf6f0f6a4b5 new file mode 100644 index 000000000..079e0ca81 --- /dev/null +++ b/cf/98d48f71060b1b578bd26946083cf6f0f6a4b5 @@ -0,0 +1,117 @@ +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 1CA12431FB6 + for ; Thu, 31 Jul 2014 17:34:39 -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=unavailable +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 yXumY2NPnmuN for ; + Thu, 31 Jul 2014 17:34:39 -0700 (PDT) +Received: from mail-ob0-f176.google.com (mail-ob0-f176.google.com + [209.85.214.176]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id E4C9F431FAE + for ; Thu, 31 Jul 2014 17:34:38 -0700 (PDT) +Received: by mail-ob0-f176.google.com with SMTP id wo20so2171495obc.35 + for ; Thu, 31 Jul 2014 17:34:38 -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=JQQ5W8AYWk1YUmEr3AjYvGWZfGPa9AAAm8LqO9SWh65hyIWpgVMrYJnqsdc6lBteDV + 3HrSmklPfbgyBQeznRJSJZeWubAGq9WiIg6coY7eQ9iuOxIBc9YPTyq5vCvZHn+v73XQ + qviPvabd1WMeiQiltG2nC4siCDx7pAzUbD4HAHtGugbHw84FzjYOtjgwfO886pW2XOYl + hMfo5A8GY+ZhQwjwO4NddeJB38KUtavuGnj+IR2sYchXGWkJzRsiLsVRkX6rtaSfrGIi + 1EVA31Csxz+Ep1LwxoLtZ9pazq+ApYmcbLrzMnJhN/3lkpKSqewg0lyZCS2pg+kWdvsE + gSxw== +X-Gm-Message-State: + ALoCoQkRBr7JpYNJUMcLSvsX9Y2Xikhx+ltCZj7YiTL/MsT7U8NJF0hs/FRXFdbSKVtFcqGG3BET +X-Received: by 10.182.126.233 with SMTP id nb9mr2634330obb.46.1406853278482; + Thu, 31 Jul 2014 17:34:38 -0700 (PDT) +Received: from localhost (216-177-191-101.block0.gvtc.com. [216.177.191.101]) + by mx.google.com with ESMTPSA id + i19sm28899993oes.17.2014.07.31.17.34.37 for + (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); + Thu, 31 Jul 2014 17:34:38 -0700 (PDT) +From: MaDhAt2r +X-Google-Original-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: Thu, 31 Jul 2014 19:34:36 -0500 +Message-ID: + <878un9kpyb.fsf@ArchNemesis.i-did-not-set--mail-host-address--so-tickle-me> +MIME-Version: 1.0 +Content-Type: text/plain +X-Mailman-Approved-At: Mon, 04 Aug 2014 10:40:50 -0700 +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 00:34:39 -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