From eeef73a38349e49d20271e5f64d7fcb5cdf1d9b4 Mon Sep 17 00:00:00 2001 From: Andreas Gerler Date: Sat, 21 Dec 2024 17:23:36 +0100 Subject: [PATCH] update avy Signed-off-by: Andreas Gerler --- elpa/avy-20230420.404/avy-pkg.el | 15 --- .../avy-autoloads.el | 123 +++++++----------- elpa/avy-20241101.1357/avy-pkg.el | 11 ++ .../avy.el | 51 ++++---- elpa/avy-readme.txt | 27 ---- 5 files changed, 83 insertions(+), 144 deletions(-) delete mode 100644 elpa/avy-20230420.404/avy-pkg.el rename elpa/{avy-20230420.404 => avy-20241101.1357}/avy-autoloads.el (83%) create mode 100644 elpa/avy-20241101.1357/avy-pkg.el rename elpa/{avy-20230420.404 => avy-20241101.1357}/avy.el (98%) delete mode 100644 elpa/avy-readme.txt diff --git a/elpa/avy-20230420.404/avy-pkg.el b/elpa/avy-20230420.404/avy-pkg.el deleted file mode 100644 index 64226054..00000000 --- a/elpa/avy-20230420.404/avy-pkg.el +++ /dev/null @@ -1,15 +0,0 @@ -(define-package "avy" "20230420.404" "Jump to arbitrary positions in visible text and select text quickly." - '((emacs "24.1") - (cl-lib "0.5")) - :commit "be612110cb116a38b8603df367942e2bb3d9bdbe" :authors - '(("Oleh Krehel" . "ohwoeowho@gmail.com")) - :maintainers - '(("Oleh Krehel" . "ohwoeowho@gmail.com")) - :maintainer - '("Oleh Krehel" . "ohwoeowho@gmail.com") - :keywords - '("point" "location") - :url "https://github.com/abo-abo/avy") -;; Local Variables: -;; no-byte-compile: t -;; End: diff --git a/elpa/avy-20230420.404/avy-autoloads.el b/elpa/avy-20241101.1357/avy-autoloads.el similarity index 83% rename from elpa/avy-20230420.404/avy-autoloads.el rename to elpa/avy-20241101.1357/avy-autoloads.el index 5bb8ec33..e1215bac 100644 --- a/elpa/avy-20230420.404/avy-autoloads.el +++ b/elpa/avy-20241101.1357/avy-autoloads.el @@ -1,12 +1,14 @@ -;;; avy-autoloads.el --- automatically extracted autoloads -*- lexical-binding: t -*- -;; +;;; avy-autoloads.el --- automatically extracted autoloads (do not edit) -*- lexical-binding: t -*- +;; Generated by the `loaddefs-generate' function. + +;; This file is part of GNU Emacs. + ;;; Code: -(add-to-list 'load-path (directory-file-name - (or (file-name-directory #$) (car load-path)))) +(add-to-list 'load-path (or (and load-file-name (directory-file-name (file-name-directory load-file-name))) (car load-path))) + -;;;### (autoloads nil "avy" "avy.el" (0 0 0 0)) ;;; Generated autoloads from avy.el (autoload 'avy-process "avy" "\ @@ -15,27 +17,23 @@ Use OVERLAY-FN to visualize the decision overlay. CLEANUP-FN should take no arguments and remove the effects of multiple OVERLAY-FN invocations. -\(fn CANDIDATES &optional OVERLAY-FN CLEANUP-FN)" nil nil) - +(fn CANDIDATES &optional OVERLAY-FN CLEANUP-FN)") (autoload 'avy-goto-char "avy" "\ Jump to the currently visible CHAR. The window scope is determined by `avy-all-windows' (ARG negates it). -\(fn CHAR &optional ARG)" t nil) - +(fn CHAR &optional ARG)" t) (autoload 'avy-goto-char-in-line "avy" "\ Jump to the currently visible CHAR in the current line. -\(fn CHAR)" t nil) - +(fn CHAR)" t) (autoload 'avy-goto-char-2 "avy" "\ Jump to the currently visible CHAR1 followed by CHAR2. The window scope is determined by `avy-all-windows'. When ARG is non-nil, do the opposite of `avy-all-windows'. BEG and END narrow the scope where candidates are searched. -\(fn CHAR1 CHAR2 &optional ARG BEG END)" t nil) - +(fn CHAR1 CHAR2 &optional ARG BEG END)" t) (autoload 'avy-goto-char-2-above "avy" "\ Jump to the currently visible CHAR1 followed by CHAR2. This is a scoped version of `avy-goto-char-2', where the scope is @@ -43,8 +41,7 @@ the visible part of the current buffer up to point. The window scope is determined by `avy-all-windows'. When ARG is non-nil, do the opposite of `avy-all-windows'. -\(fn CHAR1 CHAR2 &optional ARG)" t nil) - +(fn CHAR1 CHAR2 &optional ARG)" t) (autoload 'avy-goto-char-2-below "avy" "\ Jump to the currently visible CHAR1 followed by CHAR2. This is a scoped version of `avy-goto-char-2', where the scope is @@ -52,27 +49,23 @@ the visible part of the current buffer following point. The window scope is determined by `avy-all-windows'. When ARG is non-nil, do the opposite of `avy-all-windows'. -\(fn CHAR1 CHAR2 &optional ARG)" t nil) - +(fn CHAR1 CHAR2 &optional ARG)" t) (autoload 'avy-isearch "avy" "\ -Jump to one of the current isearch candidates." t nil) - +Jump to one of the current isearch candidates." t) (autoload 'avy-goto-word-0 "avy" "\ Jump to a word start. The window scope is determined by `avy-all-windows'. When ARG is non-nil, do the opposite of `avy-all-windows'. BEG and END narrow the scope where candidates are searched. -\(fn ARG &optional BEG END)" t nil) - +(fn ARG &optional BEG END)" t) (autoload 'avy-goto-whitespace-end "avy" "\ Jump to the end of a whitespace sequence. The window scope is determined by `avy-all-windows'. When ARG is non-nil, do the opposite of `avy-all-windows'. BEG and END narrow the scope where candidates are searched. -\(fn ARG &optional BEG END)" t nil) - +(fn ARG &optional BEG END)" t) (autoload 'avy-goto-word-1 "avy" "\ Jump to the currently visible CHAR at a word start. The window scope is determined by `avy-all-windows'. @@ -80,8 +73,7 @@ When ARG is non-nil, do the opposite of `avy-all-windows'. BEG and END narrow the scope where candidates are searched. When SYMBOL is non-nil, jump to symbol start instead of word start. -\(fn CHAR &optional ARG BEG END SYMBOL)" t nil) - +(fn CHAR &optional ARG BEG END SYMBOL)" t) (autoload 'avy-goto-word-1-above "avy" "\ Jump to the currently visible CHAR at a word start. This is a scoped version of `avy-goto-word-1', where the scope is @@ -89,8 +81,7 @@ the visible part of the current buffer up to point. The window scope is determined by `avy-all-windows'. When ARG is non-nil, do the opposite of `avy-all-windows'. -\(fn CHAR &optional ARG)" t nil) - +(fn CHAR &optional ARG)" t) (autoload 'avy-goto-word-1-below "avy" "\ Jump to the currently visible CHAR at a word start. This is a scoped version of `avy-goto-word-1', where the scope is @@ -98,15 +89,13 @@ the visible part of the current buffer following point. The window scope is determined by `avy-all-windows'. When ARG is non-nil, do the opposite of `avy-all-windows'. -\(fn CHAR &optional ARG)" t nil) - +(fn CHAR &optional ARG)" t) (autoload 'avy-goto-symbol-1 "avy" "\ Jump to the currently visible CHAR at a symbol start. The window scope is determined by `avy-all-windows'. When ARG is non-nil, do the opposite of `avy-all-windows'. -\(fn CHAR &optional ARG)" t nil) - +(fn CHAR &optional ARG)" t) (autoload 'avy-goto-symbol-1-above "avy" "\ Jump to the currently visible CHAR at a symbol start. This is a scoped version of `avy-goto-symbol-1', where the scope is @@ -114,8 +103,7 @@ the visible part of the current buffer up to point. The window scope is determined by `avy-all-windows'. When ARG is non-nil, do the opposite of `avy-all-windows'. -\(fn CHAR &optional ARG)" t nil) - +(fn CHAR &optional ARG)" t) (autoload 'avy-goto-symbol-1-below "avy" "\ Jump to the currently visible CHAR at a symbol start. This is a scoped version of `avy-goto-symbol-1', where the scope is @@ -123,8 +111,7 @@ the visible part of the current buffer following point. The window scope is determined by `avy-all-windows'. When ARG is non-nil, do the opposite of `avy-all-windows'. -\(fn CHAR &optional ARG)" t nil) - +(fn CHAR &optional ARG)" t) (autoload 'avy-goto-subword-0 "avy" "\ Jump to a word or subword start. The window scope is determined by `avy-all-windows' (ARG negates it). @@ -134,19 +121,16 @@ should return true. BEG and END narrow the scope where candidates are searched. -\(fn &optional ARG PREDICATE BEG END)" t nil) - +(fn &optional ARG PREDICATE BEG END)" t) (autoload 'avy-goto-subword-1 "avy" "\ Jump to the currently visible CHAR at a subword start. The window scope is determined by `avy-all-windows' (ARG negates it). The case of CHAR is ignored. -\(fn CHAR &optional ARG)" t nil) - +(fn CHAR &optional ARG)" t) (autoload 'avy-goto-word-or-subword-1 "avy" "\ Forward to `avy-goto-subword-1' or `avy-goto-word-1'. -Which one depends on variable `subword-mode'." t nil) - +Which one depends on variable `subword-mode'." t) (autoload 'avy-goto-line "avy" "\ Jump to a line start in current buffer. @@ -158,67 +142,57 @@ When ARG is 4, negate the window scope determined by Otherwise, forward to `goto-line' with ARG. -\(fn &optional ARG)" t nil) - +(fn &optional ARG)" t) (autoload 'avy-goto-line-above "avy" "\ Goto visible line above the cursor. OFFSET changes the distance between the closest key to the cursor and the cursor When BOTTOM-UP is non-nil, display avy candidates from top to bottom -\(fn &optional OFFSET BOTTOM-UP)" t nil) - +(fn &optional OFFSET BOTTOM-UP)" t) (autoload 'avy-goto-line-below "avy" "\ Goto visible line below the cursor. OFFSET changes the distance between the closest key to the cursor and the cursor When BOTTOM-UP is non-nil, display avy candidates from top to bottom -\(fn &optional OFFSET BOTTOM-UP)" t nil) - +(fn &optional OFFSET BOTTOM-UP)" t) (autoload 'avy-goto-end-of-line "avy" "\ Call `avy-goto-line' and move to the end of the line. -\(fn &optional ARG)" t nil) - +(fn &optional ARG)" t) (autoload 'avy-copy-line "avy" "\ Copy a selected line above the current line. ARG lines can be used. -\(fn ARG)" t nil) - +(fn ARG)" t) (autoload 'avy-move-line "avy" "\ Move a selected line above the current line. ARG lines can be used. -\(fn ARG)" t nil) - +(fn ARG)" t) (autoload 'avy-copy-region "avy" "\ Select two lines and copy the text between them to point. The window scope is determined by `avy-all-windows' or `avy-all-windows-alt' when ARG is non-nil. -\(fn ARG)" t nil) - +(fn ARG)" t) (autoload 'avy-move-region "avy" "\ -Select two lines and move the text between them above the current line." t nil) - +Select two lines and move the text between them above the current line." t) (autoload 'avy-kill-region "avy" "\ Select two lines and kill the region between them. The window scope is determined by `avy-all-windows' or `avy-all-windows-alt' when ARG is non-nil. -\(fn ARG)" t nil) - +(fn ARG)" t) (autoload 'avy-kill-ring-save-region "avy" "\ Select two lines and save the region between them to the kill ring. The window scope is determined by `avy-all-windows'. When ARG is non-nil, do the opposite of `avy-all-windows'. -\(fn ARG)" t nil) - +(fn ARG)" t) (autoload 'avy-kill-whole-line "avy" "\ Select line and kill the whole selected line. @@ -234,8 +208,7 @@ starting from the selected line. \\[universal-argument] -3 \\[avy-kill-whole-line] kill three lines backward including the selected line. -\(fn ARG)" t nil) - +(fn ARG)" t) (autoload 'avy-kill-ring-save-whole-line "avy" "\ Select line and save the whole selected line as if killed, but don’t kill it. @@ -248,32 +221,28 @@ selected line. If ARG is negative, kill backward. If ARG is zero, kill the selected line but exclude the trailing newline. -\(fn ARG)" t nil) - +(fn ARG)" t) (autoload 'avy-setup-default "avy" "\ -Setup the default shortcuts." nil nil) - +Setup the default shortcuts.") (autoload 'avy-goto-char-timer "avy" "\ Read one or many consecutive chars and jump to the first one. The window scope is determined by `avy-all-windows' (ARG negates it). -\(fn &optional ARG)" t nil) - +(fn &optional ARG)" t) (autoload 'avy-transpose-lines-in-region "avy" "\ -Transpose lines in the active region." t nil) - +Transpose lines in the active region." t) (register-definition-prefixes "avy" '("avy-")) - -;;;*** -;;;### (autoloads nil nil ("avy-pkg.el") (0 0 0 0)) +;;; End of scraped data + +(provide 'avy-autoloads) -;;;*** - ;; Local Variables: ;; version-control: never ;; no-byte-compile: t ;; no-update-autoloads: t -;; coding: utf-8 +;; no-native-compile: t +;; coding: utf-8-emacs-unix ;; End: + ;;; avy-autoloads.el ends here diff --git a/elpa/avy-20241101.1357/avy-pkg.el b/elpa/avy-20241101.1357/avy-pkg.el new file mode 100644 index 00000000..c0614c52 --- /dev/null +++ b/elpa/avy-20241101.1357/avy-pkg.el @@ -0,0 +1,11 @@ +;; -*- no-byte-compile: t; lexical-binding: nil -*- +(define-package "avy" "20241101.1357" + "Jump to arbitrary positions in visible text and select text quickly." + '((emacs "24.1") + (cl-lib "0.5")) + :url "https://github.com/abo-abo/avy" + :commit "933d1f36cca0f71e4acb5fac707e9ae26c536264" + :revdesc "933d1f36cca0" + :keywords '("point" "location") + :authors '(("Oleh Krehel" . "ohwoeowho@gmail.com")) + :maintainers '(("Oleh Krehel" . "ohwoeowho@gmail.com"))) diff --git a/elpa/avy-20230420.404/avy.el b/elpa/avy-20241101.1357/avy.el similarity index 98% rename from elpa/avy-20230420.404/avy.el rename to elpa/avy-20241101.1357/avy.el index bf0350bd..5606c1ae 100644 --- a/elpa/avy-20230420.404/avy.el +++ b/elpa/avy-20241101.1357/avy.el @@ -4,7 +4,8 @@ ;; Author: Oleh Krehel ;; URL: https://github.com/abo-abo/avy -;; Version: 0.5.0 +;; Package-Version: 20241101.1357 +;; Package-Revision: 933d1f36cca0 ;; Package-Requires: ((emacs "24.1") (cl-lib "0.5")) ;; Keywords: point, location @@ -26,22 +27,22 @@ ;;; Commentary: ;; ;; With Avy, you can move point to any position in Emacs – even in a -;; different window – using very few keystrokes. For this, you look at +;; different window – using very few keystrokes. For this, you look at ;; the position where you want point to be, invoke Avy, and then enter ;; the sequence of characters displayed at that position. ;; ;; If the position you want to jump to can be determined after only ;; issuing a single keystroke, point is moved to the desired position -;; immediately after that keystroke. In case this isn't possible, the +;; immediately after that keystroke. In case this isn't possible, the ;; sequence of keystrokes you need to enter is comprised of more than -;; one character. Avy uses a decision tree where each candidate position +;; one character. Avy uses a decision tree where each candidate position ;; is a leaf and each edge is described by a character which is distinct -;; per level of the tree. By entering those characters, you navigate the +;; per level of the tree. By entering those characters, you navigate the ;; tree, quickly arriving at the desired candidate position, such that ;; Avy can move point to it. ;; ;; Note that this only makes sense for positions you are able to see -;; when invoking Avy. These kinds of positions are supported: +;; when invoking Avy. These kinds of positions are supported: ;; ;; * character positions ;; * word or subword start positions @@ -99,7 +100,7 @@ keys different than the following: a, e, i, o, u, y" (function :tag "Other command"))) (defcustom avy-keys-alist nil - "Alist of avy-jump commands to `avy-keys' overriding the default `avy-keys'." + "Alist of `avy-jump' commands to `avy-keys' overriding the default `avy-keys'." :type `(alist :key-type ,avy--key-type :value-type (repeat :tag "Keys" character))) @@ -156,27 +157,27 @@ Use `avy-styles-alist' to customize this per-command." (const :tag "Words" words))) (defcustom avy-styles-alist nil - "Alist of avy-jump commands to the style for each command. + "Alist of `avy-jump' commands to the style for each command. If the commands isn't on the list, `avy-style' is used." :type '(alist :key-type (choice :tag "Command" - (const avy-goto-char) - (const avy-goto-char-2) - (const avy-isearch) - (const avy-goto-line) - (const avy-goto-subword-0) - (const avy-goto-subword-1) - (const avy-goto-word-0) - (const avy-goto-word-1) - (const avy-copy-line) - (const avy-copy-region) - (const avy-move-line) - (const avy-move-region) - (const avy-kill-whole-line) - (const avy-kill-region) - (const avy-kill-ring-save-whole-line) - (const avy-kill-ring-save-region) - (function :tag "Other command")) + (const avy-goto-char) + (const avy-goto-char-2) + (const avy-isearch) + (const avy-goto-line) + (const avy-goto-subword-0) + (const avy-goto-subword-1) + (const avy-goto-word-0) + (const avy-goto-word-1) + (const avy-copy-line) + (const avy-copy-region) + (const avy-move-line) + (const avy-move-region) + (const avy-kill-whole-line) + (const avy-kill-region) + (const avy-kill-ring-save-whole-line) + (const avy-kill-ring-save-region) + (function :tag "Other command")) :value-type (choice (const :tag "Pre" pre) (const :tag "At" at) diff --git a/elpa/avy-readme.txt b/elpa/avy-readme.txt deleted file mode 100644 index f0e8504a..00000000 --- a/elpa/avy-readme.txt +++ /dev/null @@ -1,27 +0,0 @@ -With Avy, you can move point to any position in Emacs – even in a -different window – using very few keystrokes. For this, you look at -the position where you want point to be, invoke Avy, and then enter -the sequence of characters displayed at that position. - -If the position you want to jump to can be determined after only -issuing a single keystroke, point is moved to the desired position -immediately after that keystroke. In case this isn't possible, the -sequence of keystrokes you need to enter is comprised of more than -one character. Avy uses a decision tree where each candidate position -is a leaf and each edge is described by a character which is distinct -per level of the tree. By entering those characters, you navigate the -tree, quickly arriving at the desired candidate position, such that -Avy can move point to it. - -Note that this only makes sense for positions you are able to see -when invoking Avy. These kinds of positions are supported: - -* character positions -* word or subword start positions -* line beginning positions -* link positions -* window positions - -If you're familiar with the popular `ace-jump-mode' package, this -package does all that and more, without the implementation -headache. -- 2.47.3