]> code.delx.au - gnu-emacs-elpa/log
gnu-emacs-elpa
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 agoMerge pull request #16 from syohex/fix-declarations
Alexey Veretennikov [Fri, 15 May 2015 14:15:34 +0000 (16:15 +0200)]
Merge pull request #16 from syohex/fix-declarations

Fix variable declarations

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 agoFix aw-ignore-current for 3 windows
Oleh Krehel [Wed, 13 May 2015 21:54:09 +0000 (23:54 +0200)]
Fix aw-ignore-current for 3 windows

ace-window.el (aw-select): Update.

Fixes #48

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 agoUpdate README.md
joe di castro [Tue, 12 May 2015 12:08:55 +0000 (14:08 +0200)]
Update README.md

Update for the customization options for the midway action.

Fixes #46

9 years agoUpdate README.md
joe di castro [Tue, 12 May 2015 11:47:01 +0000 (13:47 +0200)]
Update README.md

Update to the last changes.

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

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

9 years agoAllow to midway switch from less than 3 windows
Oleh Krehel [Mon, 11 May 2015 16:35:50 +0000 (18:35 +0200)]
Allow to midway switch from less than 3 windows

* ace-window.el (aw-dispatch-always): New defcustom to enable the
  permanent dispatch.
(aw--flip-keys): Remove defvar.
(aw-flip-keys): Remove defcustom, use `aw-dispatch-alist' instead.
(aw-dispatch-alist): New defcustom.
(aw-dispatch-default): Update.
(aw-select): Do a dispatch when `aw-dispatch-always' is non-nil.
(ace-delete-window):
(ace-swap-window):
(ace-maximize-window): Use callback-style, so that it's possible to
switch the action during the selection.
(aw--pop-window): Update for empty stack and only two windows.

Fixes #44

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 agoREADME.md: Add a section on midway switch
Oleh Krehel [Mon, 11 May 2015 10:30:12 +0000 (12:30 +0200)]
README.md: Add a section on midway switch

Re #44

9 years agoAllow to change window action midway
Oleh Krehel [Mon, 11 May 2015 09:55:49 +0000 (11:55 +0200)]
Allow to change window action midway

* ace-window.el (aw--done): Update.
(aw-dispatch-function): New defvar. Set this to customize the midway
switch behavior.
(aw-action): New defvar. Midway switch will change this variable.
(aw-set-mode-line): New defun.
(aw-dispatch-default): New defun. Catch a char not in `aw-keys' and
perform an action depending on it.
(aw-select): Set `aw-action' to the ACTION arg, and call it in the
end. It can be changed during the selection.
(aw-split-window-vert): New command.
(aw-split-window-horz): New command.

Fixes #44

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 agoUpdate requires
Oleh Krehel [Mon, 11 May 2015 08:36:40 +0000 (10:36 +0200)]
Update requires

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 agoAdd a require
Oleh Krehel [Mon, 11 May 2015 06:35:37 +0000 (08:35 +0200)]
Add a require

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 agoAllow to switch the action in the middle of ace-window
Oleh Krehel [Sat, 9 May 2015 18:50:01 +0000 (20:50 +0200)]
Allow to switch the action in the middle of ace-window

* ace-window.el (aw-select): Add an optional arg ACTION. Call it on
  selected window. Set `avy-handler-function' to catch ?x and modify
  ACTION into 'aw-delete-window.
(ace-select-window): Use callback-style.

Re #44

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.