hyperbole
hyperbole copied to clipboard
When hyperbole-mode is re-enabled, kotl-mode is not loaded
If I config hyperbole the following way
(use-package hyperbole
:custom
(hyperbole-mode nil))
Then when I manually enable hyperbole-mode by M-x, functions like kotl-mode is not loaded.
A quick fix is
(use-package hyperbole
:config
(hyperbole-mode -1)
(hyperb:init))
But I think it is a bug to require user to explicitly call (hyperb:init)
.
Moreover, the reason that I want to disable hyperbole-mode is that this minor-mode's keymap conflicts with my global keymap. So is it possible that this package provide a customized prefix for hyperbole-mode-map? Currently, there's no such prefix and it is easy to conflict with user's own key bindings.
You should be able to rebind C-h h to your own keymap as you normally would, after initializing Hyperbole.-- rsw
On Jan 26, 2024, at 7:09 AM, 101scholar @.***> wrote:
A quick fix is (use-package hyperbole :config (hyperbole-mode -1) (hyperb:init)) But I think it is a bug to require user to explicitly call (hyperb:init). Moreover, the reason that I want to disable hyperbole-mode is that this minor-mode's keymap conflicts with my global keymap. So is it possible that this package provide a customized prefix for hyperbole-mode-map? Currently, there's no such prefix and it is easy to conflict with user's own key bindings.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>
I mean for example currently the package binds M-o
to hkey-operate in hyperbole-mode-map, it's better to add some customized prefix so that it won't mess up keybinding of other packages.
M-o is bound by Hyperbole only if it has the default global Emacs binding of 'facemenu-keymap' or if it has not been bound to something else by the user. So just set your personal binding before initializing Hyperbole and you should be fine.
101scholar wrote:
If I config hyperbole the following way
(use-package hyperbole :custom (hyperbole-mode nil))
Then when I manually enable hyperbole-mode by M-x, functions like kotl-mode is not loaded.
This is something that should be resolved if you are running the Hyperbole pre-release V8.0.1pre from the elpa-devel archive. You can see code to fix it at the bottom of hyperbole.el.