Oleh Krehel
112e689f75
hydra.el (hydra-add-imenu): Add
...
Fixes #380
6 years ago
Oleh Krehel
8a9124f80b
hydra.el: Fix hydra-curr-map nil when hydras are nested via :post
...
The :post handler is called by el:hydra-keyboard-quit, which calls el:hydra-disable, and
then sets el:hydra-curr-map to nil.
This is fine if there's only one hydra. However, for nesting hydras like yours this
happens:
- hydra-b sets el:hydra-curr-map to map-b
- el:hydra-keyboard-quit calls the :post handler and sets it to map-a
- el:hydra-keyboard-quit then sets it to nil
The fix is to set `hydra-curr-map' in `hydra-disable' before :post is called.
Fixes #375
6 years ago
Philipp Stephani
87873d7888
Explicitly require cl-lib.
...
This avoids a byte compilation warning:
$ emacs -Q -batch -f batch-byte-compile lv.el
In end of data:
lv.el:147:1:Warning: the function ‘cl-count’ is not known to be defined.
6 years ago
Sebastian Wålinder
2dfc493ebc
Fixed message hint display from being escaped by percent
6 years ago
Oleh Krehel
16fa8d109e
hydra.el (defhydra): Use "__" in docstring to represent a literal "_"
...
* hydra-test.el (hydra-format-11): Add test.
Fixes #366
6 years ago
Oleh Krehel
370a5c613e
hydra.el (hydra-key-regex): Include "[]" in the char group
...
To include "]", it must be the first char in the group.
To include "-", it must be the last char in the group.
Fixes #365
6 years ago
Oleh Krehel
d2b921d067
hydra.el (defhydra): :exit key can now also be a sexp
...
Fixes #361
6 years ago
Oleh Krehel
9fc28a044b
hydra.el (hydra--make-defun): Refactor
6 years ago
Oleh Krehel
6442faf3da
hydra.el (hydra--make-defun): Refactor
6 years ago
Oleh Krehel
5e29ad0092
lv.el (lv-window): Ensure fundamental-mode
...
Fixes #364
6 years ago
Oleh Krehel
d3328cab67
doc: Add full text of licences
...
Fixes #360
6 years ago
Stephen Bach
e3beffdd80
lv.el (lv-window): Don't modify the buffer-list order
...
Fixes #356
Fixes #357
6 years ago
Oleh Krehel
9db28034d7
lv.el (lv-window-hook): Add
...
Re emacs-lsp/lsp-mode#1216
Example:
(add-hook 'lv-window-hook 'visual-line-mode)
6 years ago
Oleh Krehel
bcc2d0eb5b
hydra.el (hydra--work-around-dedicated): Revert
...
This reverts commit d38c63d3d8 .
Re #349
Re syl20bnr/spacemacs#12986
6 years ago
Oleh Krehel
d38c63d3d8
hydra.el (hydra--work-around-dedicated): Unset on 26.3
...
Since the bug seems to be fixed since then.
Re #349
6 years ago
Oleh Krehel
0c5dcf7ab9
.travis.yml: Use EVM
6 years ago
Jonas Bernoulli
49bef08465
Fix typos
6 years ago
Oleh Krehel
91f961d5d5
lv.el (lv-use-padding): New defcustom
...
Fixes #351
6 years ago
Oleh Krehel
74b32f3ff0
lv.el: Sience byte compiler
6 years ago
Oleh Krehel
9936d1c6a8
lv.el (lv-window): Set tab-line-format to nil
...
Fixes #348
6 years ago
Davor Rotim
435c55e9f7
Disable fill-column-indicator display.
...
Fixes #343
7 years ago
Oleh Krehel
b14aaf71cb
hydra.el (hydra-lv): Remove obsolete defcustom
...
Fixes #344
7 years ago
ema2159
a91dd72529
lv.el (lv-window): Set header-line-format to nil
...
Fixes #338
7 years ago
Oleh Krehel
798c0d810f
.github/FUNDING.yml: Add
7 years ago
Oleh Krehel
82ff12666e
hydra.el (find-func): Fix advice
...
In case of *Help* for `seq-contains', the `symbol' arg
is (seq-contains nil t t), which is not a symbol. So now check for
that.
Fixes #332
7 years ago
Tuấn-Anh Nguyễn
a2bb124a3f
hydra.el (hydra-posframe-hide): Delay hiding hint when it makes sense
...
Fixes flickering on OSX.
Fixes #329
Fixes #330
7 years ago
Oleh Krehel
406988f6e9
hydra.el (hydra-posframe-show-params): Add
...
Fixes #328
7 years ago
Oleh Krehel
e94b39171a
hydra.el (hydra-posframe-show): Introduce a border
...
Makes the hint more distinct
7 years ago
Oleh Krehel
f27fce1b2f
hydra.el: Bump version
...
* doc/Changelog.org: Add.
7 years ago
Oleh Krehel
acb69859f3
hydra-test.el: Update tests for the last commit
7 years ago
Oleh Krehel
6842731f08
hydra.el (hydra-lv): Declare obsolete
...
If you want Hydra to use `message' instead of `lv-message' (the default):
(setq hydra-hint-display-type 'message)
If you want only a specific hydra to use `message':
(hydra-set-property 'hydra-test :verbosity 1)
Remember to add a delay if a head uses `message' too, otherwise the
hydra hint will erase it:
(defhydra hydra-test ()
("t" (progn
(message "time %S" (current-time))
(sit-for 0.8)) "test"))
Re #313
7 years ago
bmag
480ae63137
Declare dependency on separate lv package
7 years ago
Oleh Krehel
8e3698fb53
hydra-examples.el (hydra-rectangle): Change "p" to "x"
7 years ago
Oleh Krehel
d96180865c
hydra.el (hydra-hint-display-alist): Add
...
Fixes #317
7 years ago
Yanghao Xie
e0e3282efa
hydra.el (hydra-hint-display-type): Add
...
Re #317
7 years ago
Oleh Krehel
9c4a4711bc
hydra.el (hydra-key-doc-function-default): Accept also sexp as doc
...
* hydra-test.el (hydra-column-sexp): Add test.
Fixes #304
7 years ago
Oleh Krehel
aa55bbd196
hydra.el (hydra--hint-from-matrix): Don't wrap with concat
7 years ago
Oleh Krehel
38a567fc5b
hydra.el (hydra--hint-from-matrix): Return a list
7 years ago
Oleh Krehel
1dab16cd2a
hydra.el (hydra--hint-from-matrix): Prep to return list
7 years ago
Oleh Krehel
f0745366ff
hydra.el (hydra--hint-from-matrix-1): Extract
7 years ago
Oleh Krehel
b7279c7c19
hydra.el (hydra--hint-row): Prep to return list
7 years ago
Oleh Krehel
3846e2728f
hydra.el (hydra-interpose): Extract
7 years ago
Oleh Krehel
16563fbc4c
hydra.el (hydra--hint-row): Extract
7 years ago
Oleh Krehel
1e423933a9
hydra.el: sexp hints are now supported for :columns
...
* hydra-test.el: Old tests have one less layer of '(concat ...) around
the docstring.
(hydra-format-10): Add test.
Fixes #304
Fixes #311
7 years ago
Oleh Krehel
67e454bf10
hydra.el (defhydra+): Update indent spec
...
Re #185
7 years ago
Oleh Krehel
9ca93bdffb
hydra.el (defhydra+): Add
...
* hydra-test.el (hydra-extend): Add test.
Fixes #185
7 years ago
Oleh Krehel
425f20e7ed
README.md: Link to :column code
...
Re #307
7 years ago
Oleh Krehel
05871dd6c8
hydra.el (defhydra): Document the :column feature
...
Fixes #307
7 years ago
Oleh Krehel
2ad0b01611
hydra.el (hydra--normalize-body): Fixup for Emacs24
7 years ago
Oleh Krehel
e01a79e4b7
hydra.el (defhydra): Declare "/params" and "/docstring"
...
* hydra-test.el: Update tests.
Re #185
7 years ago