unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Clément Pit--Claudel" <clement.pit@gmail.com>
To: 24035@debbugs.gnu.org
Subject: bug#24035: 25.1.50; Eww breaks on images?
Date: Wed, 20 Jul 2016 10:37:29 -0400	[thread overview]
Message-ID: <22e0afb0-996b-72f7-6406-591fadb63af3@gmail.com> (raw)
In-Reply-To: <m3zipc2yyi.fsf@gnus.org>


[-- Attachment #1.1: Type: text/plain, Size: 1275 bytes --]

On 2016-07-20 09:58, Lars Ingebrigtsen wrote:
> Clément Pit--Claudel <clement.pitclaudel@live.com> writes:
> 
>> When I run, in emacs -Q, `M-x eww http://www.gnu.org/emacs`, I get this:
>>
>> Debugger entered--Lisp error: (void-function \(setf\ image-property\))
>>   \(setf\ image-property\)(100 (image :type svg :data "<svg width=\"100\" height=\"100\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\"> <defs> <linearGradient id=\"background\" x1=\"0\" x2=\"0\" y1=\"0\" y2=\"1\"> <stop offset=\"0%\" stop-color=\"#b0b0b0\"></stop> <stop offset=\"100%\" stop-color=\"#808080\"></stop></linearGradient></defs> <rect width=\"100\" height=\"100\" x=\"0\" y=\"0\" x1=\"0\" x2=\"0\" y1=\"0\" y2=\"1\" fill=\"url(#background)\" stroke=\"black\" stroke-width=\"2\"></rect></svg>" :scale 1) :ascent)
>>   shr-make-placeholder-image((img ((src . "/graphics/heckert_gnu.small.png") (alt . " [A GNU head] "))))
>>   shr-tag-img((img ((src . "/graphics/heckert_gnu.small.png") (alt . " [A GNU head] "))))
> 
> Hm...  That's odd.  (setf (image-property ...)) is defined in image.el,
> and isn't image.el dumped with Emacs?

I'm not sure. Opening shr.el and running M-x eval-buffer before calling eww fixes the problem.
Shouldn't shr (require 'image)?

Clément.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

  reply	other threads:[~2016-07-20 14:37 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-20 13:49 bug#24035: 25.1.50; Eww breaks on images? Clément Pit--Claudel
2016-07-20 13:58 ` Lars Ingebrigtsen
2016-07-20 14:37   ` Clément Pit--Claudel [this message]
2016-07-20 14:46     ` Lars Ingebrigtsen
2016-07-20 14:54       ` Clément Pit--Claudel
2016-07-20 14:57         ` Lars Ingebrigtsen
2016-07-20 15:07           ` Clément Pit--Claudel
2016-07-20 15:11             ` Lars Ingebrigtsen
2016-07-20 15:17 ` Kaushal Modi
2016-07-20 15:25   ` Kaushal Modi
2016-07-20 15:32     ` Clément Pit--Claudel
2016-07-20 15:35       ` Kaushal Modi
2016-07-20 20:13         ` Clément Pit--Claudel
2016-07-20 15:55     ` Lars Ingebrigtsen
2016-07-20 16:31       ` Kaushal Modi

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=22e0afb0-996b-72f7-6406-591fadb63af3@gmail.com \
    --to=clement.pit@gmail.com \
    --cc=24035@debbugs.gnu.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).