[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ivy-explorer 9af0805 27/29: Improve ivy-explorer-read f
From: |
Clemens Radermacher |
Subject: |
[elpa] externals/ivy-explorer 9af0805 27/29: Improve ivy-explorer-read function again |
Date: |
Tue, 12 Mar 2019 09:04:38 -0400 (EDT) |
branch: externals/ivy-explorer
commit 9af080571f530ba179fcbc54308410a9eabf386f
Author: Clemens Radermacher <address@hidden>
Commit: Clemens Radermacher <address@hidden>
Improve ivy-explorer-read function again
---
ivy-explorer.el | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/ivy-explorer.el b/ivy-explorer.el
index 74ad91d..66976d0 100644
--- a/ivy-explorer.el
+++ b/ivy-explorer.el
@@ -663,7 +663,7 @@ Call the permanent action if possible.")
(funcall ivy-explorer-message-function mstring)))
-(defun ivy-explorer-read (prompt coll &optional avy mcols width height)
+(defun ivy-explorer-read (prompt coll &optional avy msgf mcols width height)
"Read value from an explorer grid.
PROMPT and COLL are the same as for `ivy-read'. If AVY is non-nil
@@ -678,10 +678,14 @@ WIDTH is the width to be used to create the grid and
defaults to
frame-width.
Height is the height for the grid display and defaults to
-ivy-height."
- (let ((ivy-explorer-max-columns (or mcols (/ (frame-width) 30)))
+ivy-height.
+
+MSGF is the function to be called with the grid string and defaults to
+`ivy-explorer-message-function.'"
+ (let ((ivy-explorer-message-function (or msgf ivy-explorer-message-function))
+ (ivy-explorer-max-columns (or mcols (/ (frame-width) 30)))
(ivy-wrap nil)
- (ivy-explorer-height (or height ivy-height))
+ (ivy-explorer-height (or height ivy-explorer-height))
(ivy-explorer-width (or width (frame-width)))
(ivy-height (funcall ivy-explorer-max-function))
(ivy-display-function #'ivy-explorer--display-function)
- [elpa] externals/ivy-explorer 918c133 11/29: Add row counter variable, (continued)
- [elpa] externals/ivy-explorer 918c133 11/29: Add row counter variable, Clemens Radermacher, 2019/03/12
- [elpa] externals/ivy-explorer 35ee473 13/29: Skip first line when parsing posframe buffer for avy, Clemens Radermacher, 2019/03/12
- [elpa] externals/ivy-explorer af08f55 03/29: Refactoring, Clemens Radermacher, 2019/03/12
- [elpa] externals/ivy-explorer 5475145 01/29: Add Elpa badge, Clemens Radermacher, 2019/03/12
- [elpa] externals/ivy-explorer 1da2e48 16/29: Increase default number of columns to 5, Clemens Radermacher, 2019/03/12
- [elpa] externals/ivy-explorer 4c19171 22/29: Add ivy-explorer-read function to read any colledtion with the grid, Clemens Radermacher, 2019/03/12
- [elpa] externals/ivy-explorer a30fc60 15/29: Actually respect the setting of `ivy-explorer-max-columns`, Clemens Radermacher, 2019/03/12
- [elpa] externals/ivy-explorer 4a48ec4 17/29: Add posframe screenshot, Clemens Radermacher, 2019/03/12
- [elpa] externals/ivy-explorer bc207da 10/29: Add basic posframe support for #7, Clemens Radermacher, 2019/03/12
- [elpa] externals/ivy-explorer f9e3b7a 07/29: Add auto-init-avy option, and improve avy exit behaviour, Clemens Radermacher, 2019/03/12
- [elpa] externals/ivy-explorer 9af0805 27/29: Improve ivy-explorer-read function again,
Clemens Radermacher <=
- [elpa] externals/ivy-explorer e4bb026 26/29: Allow specifying height of grid display, Clemens Radermacher, 2019/03/12
- [elpa] externals/ivy-explorer 5fb5512 20/29: Only parse visible window part for avy selection with posframe, Clemens Radermacher, 2019/03/12
- [elpa] externals/ivy-explorer 6245f34 28/29: Change some frame paramaters for better posframe display, Clemens Radermacher, 2019/03/12
- [elpa] externals/ivy-explorer 72a511e 21/29: Don't keep avy on after first use, Clemens Radermacher, 2019/03/12
- [elpa] externals/ivy-explorer 384e241 18/29: Use ivy posframe dispatching done when using posframe, Clemens Radermacher, 2019/03/12
- [elpa] externals/ivy-explorer 5f9dafc 29/29: Version bump, Clemens Radermacher, 2019/03/12
- [elpa] externals/ivy-explorer 6481247 08/29: Refactor ivy-explorer-avy, Clemens Radermacher, 2019/03/12
- [elpa] externals/ivy-explorer 2badbe3 09/29: Bytec. fixes for free avy vars, Clemens Radermacher, 2019/03/12
- [elpa] externals/ivy-explorer c2ef475 19/29: Update ivy explorere avy dispatch for posframe, Clemens Radermacher, 2019/03/12
- [elpa] externals/ivy-explorer 8cfe1b4 23/29: Update docstrings, Clemens Radermacher, 2019/03/12