From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Pankaj Jangid Newsgroups: gmane.emacs.help Subject: Re: Displaying SVG content in EWW Date: Sat, 19 Oct 2019 14:26:20 +0530 Organization: Code is Great! Message-ID: References: <8736fpi1m5.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="86338"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (darwin) Cc: Emacs mailing list To: Lars Magne Ingebrigtsen Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Oct 19 10:56:50 2019 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iLkXZ-000MOI-Qb for geh-help-gnu-emacs@m.gmane.org; Sat, 19 Oct 2019 10:56:49 +0200 Original-Received: from localhost ([::1]:51304 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iLkXY-0004dS-Mj for geh-help-gnu-emacs@m.gmane.org; Sat, 19 Oct 2019 04:56:48 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41015) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iLkXH-0004co-6q for help-gnu-emacs@gnu.org; Sat, 19 Oct 2019 04:56:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iLkXE-000357-3J for help-gnu-emacs@gnu.org; Sat, 19 Oct 2019 04:56:31 -0400 Original-Received: from mail-pg1-x52f.google.com ([2607:f8b0:4864:20::52f]:44240) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iLkXD-00034M-Rm for help-gnu-emacs@gnu.org; Sat, 19 Oct 2019 04:56:28 -0400 Original-Received: by mail-pg1-x52f.google.com with SMTP id e10so4671330pgd.11 for ; Sat, 19 Oct 2019 01:56:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:organization:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=HQHVRXpibFxD5AHW1TD778aS4A7SFCrLiFEDZvU4O+E=; b=LqNq4xX9reWGsbl+XSgWAkBQ8cNXkE81x79uayHA9dDVd5+S3gkYOjHxIBiw/ymn1Q TINXpJOIB1xCsiw9oh0/vvO80tDTQrCCwIwgbytZ4H0Hqn0I9Jd5YHWaOBWP1Xw48zSL qQYfGH5RFaKQ5nAZUpqlVVeWIuhG9o5Mshc0QD6JKurmniLj7OgEBqzQQXIvjSMu3kQ7 ZjT7sOBUvrNkCjVnIqXNNYMXstYFBuxSzQ8kKRVBAGAyCEImxIqZjKhhovxHdrywoL2d QzAni9sWbEhaSYt91cSXN5RO2oLCCmTCiVW48ekuma9ABNZZi3T8vtuhE9tWqJQh1kBO 6MiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:organization:references:date :in-reply-to:message-id:user-agent:mime-version :content-transfer-encoding; bh=HQHVRXpibFxD5AHW1TD778aS4A7SFCrLiFEDZvU4O+E=; b=PA6iipRlvOK0dhGlnKnm/S1MjSx2dlABkk06IUUR2PsL2Yb5zya9MyaYv5vyaReaPV htLahXs0EjIUwAmN9nsaYRFWhxafnCIS1+pRY0yYPKWJ3LRuAjp6czmxks0fyD6pG78f btCTucsbRqowVEQ/3LbPx/k/gDXN2bHw2CqQxLQtgIalox6/w9mBNh/+PK6BBs69CuHd eatRT8qrXkAwIsz7fvARhwWhTta5+jhfP569m2eIM2wr+kr3u/z9HHrwDIP6z2Yzm5Ov lJSCSde2kW9aR+ia8ey15AfEKBAy6iMAvA6yEjF3XnYvR1/GcEz1tpVrsUrPtR5+3twd q3eg== X-Gm-Message-State: APjAAAXQ7gntPh93IfbTYtmtYxdomi085KugVIEnD1sTjQxG8O3hEy7V /66DkF4eZZayCdZkSMURIy6O53rnTA== X-Google-Smtp-Source: APXvYqwT8aiDYdjxn3v7nYUDB8rBs2pkNYiL9v9RTGB24rvhGC9Qu6YuSI59E6AbZc2+Prj130eBLA== X-Received: by 2002:a17:90a:24ae:: with SMTP id i43mr16193380pje.117.1571475385630; Sat, 19 Oct 2019 01:56:25 -0700 (PDT) Original-Received: from Pankajs-MacBook-Pro.local ([103.219.229.100]) by smtp.gmail.com with ESMTPSA id q26sm6544874pgk.60.2019.10.19.01.56.24 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 19 Oct 2019 01:56:24 -0700 (PDT) Original-Received: by Pankajs-MacBook-Pro.local (Postfix, from userid 501) id A944D203C638DD; Sat, 19 Oct 2019 14:26:20 +0530 (IST) In-Reply-To: <8736fpi1m5.fsf@gnus.org> (Lars Magne Ingebrigtsen's message of "Sat, 19 Oct 2019 10:24:50 +0200") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::52f X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:121675 Archived-At: Lars Magne Ingebrigtsen writes: > Pankaj Jangid writes: > >> Whenever there is 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 =E2=80=98svg=E2=80=99") > > [...] > >> create-image("" svg t :ascent 100) >> shr-put-image(("" > > 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