branch: externals/posframe
commit f390e35b55615938034a4684eee82058e9f20618
Author: Feng Shu <[email protected]>
Commit: Feng Shu <[email protected]>
Fix: Posframe is slow if emacs is built using athena toolkit #45
---
README.md | 49 ++++++++++++++++++++++++++-----------------------
posframe.el | 4 +++-
2 files changed, 29 insertions(+), 24 deletions(-)
diff --git a/README.md b/README.md
index f8bdadc..549fd87 100644
--- a/README.md
+++ b/README.md
@@ -3,25 +3,25 @@ Note: this file is auto converted from posframe.el by
[el2org](https://github.co
# 目录
-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)
+1. [Posframe README](#orgf92394f)
+ 1. [What is posframe?](#orge2bbb9c)
+ 2. [Installation](#org0e452aa)
+ 3. [Usage](#org5efb6f0)
+ 1. [Create a posframe](#orgc8de1c8)
+ 2. [Hide a posframe](#org7f00a73)
+ 3. [Hide all posframes](#orgfec5a74)
+ 4. [Delete a posframe](#org9796637)
+ 5. [Delete all posframes](#org0b9ea7e)
+ 6. [Customizing mouse pointer control](#orgb29298b)
+ 7. [Set fallback arguments of posframe-show](#org96afba9)
-<a id="org39288b3"></a>
+<a id="orgf92394f"></a>
# Posframe README
-<a id="orgd6e2b14"></a>
+<a id="orge2bbb9c"></a>
## What is posframe?
@@ -33,24 +33,27 @@ The main advantages are:
1. It is fast enough for daily usage :-)
2. It works well with CJK languages.
-NOTE: For MacOS users, posframe needs Emacs version >= 26.0.91
+NOTE:
+
+1. For MacOS users, posframe needs Emacs version >= 26.0.91
+2. Posframe will be very very slow when emacs is built with
–with-x-toolkit=athena.

-<a id="orgc1a54a8"></a>
+<a id="org0e452aa"></a>
## Installation
(require 'posframe)
-<a id="org489af32"></a>
+<a id="org5efb6f0"></a>
## Usage
-<a id="orgaea7ff4"></a>
+<a id="orgc8de1c8"></a>
### Create a posframe
@@ -78,21 +81,21 @@ NOTE: For MacOS users, posframe needs Emacs version >=
26.0.91
C-h f posframe-show
-<a id="org418597e"></a>
+<a id="org7f00a73"></a>
### Hide a posframe
(posframe-hide " *my-posframe-buffer*")
-<a id="org89f2772"></a>
+<a id="orgfec5a74"></a>
### Hide all posframes
M-x posframe-hide-all
-<a id="org6455737"></a>
+<a id="org9796637"></a>
### Delete a posframe
@@ -104,7 +107,7 @@ NOTE: For MacOS users, posframe needs Emacs version >=
26.0.91
(posframe-delete-frame " *my-posframe-buffer*")
-<a id="org085d523"></a>
+<a id="org0b9ea7e"></a>
### Delete all posframes
@@ -115,7 +118,7 @@ You probably shouldn't use it if you are sharing a buffer
between posframe and other packages.
-<a id="org3efdec6"></a>
+<a id="orgb29298b"></a>
### Customizing mouse pointer control
@@ -126,7 +129,7 @@ To disable this feature, add this to your init.el:
(setq posframe-mouse-banish nil)
-<a id="org873b94e"></a>
+<a id="org96afba9"></a>
### Set fallback arguments of posframe-show
diff --git a/posframe.el b/posframe.el
index 561ba3f..606d433 100644
--- a/posframe.el
+++ b/posframe.el
@@ -36,7 +36,9 @@
;; 1. It is fast enough for daily usage :-)
;; 2. It works well with CJK languages.
-;; NOTE: For MacOS users, posframe needs Emacs version >= 26.0.91
+;; NOTE:
+;; 1. For MacOS users, posframe needs Emacs version >= 26.0.91
+;; 2. Posframe will be very very slow when emacs is built with
--with-x-toolkit=athena.
;; [[./snapshots/posframe-1.png]]