I am writing a secondary mode that does not allow writing tips. I use overlays to highlight errors. When the dot enters the overlay, I want to display more detailed information (now message , but maybe in a separate buffer.)
help-echo is almost what I want, but I use Gnu Emacs in the terminal, and help-echo for the mouse pointer, not the point.
point-entered also almost what I want, but point-entered has no effect on overlays, just text properties.
The overlays looked attractive because they are easy to erase when I rewrite the buffer (I conclude that the re-builder here). Should I continue to use overlays, but use point-moving hooks to find overlays, extract tooltips, and display them? Should I use text properties instead of overlays?
emacs elisp
Dominic Cooney
source share