Re: [PATCH v2] emacs/notmuch-tag.el: add xmlns attribute to svg icons

2022-01-14 Thread David Bremner
LdBeth  writes:

> emacs-mac that compiled with OS X system API for image display
> support cannot correctly render svg without xmlns parameter [1].
>
> [1]: id:tencent_127aa231767438ac66fee4ddb4bbf51df...@qq.com

applied to master.

d
___
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-le...@notmuchmail.org


Re: [PATCH v2] emacs/notmuch-tag.el: add xmlns attribute to svg icons

2022-01-14 Thread Tomi Ollila
On Fri, Jan 14 2022, LdBeth wrote:

> emacs-mac that compiled with OS X system API for image display
> support cannot correctly render svg without xmlns parameter [1].

LGTM.

Tomi

>
> [1]: id:tencent_127aa231767438ac66fee4ddb4bbf51df...@qq.com
> ---
>  emacs/notmuch-tag.el | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/emacs/notmuch-tag.el b/emacs/notmuch-tag.el
> index 145f309f..8af09e68 100644
> --- a/emacs/notmuch-tag.el
> +++ b/emacs/notmuch-tag.el
> @@ -241,7 +241,7 @@ DATA is the content of an SVG picture (e.g., as returned 
> by
>"Return SVG data representing a star icon.
>  This can be used with `notmuch-tag-format-image-data'."
>"
> -
> + xmlns=\"http://www.w3.org/2000/svg\;>
>
>   d=\"m 290.25762,334.31206 -17.64143,-11.77975 -19.70508,7.85447 
> 5.75171,-20.41814 -13.55925,-16.31348 21.19618,-0.83936 11.325,-17.93675 
> 7.34825,19.89939 20.55849,5.22795 -16.65471,13.13786 z\"
> @@ -254,7 +254,7 @@ This can be used with `notmuch-tag-format-image-data'."
>"Return SVG data representing an empty star icon.
>  This can be used with `notmuch-tag-format-image-data'."
>"
> -
> + xmlns=\"http://www.w3.org/2000/svg\;>
>
>   d=\"m 290.25762,334.31206 -17.64143,-11.77975 -19.70508,7.85447 
> 5.75171,-20.41814 -13.55925,-16.31348 21.19618,-0.83936 11.325,-17.93675 
> 7.34825,19.89939 20.55849,5.22795 -16.65471,13.13786 z\"
> @@ -267,7 +267,7 @@ This can be used with `notmuch-tag-format-image-data'."
>"Return SVG data representing a tag icon.
>  This can be used with `notmuch-tag-format-image-data'."
>"
> -
> + xmlns=\"http://www.w3.org/2000/svg\;>
>
>   d=\"m 0.44642857,1040.9336 12.5043,0 2.700893,3.6161 
> -2.700893,3.616 -12.5043,0 z\"
> -- 
> 2.20.1
___
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-le...@notmuchmail.org