"Pop" floating text "on" a window
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Akib Azmain Turja aed8ff598d
Take the fringe width into account
2 days ago
COPYING Add COPYING 1 month ago
README.org Add installation instruction 3 weeks ago
popon.el Take the fringe width into account 2 days ago

README.org

Popon - "Pop" floating text "on" a window

Popon allows you to pop text on a window, what we call a popon. Popons are window-local and sticky, they don't move while scrolling, and they even don't go away when switching buffer, but you can bind a popon to a specific buffer to only show on that buffer.

If some popons are annoying you and you can't kill them, do M-x popon-kill-all to kill all popons.

Installation

Quelpa

(quelpa '(popon :fetcher git
                :url "https://codeberg.org/akib/emacs-popon.git"))

Straight.el

(straight-use-package
 '(popon :type git :repo "https://codeberg.org/akib/emacs-popon.git"))

Manual

Download popon.el and put it in your load-path.

Usage

The main entry point is popon-create, which creates a popon and returns that. Use popon-kill to kill it. Popons are immutable, you can't modify them. Most of time you'll want to place the popon at certain point of buffer; call popon-x-y-at-pos with the point and use the return value as the coordinates. Be sure see the docstring of each function, they describe the best.