Permalink
Switch branches/tags
Nothing to show
Commits on Oct 22, 2015
  1. Beep when there are no matches

    tsdh committed Oct 22, 2015
    If avy--read-candidates doesn't find any candidates for the current
    input, the user has surely made a typo.  In that case, beep at the user
    to make him aware of that.
Commits on Oct 6, 2015
  1. Properly highlight depending on avy-all-windows

    tsdh committed Oct 6, 2015
    Before this change, the highlighting was only performed in the selected
    window even if avy-all-windows was true.  Now it's consistent with the
    value of that variable.
Commits on Sep 17, 2015
Commits on Sep 16, 2015
  1. Improve avy-goto-char-timer.

    tsdh committed Sep 16, 2015
    1. Handle DEL in order to fix typos.
    2. Handle RET in order to use the current input string immediately
       without waiting for another char for avy-timeout-seconds.
    3. Highlight matches while reading chars.
Commits on Sep 9, 2015
  1. Improve avy-goto-char-timer so that it may read 1 or many chars

    tsdh committed Sep 9, 2015
    Now you can use avy-goto-char-timer and type as many chars as you want
    given each char comes before avy-timeout-seconds (and the very first
    char is mandatory, i.e., there is no timeout for the first one).
Commits on Jul 14, 2015
  1. Allow non-printing keys in avy-keys

    tsdh committed Jul 14, 2015
    Now you can set avy-keys also to the arrow keys and page up/down, e.g.,
    
      (setq avy-keys '(left right up down prior next))
    
    and those will be displayed as ▲, ▼, ◀, ▶, △, ▽ in the overlays.  The
    display is controlled by the variable `avy-key-to-char-alist'.
Commits on May 26, 2015
  1. Add 'de-bruijn option for avy-style

    tsdh authored and abo-abo committed May 26, 2015
    * avy.el (avy-style): New choice option.
    (avy--de-bruijn): New defun.
    (avy--path-alist-1): New defun.
    (avy--group-by): New defun.
    (avy--path-alist-to-tree): New defun.
    (avy-tree-de-bruijn): New defun, semi-compatible with `avy-tree'.
    (avy--process): Use `avy-tree-de-bruijn' when `avy-style' is 'de-bruijn.
    (avy--style-fn): Use `avy--overlay-at-full' when `avy-style' is
    'de-bruijn.
    
    Fixes #51
    Re #5
    
    TODO: When tree produced by `avy-tree-de-bruijn' is traversed
    depth-first, the results should be in-order of their appearance in the
    window. Only in this case the overlay functions will work correctly,
    since they need to be applied sequentially from window end to window
    start.
Commits on May 8, 2015
  1. Always default to avy-keys but allow for per-command overrides

    tsdh authored and abo-abo committed May 8, 2015
    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
Commits on May 7, 2015
  1. Special-case char RET to allow for jumping to end-of-lines.

    tsdh committed May 7, 2015
    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.)
  2. Fix avy-goto-subword-0

    tsdh committed May 7, 2015
    avy-goto-subword-0's regexp requires that case-fold-search is nil, so
    let-bind it.
  3. Regexp-quote strings of avy-goto-char* functions.

    tsdh committed May 7, 2015
    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.