all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Pankaj Jangid <pankaj.jangid@gmail.com>
To: Lars Magne Ingebrigtsen <lmi@gnus.org>
Cc: Emacs mailing list <help-gnu-emacs@gnu.org>
Subject: Re: Displaying SVG content in EWW
Date: Sat, 19 Oct 2019 14:26:20 +0530	[thread overview]
Message-ID: <m2k191i05n.fsf@gmail.com> (raw)
In-Reply-To: <8736fpi1m5.fsf@gnus.org> (Lars Magne Ingebrigtsen's message of "Sat, 19 Oct 2019 10:24:50 +0200")

Lars Magne Ingebrigtsen <lmi@gnus.org> writes:

> Pankaj Jangid <pankaj.jangid@gmail.com> writes:
>
>> Whenever there is <svg> content on a webpage, eww emits the error shown
>> below. There are two ways I should be getting rid of the error message:
>
> [...]
>
>>  entered--Lisp error: (error "Invalid image type ‘svg’")
>
> [...]
>
>>   create-image("<svg content...>" svg t :ascent 100)
>>   shr-put-image(("<svg content...>"
>
> This means that your Emacs is compiled without svg support.  However,
> eww shouldn't bug out here -- in Emacs 27, I've now fixed this so that
> it'll just ignore the svg images instead of bugging out.
>
> Thanks for reporting the error.

eww is probably bugging out because I have (setq debug-on-error
t). Instead of simply ignoring if we can render some hint then the
user will know the issue.

Thanks for taking this up.

--
Regards,
Pankaj Jangid



      reply	other threads:[~2019-10-19  8:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-18  7:37 Displaying SVG content in EWW Pankaj Jangid
2019-10-18  8:09 ` Eli Zaretskii
     [not found]   ` <CAPeGcy-iwLkwPXFqZVtJxVnPjeix=CWKm24BfJ6HFCEOJe3fRA@mail.gmail.com>
2019-10-18 12:31     ` Eli Zaretskii
2019-10-18 13:32       ` Pankaj Jangid
     [not found] ` <mailman.1075.1571384277.9715.help-gnu-emacs@gnu.org>
2019-10-19  8:24   ` Lars Magne Ingebrigtsen
2019-10-19  8:56     ` Pankaj Jangid [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2k191i05n.fsf@gmail.com \
    --to=pankaj.jangid@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=lmi@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.