From: MaDhAt2r Date: Thu, 31 Jul 2014 18:43:53 +0000 (+1900) Subject: Custom Tag Images X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=41672010667bcc80af2dd91f2bd0150595e557eb;p=notmuch-archives.git Custom Tag Images --- diff --git a/83/ce40b699e14dc9c3125c11464ebb7201c3d675 b/83/ce40b699e14dc9c3125c11464ebb7201c3d675 new file mode 100644 index 000000000..12fbaaffe --- /dev/null +++ b/83/ce40b699e14dc9c3125c11464ebb7201c3d675 @@ -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 4AEE8431FAF + for ; Thu, 31 Jul 2014 11:44:04 -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 nOynWbjKmFw9 for ; + Thu, 31 Jul 2014 11:43:58 -0700 (PDT) +Received: from mail-oa0-f47.google.com (mail-oa0-f47.google.com + [209.85.219.47]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id ADBF3431FAE + for ; Thu, 31 Jul 2014 11:43:58 -0700 (PDT) +Received: by mail-oa0-f47.google.com with SMTP id g18so2331289oah.6 + for ; Thu, 31 Jul 2014 11:43:56 -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:references:user-agent:date + :message-id:mime-version:content-type; + bh=vpO7Fin3oiQl4voQ/4faK6IPulGanKO2iDTfIYOj6wk=; + b=ah/VWhWnIPn6bgy0TDwhYtxAAZgj6bNk0+EEWXzBAeQYNfsznpOEUp5mrv8PfOcCFz + WT0+efPEhWSoA18PAcKkkpUOG7wIHQNB/+F2ZWkKKmm5sVL/uqrXNABeF2G7RtDWEwMf + H2NduZRWw++1nw1Ib3w8wFI3S3jmutUAofkzGScYomAh7zugbgtifYhi8Gt0tRY1A4Dd + IQdJhBJAmFzX15gWH+cjRZyuf2J0e1ySmkn2my81R5vClAWLyvhKIMQpIe0FVTh6CPpu + DTEc70g5/htzrx/67AwZFDI4JSkWnMiCPXAx3tTYt82Nx3riPqpZVpQpp6RjN6nKot0f + /9Bw== +X-Gm-Message-State: + ALoCoQkVHfi7a55uX+7pptIubJ0B66upzIyLjglmu8rdBnWdgbyUqvhkeawGpsajRVMaohzRjOcA +X-Received: by 10.60.175.138 with SMTP id ca10mr89991oec.15.1406832235706; + Thu, 31 Jul 2014 11:43:55 -0700 (PDT) +Received: from localhost (216-177-191-101.block0.gvtc.com. [216.177.191.101]) + by mx.google.com with ESMTPSA id + lk2sm13309533obc.15.2014.07.31.11.43.54 for + (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); + Thu, 31 Jul 2014 11:43:55 -0700 (PDT) +From: MaDhAt2r +X-Google-Original-From: MaDhAt2r +To: notmuch@notmuchmail.org +Subject: Custom Tag Images +References: +User-Agent: Notmuch/0.18 (http://notmuchmail.org) Emacs/24.3.1 + (x86_64-unknown-linux-gnu) +Date: Thu, 31 Jul 2014 13:43:53 -0500 +Message-ID: + <87wqatl66u.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: Thu, 31 Jul 2014 18:44:04 -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.