[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ivy-posframe 8799af1 069/195: Revert "Add ivy-posframe-
From: |
Feng Shu |
Subject: |
[elpa] externals/ivy-posframe 8799af1 069/195: Revert "Add ivy-posframe-border face and use it" |
Date: |
Sat, 3 Oct 2020 07:11:47 -0400 (EDT) |
branch: externals/ivy-posframe
commit 8799af191addb03d7917dbc88633c21874503e6e
Author: Feng Shu <tumashu@163.com>
Commit: Feng Shu <tumashu@163.com>
Revert "Add ivy-posframe-border face and use it"
This reverts commit 7bfd14f8b9a5209dde484619dd565104cc59d546.
---
README.md | 49 +++++++++++++++++++++++++++++--------------------
ivy-posframe.el | 16 ++++++++--------
2 files changed, 37 insertions(+), 28 deletions(-)
diff --git a/README.md b/README.md
index eb39709..775a01b 100644
--- a/README.md
+++ b/README.md
@@ -3,24 +3,25 @@ Note: this file is auto converted from ivy-posframe.el by
[el2org](https://githu
# 目录
-1. [ivy-posframe README](#org3d85bc4)
- 1. [What is ivy-posframe](#org5b2bac3)
- 2. [Display functions](#org76e7f43)
- 3. [How to enable ivy-posframe](#org45fc4c8)
- 1. [Global mode](#orge1a8047)
- 2. [Per-command mode.](#org13272c5)
- 3. [Fallback mode](#org2f40fde)
- 4. [Tips](#org0d52e7c)
- 1. [How to show fringe to ivy-posframe](#orgcf3e519)
- 2. [How to custom your ivy-posframe style](#org841efef)
+1. [ivy-posframe README](#org68c65a1)
+ 1. [What is ivy-posframe](#org03624ec)
+ 2. [Display functions](#org99df55a)
+ 3. [How to enable ivy-posframe](#org2040f8e)
+ 1. [Global mode](#org6cc7219)
+ 2. [Per-command mode.](#orgcd58b06)
+ 3. [Fallback mode](#org7941a0a)
+ 4. [Tips](#org5cfed99)
+ 1. [How to let ivy-posframe show border](#orgb370bbe)
+ 2. [How to show fringe to ivy-posframe](#orgb28f068)
+ 3. [How to custom your ivy-posframe style](#org96e6893)
-<a id="org3d85bc4"></a>
+<a id="org68c65a1"></a>
# ivy-posframe README
-<a id="org5b2bac3"></a>
+<a id="org03624ec"></a>
## What is ivy-posframe
@@ -31,7 +32,7 @@ NOTE: ivy-posframe requires Emacs 26 and do not support mouse
click.
-<a id="org76e7f43"></a>
+<a id="org99df55a"></a>
## Display functions
@@ -47,12 +48,12 @@ click.
![img](./snapshots/ivy-posframe-display-at-point.png)
-<a id="org45fc4c8"></a>
+<a id="org2040f8e"></a>
## How to enable ivy-posframe
-<a id="orge1a8047"></a>
+<a id="org6cc7219"></a>
### Global mode
@@ -66,7 +67,7 @@ click.
(ivy-posframe-enable)
-<a id="org13272c5"></a>
+<a id="orgcd58b06"></a>
### Per-command mode.
@@ -88,7 +89,7 @@ by ivy to find display function in
\`ivy-display-functions-alist',
"C-h v this-command" is a good idea.
-<a id="org2f40fde"></a>
+<a id="org7941a0a"></a>
### Fallback mode
@@ -97,12 +98,20 @@ by ivy to find display function in
\`ivy-display-functions-alist',
(ivy-posframe-enable)
-<a id="org0d52e7c"></a>
+<a id="org5cfed99"></a>
## Tips
-<a id="orgcf3e519"></a>
+<a id="orgb370bbe"></a>
+
+### How to let ivy-posframe show border
+
+ (set-face-attribute 'internal-border nil :background "gray50")
+ (setq ivy-posframe-border-width 1)
+
+
+<a id="orgb28f068"></a>
### How to show fringe to ivy-posframe
@@ -114,7 +123,7 @@ By the way, User can set **any** parameters of ivy-posframe
with
the help of \`ivy-posframe-parameters'.
-<a id="org841efef"></a>
+<a id="org96e6893"></a>
### How to custom your ivy-posframe style
diff --git a/ivy-posframe.el b/ivy-posframe.el
index 662ea5d..4b35100 100644
--- a/ivy-posframe.el
+++ b/ivy-posframe.el
@@ -91,6 +91,12 @@
;; ** Tips
+;; *** How to let ivy-posframe show border
+;; #+BEGIN_EXAMPLE
+;; (set-face-attribute 'internal-border nil :background "gray50")
+;; (setq ivy-posframe-border-width 1)
+;; #+END_EXAMPLE
+
;; *** How to show fringe to ivy-posframe
;; #+BEGIN_EXAMPLE
;; (setq ivy-posframe-parameters
@@ -152,7 +158,7 @@ When nil, Using current frame's font as fallback."
:group 'ivy-posframe
:type 'number)
-(defcustom ivy-posframe-border-width 1
+(defcustom ivy-posframe-border-width 0
"The border width used by ivy-posframe.
When 0, no border is showed."
:group 'ivy-posframe
@@ -173,11 +179,6 @@ When 0, no border is showed."
"Face used by the ivy-posframe."
:group 'ivy-posframe)
-(defface ivy-posframe-border
- '((t (:inherit default :background "gray50")))
- "Face used by the ivy-posframe."
- :group 'ivy-posframe)
-
(defface ivy-posframe-cursor
'((t (:inherit cursor)))
"Face used by the ivy-posframe's fake cursor."
@@ -218,8 +219,7 @@ This variable is useful for `ivy-posframe-read-action' .")
:min-height (or ivy-posframe-min-height 10)
:min-width (or ivy-posframe-min-width 50)
:internal-border-width ivy-posframe-border-width
- :override-parameters ivy-posframe-parameters
- :face-remap '((internal-border . ivy-posframe-border))))))
+ :override-parameters ivy-posframe-parameters))))
(defun ivy-posframe-display (str)
(let ((func (intern (format "ivy-posframe-display-at-%s"
- [elpa] externals/ivy-posframe 04d3719 037/195: Update README, (continued)
- [elpa] externals/ivy-posframe 04d3719 037/195: Update README, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe ff2578a 044/195: Add ivy-posframe-border-width, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 60e1f99 045/195: add variable to customize ivy-posframe style, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe aec9d8a 058/195: Update ivy-posframe README, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 704feb2 062/195: Let ivy-posframe only inhert default, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 3c00455 050/195: Add ivy-posframe-swiper-avy, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 9e5c4a9 060/195: Fix: Should the default width be the frame instead of the window? #22, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 0254f6e 065/195: Add document about border, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe f341bae 061/195: Add blank line, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe f6f07cf 056/195: Revert "Simplify ivy-postframe-avy", Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 8799af1 069/195: Revert "Add ivy-posframe-border face and use it",
Feng Shu <=
- [elpa] externals/ivy-posframe 26612b2 071/195: Add ivy-posframe-border face and use it, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 8d18644 072/195: Revert "Revert "Simplify ivy-postframe-avy"", Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 31363f3 076/195: Get correct prompt for recursive minibuffers, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe bf6cf5d 091/195: Merge pull request #39 from conao3/require-ivy-0.11.0, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe bda3116 093/195: Merge pull request #40 from CeleritasCelery/prompt, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 6de9801 097/195: remove unneeded ivy require code, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe a7fe06e 098/195: fix addition ivy-display-function-props, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 3aabf14 085/195: ivy-posframe-demo: let it toggle, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe e6f4e1c 088/195: Fix ""ivy-posframe-font seems take no effect." #36, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe d5dd254 075/195: Update README, Feng Shu, 2020/10/03