Skip to main content

Questions tagged [overlays]

an Emacs presentation feature that alters the appearance of a buffer’s text on the screen, without changing the buffer content

Filter by
Sorted by
Tagged with
28 votes
2 answers
5k views

What are overlays for, and how do they differ from text properties?

The manual states: You can use overlays to alter the appearance of a buffer's text on the screen, for the sake of presentation features. From its name, it suggests it can be used to create “...
Sébastien Le Callonnec's user avatar
21 votes
2 answers
453 views

Display list of words along bottom of frame?

I'd like to display 3 lists of words on separate lines horizontally along the bottom (although top would work too) of every emacs frame I have open. I've thought of 6 ways to do this, and they all ...
Joseph Garvin's user avatar
9 votes
2 answers
975 views

Temporary text in window location with no text to propertize/overlay?

Q: how do I temporarily show text in a window at screen locations with no text to propertize/overlay? I'm familiar with the basic idea behind text properties and overlays (see also this thread), have ...
Dan's user avatar
  • 33.4k
3 votes
1 answer
128 views

Change overlaid text of an outline header?

Q: how do I add a new outline header regexp but change the overlaid text? I often write presentations with Beamer in LaTeX. As such, there are a lot of frame (ie, "slide") environments: \begin{...
Dan's user avatar
  • 33.4k
3 votes
1 answer
290 views

Overlay extending to the end of physical line

I'm trying to use overlay to highlight a whole line but for some reason my overlay stops at the end of the line (past the last character) instead of the end of the physical line (just before fringe). ...
Nicolas Rougier's user avatar
2 votes
1 answer
99 views

Understanding why two apparently different overlay strings are `equal`

I am having trouble understanding why two apparently different overlay strings are equal. The following test results positive -- i.e., t. The colors are different and the :data identification names ...
lawlist's user avatar
  • 19.5k
0 votes
1 answer
104 views

Image overlay: how to change the relative image insert position within the buffer text?

I have just managed to create an overlay being a small image (the Emacs logo) which purpose is to be shown instead of a special single character in the buffer text: I would like to place this image ...
oOosys's user avatar
  • 505
0 votes
1 answer
138 views

Image overlay: what does `defimage` do and how to make it work as expected?

After solving the problem with appropriate height of placement of the as overlay inserted image ( see here "Image overlay: how to change the relative image insert position within the buffer text?&...
oOosys's user avatar
  • 505