[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ivy-hydra baac6e1 090/395: swiper.el (swiper--re-builde
From: |
Basil L. Contovounesios |
Subject: |
[elpa] externals/ivy-hydra baac6e1 090/395: swiper.el (swiper--re-builder): Fix "^$" for swiper |
Date: |
Thu, 25 Feb 2021 08:31:38 -0500 (EST) |
branch: externals/ivy-hydra
commit baac6e1c32ee895ea543f341a62204946237fe9c
Author: Oleh Krehel <ohwoeowho@gmail.com>
Commit: Oleh Krehel <ohwoeowho@gmail.com>
swiper.el (swiper--re-builder): Fix "^$" for swiper
The candidates have " " prepended to them to hold text properties.
So "^$" should be translated to "^ $".
Fixes #2395
---
swiper.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/swiper.el b/swiper.el
index 426dce9..9828ddc 100644
--- a/swiper.el
+++ b/swiper.el
@@ -745,7 +745,9 @@ line numbers. For the buffer, use `ivy--regex' instead."
re)))
(cond
((string= re "$")
- "^$")
+ (if (eq (ivy-state-caller ivy-last) 'swiper)
+ "^ $"
+ "^$"))
((zerop ivy--subexps)
(prog1 (format "^ ?\\(%s\\)" re)
(setq ivy--subexps 1)))
- [elpa] externals/ivy-hydra 63f1af0 392/395: * doc/scripts.el: Add copyright to tame the checking script, (continued)
- [elpa] externals/ivy-hydra 63f1af0 392/395: * doc/scripts.el: Add copyright to tame the checking script, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra d47e354 393/395: Update copyright notices for 2021, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 65f5783 395/395: Select files relevant for the ivy-hydra package, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 968eea5 057/395: ivy.el (ivy-partial-or-done): Check if completion-cycle-threshold is a number, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 9619e3c 340/395: counsel.el (counsel-compile-get-make-help-invocations): new helper, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 066ed7b 362/395: Added pretty counsel-linux-app-format-function, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 764b978 378/395: Revert last change to ivy-update-candidates, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra dab134d 229/395: ivy.el (ivy-read): Don't clear the first item of history, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 83ba4bd 089/395: counsel.el (counsel--switch-buffer-update-fn): Allow marking, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra c83f6bc 088/395: ivy.el (ivy-call): Don't modify ivy-marked-candidates, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra baac6e1 090/395: swiper.el (swiper--re-builder): Fix "^$" for swiper,
Basil L. Contovounesios <=
- [elpa] externals/ivy-hydra cdd3995 100/395: ivy.el (ivy--buffer-list): Avoid unnecessarily touching remote connections, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 69fedaa 098/395: counsel.el (counsel-esh-history, counsel-shell-history): Set indices, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 32019df 102/395: ivy.el (ivy-read-action-by-key): Allow to read e.g. C-d, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 6941b8a 214/395: Revert ".dir-locals.el (outline-regexp): "^(" is not an outline start", Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 93929ec 257/395: * ivy.el (ivy--shorter-matches-first): Simplify, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 1b6f3cf 244/395: Improve ivy-switch-buffer-transformer, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 68ce6e6 384/395: Mention caveats for non-exiting commands in manual, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 1deef76 394/395: Bump version to point release 0.13.2, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 4235010 387/395: Re-revert last change to ivy-update-candidates, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra d8ed11e 388/395: Make ivy-switch-buffer-kill respect current predicate, Basil L. Contovounesios, 2021/02/25