107
GitHub - tumashu/posframe: Pop a posframe (just a child-frame) at point
source link: https://github.com/tumashu/posframe
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
README.md
目录
Posframe README
What is posframe
Posframe can pop a posframe at point, this posframe is a child-frame with its root window's buffer.
The main advantages are:
- It is fast enough for daily usage :-)
- It works well with CJK language.
NOTE: For MacOS users, posframe need Emacs (version >= 26.0.91)
Installation
(require 'posframe)
Usage
Create a posframe
(posframe-show " *my-posframe-buffer*"
:string "This is a test"
:position (point))
Arguments documents:
C-h f posframe-show
Hide a posframe
(posframe-hide " *my-posframe-buffer*")
Hide all posframes
M-x posframe-hide-all
Delete a posframe
-
Delete posframe and its buffer
(posframe-delete " *my-posframe-buffer*")
-
Only delete posframe's frame
(posframe-delete-frame " *my-posframe-buffer*")
Delete all posframes
M-x posframe-delete-all
Note: this command will delete all posframe buffers, suggest not run this command if you are sharing a buffer between posframe and other packages.
Converted from posframe.el by el2org.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK