[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master db94a12 043/348: ivy.el (ivy-completion-in-region): Fix do
From: |
Oleh Krehel |
Subject: |
[elpa] master db94a12 043/348: ivy.el (ivy-completion-in-region): Fix double insert bug |
Date: |
Sat, 8 Apr 2017 11:03:20 -0400 (EDT) |
branch: master
commit db94a12d82c6ad4a8adb64d20c1bd148083e9c89
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>
ivy.el (ivy-completion-in-region): Fix double insert bug
Ensure that the already insert string, e.g. "js-indent-le" is deleted,
before the full symbol "js-indent-level" is inserted.
This used to work only sometimes before.
Fixes #528
---
ivy.el | 2 ++
1 file changed, 2 insertions(+)
diff --git a/ivy.el b/ivy.el
index 24bfe41..5df305d 100644
--- a/ivy.el
+++ b/ivy.el
@@ -1670,6 +1670,8 @@ The previous string is between `ivy-completion-beg' and
`ivy-completion-end'."
(if (string= str (car comps))
(message "Sole match")
(setf (ivy-state-window ivy-last) (selected-window))
+ (setq ivy-completion-beg start)
+ (setq ivy-completion-end end)
(ivy-completion-in-region-action
(substring-no-properties
(car comps))))
- [elpa] master 12145d7 030/348: ivy.el (ivy-completion-in-region-action): Remove string props, (continued)
- [elpa] master 12145d7 030/348: ivy.el (ivy-completion-in-region-action): Remove string props, Oleh Krehel, 2017/04/08
- [elpa] master 899c2aa 017/348: doc/ivy.org: Mention "/sudo:", Oleh Krehel, 2017/04/08
- [elpa] master c24a372 006/348: doc/Changelog.org: Fix some CUSTOM_ID, Oleh Krehel, 2017/04/08
- [elpa] master 5820db3 029/348: ivy.el (ivy--reset-state): Fix last commit, Oleh Krehel, 2017/04/08
- [elpa] master bc9e17a 033/348: ivy.el (ivy--reset-state): Prevent (expand-file-name nil), Oleh Krehel, 2017/04/08
- [elpa] master 12e35d0 037/348: counsel.el (counsel-bookmark): Add with-ivy-window, Oleh Krehel, 2017/04/08
- [elpa] master 85dc501 005/348: doc/Changelog.org: Add CUSTOM_ID to releases 0.6.0 and 0.7.0, Oleh Krehel, 2017/04/08
- [elpa] master 5826c86 035/348: ivy.el (ivy--reset-state): Add workaround for dired-do-copy, Oleh Krehel, 2017/04/08
- [elpa] master f57e2fb 039/348: ivy.el (ivy-immediate-done): Update docstring, Oleh Krehel, 2017/04/08
- [elpa] master 4f57a3a 041/348: Add forth-block-mode, Oleh Krehel, 2017/04/08
- [elpa] master db94a12 043/348: ivy.el (ivy-completion-in-region): Fix double insert bug,
Oleh Krehel <=
- [elpa] master de91a77 042/348: swiper.el (swiper-occur): Add require, Oleh Krehel, 2017/04/08
- [elpa] master fabcdc0 004/348: doc/Changelog.org: Add custom ids and whitespace in the end, Oleh Krehel, 2017/04/08
- [elpa] master c30a6e2 046/348: ivy.el (ivy-minibuffer-map): Undo remap, Oleh Krehel, 2017/04/08
- [elpa] master 3e1a940 045/348: counsel.el: Fix byte compile warnings, Oleh Krehel, 2017/04/08
- [elpa] master c960de5 047/348: counsel.el (counsel-grep-or-swiper): Don't grep on compressed files, Oleh Krehel, 2017/04/08
- [elpa] master 2776358 059/348: Show current value of the variable in the prompt, Oleh Krehel, 2017/04/08
- [elpa] master beee0b7 048/348: counsel.el (counsel-git): Add better error message, Oleh Krehel, 2017/04/08
- [elpa] master 65948fc 053/348: colir.el (colir-parse-color): Fix color parsing in terminal, Oleh Krehel, 2017/04/08
- [elpa] master e987cef 061/348: counsel.el (counsel-read-setq-expression): Fix Eldoc nag, Oleh Krehel, 2017/04/08
- [elpa] master 0091c8a 058/348: ivy.el (ivy-set-prompt-text-properties-function): New devar, Oleh Krehel, 2017/04/08