Custom Tag Images

2014-08-05 Thread Tomi Ollila
On Mon, Aug 04 2014, Austin Clements  wrote:

> 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.)

that is partially my fault as i released 3 of those that were on hold -- in
addition to the one that was there already :/

 Tomi (on N9)


Custom Tag Images

2014-08-04 Thread Austin Clements
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   
>   \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\;>
>  http://www.w3.org/2000/svg\; 
> xmlns:xlink=\"http://www.w3.org/1999/xlink\; width=\"16\" height=\"16\" 
> viewBox=\"0 0 16 16\">
>  
> stroke=\"#449FDB\" opacity=\"\">
>  
> 0.8h0.8c0.442 0 0.8-0.358 0.8-0.8s-0.358-0.8-0.8-0.8zM4 7.2h-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.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.


Re: Custom Tag Images

2014-08-04 Thread Tomi Ollila
On Mon, Aug 04 2014, Austin Clements amdra...@mit.edu wrote:

 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.)

that is partially my fault as i released 3 of those that were on hold -- in
addition to the one that was there already :/

 Tomi (on N9)
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


Custom Tag Images

2014-08-01 Thread MaDhAt2r

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'."

 " 
 
 http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\;>
 http://www.w3.org/2000/svg\; 
xmlns:xlink=\"http://www.w3.org/1999/xlink\; width=\"16\" height=\"16\" 
viewBox=\"0 0 16 16\">
 
 
 
 
  ")

 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.


Custom Tag Images

2014-08-01 Thread MaDhAt2r

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'.

  ?xml version=\1.0\ encoding=\utf-8\?
 !-- Generated by IcoMoon.io --
 !DOCTYPE svg PUBLIC \-//W3C//DTD SVG 1.1//EN\ 
\http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\;
 svg version=\1.1\ xmlns=\http://www.w3.org/2000/svg\; 
xmlns:xlink=\http://www.w3.org/1999/xlink\; width=\16\ height=\16\ 
viewBox=\0 0 16 16\
 g id=\icomoon-ignore\
 line stroke-width=\1\ x1=\\ y1=\\ x2=\\ y2=\\ 
stroke=\#449FDB\ opacity=\\/line
 /g
 path d=\M4 10.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.8zM4 7.2h-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.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\/path
 /svg )

 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.
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


Custom Tag Images

2014-07-31 Thread MaDhAt2r

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'."

 " 
 
 http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\;>
 http://www.w3.org/2000/svg\; 
xmlns:xlink=\"http://www.w3.org/1999/xlink\; width=\"16\" height=\"16\" 
viewBox=\"0 0 16 16\">
 
 
 
 
  ")

 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.


Custom Tag Images

2014-07-31 Thread MaDhAt2r

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'."

 " 
 
 http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\;>
 http://www.w3.org/2000/svg\; 
xmlns:xlink=\"http://www.w3.org/1999/xlink\; width=\"16\" height=\"16\" 
viewBox=\"0 0 16 16\">
 
 
 
 
  ")

 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.


Custom Tag Images

2014-07-31 Thread MaDhAt2r

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'."

" 

http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\;>
http://www.w3.org/2000/svg\; 
xmlns:xlink=\"http://www.w3.org/1999/xlink\; width=\"16\" height=\"16\" 
viewBox=\"0 0 16 16\">




 ")

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.