SavchenkoValeriy / emacs-powerthesaurus

Powerthesaurus integration for Emacs
GNU General Public License v3.0
270 stars 11 forks source link

Hydra, transient are loaded too eagerly in the generated autoload file #40

Open daanturo opened 1 year ago

daanturo commented 1 year ago

Hello, thank you for the new cool interfaces!

Currently, the way powerthesaurus defines the hydra and transient is not so performant: it dumps the whole code block into the autoload file, and forcefully loads hydra.el and transient.el too early in the startup process.

While not invalidating the fix for #36 and still address this loading issue, I think we can opt to move those to a separate like https://github.com/emacs-lsp/dap-mode/blob/master/dap-hydra.el does.

Also a small feature request from me: add "q" to quit transient, similar to the hydra one.

noctuid commented 8 months ago

Would also like to see this changed