[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ivy-hydra 1b3d0a3 072/395: ivy.el (ivy--split): Fix for
From: |
Basil L. Contovounesios |
Subject: |
[elpa] externals/ivy-hydra 1b3d0a3 072/395: ivy.el (ivy--split): Fix for "\\" input |
Date: |
Thu, 25 Feb 2021 08:31:34 -0500 (EST) |
branch: externals/ivy-hydra
commit 1b3d0a33418766c76bc9aab982037a79ec624257
Author: Oleh Krehel <ohwoeowho@gmail.com>
Commit: Oleh Krehel <ohwoeowho@gmail.com>
ivy.el (ivy--split): Fix for "\\" input
* ivy-test.el (ivy--regex): Add test.
Fixes #2343
---
ivy-test.el | 3 ++-
ivy.el | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/ivy-test.el b/ivy-test.el
index 5e10fe0..97e46a4 100644
--- a/ivy-test.el
+++ b/ivy-test.el
@@ -266,7 +266,8 @@ will bring the behavior in line with the newer Emacsen."
(should (equal (ivy--regex "[^ \n]+\\( -> \\).*")
"\\([^ \n]+\\)\\( -> \\).*?\\(.*\\)"))
(should (equal (ivy--regex "\\([^ \\n]+\\)\\( -> \\).*")
- "\\([^ \\n]+\\)\\( -> \\).*?\\(.*\\)")))
+ "\\([^ \\n]+\\)\\( -> \\).*?\\(.*\\)"))
+ (should (equal (ivy--regex "\\\\") "\\\\")))
(ert-deftest ivy--split-negation ()
(should (equal (ivy--split-negation "") ()))
diff --git a/ivy.el b/ivy.el
index d8e4083..e9de309 100644
--- a/ivy.el
+++ b/ivy.el
@@ -2687,7 +2687,7 @@ regexp is passed to `regexp-quote'."
(setq ivy--input-garbage (substring str i))
(throw 'break nil)))
((= ?\\ c)
- (if (= ?\( (aref str (1+ i)))
+ (if (and (< (1+ i) len) (= ?\( (aref str (1+ i))))
(progn
(when (> i start)
(push (substring str start i) res))
- [elpa] externals/ivy-hydra a6d80c1 003/395: counsel.el (counsel-git-grep-cmd-default): Do not include --full-name, (continued)
- [elpa] externals/ivy-hydra a6d80c1 003/395: counsel.el (counsel-git-grep-cmd-default): Do not include --full-name, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra c6f6f9a 005/395: ivy-overlay.el (ivy-overlay-show-after): Improve available-height calculation, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra c8120fb 016/395: counsel.el (counsel-cd): Add counsel-delete-process, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 1578f52 022/395: ivy.el: Autoload ivy-hydra-read-action, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra f73cd70 023/395: counsel.el (counsel--find-file-matcher): Use counsel-find-file-ignore-regexp, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra d837871 030/395: ivy.el (ivy-thing-at-point): Don't hang when pinging machine, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra aef2538 040/395: ivy-test.el (ivy--split): Add test, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra b603d89 045/395: counsel.el: Fix typos, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra e32f14d 067/395: targets/plain.el (ivy-use-virtual-buffers): Enable, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 529cc08 071/395: ivy-test.el (ivy-swiper-wgrep): Disable on 24.5, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 1b3d0a3 072/395: ivy.el (ivy--split): Fix for "\\" input,
Basil L. Contovounesios <=
- [elpa] externals/ivy-hydra e2f1fe1 068/395: swiper.el (swiper--query-replace-updatefn): Fix bug, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 4fbd5a9 081/395: ivy-test.el (ivy-completing-read): Add test, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 83f04c0 092/395: counsel.el (counsel-flycheck): Add, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 99c02cc 109/395: ivy.el (ivy-partial): Fix ivy-regex mistaken for ivy-text, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 93d925d 121/395: counsel.el (counsel-mark--get-candidates): Extract, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 3119994 144/395: ivy.el (ivy--tramp-prefix-p): Fix regression, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 82331ed 147/395: Revert "Don't hardcode C-s and C-r", Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 8386220 173/395: swiper.el (swiper-isearch): Save mark, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra c84bc31 164/395: ivy.el (ivy--magic-file-slash): Use "///" instead of "//" on Windows, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 7c0f16d 155/395: swiper.el (swiper--re-builder): Genaralize search-default-mode, Basil L. Contovounesios, 2021/02/25