Javier Olaechea
8576155193
Quote symbols in docstrings according to conventions
...
This silences the following warnings during byte-compilation:
avy.el:396:2: Warning: defvar `avy-command' docstring has wrong usage of
unescaped single quotes (use \= or different quoting)
In avy--next-visible-point:
avy.el:935:2: Warning: docstring has wrong usage of unescaped single quotes
(use \= or different quoting)
In avy--next-invisible-point:
avy.el:942:2: Warning: docstring has wrong usage of unescaped single quotes
(use \= or different quoting)
This convention is documented in the Documentation Tips section of the Elisp manual
> • When a documentation string refers to a Lisp symbol, write it as it
> would be printed (which usually means in lower case), with a grave
> accent ‘`’ before and apostrophe ‘'’ after it. There are two
> exceptions: write ‘t’ and ‘nil’ without surrounding punctuation.
See:
- (info "(elisp)Documentaion Tips")
- https://www.gnu.org/software/emacs/manual/html_node/elisp/Documentation-Tips.html
2023-03-16 17:57:15 -05:00
David J. Rosenbaum
955c8dedd6
avy.el (avy--overlay): Avoid error on empty string
...
Fixes #351
Fixes #352
2022-09-10 21:36:08 +02:00
Oleh Krehel
6f9eefadc9
avy.el (avy-process): Assume avy-action-oneshot will be let-bound
...
Re #353
2022-09-10 20:57:38 +02:00
aragaer
fd7b02f556
Add avy-action-oneshot
variable to redefine avy-action locally
...
Could be used this way:
```elisp
(let ((avy-action-oneshot #'push-button))
(avy-goto-char-timer))
```
2022-08-25 22:32:59 +03:00
Stefan Kangas
ba5f035be3
Fix two byte-compiler warnings
...
Fixes #336
2022-01-02 09:05:07 +01:00
Stefan Kangas
6b53033883
Add GNU ELPA badge to README.md
2022-01-01 04:09:49 +01:00
lWarne
e92cb37457
avy.el (avy-transpose-lines-in-region): Add
...
Fixes #317
Fixes #310
2020-12-26 18:34:12 +01:00
Oleh Krehel
bbf1e7339e
avy.el (avy-order-closest): Work with avy-goto-line
...
Fixes #307
2020-06-24 13:48:19 +02:00
Saulius Menkevičius
2dde8b71a0
avy.el (avy-process): Add autoload
2020-05-22 08:10:56 +03:00
Oleh Krehel
f34ff764aa
avy.el (avy-escape-chars): Add defcustom
...
Re #249
2020-05-19 12:07:44 +02:00
Oleh Krehel
36a48baa2c
avy.el (avy-goto-char-2): Allow backspace
...
Fixes #249
2020-05-19 08:59:08 +02:00
Oleh Krehel
acf553cae2
avy.el (avy--overlay-pre): Fix conflict with visual-line-mode
2020-05-19 08:58:53 +02:00
Oleh Krehel
509471bad0
avy.el (avy-text): Store the avy-goto-char-timer text
...
Fixes #303
2020-04-22 13:53:20 +02:00
Oleh Krehel
aa35412375
avy.el (avy--line-cands): Don't set temporary-goal-column
...
This was introduced when fixing `avy-goto-line' for the combination of
`org-indent-mode' and `visual-line-mode'. Tested that removing it does
not cause a regression.
Re #110
Fixes #302
2020-04-21 12:27:27 +02:00
Oleh Krehel
954774d6e9
avy.el (avy-action-yank-line): Add and bind to "Y"
2020-03-24 16:28:30 +01:00
Oleh Krehel
3bf83140fa
avy.el (avy-goto-line): Can cancel with ESC
...
Fixes #299
2020-03-11 12:06:02 +01:00
Jonas Bernoulli
cf95ba9582
avy.el (avy-with): Fix typo in doc-string
2019-11-06 13:34:46 +01:00
Daniel H. Leidisch
f9c15c573c
Fix subword commands with custom order.
2019-10-25 01:10:14 +02:00
Oleh Krehel
87394c9a88
avy.el (avy-isearch): Return relevant result
...
Fixes #281
2019-09-25 12:54:05 +02:00
Oleh Krehel
5f2eba5f59
avy.el (avy-isearch): Bind avy-case-fold-search to case-fold-search
...
Fixes #280
2019-09-25 12:50:48 +02:00
Oleh Krehel
455ebec6f3
avy.el (avy-process): Amend last commit for avy-goto-char-timer
...
Re #283
2019-09-25 12:42:34 +02:00
Federico Tedin
5127f993f9
avy.el (avy-process): Restart on fail for avy-style 'words
...
Fixes #283
2019-09-25 12:40:53 +02:00
Oleh Krehel
034de4c0e9
avy.el: Add -above and -below versions of avy-goto-whitespace-end
...
Re #278
2019-08-28 11:51:02 +02:00
Oleh Krehel
27d1af3fa6
avy.el (avy-goto-whitespace-end): New command
...
* avy.el (avy--regex-candidates): Allow `group' to be a function.
(avy-jump): Pass `group' to `avy--regex-candidates'.
Fixes #278
2019-08-27 20:07:10 +02:00
Oleh Krehel
01a311ca6a
avy.el: Get rid of magic char numbers
2019-08-22 16:32:05 +02:00
Oleh Krehel
66886e265c
avy.el (avy-read): Don't call `avy--key-to-char' too early
...
If the key is intended for dispatch, it's not necessary for
`avy--key-to-char' to encode it as a char.
2019-06-30 17:38:41 +02:00
Oleh Krehel
343fc42de1
avy.el (avy-process): Return nil on "C-g" and "ESC"
2019-06-30 17:26:34 +02:00
Oleh Krehel
9ae059deaa
.github/FUNDING.yml: Add
2019-06-25 21:50:07 +02:00
Oleh Krehel
aadca9308a
avy.el (avy-resume): Work better for avy-goto-timer
...
Fixes #277
2019-06-25 21:49:51 +02:00
Arte Ebrahimi
f91ae613a8
avy.el (avy-goto-line): Call avy-action-goto only when avy-action is not set
...
Fixes #274
2019-05-20 11:47:00 +02:00
Yanghao Xie
8686845ed9
avy.el (avy-flyspell-correct-function): Add
...
Fixes #273
2019-05-14 17:51:15 +02:00
Oleh Krehel
0e59474430
avy.el (avy--read-candidates): Fix docstring
...
Don't quote key bindings.
This patch was applied in GNU ELPA earlier.
2019-05-11 16:00:29 +02:00
Oleh Krehel
b408f76e3d
doc/Changelog.org: quote issues
2019-05-11 15:10:59 +02:00
Oleh Krehel
f2cf43b537
doc/Changelog.org: Release 0.5.0
...
Fixes #271
0.5.0
2019-05-11 15:05:05 +02:00
Oleh Krehel
a7230906c4
avy.el (avy--overlay-at-full): More consistent face order
...
Fixes #270
2019-05-06 17:06:39 +02:00
Oleh Krehel
4d52b5cb7e
avy.el (avy--line-cands): Allow "invisible" 'org-link
...
Fixes #269
2019-04-04 10:55:30 +02:00
Oleh Krehel
85b5d574cd
avy.el (avy-jump): Add predicate argument
...
Fixes #267
2019-03-28 17:17:29 +01:00
Oleh Krehel
9a15d1f37b
avy.el (avy-show-dispatch-help): Add and bind to "?"
...
Fixes abo-abo/ace-window#91
2019-03-25 11:46:40 +01:00
Oleh Krehel
152b07fe5a
avy.el (avy-process): Return res
2019-03-25 11:46:40 +01:00
Oleh Krehel
fd0101e9e3
avy.el (avy-push-mark): Turn off message
2019-03-25 11:46:40 +01:00
Oleh Krehel
7d73ceeb74
avy.el: Use avy-process instead of avy--process
...
Re #266
2019-03-19 19:13:51 +01:00
Ivan Yonchovski
8db2759adf
Change avy--process to accept cleanup function
...
Renamed to `avy-process' to indicate that it is used from another packages.
Fixes #255
Fixes #266
2019-03-19 19:11:15 +01:00
Oleh Krehel
e80251056d
avy.el (avy-jump): New API, don't use avy--generic-jump
...
Fixes #265
2019-02-04 13:01:07 +01:00
Oleh Krehel
91240220ad
avy.el (avy--generic-jump): Update docstring about removed arg
2019-01-26 21:29:12 +01:00
Oleh Krehel
b19a23af27
avy.el (avy--visible-p): buffer-invisibility-spec can be t
...
In that case, according to the doc if (get-char-property s 'invisible)
is non-nil, it's invisible.
Fixes #264
Re #261
2019-01-22 15:20:20 +01:00
Oleh Krehel
5b3676f1a4
avy.el (avy-next): New command to go to the next candidate after avy-read
...
Example config:
(defhydra hydra-avy-cycle ()
("j" avy-next "next")
("k" avy-prev "prev")
("q" nil "quit"))
(global-set-key (kbd "C-M-'") 'hydra-avy-cycle/body)
After e.g. `avy-goto-char' or `avy-goto-char-timer', use the above
hydra to cycle between the last candidates.
Fixes #254
2019-01-22 12:59:26 +01:00
Oleh Krehel
74501e1235
avy.el: More fixes to org-toggle-link-display
...
Fix `avy-goto-subword-0', `avy-goto-subword-1', `avy-goto-char-timer'.
Re #261
2019-01-21 17:44:22 +01:00
duianto
118a3d616e
Update readme.md: add melpa badges
...
This makes it easy to see the current version from the main repository page.
2019-01-18 15:49:29 +01:00
Oleh Krehel
e9f4d85b88
avy.el (avy-goto-char-timer): Obey avy-background for initial search
...
Fixes #259
2019-01-17 17:47:18 +01:00
Oleh Krehel
002b8f3451
avy.el (avy--visible-p): Add to fix org-toggle-link-display
...
Fixes #261
2019-01-17 17:39:01 +01:00