[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/posframe bfd2e55 23/40: Update README
From: |
Feng Shu |
Subject: |
[elpa] externals/posframe bfd2e55 23/40: Update README |
Date: |
Wed, 5 Feb 2020 04:27:20 -0500 (EST) |
branch: externals/posframe
commit bfd2e55219e0911980f4ea97b5995ce8553dce60
Author: Feng Shu <address@hidden>
Commit: Feng Shu <address@hidden>
Update README
---
README.md | 70 +++++++++++++++++++++++++++++++--------------------------------
1 file changed, 35 insertions(+), 35 deletions(-)
diff --git a/README.md b/README.md
index ec20e1f..f8bdadc 100644
--- a/README.md
+++ b/README.md
@@ -3,54 +3,54 @@ Note: this file is auto converted from posframe.el by
[el2org](https://github.co
# 目录
-1. [Posframe README](#org39f1199)
- 1. [What is posframe](#org75ffb09)
- 2. [Installation](#org24e4d5a)
- 3. [Usage](#org13172eb)
- 1. [Create a posframe](#org71b175a)
- 2. [Hide a posframe](#orgd63c00f)
- 3. [Hide all posframes](#orge4e5227)
- 4. [Delete a posframe](#orga7363c0)
- 5. [Delete all posframes](#org58e322a)
- 6. [Customizing pointer control](#orge28a877)
- 7. [Set fallback argument of posframe-show](#org4610750)
+1. [Posframe README](#org39288b3)
+ 1. [What is posframe?](#orgd6e2b14)
+ 2. [Installation](#orgc1a54a8)
+ 3. [Usage](#org489af32)
+ 1. [Create a posframe](#orgaea7ff4)
+ 2. [Hide a posframe](#org418597e)
+ 3. [Hide all posframes](#org89f2772)
+ 4. [Delete a posframe](#org6455737)
+ 5. [Delete all posframes](#org085d523)
+ 6. [Customizing mouse pointer control](#org3efdec6)
+ 7. [Set fallback arguments of posframe-show](#org873b94e)
-<a id="org39f1199"></a>
+<a id="org39288b3"></a>
# Posframe README
-<a id="org75ffb09"></a>
+<a id="orgd6e2b14"></a>
-## What is posframe
+## What is posframe?
-Posframe can pop a posframe at point, this **posframe** is a
-child-frame with its root window's buffer.
+Posframe can pop up a frame at point, this **posframe** is a
+child-frame connected to its root window's buffer.
The main advantages are:
1. It is fast enough for daily usage :-)
-2. It works well with CJK language.
+2. It works well with CJK languages.
-NOTE: For MacOS users, posframe need Emacs (version >= 26.0.91)
+NOTE: For MacOS users, posframe needs Emacs version >= 26.0.91

-<a id="org24e4d5a"></a>
+<a id="orgc1a54a8"></a>
## Installation
(require 'posframe)
-<a id="org13172eb"></a>
+<a id="org489af32"></a>
## Usage
-<a id="org71b175a"></a>
+<a id="orgaea7ff4"></a>
### Create a posframe
@@ -78,46 +78,46 @@ NOTE: For MacOS users, posframe need Emacs (version >=
26.0.91)
C-h f posframe-show
-<a id="orgd63c00f"></a>
+<a id="org418597e"></a>
### Hide a posframe
(posframe-hide " *my-posframe-buffer*")
-<a id="orge4e5227"></a>
+<a id="org89f2772"></a>
### Hide all posframes
M-x posframe-hide-all
-<a id="orga7363c0"></a>
+<a id="org6455737"></a>
### Delete a posframe
1. Delete posframe and its buffer
(posframe-delete " *my-posframe-buffer*")
-2. Only delete posframe's frame
+2. Only delete the frame
(posframe-delete-frame " *my-posframe-buffer*")
-<a id="org58e322a"></a>
+<a id="org085d523"></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
+Note: this command will delete all posframe buffers.
+You probably shouldn't use it if you are sharing a buffer
between posframe and other packages.
-<a id="orge28a877"></a>
+<a id="org3efdec6"></a>
-### Customizing pointer control
+### Customizing mouse pointer control
By default, posframe moves the pointer to point (0,0) in
the frame, as a way to address an issue with mouse focus.
@@ -126,16 +126,16 @@ To disable this feature, add this to your init.el:
(setq posframe-mouse-banish nil)
-<a id="org4610750"></a>
+<a id="org873b94e"></a>
-### Set fallback argument of posframe-show
+### Set fallback arguments of posframe-show
-user can set fallback values of posframe-show's arguments with the
-help of \`posframe-arghandler'. the below example set fallback
+Users can set fallback values of posframe-show's arguments with the
+help of \`posframe-arghandler'. The example below sets fallback
border-width to 10 and fallback background color to green.
(setq posframe-arghandler #'my-posframe-arghandler)
- (defun my-posframe-arghandler (posframe-buffer arg-name value)
+ (defun my-posframe-arghandler (buffer-or-name arg-name value)
(let ((info '(:internal-border-width 10 :background-color "green")))
(or (plist-get info arg-name) value)))
- [elpa] externals/posframe 8108052 20/40: Merge pull request #42 from stepnem/refactor, (continued)
- [elpa] externals/posframe 8108052 20/40: Merge pull request #42 from stepnem/refactor, Feng Shu, 2020/02/05
- [elpa] externals/posframe bb13933 25/40: Merge pull request #47 from yyoncho/master, Feng Shu, 2020/02/05
- [elpa] externals/posframe f390e35 27/40: Fix: Posframe is slow if emacs is built using athena toolkit #45, Feng Shu, 2020/02/05
- [elpa] externals/posframe b44c1ae 31/40: Merge pull request #50 from conao3/add-center-handler, Feng Shu, 2020/02/05
- [elpa] externals/posframe d75dc15 26/40: Fix: Frame not tall enough if line-spacing > 0 #48, Feng Shu, 2020/02/05
- [elpa] externals/posframe 8c636fc 11/40: Merge pull request #41 from stepnem/doc-string, Feng Shu, 2020/02/05
- [elpa] externals/posframe 330cae2 15/40: Improve 'posframe-delete-frame', Feng Shu, 2020/02/05
- [elpa] externals/posframe 46ffb02 12/40: Rename posframe-buffer function parameter to buffer-or-name, Feng Shu, 2020/02/05
- [elpa] externals/posframe 85c9777 17/40: Touch up some doc strings, Feng Shu, 2020/02/05
- [elpa] externals/posframe dcc281c 34/40: Add some packages which use posframe, as examples., Feng Shu, 2020/02/05
- [elpa] externals/posframe bfd2e55 23/40: Update README,
Feng Shu <=
- [elpa] externals/posframe 0e55b2b 37/40: autoload posframe-workable-p, Feng Shu, 2020/02/05
- [elpa] externals/posframe 913b90d 38/40: Fix: ivy-posframe flickering in macos, Feng Shu, 2020/02/05
- [elpa] externals/posframe d495ea9 18/40: posframe--create-posframe: Document return value, Feng Shu, 2020/02/05
- [elpa] externals/posframe c250771 40/40: Remove useless 'and, Feng Shu, 2020/02/05
- [elpa] externals/posframe 5b2e3fc 36/40: Force raise the current posframe., Feng Shu, 2020/02/05
- [elpa] externals/posframe 7bc5857 39/40: Fix: Position for font-height invalid #53, Feng Shu, 2020/02/05