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 36B57431FBD for ; Mon, 4 Aug 2014 11:09:17 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -2.3 X-Spam-Level: X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_MED=-2.3] 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 eDkkH158KmnU for ; Mon, 4 Aug 2014 11:09:12 -0700 (PDT) Received: from dmz-mailsec-scanner-1.mit.edu (dmz-mailsec-scanner-1.mit.edu [18.9.25.12]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id A6279431FAE for ; Mon, 4 Aug 2014 11:09:12 -0700 (PDT) X-AuditID: 1209190c-f79ef6d000005dd6-72-53dfcc47b425 Received: from mailhub-auth-3.mit.edu ( [18.9.21.43]) (using TLS with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by dmz-mailsec-scanner-1.mit.edu (Symantec Messaging Gateway) with SMTP id DC.DE.24022.74CCFD35; Mon, 4 Aug 2014 14:09:12 -0400 (EDT) Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by mailhub-auth-3.mit.edu (8.13.8/8.9.2) with ESMTP id s74I9AvM002102; Mon, 4 Aug 2014 14:09:11 -0400 Received: from awakening.csail.mit.edu (awakening.csail.mit.edu [18.26.4.91]) (authenticated bits=0) (User authenticated as amdragon@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id s74I98on025215 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Mon, 4 Aug 2014 14:09:09 -0400 Received: from amthrax by awakening.csail.mit.edu with local (Exim 4.80) (envelope-from ) id 1XEMh2-0005iK-93; Mon, 04 Aug 2014 14:09:08 -0400 Date: Mon, 4 Aug 2014 14:09:08 -0400 From: Austin Clements To: MaDhAt2r Subject: Re: Custom Tag Images Message-ID: <20140804180908.GV13893@mit.edu> References: <877g2stcn1.fsf@ArchNemesis.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <877g2stcn1.fsf@ArchNemesis.i-did-not-set--mail-host-address--so-tickle-me> User-Agent: Mutt/1.5.21 (2010-09-15) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpkleLIzCtJLcpLzFFi42IR4hTV1vU4cz/YYEaWxfXte1gtrt+cyezA 5LFz9mZmj2erbjEHMEVx2aSk5mSWpRbp2yVwZez4+Iul4L9YxcEJR9gaGO8JdTFyckgImEjs 2vmBGcIWk7hwbz1bFyMXh5DAbCaJXf/msEM4Gxglfj9uZIVwTjFJnOgHKeMEcpYwStz7kARi swioSMz+0MMCYrMJaEhs27+cEcQWEVCW2NVwFWwFs4C0xLffzUwgtrCAnMT/RY1ANgcHr4CO xKEHzBAjwyXae+aAjecVEJQ4OfMJC0SrlsSNfy/BykHGLP/HARLmFIiQuLb4L1iJKNAFU05u Y5vAKDQLSfcsJN2zELoXMDKvYpRNya3SzU3MzClOTdYtTk7My0st0jXUy80s0UtNKd3ECA5p SZ4djG8OKh1iFOBgVOLhFVC7HyzEmlhWXJl7iFGSg0lJlHfncaAQX1J+SmVGYnFGfFFpTmrx IUYJDmYlEd64U0A53pTEyqrUonyYlDQHi5I471trq2AhgfTEktTs1NSC1CKYrAwHh5IE712Q RsGi1PTUirTMnBKENBMHJ8hwHqDhVWDDiwsSc4sz0yHypxgVpcR5E0ESAiCJjNI8uF5YynnF KA70ijAvy2mgKh5guoLrfgU0mAlosJkO2OCSRISUVAOjxQWfMuvbBU6zNLobD1YtrG9InNbm IWa3m4m1IMzzsdKP5tnJssc7PR+7PD5d8ar96Im7+U0Pdh//Hiv7JtT8FtcJpmLvtIKyQ6ER 96au5T5mXf1cneeZ+uWylwa25av4plX90zrR2hrpWvaa05Pj3LP9mgI6V3Yrvz17MHpfHuMN rb7G7tlKLMUZiYZazEXFiQBnipH6FAMAAA== Cc: notmuch@notmuchmail.org 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: Mon, 04 Aug 2014 18:09:17 -0000 Quoth MaDhAt2r on Aug 01 at 11:09 am: > > Hello Everyone. > > If this is not the place to address this issue, could you please > direct me to the proper forum. Hi MaDhAt2r. This is a fine place for this question. (Though I see the list received several copies of your message; not sure if that was a misconfiguration on your end or the list's.) > 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'." > > " I believe you need to remove the space between the " and the > > > > > > 0.8h0.8c0.442 0 0.8-0.358 0.8-0.8s-0.358-0.8-0.8-0.8zM4 4h-0.8c-0.442 0-0.8 0.358-0.8 0.8s0.358 0.8 0.8 0.8h0.8c0.442 0 0.8-0.358 0.8-0.8s-0.358-0.8-0.8-0.8zM7.2 5.6h5.6c0.442 0 > 0.8-0.358 0.8-0.8s-0.358-0.8-0.8-0.8h-5.6c-0.442 0-0.8 0.358-0.8 0.8s0.358 0.8 0.8 0.8zM12.8 7.2h-5.6c-0.442 0-0.8 0.358-0.8 0.8s0.358 0.8 0.8 0.8h5.6c0.442 0 0.8-0.358 > 0.8-0.8s-0.358-0.8-0.8-0.8zM12.8 10.4h-5.6c-0.442 0-0.8 0.358-0.8 0.8s0.358 0.8 0.8 0.8h5.6c0.442 0 0.8-0.358 0.8-0.8s-0.358-0.8-0.8-0.8z\" fill=\"#008b00\"> > ") > > 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.