emacs-devel
[Top][All Lists]
Advanced

[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 13:06:49 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

>> Ideally, the primitive could look like a `display' spec which says
>> "overlay the image at offset XY relative to the current position".
> I guess you mean "relative to specified POSITION", because there's
> only one current position, which sounds too restrictive.

Since a display spec is applied over a particular chunk of text in the
buffer, by "current position" I meant "the place where the chunk of
text covered by the display spec is (or would be) drawn".

>> 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".
> I think the difficulty is the same:

If it's the same, then it would be more useful for it to be a display
spec, so it moves with the buffer's text.


        Stefan



reply via email to

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