[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#41438: [PATCH] Allow windmove keys to be bound without prefix or mod
From: |
Juri Linkov |
Subject: |
bug#41438: [PATCH] Allow windmove keys to be bound without prefix or modifiers |
Date: |
Mon, 31 May 2021 01:11:57 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) |
>> Maybe it's possible to add new user options without deprecating the
>> existing functions? Then for users an alternative way would be to
>> customize these options, and enable windmove-mode in the init file.
>
> Of course, why not? The patches below should implement that.
Thanks, I tried out your patches. The customization saved them
in such format:
'(windmove-default-keybindings '([ignore] hyper))
'(windmove-delete-default-keybindings '("\30" hyper))
'(windmove-display-default-keybindings '([ignore] meta hyper))
'(windmove-swap-states-default-keybindings '([ignore] shift hyper))
But I guess it's not a problem that it saves nil as [ignore].
The real problem is that after replacing this with a manual configuration:
(use-package windmove
:custom
(windmove-default-keybindings '(nil hyper))
(windmove-delete-default-keybindings `(,(kbd "C-x") hyper))
(windmove-display-default-keybindings '(nil meta hyper))
(windmove-swap-states-default-keybindings '(nil shift hyper)))
Then every startup pops up the *Warnings* buffer with:
Warning (emacs): Overriding 1 with windmove-delete-left [Disable showing]
[Disable logging]
But still all keybindings work correctly.
- bug#41438: [PATCH] Allow windmove keys to be bound without prefix or modifiers, (continued)
- bug#41438: [PATCH] Allow windmove keys to be bound without prefix or modifiers, Lars Ingebrigtsen, 2021/05/25
- bug#41438: [PATCH] Allow windmove keys to be bound without prefix or modifiers, Lars Ingebrigtsen, 2021/05/25
- bug#41438: [PATCH] Allow windmove keys to be bound without prefix or modifiers, Philip Kaludercic, 2021/05/25
- bug#41438: [PATCH] Allow windmove keys to be bound without prefix or modifiers, Juri Linkov, 2021/05/25
- bug#41438: [PATCH] Allow windmove keys to be bound without prefix or modifiers, Philip Kaludercic, 2021/05/25
- bug#41438: [PATCH] Allow windmove keys to be bound without prefix or modifiers, Juri Linkov, 2021/05/26
- bug#41438: [PATCH] Allow windmove keys to be bound without prefix or modifiers, Philip Kaludercic, 2021/05/27
- bug#41438: [PATCH] Allow windmove keys to be bound without prefix or modifiers,
Juri Linkov <=
- bug#41438: [PATCH] Allow windmove keys to be bound without prefix or modifiers, Philip Kaludercic, 2021/05/31
- bug#41438: [PATCH] Allow windmove keys to be bound without prefix or modifiers, Juri Linkov, 2021/05/31
- bug#41438: [PATCH] Allow windmove keys to be bound without prefix or modifiers, Philip Kaludercic, 2021/05/31