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

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

bug#67794: 30.0.50; mouse-face is not respected on SVG images


From: Manuel Giraud
Subject: bug#67794: 30.0.50; mouse-face is not respected on SVG images
Date: Tue, 12 Dec 2023 17:35:18 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Alan Third <alan@idiocy.org> writes:

[...]

>> This means that when you do a 'C-s foobar' and that the SVG is correctly
>> displayed with the isearch face (foreground and background), such an
>> embedded SVG was created on the fly?  If so, I think we should do the
>> same for mouse-face too because this SVG generation is very fast!
>
> I don't see any reason why we shouldn't do that.
>
> lookup_image in image.c is where most of the work is done. It takes a
> face ID number. There are three calls to it from xdisp.c. I don't know
> if it would be best to change the callers to pass in the mouse face
> instead of the local face, or to pass in the mouse face as well as the
> local face and then allow lookup_image to work it out.
>
> This assumes the mouse face details have been worked out before the
> calls to lookup_image, I don't know much about how it works.

Thanks, I think your explanation would greatly help.  BTW, mouse-face is
a standard Emacs face so I don't why it seems not to be handled by one
of those calls.
-- 
Manuel Giraud





reply via email to

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