From e602190815d09afbfbec13f0b856b4948f2826bd Mon Sep 17 00:00:00 2001 From: MaDhAt2r Date: Fri, 1 Aug 2014 19:30:28 +1900 Subject: [PATCH] Custom Tag Images --- f8/e9643c5ecd951acce6945d733b6184106c6613 | 117 ++++++++++++++++++++++ 1 file changed, 117 insertions(+) create mode 100644 f8/e9643c5ecd951acce6945d733b6184106c6613 diff --git a/f8/e9643c5ecd951acce6945d733b6184106c6613 b/f8/e9643c5ecd951acce6945d733b6184106c6613 new file mode 100644 index 000000000..c7de86e13 --- /dev/null +++ b/f8/e9643c5ecd951acce6945d733b6184106c6613 @@ -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 11EB9431FB6 + for ; Thu, 31 Jul 2014 17:30:46 -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 OhXK8hVdAmWk for ; + Thu, 31 Jul 2014 17:30:38 -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 27C1B431FAE + for ; Thu, 31 Jul 2014 17:30:38 -0700 (PDT) +Received: by mail-ob0-f176.google.com with SMTP id wo20so2137641obc.7 + for ; Thu, 31 Jul 2014 17:30:36 -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=PaR38+5X9x+0hj/JrHr4GYGcZJ5aElyIhzOLBlXsIPA5ODCm8iQ3fvkEA8xM0dKibW + SRRkcanECSIV04orHCBs/RHrcTH5YHp5h4JjSVBlkLPmuMkAZADz1q9jzLnBpZWASaNz + j895CFU7bndheV2k9VOjGZJ5Xjo04V1GxAUbX0FKldBI0M2NaGGw/TZOaANZmADeRid2 + C3bvck6xWCL6/7F3lex7iM4KhAEL7wwurgj58JBjnanuWzMBI/mAvteyBwfSF7htn/wG + Qgds3Ct8qc9Bc+kMyO3ihczxPzc1G47yYHMGz2v3Ib45pZVPVyyeTVbMNPmxAxiQQQkh + Wiag== +X-Gm-Message-State: + ALoCoQmDlsPvJePFeAAAF2/tkkvnTsofJk4QtpovK7GseTe1nE1lGSzsac1BefaO70hBwIRQGmZG +X-Received: by 10.182.106.137 with SMTP id gu9mr2516984obb.7.1406853036433; + Thu, 31 Jul 2014 17:30:36 -0700 (PDT) +Received: from localhost (216-177-191-101.block0.gvtc.com. [216.177.191.101]) + by mx.google.com with ESMTPSA id + d3sm28948413oez.5.2014.07.31.17.30.35 for + (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); + Thu, 31 Jul 2014 17:30:36 -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:30:28 -0500 +Message-ID: + <87egx1kq57.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:30:46 -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