all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob 3f227e52e3537efe749927ed2b7342b63ae67dd9 1690 bytes (raw)
name: README.md 	 # note: path name is non-authoritative(*)

 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) .

debug log:

solving 3f227e52e ...
found 3f227e52e in https://yhetil.org/emacs/2adc0d2f.79c0.161d11208c5.Coremail.tumashu@163.com/

applying [1/1] https://yhetil.org/emacs/2adc0d2f.79c0.161d11208c5.Coremail.tumashu@163.com/
diff --git a/README.md b/README.md
new file mode 100644
index 000000000..3f227e52e

Checking patch README.md...
Applied patch README.md cleanly.

index at:
100644 3f227e52e3537efe749927ed2b7342b63ae67dd9	README.md

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.