1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
| |
# 目录
1. [Posframe README](#org53f6910)
1. [What is posframe](#org5cf1be8)
2. [Installation](#org5f830e9)
3. [Usage](#org40db1ee)
1. [Create a posframe](#org6f36699)
2. [Hide a posframe](#orgcd529fe)
3. [Hide all posframes](#org4e71a28)
4. [Delete a posframe](#org0f069f2)
5. [Delete all posframes](#org853d491)
<a id="org53f6910"></a>
# Posframe README
<a id="org5cf1be8"></a>
## 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:
1. It is fast enough for daily usage :-)
2. It works well with CJK language.
NOTE: For MacOS users, posframe need emacs (version >= 26.0.91)
![img](./snapshots/posframe-1.png)
<a id="org5f830e9"></a>
## Installation
(require 'posframe)
<a id="org40db1ee"></a>
## Usage
<a id="org6f36699"></a>
### Create a posframe
(posframe-show " *my-posframe-buffer*"
:string "This is a test"
:position (point))
Arguments documents:
C-h f posframe-show
<a id="orgcd529fe"></a>
### Hide a posframe
(posframe-hide " *my-posframe-buffer*")
<a id="org4e71a28"></a>
### Hide all posframes
M-x posframe-hide-all
<a id="org0f069f2"></a>
### Delete a posframe
(posframe-delete " *my-posframe-buffer*")
<a id="org853d491"></a>
### 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](https://github.com/tumashu/el2org) .
|