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