bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#24035: 25.1.50; Eww breaks on images?


From: Clément Pit--Claudel
Subject: bug#24035: 25.1.50; Eww breaks on images?
Date: Wed, 20 Jul 2016 10:37:29 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

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: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]