Oleh Krehel
a08b049edd
Fix jumping to newlines with at-full style
...
* avy-jump.el (avy--overlay-at-full): Update.
Re #5
2015-05-09 16:44:58 +02:00
Oleh Krehel
3716cd0b02
avy-jump.el (avy-goto-subword-0): Update candidate order
...
Re #27
2015-05-09 14:43:52 +02:00
Oleh Krehel
cd8e62603f
avy-jump.el (avy-dowindows): Simplify
...
Re #27
2015-05-09 14:23:23 +02:00
Oleh Krehel
c2e7de3a4d
avy-jump.el (avy-goto-subword-0): Add nreverse
...
Re #27
2015-05-09 14:21:59 +02:00
Oleh Krehel
e242f04e32
Bump version
0.2.0
2015-05-09 13:47:07 +02:00
Oleh Krehel
4029969a04
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
2015-05-09 13:38:05 +02:00
Oleh Krehel
db4214fe0c
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
2015-05-09 13:06:52 +02:00
Oleh Krehel
dbaa1a8139
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.
2015-05-09 13:02:20 +02:00
Oleh Krehel
4007986c4c
Fix avy-background for multiple windows
...
* avy-jump.el (avy--process): Update.
Fixes #26
2015-05-09 12:52:38 +02:00
Oleh Krehel
9e6561b646
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
2015-05-09 12:45:49 +02:00
Oleh Krehel
cc822c1aad
Fix eval-after-load isearch
...
* avy-jump.el (avy-setup-default): Update.
Fixes #21
2015-05-09 08:33:16 +02:00
Bozhidar Batsov
0634762804
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.
2015-05-09 08:29:06 +03:00
Tassilo Horn
0e049bbc44
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
2015-05-08 23:18:28 +02:00
Oleh Krehel
a55858540b
Move the package metadata to avy.el
...
Depend on Emacs 24.1 as well.
2015-05-08 22:52:18 +02:00
Bozhidar Batsov
6ff26f5377
Use cl-lib instead of cl-macs
...
Fixes #19
2015-05-08 22:21:44 +02:00
Sean Allred
c32b91fa32
Add more customization types
...
Fixes #18
2015-05-08 21:00:16 +02:00
Sean Allred
35e1309ddf
Add customization type to `avy-keys'
2015-05-08 13:50:47 -05:00
Oleh Krehel
6acbeb6d26
Use avy-keys' for
avy-goto-subword-1'
...
* avy-jump.el (avy-goto-subword-0): Update.
Fixes #15
2015-05-08 19:40:20 +02:00
Oleh Krehel
e9310715e4
When selecting from many windows, prioritize the current
...
* avy-jump.el (avy-dowindows): Update.
Fixes #14
2015-05-08 19:21:48 +02:00
Oleh Krehel
bca96ae3b4
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
2015-05-08 18:19:40 +02:00
Oleh Krehel
e49f6d02eb
avy-jump.el (avy--regex-candidates): Update arglist
...
* avy-jump.el (avy--regex-candidates): Remove the optional window arg.
2015-05-08 18:08:36 +02:00
Oleh Krehel
32003515c8
avy-jump.el (avy-setup-default): Setup some bindings
...
* README.md: Add a description.
Fixes #10
2015-05-08 15:22:21 +02:00
Oleh Krehel
f2290f262a
avy.el: Update commentary
2015-05-08 11:51:07 +02:00
Oleh Krehel
ca1ca04647
Add avy-goto-subword-1
...
Fixes #8
2015-05-08 11:40:55 +02:00
Oleh Krehel
b2112e0fe9
avy-jump.el (avy-goto-word-1): Fix for "."
...
Fixes #7
2015-05-07 15:38:08 +02:00
Tassilo Horn
903e172517
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.)
2015-05-07 14:53:22 +02:00
Oleh Krehel
487d5ea201
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
2015-05-07 13:31:18 +02:00
Oleh Krehel
e4f493ef83
README.md: Add command descriptions
2015-05-07 13:04:05 +02:00
Oleh Krehel
974e55b792
avy-jump.el (avy--line): Avoid image-mode and doc-view-mode
...
Fixes #1
2015-05-07 13:02:20 +02:00
Oleh Krehel
e9d2e60965
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
2015-05-07 12:42:58 +02:00
Oleh Krehel
18cf1ef995
README.md: add
...
Fixes #2
2015-05-07 12:18:01 +02:00
Tassilo Horn
33546b65c4
Fix avy-goto-subword-0
...
avy-goto-subword-0's regexp requires that case-fold-search is nil, so
let-bind it.
2015-05-07 10:28:24 +02:00
Tassilo Horn
1d184b0e2a
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.
2015-05-07 10:22:42 +02:00
Oleh Krehel
567727096a
Move obsoletes to one place
2015-05-06 09:56:02 +02:00
Oleh Krehel
1684e6af02
Avoid image-mode and doc-view-mode
...
* avy-jump.el (avy--regex-candidates): Update.
Re #1
2015-05-05 17:39:41 +02:00
Oleh Krehel
6c1f2f6423
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.
2015-05-05 17:01:13 +02:00
Oleh Krehel
5d2979b911
Initial import
2015-05-05 16:29:21 +02:00