branch: externals/ivy-posframe commit 8be3311d59e9be48e0440b3ebc539d24bc692b9e Author: Feng Shu <tuma...@163.com> Commit: Feng Shu <tuma...@163.com>
ivy-posframe do not support mouse click --- README.md | 40 +++++++++++++++++++++------------------- ivy-posframe.el | 3 ++- 2 files changed, 23 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index 5663595..8d2fc87 100644 --- a/README.md +++ b/README.md @@ -1,33 +1,34 @@ -Note: this file is converted from ivy-posframe.el by [el2org](https://github.com/tumashu/el2org), please do not edit it by hand!!! +Note: this file is auto converted from ivy-posframe.el by [el2org](https://github.com/tumashu/el2org), please do not edit it by hand!!! # 目录 -1. [ivy-posframe README](#org7f9a5fe) - 1. [What is ivy-posframe](#org5057226) - 2. [Display functions](#orgbde602c) - 3. [How to enable ivy-posframe](#org6bfc45d) - 4. [Tips](#orgd52c7c9) - 1. [How to show fringe to ivy-posframe](#orga286c1f) - 2. [How to custom your ivy-posframe style](#orgf8a38da) +1. [ivy-posframe README](#orga0194dc) + 1. [What is ivy-posframe](#org9479e4f) + 2. [Display functions](#org77c90ff) + 3. [How to enable ivy-posframe](#orgbdb78e5) + 4. [Tips](#orgd370bc2) + 1. [How to show fringe to ivy-posframe](#orgdefc2c7) + 2. [How to custom your ivy-posframe style](#org34f3a1d) -<a id="org7f9a5fe"></a> +<a id="orga0194dc"></a> # ivy-posframe README -<a id="org5057226"></a> +<a id="org9479e4f"></a> ## What is ivy-posframe ivy-posframe is a ivy extension, which let ivy use posframe to show its candidate menu. -NOTE: ivy-posframe requires Emacs 26 +NOTE: ivy-posframe requires Emacs 26 and do not support +mouse click. -<a id="orgbde602c"></a> +<a id="org77c90ff"></a> ## Display functions @@ -43,12 +44,12 @@ NOTE: ivy-posframe requires Emacs 26  -<a id="org6bfc45d"></a> +<a id="orgbdb78e5"></a> ## How to enable ivy-posframe 1. Global mode - + (require 'ivy-posframe) (setq ivy-display-function #'ivy-posframe-display) ;; (setq ivy-display-function #'ivy-posframe-display-at-frame-center) @@ -58,25 +59,25 @@ NOTE: ivy-posframe requires Emacs 26 ;; (setq ivy-display-function #'ivy-posframe-display-at-point) (ivy-posframe-enable) 2. Per-command mode. - + (require 'ivy-posframe) ;; Different command can use different display function. (push '(counsel-M-x . ivy-posframe-display-at-window-bottom-left) ivy-display-functions-alist) (push '(complete-symbol . ivy-posframe-display-at-point) ivy-display-functions-alist) (ivy-posframe-enable) 3. Fallback mode - + (require 'ivy-posframe) (push '(t . ivy-posframe-display) ivy-display-functions-alist) (ivy-posframe-enable) -<a id="orgd52c7c9"></a> +<a id="orgd370bc2"></a> ## Tips -<a id="orga286c1f"></a> +<a id="orgdefc2c7"></a> ### How to show fringe to ivy-posframe @@ -88,7 +89,7 @@ By the way, User can set **any** parameters of ivy-posframe with the help of \`ivy-posframe-parameters'. -<a id="orgf8a38da"></a> +<a id="org34f3a1d"></a> ### How to custom your ivy-posframe style @@ -97,3 +98,4 @@ The simplest way is: (defun ivy-posframe-display-at-XXX (str) (ivy-posframe--display str #'your-own-poshandler-function)) (ivy-posframe-enable) ; This line is needed. + diff --git a/ivy-posframe.el b/ivy-posframe.el index 7f49589..7931a2d 100644 --- a/ivy-posframe.el +++ b/ivy-posframe.el @@ -33,7 +33,8 @@ ;; ivy-posframe is a ivy extension, which let ivy use posframe ;; to show its candidate menu. -;; NOTE: ivy-posframe requires Emacs 26 +;; NOTE: ivy-posframe requires Emacs 26 and do not support +;; mouse click. ;; ** Display functions