[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/popup 4438b94 136/184: Merge pull request #95 from Konubin
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/popup 4438b94 136/184: Merge pull request #95 from Konubinix/master |
Date: |
Wed, 6 Oct 2021 00:01:29 -0400 (EDT) |
branch: elpa/popup
commit 4438b94ea78dd8d38783d8ea742d4b13c44b51e0
Merge: 46632ab 47008e1
Author: Syohei YOSHIDA <syohex@gmail.com>
Commit: Syohei YOSHIDA <syohex@gmail.com>
Merge pull request #95 from Konubinix/master
Allow the user to specify a custom function to build the regexp in isearch
---
popup.el | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/popup.el b/popup.el
index 392833b..bad8404 100644
--- a/popup.el
+++ b/popup.el
@@ -887,13 +887,18 @@ Pages up through POPUP."
(defvar popup-menu-show-quick-help-function 'popup-menu-show-quick-help
"Function used for showing quick help by `popup-menu*'.")
+(defcustom popup-isearch-regexp-builder-function 'regexp-quote
+ "Function used to construct a regexp from a pattern. You may for instance
+ provide a function that replaces spaces by '.+' if you like helm or ivy style
+ of completion.")
+
(defsubst popup-isearch-char-p (char)
(and (integerp char)
(<= 32 char)
(<= char 126)))
(defun popup-isearch-filter-list (pattern list)
- (cl-loop with regexp = (regexp-quote pattern)
+ (cl-loop with regexp = (funcall popup-isearch-regexp-builder-function
pattern)
for item in list
do
(unless (stringp item)
- [nongnu] elpa/popup d70cff9 101/184: Merge pull request #64 from aki2o/cascade-isearch, (continued)
- [nongnu] elpa/popup d70cff9 101/184: Merge pull request #64 from aki2o/cascade-isearch, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup c02ec73 111/184: Apply the patch of #8., ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 895d031 123/184: Add MELPA badges, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup d8fe6b0 102/184: Use Cask instead of 'git submodule', ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 649242e 118/184: :initial-index respects real popup height(beyond first popup page), ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 2bb4bce 115/184: fix error on popup-delete when char-before return nil, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 1f817d6 097/184: fixed deficient help-delay, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup becfbdd 099/184: Merge pull request #63 from aki2o/fix-deficient-help-delay, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup c3ebfba 094/184: Merge pull request #61 from auto-complete/add-nostrip-documentation, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 2687612 132/184: Merge pull request #91 from ancane/master, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 4438b94 136/184: Merge pull request #95 from Konubinix/master,
ELPA Syncer <=
- [nongnu] elpa/popup 4dbed57 137/184: Update cl-lib version, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 0a6447b 157/184: correct spelling mistake, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 98965e8 156/184: Fix typo in the docstring of popup-x-string, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup a7ed816 174/184: Upate license year., ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 13364d7 173/184: Add more Emacs version for CI test., ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 866a091 178/184: Add homepage url, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 4abbbf9 146/184: Merge pull request #99 from spwhitton/apt-get, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup e452399 153/184: Add popup-isearch-yank., ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup b436b63 168/184: Merge pull request #111 from drvink/patch-1, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup e742014 180/184: Merge pull request #124 from auto-complete/dis, ELPA Syncer, 2021/10/06