Skip to content

Commit f2cf43b

Browse files
committed
doc/Changelog.org: Release 0.5.0
Fixes #271
1 parent a723090 commit f2cf43b

File tree

2 files changed

+176
-3
lines changed

2 files changed

+176
-3
lines changed

avy.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
;;; avy.el --- Jump to arbitrary positions in visible text and select text quickly. -*- lexical-binding: t -*-
22

3-
;; Copyright (C) 2015 Free Software Foundation, Inc.
3+
;; Copyright (C) 2015-2019 Free Software Foundation, Inc.
44

55
;; Author: Oleh Krehel <ohwoeowho@gmail.com>
66
;; URL: https://github.com/abo-abo/avy
7-
;; Version: 0.4.0
7+
;; Version: 0.5.0
88
;; Package-Requires: ((emacs "24.1") (cl-lib "0.5"))
99
;; Keywords: point, location
1010

doc/Changelog.org

Lines changed: 174 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ Pros and cons of =de-bruijn= over other styles:
141141
clumped up chars, which is truncated for other styles
142142
- a con is that the decision path is of the same length (e.g. 2 or 3)
143143
for all candidates, while with other styles it's possible to have a
144-
few candidets with a shorter path.
144+
few candidates with a shorter path.
145145

146146
See [[https://github.com/abo-abo/avy/issues/51][#51]] and [[https://github.com/abo-abo/avy/issues/5][#5]].
147147

@@ -323,3 +323,176 @@ Allows to customize the behavior of =avy-goto-subword-0= and
323323
=avy-goto-subword-1= by adding extra chars that should match as word
324324
constituents.
325325
See [[https://github.com/abo-abo/avy/issues/116][#116]].
326+
* 0.5.0
327+
** Fixes
328+
*** el:avy-action-copy
329+
Save selected window and frame. See #133.
330+
331+
Copy line for el:avy-goto-line. See #191.
332+
*** el:avy-read
333+
Make ~C-g~ and ~ESC~ fail silently when reading char. See #137.
334+
335+
Display error message on mouse clicks. See #226.
336+
337+
Update el:avy-current-path before returning. See #226.
338+
339+
Quit on ~ESC~. See #249.
340+
341+
Fix for el:org-toggle-link-display. See #261.
342+
343+
Fix for el:buffer-invisibility-spec being t. See #264.
344+
345+
Allow "invisible" 'org-link. See #269.
346+
*** el:avy-goto-word-1
347+
Works for "^A"-"^Z", see #167.
348+
*** el:avy-goto-subword-0
349+
Add char at window start if empty, See #145.
350+
351+
Add option to limit scope. See #235.
352+
*** el:avy-goto-subword-1
353+
Check el:char-after. See #163.
354+
*** el:avy-isearch
355+
Escape regex. See #147.
356+
*** el:avy-goto-char-2
357+
Translate ~RET~ to ~C-j~. See #153.
358+
*** el:avy-action-goto
359+
Add el:raise-frame.
360+
*** el:avy-goto-char-timer
361+
Allow ~C-h~ to delete. See #193.
362+
363+
Obey el:avy-background for the initial search. See #259.
364+
*** el:avy-goto-line
365+
Fix for empty buffer. See #238.
366+
367+
Add ability to display candidates from bottom to top. See #236.
368+
*** el:avy--overlay-at-full
369+
More consistent face order.
370+
See #270.
371+
*** documentation
372+
See #223, #226, #218, #245, #262.
373+
374+
** New Features
375+
*** API
376+
New functions have been added as drop-in replacements of double-dash (private) avy
377+
functions that were used in other packages and configs. Please replace the references to
378+
the obsolete functions.
379+
380+
**** el:avy-jump
381+
New API function to replace el:avy--generic-jump. See #265, #267.
382+
**** el:avy-process
383+
New API function to replace el:avy--process. See #266.
384+
385+
*** New actions
386+
**** el:avy-action-kill-stay
387+
Kill a word with el:avy-goto-char without moving there.
388+
Bound to ~X~.
389+
**** el:avy-action-ispell
390+
Auto-correct word at point. See #142, #160, #161.
391+
Bound to ~i~.
392+
**** el:avy-action-yank
393+
Yank sexp starting at selected point at the current point. See #183.
394+
Bound to ~y~.
395+
**** el:avy-action-teleport
396+
Kill sexp starting on selected point and yank into the current location. See #207.
397+
Bound to ~t~.
398+
**** el:avy-action-zap-to-char
399+
Kill from point up to selected point. See #234.
400+
Bound to ~z~.
401+
402+
*** New defcustoms
403+
**** New el:avy-style setting: 'words
404+
Use this setting:
405+
#+begin_src elisp
406+
(setq avy-style 'words)
407+
#+end_src
408+
And you'll see overlays like "by", "if", "is", "it", "my" for 2-letter sequences, and
409+
"can", "car", "cog" for 3-letter sequences. You might find them easier to type than "hla",
410+
"lls" and "jhl". But you will have to adjust your el:avy-dispatch-alist, e.g. to use only
411+
upper case characters.
412+
413+
See #210, #219.
414+
**** el:avy-orders-alist
415+
Use it to customize the order of candidates with relation to point. The default is for
416+
el:avy-goto-char to have the shortest overlay for candidates closest to point.
417+
See #242.
418+
**** el:avy-indent-line-overlay
419+
When non-nil el:avy-goto-line will display the line overlay next to the first
420+
non-whitespace character of each line. See #244.
421+
**** el:avy-single-candidate-jump
422+
When non-nil, and there is only one candidate, jump there. See #250.
423+
**** el:avy-del-last-char-by
424+
Customize keys which delete the last read char. The defaults are ~C-h~ and ~DEL~. See #251.
425+
**** el:avy-goto-word-0-regexp
426+
Customize el:avy-goto-word-0. See #136, #156.
427+
**** el:avy-pre-action
428+
Function to all before el:avy-action. See #260.
429+
**** el:avy-enter-times-out
430+
When non-nil (the default), ~RET~ exists el:avy-goto-char-timer early.
431+
When nil, it matches a newline.
432+
See #220, #225.
433+
434+
*** New commands
435+
**** el:avy-move-region
436+
Select two lines and move the text between them above the current line.
437+
See #75, #187, #188.
438+
**** el:avy-goto-end-of-line
439+
Call el:avy-goto-line and move to the end of the line. See #240.
440+
441+
**** el:avy-linum-mode
442+
Minor mode that uses avy hints for el:linum-mode.
443+
444+
**** el:avy-resume
445+
Holds last command avy command after user input. This is a quick way to bring back the
446+
same markers after a jump. See #157, #165.
447+
**** el:avy-next
448+
Go to the next candidate after el:avy-read.
449+
Example config:
450+
451+
#+begin_src elisp
452+
(defhydra hydra-avy-cycle ()
453+
("j" avy-next "next")
454+
("k" avy-prev "prev")
455+
("q" nil "quit"))
456+
457+
(global-set-key (kbd "C-M-'") 'hydra-avy-cycle/body)
458+
#+end_src
459+
460+
After e.g. el:avy-goto-char or el:avy-goto-char-timer, use the above hydra to cycle
461+
between the last candidates. See #254.
462+
**** *-above and *-below variants
463+
Command versions restricted to matches before or after the point.
464+
465+
See #148:
466+
- el:avy-goto-char-2-above
467+
- el:avy-goto-char-2-below
468+
469+
See #151:
470+
- el:avy-goto-word-1-above
471+
- el:avy-goto-word-1-below
472+
473+
See #156:
474+
- el:avy-goto-symbol-1-above
475+
- el:avy-goto-symbol-1-below
476+
477+
See #186:
478+
- el:avy-goto-word-0-below
479+
- el:avy-goto-word-0-above
480+
**** kill and save region functionality
481+
New avy-enabled commands:
482+
- el:avy-kill-whole-line
483+
- el:avy-kill-region
484+
- el:avy-kill-ring-save-whole-line
485+
- el:avy-kill-ring-save-region
486+
487+
See #158.
488+
**** org-mode functionality
489+
New avy-enabled commands:
490+
- el:avy-org-refile-as-child
491+
- el:avy-org-goto-heading-timer
492+
See #214, #258.
493+
*** el:avy-goto-char-timer
494+
Show the number of matches so far in the prompt. See #253.
495+
*** el:avy-read
496+
Ignore mistyping when no candidates are available. See #256.
497+
498+
When the overlays are shown, press ~?~ to get dispatch help.

0 commit comments

Comments
 (0)