Questions tagged [overlays]

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

12 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
66 views

Copy buffer content verbatim

Emacs uses overlays / prettify-symbols-mode / etc which modify how data is displayed to user. I like to copy visible content as I see it. For example I aligned columns in CSV file with M-x csv-align-...
3
votes
0answers
118 views

Can I get emacs to display a grid?

The question is if there's anything like a "background display mode" or maybe a package that once installed would allow a background grid to be displayed in the editor window. The Eclipse IDE for e.g. ...
3
votes
1answer
84 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{...
1
vote
0answers
52 views

keymap (overlay / text property): how to create and modify?

I'd like to have certain keymap active when the cursor is in a particular highlighted area. For instance, I would like to bind hl-todo-next to some easy key combination, but only when the cursor is on ...
1
vote
0answers
43 views

How do you create a custom undo?

I have a package that creates overlays as annotations. Part of the functionality is to delete annotations too. It turns out neither of these seems to be undoable. I.e. if you add an overlay to text, ...
1
vote
0answers
88 views

Equivalent of add-face-text-property for overlays?

add-face-text-property is very convenient for adjusting the face of text based on text properties (Changing Text Properties). Q: Is there an existing equivalent to add-face-text-property to add face ...
1
vote
0answers
220 views

How can I stop an overlay from inheriting the properties of underlying text?

I'm using an overlay to display additional information next to Dired candidates, because modifying the Dired buffer directly prevents Dired from working properly. I'm displaying the text using a ...
0
votes
0answers
27 views

modify existing overlay

How do I modify an existing overlay, more specifically, in spacemacs I have and the overlays are covering the all the parenthesis. Note that the overlays move depending on what inner set of ...
0
votes
0answers
45 views

Are there different tooltip mechanisms?

I experience some weird behavior with tooltips: (progn (let* ((start (point)) (end (progn (insert "test") (point))) (ov (make-overlay start end))) (overlay-put ov 'help-echo ...
0
votes
0answers
57 views

Increase minubuffer font size for quail mode completion

I am trying to increase the font size of the text overlay displayed in the minibuffer when using quail completion without success so far. Does anyone have any idea how to achieve this? EDIT: I was ...
0
votes
1answer
98 views

Make highlight-changes-mode untrack specific changes

I recently discovered highlight-changes-mode and I added it to my proofs-typesetting setup (LaTeX). I usually make some temporary changes to my buffer that I like not to be tracked (highlighted) when ...
0
votes
1answer
61 views

Redirect compilation mode hyperlink to external tool

I have a working compilation error matcher, that contains the path to a file. The compilation buffer correctly adds a hyperlink to that file and I can open it in emacs. However, the file in question ...