Re: Displaying SVG with embedded links
Eli Zaretskii <[email protected]>
| Newsgroups | gmane.emacs.help |
|---|---|
| Message-ID | <[email protected]> |
> Date: Sun, 05 Apr 2026 16:46:00 +0200 > From: Michael Heerdegen via Users list for the GNU Emacs text editor <[email protected]> > > Eli Zaretskii <[email protected]> writes: > > > AFAIK, this is not supported directly, but you could have a :map > > property in the image descriptor that makes portions of the image > > sensitive to clicks. See the node "Image Descriptors" in the ELisp > > manual for more. > > I see. This is the mechanism that "osm.el" uses, AFAIU. > > But I would have to do that all manually, including parsing the svg > file's source - right? Parsing for what purpose? What I had in mind is just adding :map to the image descriptor which names the SVG file name (or SVG data, if that's how you pass the image to Emacs).