]> code.delx.au - gnu-emacs-elpa/log
gnu-emacs-elpa
8 years agoMerge commit 'e084b5d9feab3dd1246e51ce1fddde3db6024f7d' from swiper
Oleh Krehel [Sat, 23 May 2015 11:23:54 +0000 (13:23 +0200)]
Merge commit 'e084b5d9feab3dd1246e51ce1fddde3db6024f7d' from swiper

Conflicts:
packages/swiper/ivy.el

8 years agoswiper.el: Bump version
Oleh Krehel [Sat, 23 May 2015 11:22:00 +0000 (13:22 +0200)]
swiper.el: Bump version

8 years agoREADME.md: Add a secion on Ivy
Oleh Krehel [Thu, 21 May 2015 09:45:17 +0000 (11:45 +0200)]
README.md: Add a secion on Ivy

8 years agoThe :action parameter to ivy-read should take one arg
Oleh Krehel [Wed, 20 May 2015 17:00:48 +0000 (19:00 +0200)]
The :action parameter to ivy-read should take one arg

* ivy.el (ivy-next-line-and-call): Update.
(ivy-previous-line-and-call): Update.
(ivy-read): Update.
(ivy--switch-buffer-action): Update.

* swiper.el (swiper-query-replace): Update.

* counsel.el (counsel--find-symbol): Update.
(counsel-describe-variable): Update.
(counsel-describe-function): Update.
(counsel-git): Update.
(counsel-git-grep-action): Update.

8 years agoFixup "C-u C-j" for `ivy-switch-buffer'
Oleh Krehel [Wed, 20 May 2015 11:05:03 +0000 (13:05 +0200)]
Fixup "C-u C-j" for `ivy-switch-buffer'

ivy.el (ivy-immediate-done): Since action-style call is used now,
`ivy--current' must be set to `ivy-test', since it's `ivy--current' that
will count as completion result.

8 years agocounsel.el (counsel-git): Switch to action-style call
Oleh Krehel [Wed, 20 May 2015 09:40:44 +0000 (11:40 +0200)]
counsel.el (counsel-git): Switch to action-style call

This allows "C-M-n" and "C-M-p" to be used.

Re #114

8 years agoivy.el (ivy-completing-read): Check for a cons initial-input
Oleh Krehel [Wed, 20 May 2015 08:48:15 +0000 (10:48 +0200)]
ivy.el (ivy-completing-read): Check for a cons initial-input

8 years ago* swiper/ivy.el: Clean up regexps and pseudo-closures
Stefan Monnier [Thu, 21 May 2015 01:36:48 +0000 (21:36 -0400)]
* swiper/ivy.el: Clean up regexps and pseudo-closures

Don't require cl-lib twice.
(ivy-read, ivy--filter): Use closures instead of `(lambda ...).
(ivy--format, ivy--filter, ivy--exhibit, ivy--insert-prompt)
(ivy--regex-ignore-order, ivy--regex, ivy--sorted-files)
(ivy-partial-or-done, ivy-alt-done): Don't use ^/$ to match string bounds.

8 years ago* swiper/ivy.el: Clean up regexps and pseudo-closures
Stefan Monnier [Thu, 21 May 2015 01:36:48 +0000 (21:36 -0400)]
* swiper/ivy.el: Clean up regexps and pseudo-closures

Don't require cl-lib twice.
(ivy-read, ivy--filter): Use closures instead of `(lambda ...).
(ivy--format, ivy--filter, ivy--exhibit, ivy--insert-prompt)
(ivy--regex-ignore-order, ivy--regex, ivy--sorted-files)
(ivy-partial-or-done, ivy-alt-done): Don't use ^/$ to match string bounds.

8 years agoMerge commit 'bc335af4d94d80d3605b66ed51a15d2476ad2179' from swiper
Oleh Krehel [Tue, 19 May 2015 14:14:33 +0000 (16:14 +0200)]
Merge commit 'bc335af4d94d80d3605b66ed51a15d2476ad2179' from swiper

8 years agoFixup compilation warnings
Oleh Krehel [Tue, 19 May 2015 14:13:41 +0000 (16:13 +0200)]
Fixup compilation warnings

8 years agoWhen building a regex, consider ^ only at start
Oleh Krehel [Tue, 19 May 2015 12:54:42 +0000 (14:54 +0200)]
When building a regex, consider ^ only at start

swiper.el (swiper--re-builder): Update.

8 years agoMerge commit '199c52606dcd614cb856bbcaca13b5fada0772b6' from avy
Oleh Krehel [Tue, 19 May 2015 12:29:36 +0000 (14:29 +0200)]
Merge commit '199c52606dcd614cb856bbcaca13b5fada0772b6' from avy

8 years agoBump version
Oleh Krehel [Tue, 19 May 2015 12:29:03 +0000 (14:29 +0200)]
Bump version

8 years agocounsel.el (counsel-info-lookup-symbol): Turn on sorting
Oleh Krehel [Tue, 19 May 2015 10:11:03 +0000 (12:11 +0200)]
counsel.el (counsel-info-lookup-symbol): Turn on sorting

8 years agoavy.el (avy--overlay-at-full): Work-around 20607
Oleh Krehel [Mon, 18 May 2015 18:38:20 +0000 (20:38 +0200)]
avy.el (avy--overlay-at-full): Work-around 20607

* avy.el (avy--overlay-at-full): There's a problem when there are two
  overlays at the same point in the same buffer, but in different
  windows, *only if* they are of different length. Make them the same
  length to work-around this bug.

See http://debbugs.gnu.org/cgi/bugreport.cgi?bug=20607

Fixes #47

8 years agoavy.el (avy--overlay-at-full): Check overlay window
Oleh Krehel [Mon, 18 May 2015 17:14:03 +0000 (19:14 +0200)]
avy.el (avy--overlay-at-full): Check overlay window

* avy.el (avy--overlay-at-full): Update.

Re #47

8 years agoavy.el (avy-window-list): Fixup last commit
Oleh Krehel [Mon, 18 May 2015 14:31:46 +0000 (16:31 +0200)]
avy.el (avy-window-list): Fixup last commit

* avy.el (avy-window-list): Update.

Fixes #45

9 years agoMerge commit '3bf805df83fe6f110f3e7e8ce2dc37e0cf6c14cb' from context-coloring
Jackson Ray Hamilton [Mon, 18 May 2015 09:50:15 +0000 (02:50 -0700)]
Merge commit '3bf805df83fe6f110f3e7e8ce2dc37e0cf6c14cb' from context-coloring

9 years agoVersion 6.3.0.
Jackson Ray Hamilton [Mon, 18 May 2015 09:27:27 +0000 (02:27 -0700)]
Version 6.3.0.

9 years agoMerge branch 'elisp'
Jackson Ray Hamilton [Mon, 18 May 2015 08:53:21 +0000 (01:53 -0700)]
Merge branch 'elisp'

9 years agoMinor cleanup.
Jackson Ray Hamilton [Mon, 18 May 2015 08:26:51 +0000 (01:26 -0700)]
Minor cleanup.

9 years agomake compile should run checkdoc
Oleh Krehel [Mon, 18 May 2015 08:14:00 +0000 (10:14 +0200)]
make compile should run checkdoc

* targets/avy-init.el: Call `checkdoc' for "avy.el". This will actually
  work only in trunk Emacs.

9 years agoAdd derived mode support.
Jackson Ray Hamilton [Mon, 18 May 2015 08:09:29 +0000 (01:09 -0700)]
Add derived mode support.

9 years agoUpdate documentation for emacs lisp.
Jackson Ray Hamilton [Mon, 18 May 2015 07:32:45 +0000 (00:32 -0700)]
Update documentation for emacs lisp.

9 years agoAllow for all operations to work across frames
Oleh Krehel [Mon, 18 May 2015 06:57:12 +0000 (08:57 +0200)]
Allow for all operations to work across frames

* avy.el (avy-all-windows): Change the custom type to choice: this
  window/this frame/all frames.
(avy-window-list): New defun.
(avy-dowindows): Use `avy-window-list'.
(avy--process): Use `avy-window-list'.

9 years agoCompiler micro-optimizations.
Jackson Ray Hamilton [Mon, 18 May 2015 05:27:20 +0000 (22:27 -0700)]
Compiler micro-optimizations.

9 years agoBind optional parameters earlier.
Jackson Ray Hamilton [Mon, 18 May 2015 05:18:56 +0000 (22:18 -0700)]
Bind optional parameters earlier.

9 years agoRemove verbose parsing.
Jackson Ray Hamilton [Mon, 18 May 2015 05:10:04 +0000 (22:10 -0700)]
Remove verbose parsing.

9 years agoAdd test for interruption.
Jackson Ray Hamilton [Mon, 18 May 2015 05:07:19 +0000 (22:07 -0700)]
Add test for interruption.

9 years agoAdd constant comment test.
Jackson Ray Hamilton [Mon, 18 May 2015 03:25:32 +0000 (20:25 -0700)]
Add constant comment test.

9 years agoFix incorrect last fontified position.
Jackson Ray Hamilton [Mon, 18 May 2015 02:39:54 +0000 (19:39 -0700)]
Fix incorrect last fontified position.

9 years agoImprove defun regexp.
Jackson Ray Hamilton [Mon, 18 May 2015 02:27:33 +0000 (19:27 -0700)]
Improve defun regexp.

9 years agoFix timer disposal and timer buffer detection.
Jackson Ray Hamilton [Mon, 18 May 2015 01:59:47 +0000 (18:59 -0700)]
Fix timer disposal and timer buffer detection.

9 years agoOnly set defaults when the mode is enabled.
Jackson Ray Hamilton [Mon, 18 May 2015 00:25:24 +0000 (17:25 -0700)]
Only set defaults when the mode is enabled.

9 years agoFix font-lock error.
Jackson Ray Hamilton [Mon, 18 May 2015 00:00:51 +0000 (17:00 -0700)]
Fix font-lock error.

9 years agoAdd TODO.
Jackson Ray Hamilton [Sun, 17 May 2015 23:57:17 +0000 (16:57 -0700)]
Add TODO.

9 years agoAdd idle change teardown function.
Jackson Ray Hamilton [Sun, 17 May 2015 23:28:23 +0000 (16:28 -0700)]
Add idle change teardown function.

9 years agoFontify keywords.
Jackson Ray Hamilton [Sun, 17 May 2015 23:27:35 +0000 (16:27 -0700)]
Fontify keywords.

9 years agoImprove interruptability of syntactic coloring.
Jackson Ray Hamilton [Sun, 17 May 2015 22:47:32 +0000 (15:47 -0700)]
Improve interruptability of syntactic coloring.

9 years agoMake dispatches fully redefinable.
Jackson Ray Hamilton [Sun, 17 May 2015 22:44:59 +0000 (15:44 -0700)]
Make dispatches fully redefinable.

9 years agoTweak iteration values, add logging.
Jackson Ray Hamilton [Sun, 17 May 2015 20:37:28 +0000 (13:37 -0700)]
Tweak iteration values, add logging.

9 years agoRefactor maybe-colorize-comments-and-strings.
Jackson Ray Hamilton [Sun, 17 May 2015 19:56:50 +0000 (12:56 -0700)]
Refactor maybe-colorize-comments-and-strings.

9 years agoDon't try to call permanent action if there's none
Oleh Krehel [Sun, 17 May 2015 18:22:38 +0000 (20:22 +0200)]
Don't try to call permanent action if there's none

* ivy.el (ivy-next-line-and-call): Update.
(ivy-previous-line-and-call): Update.

Fixes #114.

9 years agoFix the at-full style interaction with tabs
Oleh Krehel [Sun, 17 May 2015 11:44:17 +0000 (13:44 +0200)]
Fix the at-full style interaction with tabs

* avy.el (avy--overlay-at-full): When at tab, visualize it using
  `tab-width' spaces. Assume the path is shorter than `tab-width'.

Fixes #43

9 years agoREADME.md: Add a link to the wiki for defcustoms
Oleh Krehel [Sun, 17 May 2015 11:31:16 +0000 (13:31 +0200)]
README.md: Add a link to the wiki for defcustoms

9 years agoivy.el (ivy-forward-char): Add and bind to "C-f"
Oleh Krehel [Sun, 17 May 2015 10:47:45 +0000 (12:47 +0200)]
ivy.el (ivy-forward-char): Add and bind to "C-f"

This is to avoid problems for the ido-related "C-x C-f C-f" reflex.

9 years agoFixup the last commit and add contribution guidelines
Oleh Krehel [Sun, 17 May 2015 10:36:37 +0000 (12:36 +0200)]
Fixup the last commit and add contribution guidelines

* avy.el (avy-goto-char):
(avy-goto-char-2):
(avy-goto-word-1):
(avy-goto-subword-1):
(avy-goto-word-or-subword-1): Update argument list and docstring.

* README.md: Add a "Contributing" section.

Re #44

9 years agoAdd interruption mechanism.
Jackson Ray Hamilton [Sun, 17 May 2015 09:49:39 +0000 (02:49 -0700)]
Add interruption mechanism.

9 years agoIgnore question marks.
Jackson Ray Hamilton [Sun, 17 May 2015 09:00:44 +0000 (02:00 -0700)]
Ignore question marks.

9 years agoAdd change hooks for elisp.
Jackson Ray Hamilton [Sun, 17 May 2015 08:45:56 +0000 (01:45 -0700)]
Add change hooks for elisp.

9 years agoRemove unused functions.
Jackson Ray Hamilton [Sun, 17 May 2015 07:55:31 +0000 (00:55 -0700)]
Remove unused functions.

9 years agoIgnore the dot.
Jackson Ray Hamilton [Sun, 17 May 2015 07:50:22 +0000 (00:50 -0700)]
Ignore the dot.

9 years agoAdd complex nesting to let test.
Jackson Ray Hamilton [Sun, 17 May 2015 07:36:46 +0000 (00:36 -0700)]
Add complex nesting to let test.

9 years agoAdd let test.
Jackson Ray Hamilton [Sun, 17 May 2015 07:32:57 +0000 (00:32 -0700)]
Add let test.

9 years agoInclude binding order in let* test.
Jackson Ray Hamilton [Sun, 17 May 2015 07:25:11 +0000 (00:25 -0700)]
Include binding order in let* test.

9 years agoPass let* test.
Jackson Ray Hamilton [Sun, 17 May 2015 07:22:00 +0000 (00:22 -0700)]
Pass let* test.

9 years agoFix let* test.
Jackson Ray Hamilton [Sun, 17 May 2015 07:20:55 +0000 (00:20 -0700)]
Fix let* test.

9 years agoTrivial refactoring for clarity.
Jackson Ray Hamilton [Sun, 17 May 2015 05:20:55 +0000 (22:20 -0700)]
Trivial refactoring for clarity.

9 years agoExpose chars to be read as args.
Yang Zhao [Sun, 17 May 2015 04:53:09 +0000 (21:53 -0700)]
Expose chars to be read as args.

9 years agoAdd let coloring.
Jackson Ray Hamilton [Sat, 16 May 2015 23:59:57 +0000 (16:59 -0700)]
Add let coloring.

9 years agoAlso color defsubst.
Jackson Ray Hamilton [Sat, 16 May 2015 23:59:01 +0000 (16:59 -0700)]
Also color defsubst.

9 years agoDon't color function calls as level 0.
Jackson Ray Hamilton [Sat, 16 May 2015 23:37:14 +0000 (16:37 -0700)]
Don't color function calls as level 0.

9 years agoAdd non-recursive let* coloring.
Jackson Ray Hamilton [Sat, 16 May 2015 23:23:09 +0000 (16:23 -0700)]
Add non-recursive let* coloring.

9 years agoRefactor elisp tests to use visual assertions.
Jackson Ray Hamilton [Sat, 16 May 2015 21:38:55 +0000 (14:38 -0700)]
Refactor elisp tests to use visual assertions.

9 years agoDon't treat unbindables like variables.
Jackson Ray Hamilton [Sat, 16 May 2015 20:09:31 +0000 (13:09 -0700)]
Don't treat unbindables like variables.

9 years agoAdd elisp comments and strings support.
Jackson Ray Hamilton [Sat, 16 May 2015 19:45:29 +0000 (12:45 -0700)]
Add elisp comments and strings support.

9 years agoCustomize how `avy-lead-face-0' is applied
Oleh Krehel [Sat, 16 May 2015 17:31:26 +0000 (19:31 +0200)]
Customize how `avy-lead-face-0' is applied

* avy.el (avy-highlight-first): New defcustom. When non-nil, use
  `avy-lead-face-0' even on terminal chars.
(avy--overlay-pre): Update.
(avy--overlay-at-full): Update.
(avy--overlay-post): Update.

Fixes #42

9 years agoavy.el (avy-move-line): Use ARG lines
Oleh Krehel [Sat, 16 May 2015 15:59:35 +0000 (17:59 +0200)]
avy.el (avy-move-line): Use ARG lines

9 years agoDon't error on incomplete bad regexp in counsel-git-grep
Oleh Krehel [Sat, 16 May 2015 12:43:51 +0000 (14:43 +0200)]
Don't error on incomplete bad regexp in counsel-git-grep

counsel.el (counsel-git-grep-matcher): Update.

9 years agoAdd quote and number coloring.
Jackson Ray Hamilton [Sat, 16 May 2015 12:43:42 +0000 (05:43 -0700)]
Add quote and number coloring.

9 years agocounsel.el (counsel-git-grep): Warn if not in a repository
Oleh Krehel [Sat, 16 May 2015 12:39:10 +0000 (14:39 +0200)]
counsel.el (counsel-git-grep): Warn if not in a repository

9 years agoAdd lambda coloring.
Jackson Ray Hamilton [Sat, 16 May 2015 09:26:54 +0000 (02:26 -0700)]
Add lambda coloring.

9 years agoCover malformed defun cases.
Jackson Ray Hamilton [Sat, 16 May 2015 07:54:26 +0000 (00:54 -0700)]
Cover malformed defun cases.

9 years agoivy.el (ivy-kill-word): Add and bind to "M-d"
Oleh Krehel [Sat, 16 May 2015 07:50:32 +0000 (09:50 +0200)]
ivy.el (ivy-kill-word): Add and bind to "M-d"

Fixes #94

9 years agoAdd basic elisp defun coloring.
Jackson Ray Hamilton [Sat, 16 May 2015 07:38:58 +0000 (00:38 -0700)]
Add basic elisp defun coloring.

9 years agoUpdate seq.el to version 1.7
Nicolas Petton [Fri, 15 May 2015 09:17:50 +0000 (11:17 +0200)]
Update seq.el to version 1.7

* packages/seq/seq.el: Update to version 1.7.
* packages/seq/tests/seq-tests.el: Update to version 1.7.

9 years agoREADME.md: Add sample init
Oleh Krehel [Fri, 15 May 2015 07:20:59 +0000 (09:20 +0200)]
README.md: Add sample init

Fixes #112

9 years agoFixed ivy--preselect-index on windows where the drives folders ends with a backslash...
__rompy [Fri, 15 May 2015 06:09:46 +0000 (09:09 +0300)]
Fixed ivy--preselect-index on windows where the drives folders ends with a backslash (C:\, D:\)

9 years agoUse lowercase for hex codes.
Jackson Ray Hamilton [Fri, 15 May 2015 04:16:18 +0000 (21:16 -0700)]
Use lowercase for hex codes.

9 years agoUpdate the way spaces are quoted using ivy
Oleh Krehel [Thu, 14 May 2015 13:05:24 +0000 (15:05 +0200)]
Update the way spaces are quoted using ivy

* ivy.el (ivy--split): Split only on single spaces. From all other space
  groups, remove one space.

* ivy-test.el (ivy--split): Add test.

Fixes #109

9 years agoRemove empty line after original one being moved
Ting-Yu Lin [Thu, 14 May 2015 10:10:17 +0000 (18:10 +0800)]
Remove empty line after original one being moved

Fixed #40.

9 years agoAllow all kinds of styles for `avy-goto-line'
Oleh Krehel [Wed, 13 May 2015 22:05:28 +0000 (00:05 +0200)]
Allow all kinds of styles for `avy-goto-line'

* avy.el (avy--line): Use the custom style. Use line end postion for
  'post style.

Fixes abo-abo/ace-link#17

Any of the following do something different now:

(setq avy-styles-alist
      '((avy-goto-line . post)))
(setq avy-styles-alist
      '((avy-goto-line . at)))
(setq avy-styles-alist
      '((avy-goto-line . at-full)))
(setq avy-styles-alist
      '((avy-goto-line . pre)))

9 years agoivy.el (ivy-partial-or-done): More predictability
Oleh Krehel [Wed, 13 May 2015 21:47:12 +0000 (23:47 +0200)]
ivy.el (ivy-partial-or-done): More predictability

* ivy.el (ivy-partial-or-done): Forward to `ivy-alt-done' only if
  `ivy-partial' did nothing new, and either previous command was
  `ivy-partial-or-done', or there's exactly one matching candidate.

Fixes #107

9 years agoavy.el (avy--overlay-at): Use `avy--overlay-offset'
Oleh Krehel [Wed, 13 May 2015 21:31:34 +0000 (23:31 +0200)]
avy.el (avy--overlay-at): Use `avy--overlay-offset'

Fixes abo-abo/lispy#70

9 years agoAllow to recenter with "C-l" during counsel-git-grep
Oleh Krehel [Wed, 13 May 2015 08:08:17 +0000 (10:08 +0200)]
Allow to recenter with "C-l" during counsel-git-grep

* counsel.el (counsel-git-grep-map): New defvar.
(counsel-git-grep-recenter): New command.
(counsel-git-grep-action): New defun.
(counsel-git-grep): Update.

Fixes #103

9 years agoivy.el (ivy-partial-or-done): Update doc
Oleh Krehel [Wed, 13 May 2015 08:05:00 +0000 (10:05 +0200)]
ivy.el (ivy-partial-or-done): Update doc

Re #105

9 years agoivy.el (ivy-partial-or-done): Always forward to `ivy-alt-done'
Oleh Krehel [Wed, 13 May 2015 07:46:07 +0000 (09:46 +0200)]
ivy.el (ivy-partial-or-done): Always forward to `ivy-alt-done'

Fixes #105

9 years agoivy.el (ivy-delete-char): Add and bind to "C-d"
Oleh Krehel [Tue, 12 May 2015 16:38:44 +0000 (18:38 +0200)]
ivy.el (ivy-delete-char): Add and bind to "C-d"

`delete-char' must not be called when at end of line, since that would
bring the first candidate into the input.

Fixes #94

9 years agoivy.el (ivy-switch-buffer): Preselect other-buffer
Oleh Krehel [Tue, 12 May 2015 16:05:45 +0000 (18:05 +0200)]
ivy.el (ivy-switch-buffer): Preselect other-buffer

* ivy.el (ivy-switch-buffer): Preselect other buffer, just like
  `switch-to-buffer' does it.

9 years agoivy.el (ivy-read): Keep the last ivy--index for :dynamic-collection
Oleh Krehel [Tue, 12 May 2015 13:35:06 +0000 (15:35 +0200)]
ivy.el (ivy-read): Keep the last ivy--index for :dynamic-collection

9 years agocounsel-git-grep now works with ivy-resume
Oleh Krehel [Tue, 12 May 2015 13:24:29 +0000 (15:24 +0200)]
counsel-git-grep now works with ivy-resume

* ivy.el (ivy-state): New field DYNAMIC-COLLECTION.
(ivy-resume): Update.
(ivy-read): New argument DYNAMIC-COLLECTION. When this is non-nil,
ignore collection and matchers etc, and just obtain the filtered
candidates by calling DYNAMIC-COLLECTION each time the input changes.

Fixes #100

9 years agoIntroduce :matcher for counsel-git-grep
Oleh Krehel [Tue, 12 May 2015 12:55:18 +0000 (14:55 +0200)]
Introduce :matcher for counsel-git-grep

* ivy.el (ivy-state): Add MATCHER field.
(ivy-resume): Update.
(ivy-read): Add MATCHER argument. To make things faster, MATCHER can
reuse `ivy--old-re', but it's not required. MATCHER is a function that
takes a candidate and returns non-nil if it matches.

* counsel.el (counsel-git-grep): Use :matcher.
(counsel-git-grep-matcher): New defun. Skip the file name and line
number, then match as usual.

Fixes #99

9 years agoForward to minibuffer-complete for filenames only if "^/"
Oleh Krehel [Tue, 12 May 2015 11:34:03 +0000 (13:34 +0200)]
Forward to minibuffer-complete for filenames only if "^/"

* ivy.el (ivy-partial-or-done): Update.

Fixes #102

9 years agoAdd `avy-lead-face-1' for dimmed matched chars
Oleh Krehel [Tue, 12 May 2015 10:36:18 +0000 (12:36 +0200)]
Add `avy-lead-face-1' for dimmed matched chars

* avy.el (avy-lead-face-0): Update doc.
(avy-lead-face-1): New face.
(avy-current-path): New defvar.
(avy-read): Store the current matched chars in `avy-current-path'.
(avy--overlay-pre):
(avy--overlay-post): Extend the string with the matched part. This
prevents shifting during selection, and looks nice too.

Fixes #38

9 years agoUse `avy-lead-face-0' for 'pre and 'post
Oleh Krehel [Tue, 12 May 2015 10:01:59 +0000 (12:01 +0200)]
Use `avy-lead-face-0' for 'pre and 'post

* avy.el (avy--overlay-pre): Update.
(avy--overlay-post): Update.

Re #38

9 years agoProperly update virtual buffers for "^ " interaction
Oleh Krehel [Tue, 12 May 2015 09:34:26 +0000 (11:34 +0200)]
Properly update virtual buffers for "^ " interaction

* ivy.el (ivy-read): Use `ivy--buffer-list'.
(ivy--exhibit): Use `ivy--buffer-list'.
(ivy-add-virtual-buffers): Remove.
(ivy--buffer-list): New defun.

Re #68

9 years agoFix the error switching to non-existent buffers
Oleh Krehel [Tue, 12 May 2015 09:17:46 +0000 (11:17 +0200)]
Fix the error switching to non-existent buffers

* ivy.el (ivy-read): Use `ivy-add-virtual-buffers'.
(ivy-buffer-list): Remove.
(ivy-add-virtual-buffers): New defun.
(ivy--switch-buffer-action): New defun, consider `ivy--current' being
zero length.
(ivy-switch-buffer): Use `ivy--switch-buffer-action'.

Fixes #101

9 years agoWith 'at-full style, use full len to check for overlap
Oleh Krehel [Tue, 12 May 2015 08:52:39 +0000 (10:52 +0200)]
With 'at-full style, use full len to check for overlap

avy.el (avy--overlay-at-full): Update.

9 years agoStop 'at-full from shifting text
Oleh Krehel [Mon, 11 May 2015 19:26:23 +0000 (21:26 +0200)]
Stop 'at-full from shifting text

* avy.el (avy-read): Call DISPLAY-FN in buffer's reverse order.
(avy--overlay-at-full): When there's an avy overlay after point, shorten
the current overlay to one letter.

Re #5