[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: There should be an option to set the display size of an image to zer
From: |
Stefan Monnier |
Subject: |
Re: There should be an option to set the display size of an image to zero |
Date: |
Wed, 18 Sep 2013 12:10:44 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
> One possible idea -- not sure if it fits the purpose -- is to overlay
> transparent-background images on top of the displayed text, not unlike
> what we do with mouse pointers.
That's the idea, I think, yes.
Combined with posn-point which lets us find the XY coordinates of
a particular buffer position, it should be possible to build (in Elisp)
the right SVG image and tell Emacs to overlay it on top the text.
Ideally, the primitive could look like a `display' spec which says
"overlay the image at offset XY relative to the current position".
But if it's too difficult to handle it that way, a simpler (from the
C code PoV) approach might be a window property which says "overlay this
image over the whole window's text".
Stefan
- Re: There should be an option to set the display size of an image to zero, (continued)
- Re: There should be an option to set the display size of an image to zero, Eli Zaretskii, 2013/09/17
- Re: There should be an option to set the display size of an image to zero, Marc Feeley, 2013/09/17
- Re: There should be an option to set the display size of an image to zero, Eli Zaretskii, 2013/09/17
- Re: There should be an option to set the display size of an image to zero, Marc Feeley, 2013/09/17
- Re: There should be an option to set the display size of an image to zero, Eli Zaretskii, 2013/09/17
- Re: There should be an option to set the display size of an image to zero, Marc Feeley, 2013/09/17
- Re: There should be an option to set the display size of an image to zero, chad, 2013/09/17
- Re: There should be an option to set the display size of an image to zero, Stefan Monnier, 2013/09/17
- Re: There should be an option to set the display size of an image to zero, Eli Zaretskii, 2013/09/18
- Re: There should be an option to set the display size of an image to zero, Jan Djärv, 2013/09/18
- Re: There should be an option to set the display size of an image to zero,
Stefan Monnier <=
- Re: There should be an option to set the display size of an image to zero, Eli Zaretskii, 2013/09/18
- Re: There should be an option to set the display size of an image to zero, Stefan Monnier, 2013/09/18