]> code.delx.au - gnu-emacs-elpa/log
gnu-emacs-elpa
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

9 years agoUpdate group name
Oleh Krehel [Mon, 11 May 2015 17:48:56 +0000 (19:48 +0200)]
Update group name

9 years agoivy.el (ivy-partial-or-done): Fixup
Oleh Krehel [Mon, 11 May 2015 14:55:18 +0000 (16:55 +0200)]
ivy.el (ivy-partial-or-done): Fixup

* ivy.el (ivy-partial-or-done): Switch `default-directory' so that
  `minibuffer-complete' is aware of it. Select a directory only if there
  is only one.

9 years agoivy.el (ivy-partial-or-done): Fixup
Oleh Krehel [Mon, 11 May 2015 14:15:18 +0000 (16:15 +0200)]
ivy.el (ivy-partial-or-done): Fixup

9 years agoWhen completing file names, defer to `minibuffer-complete' for "TAB"
Oleh Krehel [Mon, 11 May 2015 14:02:57 +0000 (16:02 +0200)]
When completing file names, defer to `minibuffer-complete' for "TAB"

* ivy.el (ivy-partial-or-done): Call `minibuffer-complete'. If the
  resulting text is a valid directory, move there.
(ivy-read): Setup `minibuffer-completion-table' and
`minibuffer-completion-predicate'. This makes `minibuffer-complete'
work.

Fixes #92

9 years agoswiper.el (swiper-font-lock-ensure): Ignore fundamental-mode
Oleh Krehel [Mon, 11 May 2015 13:58:53 +0000 (15:58 +0200)]
swiper.el (swiper-font-lock-ensure): Ignore fundamental-mode

ELP uses this.

9 years agoavy.el (avy--regex-candidates): Add optional group arg
Oleh Krehel [Mon, 11 May 2015 12:39:19 +0000 (14:39 +0200)]
avy.el (avy--regex-candidates): Add optional group arg

9 years agoAdd debug declarations
Oleh Krehel [Mon, 11 May 2015 12:39:01 +0000 (14:39 +0200)]
Add debug declarations

9 years agotargets/avy-init.el: Update
Oleh Krehel [Mon, 11 May 2015 12:38:46 +0000 (14:38 +0200)]
targets/avy-init.el: Update

9 years agoAllow to customize the minibuffer formatter
Oleh Krehel [Mon, 11 May 2015 10:42:56 +0000 (12:42 +0200)]
Allow to customize the minibuffer formatter

* ivy.el (ivy-format-function): New defvar.
(ivy-format-function-default): New defun.
(ivy-format-function-arrow): New defun, alternative for
`ivy-format-function'.

Fixes #87

9 years agoUpdate test
Oleh Krehel [Mon, 11 May 2015 09:36:45 +0000 (11:36 +0200)]
Update test

ivy-test.el (swiper--re-builder): Rename from `ivy--transform-re'.

9 years agoSwiper should use the :re-builder argument
Oleh Krehel [Mon, 11 May 2015 09:07:07 +0000 (11:07 +0200)]
Swiper should use the :re-builder argument

* ivy.el (ivy--transform-re): Remove defun, :re-builder should be used
  for this logic.
(ivy--filter): Update.

* swiper.el (swiper-avy): Use `ivy--regex'.
(swiper--init): Don't set `ivy--regex-function' - it will be set by
:re-builder.
(swiper--re-builder): New defun.
(swiper--ivy): Use :re-builder in call to `ivy-read'.
(swiper--update-input-ivy): Use `ivy--regex'.
(swiper--action): Use `ivy--regex'.

Fixes #90

9 years agoUpdate avy-jump mentions in the README
Bozhidar Batsov [Mon, 11 May 2015 08:41:22 +0000 (11:41 +0300)]
Update avy-jump mentions in the README

9 years agoivy.el (ivy-read): Add a re-builder argument
Oleh Krehel [Mon, 11 May 2015 08:41:13 +0000 (10:41 +0200)]
ivy.el (ivy-read): Add a re-builder argument

* ivy.el (ivy-state): Add a RE-BUILDER field.
(ivy-resume): Use RE-BUILDER field.
(ivy-read): Set `ivy--regex-function' to RE-BUILDER if it's given.

9 years agoMerge avy-jump.el into avy.el
Oleh Krehel [Mon, 11 May 2015 08:33:16 +0000 (10:33 +0200)]
Merge avy-jump.el into avy.el

Fixes #31

9 years agoavy-jump.el (avy-goto-word-or-subword-1): New command
Oleh Krehel [Mon, 11 May 2015 08:26:09 +0000 (10:26 +0200)]
avy-jump.el (avy-goto-word-or-subword-1): New command

Fixes #33

9 years agoivy.el (ivy-backward-kill-word): Add and bind to "M-DEL"
Oleh Krehel [Mon, 11 May 2015 08:08:35 +0000 (10:08 +0200)]
ivy.el (ivy-backward-kill-word): Add and bind to "M-DEL"

Fixes #94

9 years agoAdd a new face for 'at-full style
Oleh Krehel [Mon, 11 May 2015 07:45:49 +0000 (09:45 +0200)]
Add a new face for 'at-full style

* avy-jump.el (avy-lead-face-0): New face.
(avy--overlay-at-full): If the path is longer than 1, propertize the
first char with `avy-lead-face-0'.

Re #5

9 years agotargets/avy-init.el: Move
Oleh Krehel [Mon, 11 May 2015 07:39:44 +0000 (09:39 +0200)]
targets/avy-init.el: Move

* Makefile: Update.

Fixes #32
Fixes milkypostman/melpa/#2758

9 years agoavy-jump.el (avy-case-fold-search): New defcustom
Oleh Krehel [Sun, 10 May 2015 11:29:19 +0000 (13:29 +0200)]
avy-jump.el (avy-case-fold-search): New defcustom

* avy-jump.el (avy--regex-candidates): Use `avy-case-fold-search'.
When it is t, the case will be ignored while jumping.

Fixes abo-abo/ace-window#34

9 years agoREADME.md: mention avy-goto-line -> goto-line
Oleh Krehel [Sat, 9 May 2015 18:01:57 +0000 (20:01 +0200)]
README.md: mention avy-goto-line -> goto-line

9 years agoAllow to break from `avy-goto-line' into `goto-line'
Oleh Krehel [Sat, 9 May 2015 16:14:50 +0000 (18:14 +0200)]
Allow to break from `avy-goto-line' into `goto-line'

* avy.el (avy-handler-default): New defun.
(avy-handler-function): New variable. Bind this temporarily to catch bad chars.
(avy-read): Forward to `avy-handler-default'.

* avy-jump.el (avy--goto): Consider the case of 'exit symbol being
  returned.
(avy-goto-line): Bind `avy-handler-function' to catch digits and call
`goto-line' in that case.

Fixes #29

9 years agoFix the transition from a bad regex to good one
Oleh Krehel [Sat, 9 May 2015 15:07:44 +0000 (17:07 +0200)]
Fix the transition from a bad regex to good one

* ivy.el (ivy--filter): Update.

Fixes #93

9 years agoFix jumping to newlines with at-full style
Oleh Krehel [Sat, 9 May 2015 14:44:58 +0000 (16:44 +0200)]
Fix jumping to newlines with at-full style

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

Re #5

9 years agoavy-jump.el (avy-goto-subword-0): Update candidate order
Oleh Krehel [Sat, 9 May 2015 12:43:52 +0000 (14:43 +0200)]
avy-jump.el (avy-goto-subword-0): Update candidate order

Re #27

9 years agoavy-jump.el (avy-dowindows): Simplify
Oleh Krehel [Sat, 9 May 2015 12:23:23 +0000 (14:23 +0200)]
avy-jump.el (avy-dowindows): Simplify

Re #27

9 years agoavy-jump.el (avy-goto-subword-0): Add nreverse
Oleh Krehel [Sat, 9 May 2015 12:21:59 +0000 (14:21 +0200)]
avy-jump.el (avy-goto-subword-0): Add nreverse

Re #27

9 years agoMerge commit 'e242f04e32c7d874c779fb83c86aa5bdbc508f18' from avy
Oleh Krehel [Sat, 9 May 2015 11:50:39 +0000 (13:50 +0200)]
Merge commit 'e242f04e32c7d874c779fb83c86aa5bdbc508f18' from avy

Conflicts:
packages/avy/avy.el

9 years agoMerge commit 'b114cf8a93224c85c51e95db52bf359131130476' from ace-window
Oleh Krehel [Sat, 9 May 2015 11:48:05 +0000 (13:48 +0200)]
Merge commit 'b114cf8a93224c85c51e95db52bf359131130476' from ace-window

9 years agoBump version
Oleh Krehel [Sat, 9 May 2015 11:47:07 +0000 (13:47 +0200)]
Bump version

9 years agoUpdate and document the style customization
Oleh Krehel [Sat, 9 May 2015 11:38:05 +0000 (13:38 +0200)]
Update and document the style customization

* avy-jump.el (avy-style): New defcustom. Replaces `avy-goto-char-style'
  and `avy-goto-word-style'.
(avy-styles-alist): New defcustom. Allows to customize the style for
each command separately.
(avy--with-avy-keys): Update.
(avy-goto-char-style): Obsolete.
(avy-goto-word-style): Obsolete.

* README.md: Document style customization.

Fixes #28

9 years agoAllow to display the full path using `at-full' style
Oleh Krehel [Sat, 9 May 2015 11:03:24 +0000 (13:03 +0200)]
Allow to display the full path using `at-full' style

* avy-jump.el (avy--overlay-at-full): New defun.
(avy--style-fn): Update.
(avy-goto-char-style): Update.
(avy-goto-word-style): Update.

Fixes #5

9 years agoFix avy-background some more
Oleh Krehel [Sat, 9 May 2015 11:02:20 +0000 (13:02 +0200)]
Fix avy-background some more

* avy-jump.el (avy--make-backgrounds): Make the overlay local to the
  current window. Avoids the problem when the same buffer is displayed
  twice.

9 years agoFix avy-background for multiple windows
Oleh Krehel [Sat, 9 May 2015 10:52:38 +0000 (12:52 +0200)]
Fix avy-background for multiple windows

* avy-jump.el (avy--process): Update.

Fixes #26

9 years agoRun checkdoc
Oleh Krehel [Sat, 9 May 2015 10:44:41 +0000 (12:44 +0200)]
Run checkdoc

* avy-jump.el (cl-lib): Is already required in avy.
(avy-keys-alist): Fix doc.
(avy--with-avy-keys): Add doc.
(avy-word-punc-regexp): Fix doc.
(avy--process): Fix doc.
(avy--overlay-at): Fix doc.
(avy--overlay-post): Fix doc.
(avy--line): Fix doc.
(avy-goto-line): Fix doc.

Fixes #25

9 years agoFix eval-after-load isearch
Oleh Krehel [Sat, 9 May 2015 06:33:16 +0000 (08:33 +0200)]
Fix eval-after-load isearch

* avy-jump.el (avy-setup-default): Update.

Fixes #21

9 years agoAdd a dependency to cl-lib for Emacs < 24.3
Bozhidar Batsov [Sat, 9 May 2015 05:29:06 +0000 (08:29 +0300)]
Add a dependency to cl-lib for Emacs < 24.3

cl-lib was introduced in Emacs 24.3. On older Emacs versions we have to
install it from GNU ELPA.

9 years agoAlways default to avy-keys but allow for per-command overrides
Tassilo Horn [Fri, 8 May 2015 20:56:33 +0000 (22:56 +0200)]
Always default to avy-keys but allow for per-command overrides

Using the new `avy-keys-alist` one can override the default `avy-keys`
on a per-command basis.  That's much better than hard-coding ?a-?z for
some commands and using the defaults for some others.

Fixes #20

9 years agoMove the package metadata to avy.el
Oleh Krehel [Fri, 8 May 2015 20:29:38 +0000 (22:29 +0200)]
Move the package metadata to avy.el

Depend on Emacs 24.1 as well.

9 years agoDeclare swiper-map
Oleh Krehel [Fri, 8 May 2015 20:47:47 +0000 (22:47 +0200)]
Declare swiper-map

Fixes #90

9 years agoUse cl-lib instead of cl-macs
Bozhidar Batsov [Fri, 8 May 2015 20:10:44 +0000 (23:10 +0300)]
Use cl-lib instead of cl-macs

Fixes #19

9 years ago* avy.el: Fix up author email and top-level require.
Stefan Monnier [Fri, 8 May 2015 19:13:22 +0000 (15:13 -0400)]
* avy.el: Fix up author email and top-level require.

9 years agoAdd more customization types
Sean Allred [Fri, 8 May 2015 18:55:38 +0000 (13:55 -0500)]
Add more customization types

Fixes #18

9 years agoAdd customization type to `avy-keys'
Sean Allred [Fri, 8 May 2015 18:50:47 +0000 (13:50 -0500)]
Add customization type to `avy-keys'

9 years agoUse `avy-keys' for `avy-goto-subword-1'
Oleh Krehel [Fri, 8 May 2015 17:40:20 +0000 (19:40 +0200)]
Use `avy-keys' for `avy-goto-subword-1'

* avy-jump.el (avy-goto-subword-0): Update.

Fixes #15

9 years agoWhen selecting from many windows, prioritize the current
Oleh Krehel [Fri, 8 May 2015 17:21:48 +0000 (19:21 +0200)]
When selecting from many windows, prioritize the current

* avy-jump.el (avy-dowindows): Update.

Fixes #14

9 years agoace-window.el (aw-ignore-current): New defcustom
Oleh Krehel [Fri, 8 May 2015 17:17:55 +0000 (19:17 +0200)]
ace-window.el (aw-ignore-current): New defcustom

* ace-window.el (aw-ignored-p): Use `aw-ignore-current'.

Fixes #43

9 years agoRename avy-swiper to swiper-avy
Oleh Krehel [Fri, 8 May 2015 16:29:47 +0000 (18:29 +0200)]
Rename avy-swiper to swiper-avy

* swiper.el (swiper-avy): Rename and fix the regex.

9 years agoAdd avy-goto-char-timer
Oleh Krehel [Fri, 8 May 2015 16:19:40 +0000 (18:19 +0200)]
Add avy-goto-char-timer

avy-jump.el (avy-goto-char-timer): New command. Generalize
`avy-goto-char' and `avy-goto-char-2' with a timer.

* avy-jump.el (avy-timeout-seconds): New defcustom.

Fixes #13

9 years agoavy-jump.el (avy--regex-candidates): Update arglist
Oleh Krehel [Fri, 8 May 2015 16:08:36 +0000 (18:08 +0200)]
avy-jump.el (avy--regex-candidates): Update arglist

* avy-jump.el (avy--regex-candidates): Remove the optional window arg.

9 years agoivy.el (ivy-use-virtual-buffers): New defcustom
Oleh Krehel [Fri, 8 May 2015 16:01:58 +0000 (18:01 +0200)]
ivy.el (ivy-use-virtual-buffers): New defcustom

Re #84

9 years agoAdd support for virtual buffers
Oleh Krehel [Fri, 8 May 2015 15:47:51 +0000 (17:47 +0200)]
Add support for virtual buffers

* ivy.el (ivy-mode-map): New defvar. Remap `switch-to-buffer' to
  `ivy-switch-buffer'.
(ivy-mode): Use `ivy-mode-map'.
(ivy--virtual-buffers): New devar.
(ivy--virtual-buffers): New defun.
(ivy-buffer-list): Return a list of buffers, taking
`ido-use-virtual-buffers' into account.
(ivy-switch-buffer): New command.

Fixes #84

9 years agoSimplify ivy-partial-or-done
Tassilo Horn [Fri, 8 May 2015 13:46:45 +0000 (15:46 +0200)]
Simplify ivy-partial-or-done

9 years agoMerge commit 'cc38c044a13e6df822431d6c706cf4b9255900bd' from ace-window
Oleh Krehel [Fri, 8 May 2015 13:36:52 +0000 (15:36 +0200)]
Merge commit 'cc38c044a13e6df822431d6c706cf4b9255900bd' from ace-window

Move the dependencies into a new ELPA package avy.

9 years agoAdd 'packages/avy/' from commit '32003515c8efa2cf38b62c45499dae30bc7cacb8'
Oleh Krehel [Fri, 8 May 2015 13:34:46 +0000 (15:34 +0200)]
Add 'packages/avy/' from commit '32003515c8efa2cf38b62c45499dae30bc7cacb8'

git-subtree-dir: packages/avy
git-subtree-mainline: 74b34f2bbb929a1caf5cf753e59c54c3ccb74f50
git-subtree-split: 32003515c8efa2cf38b62c45499dae30bc7cacb8

9 years agoBump version
Oleh Krehel [Fri, 8 May 2015 13:32:16 +0000 (15:32 +0200)]
Bump version

9 years agoavy-jump.el (avy-setup-default): Setup some bindings
Oleh Krehel [Fri, 8 May 2015 13:20:08 +0000 (15:20 +0200)]
avy-jump.el (avy-setup-default): Setup some bindings

* README.md: Add a description.

Fixes #10

9 years agoAdd swiper -> avy finalizer
Oleh Krehel [Fri, 8 May 2015 13:18:43 +0000 (15:18 +0200)]
Add swiper -> avy finalizer

* ivy.el (ivy-quit-and-run): New defmacro.
(tramp-get-completion-function): Add declare.

* swiper.el (swiper-map): Bind `avy-swiper' to "C-'".
(avy-swiper): New defun - jump to one of the currently visible swiper
candidates using avy.

9 years agoAllow to use "^" in swiper
Oleh Krehel [Fri, 8 May 2015 12:35:29 +0000 (14:35 +0200)]
Allow to use "^" in swiper

* swiper.el (swiper--width): New defvar.
(swiper--candidates): Set `swiper--width'.

* ivy.el (ivy--transform-re): New defun - transform the regex
  specifically for `swiper'.
(ivy--filter): Call `ivy--transform-re'.

* ivy-test.el (ivy--transform-re): Add test.

Fixes #82

9 years agoAce Window now depends on Avy
Oleh Krehel [Fri, 8 May 2015 09:57:40 +0000 (11:57 +0200)]
Ace Window now depends on Avy

* Cask: New file.

* Makefile: Leave only the compile target.

* ace-window.el: Depend on `avy'.

* avy-init.el:
* avy-jump.el:
* avy-test.el:
* avy.el: Delete files, they are in `avy' repository now.

Fixes #39

9 years agoavy.el: Update commentary
Oleh Krehel [Fri, 8 May 2015 09:51:07 +0000 (11:51 +0200)]
avy.el: Update commentary

9 years agoAdd avy-goto-subword-1
Oleh Krehel [Fri, 8 May 2015 09:36:10 +0000 (11:36 +0200)]
Add avy-goto-subword-1

Fixes #8

9 years agoAdd ivy-partial: partial complete without exiting
Oleh Krehel [Fri, 8 May 2015 08:18:38 +0000 (10:18 +0200)]
Add ivy-partial: partial complete without exiting

* ivy.el (ivy-partial-or-done): Forward to `ivy-partial'.
(ivy-partial): New defun.

If you want a different style of completion for "TAB", do this in your
config:

(define-key ivy-minibuffer-map (kbd "TAB") 'ivy-partial)

Fixes #85
Fixes #86

9 years agoavy-jump.el (avy-goto-word-1): Fix for "."
Oleh Krehel [Thu, 7 May 2015 13:36:35 +0000 (15:36 +0200)]
avy-jump.el (avy-goto-word-1): Fix for "."

Fixes #7

9 years agoSpecial-case char RET to allow for jumping to end-of-lines.
Tassilo Horn [Thu, 7 May 2015 12:37:31 +0000 (14:37 +0200)]
Special-case char RET to allow for jumping to end-of-lines.

With this change you can use `avy-goto-char' also to jump to the end of
some currently visible line.  E.g., C-c j <return> (assuming C-c j is
bound to `avy-goto-char') makes all line endings jump targets.

`avy--overlay-at' had to be adapted so that the overlay at \n doesn't
make the line-break disappear.

`avy--overlay' had to be adapted in order not to put an overlay on the
char after (point-max) in case `avy--overlay-post' is used.  (Honestly,
this feature is a bit awkward with 'post overlays where the jump
location is visualized as first char in the next line.)

9 years agoAbstract windows and rely on subword
Oleh Krehel [Thu, 7 May 2015 11:28:27 +0000 (13:28 +0200)]
Abstract windows and rely on subword

* avy-jump.el (avy-dowindows): New macro.
(avy--regex-candidates): Use `avy-dowindows'.
(avy-goto-subword-0): Rely on `subword-backward'.
(avy--line): Use `avy-dowindows'.

Fixes #4

9 years agoREADME.md: Add command descriptions
Oleh Krehel [Thu, 7 May 2015 11:02:44 +0000 (13:02 +0200)]
README.md: Add command descriptions

9 years agoavy-jump.el (avy--line): Avoid image-mode and doc-view-mode
Oleh Krehel [Thu, 7 May 2015 11:02:20 +0000 (13:02 +0200)]
avy-jump.el (avy--line): Avoid image-mode and doc-view-mode

Fixes #1

9 years agoCustomize the leading char style for chars and words
Oleh Krehel [Thu, 7 May 2015 10:42:58 +0000 (12:42 +0200)]
Customize the leading char style for chars and words

* avy-jump.el (avy--style-fn): New defun.
(avy--generic-jump): Add a STYLE arg.
(avy-goto-char-style): New defcustom.
(avy-goto-word-style): New defcustom.
(avy-goto-char): Update.
(avy-goto-char-2): Update.
(avy-goto-word-0): Update.
(avy-goto-word-1): Simplify.
(avy-goto-subword-0): Update doc.

Fixes #5

9 years agoREADME.md: add
Oleh Krehel [Thu, 7 May 2015 10:10:51 +0000 (12:10 +0200)]
README.md: add

Fixes #2

9 years agoFix avy-goto-subword-0
Tassilo Horn [Thu, 7 May 2015 08:28:24 +0000 (10:28 +0200)]
Fix avy-goto-subword-0

avy-goto-subword-0's regexp requires that case-fold-search is nil, so
let-bind it.

9 years agoRegexp-quote strings of avy-goto-char* functions.
Tassilo Horn [Thu, 7 May 2015 08:22:42 +0000 (10:22 +0200)]
Regexp-quote strings of avy-goto-char* functions.

Before this commit, avy-goto-char with char ^ would inf-loop because the
resulting string "^" is treated as a regular expressions.  However, with
the avy-goto-char* function, the char should be treated literally.  For
example, in Clojure ^:foo is treated as metadata annotation and thus ^
is a likely jump target.

9 years agoAdd URL to header.
Jackson Ray Hamilton [Thu, 7 May 2015 08:21:07 +0000 (01:21 -0700)]
Add URL to header.

9 years agoTry to prevent the resize of minibuffer window
Oleh Krehel [Wed, 6 May 2015 19:01:14 +0000 (21:01 +0200)]
Try to prevent the resize of minibuffer window

* ivy.el (ivy--insert-minibuffer): Temporarily bind
  `resize-mini-windows' to nil.

From its doc:
    A value of `grow-only', the default, means let mini-windows grow only;
    they return to their normal size when the minibuffer is closed, or the
    echo area becomes empty.

It could be that an update catches this minibuffer empty during
`ivy--insert-minibuffer'.

Re #77

9 years agoMerge ivy--update-fn into ivy-last
Oleh Krehel [Wed, 6 May 2015 16:17:24 +0000 (18:17 +0200)]
Merge ivy--update-fn into ivy-last

* ivy.el (ivy--update-fn): Remove defvar.
(ivy-read): Update.
(ivy--insert-minibuffer): Update.

9 years agoMerge commit '6811a4d2788cf6753a19be728b78e13dd44e4ca8'
Artur Malabarba [Wed, 6 May 2015 10:00:47 +0000 (11:00 +0100)]
Merge commit '6811a4d2788cf6753a19be728b78e13dd44e4ca8'

9 years agoVersion 1.0.2
Artur Malabarba [Wed, 6 May 2015 10:00:02 +0000 (11:00 +0100)]
Version 1.0.2

9 years agoAdd iedit support. Fix #47
Artur Malabarba [Wed, 6 May 2015 09:54:10 +0000 (10:54 +0100)]
Add iedit support. Fix #47

9 years agoAdd parents using 'display for `counsel-load-library'
Oleh Krehel [Wed, 6 May 2015 09:49:01 +0000 (11:49 +0200)]
Add parents using 'display for `counsel-load-library'

* counsel.el (counsel--find-symbol): The argument string may have a
  'full-name property.
(counsel-string-compose): New defun.
(counsel-load-library): Make libraries unique through text properties.

Re #79

9 years agoAdd counsel-load-library
Oleh Krehel [Wed, 6 May 2015 08:42:17 +0000 (10:42 +0200)]
Add counsel-load-library

* counsel.el (counsel-directory-parent): New defun.
(counsel-load-library): New command.

Improve on `load-library':

- don't consider .*elc or .*pkg.elc?, they're usually useless
- resolve duplicates in a similar way to uniquify (prepend parent directory)
- allow to jump-to-library with "C-." (see `counsel-describe-map')

9 years agoMove obsoletes to one place
Oleh Krehel [Wed, 6 May 2015 06:43:45 +0000 (08:43 +0200)]
Move obsoletes to one place

9 years agoWork around grep-read-files
Oleh Krehel [Wed, 6 May 2015 07:09:04 +0000 (09:09 +0200)]
Work around grep-read-files

* ivy.el (ivy--done): If history is `grep-files-history', the caller is
  `grep-read-files'. Don't expand the file name, since it's probably a
  glob, and `find' doesn't work with expanded globs.

It should now be possible to simply "M-x" rgrep "RET" "RET" "RET".

Fixes #72

9 years agoivy.el (ivy-partial-or-done): Handle empty input
Oleh Krehel [Wed, 6 May 2015 06:39:30 +0000 (08:39 +0200)]
ivy.el (ivy-partial-or-done): Handle empty input

Fixes #81

9 years agoAvoid image-mode and doc-view-mode
Oleh Krehel [Tue, 5 May 2015 15:39:41 +0000 (17:39 +0200)]
Avoid image-mode and doc-view-mode

* avy-jump.el (avy--regex-candidates): Update.

Re #1

9 years agoMove from "avi-" to "avy-", leave old stuff obsolete
Oleh Krehel [Tue, 5 May 2015 14:53:37 +0000 (16:53 +0200)]
Move from "avi-" to "avy-", leave old stuff obsolete

* avy-jump.el (avi-keys):
(avi-background):
(avi-word-punc-regexp):
(avi-lead-face):
(avi--goto):
(avi--process):
(avi-all-windows):
(avi-goto-char):
(avi-goto-char-2):
(avi-isearch):
(avi-goto-word-0):
(avi-goto-subword-0):
(avi-goto-word-1):
(avi-goto-line):
(avi-copy-line):
(avi-move-line):
(avi-copy-region): Make obsolete.

9 years agoInitial import
Oleh Krehel [Tue, 5 May 2015 14:29:21 +0000 (16:29 +0200)]
Initial import

9 years agoStart the decoupling of ace-window and avy-jump
Oleh Krehel [Tue, 5 May 2015 14:20:30 +0000 (16:20 +0200)]
Start the decoupling of ace-window and avy-jump

The dependencies now are ace-window -> avy-jump -> avy.

* ace-window.el (aw-overlays-lead): Rename to `avy--overlays-lead'.
(aw--done): Update.
(aw--remove-leading-chars): Rename to `aw--remove-leading-chars'.
(aw-select): Update.

* avy-init.el: Move requires after byte compiling.

* avy-jump.el (ace-window): Remove require.
(avy-background-face): New defface.
(avi--process): Update.
(avy--overlays-back): New defvar.
(avy--make-backgrounds): New defun.
(avy--done): New defun.
(avy--overlays-lead): Rename from `aw-overlays-lead'.
(avy--remove-leading-chars): Rename from `aw--remove-leading-chars'.
(avi--overlay): Update.
(avi--overlay-at): Update.

9 years agoavy-jump.el (avi--goto): Push mark before moving
Oleh Krehel [Tue, 5 May 2015 14:16:49 +0000 (16:16 +0200)]
avy-jump.el (avi--goto): Push mark before moving

Fixes #41

9 years agoFix rounding error
Oleh Krehel [Tue, 5 May 2015 14:12:04 +0000 (16:12 +0200)]
Fix rounding error

* avy.el (avy-subdiv): (log 14 14) is 1.0, but the floor of it can be
  either 1 or 0 due to machine precision. Add an eps to fix it.

Fixes #37

9 years agoAdd `avi-word-punc-regexp` defcustom
Kaushal Modi [Tue, 5 May 2015 13:14:07 +0000 (09:14 -0400)]
Add `avi-word-punc-regexp` defcustom

- Setting this to nil will disable jumping to punctuation chars during
  `avi-goto-word-1`.
- Set this to a regexp of punctuation chars you want to match otherwise.
- "[!-/:-@[-`{-~]" will match all printable punctuation chars.

9 years agoAdd "make compile" and "make run"
Oleh Krehel [Tue, 5 May 2015 12:59:20 +0000 (14:59 +0200)]
Add "make compile" and "make run"

Re #37

9 years agoavy-jump.el (avi-goto-word-1): Count some syms as words
Oleh Krehel [Tue, 5 May 2015 12:38:11 +0000 (14:38 +0200)]
avy-jump.el (avi-goto-word-1): Count some syms as words

* avy-jump.el (avi-goto-word-1): Update.

Fixes #38

9 years agoMerge commit '283a006be8e96c7e011dedddb460b289d335a9fb' from context-coloring
Jackson Ray Hamilton [Tue, 5 May 2015 11:09:15 +0000 (04:09 -0700)]
Merge commit '283a006be8e96c7e011dedddb460b289d335a9fb' from context-coloring

9 years agoVersion 6.2.1.
Jackson Ray Hamilton [Tue, 5 May 2015 11:00:23 +0000 (04:00 -0700)]
Version 6.2.1.

9 years agoReimplement coverage reporter in elisp.
Jackson Ray Hamilton [Tue, 5 May 2015 10:22:14 +0000 (03:22 -0700)]
Reimplement coverage reporter in elisp.

9 years agoMerge commit 'faf966b6b5921074da6b99477e1f0bea29b45f6f'
Eric Abrahamsen [Tue, 5 May 2015 08:43:26 +0000 (16:43 +0800)]
Merge commit 'faf966b6b5921074da6b99477e1f0bea29b45f6f'