You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First thanks for this awesome tool which increase Emacs usability.
I want to make some request related with hydra.
TLDR
Giving aliases for auto generated interactive functions can make the tool more user friendly.
Explanation
Every defhydra functions like this
(defhydra hydra/feature-request ()
("i" (insert "foo") "insert foo")
("a" (progn
(org-agenda nil "t")
(message "Agenda is ready"))
"Open agenda and say agenda is ready"
:exit t)
("mcs" (progn
(more)
(if something
(complex)
(stuff)))
"More complex stuff"
:exit t))
Produces some interactive Lambda functions which are visible in M-x. Even
they are ready to serve for their purpose. I must say that those lambda function
names are not human friendly since they are not memorable. Therefore, I guess
nobody uses it via M-x.
Picture
We can always define different aliases like in below or we can use standalone
functions in hydra but I have better idea.
Hello Oleh,
First thanks for this awesome tool which increase Emacs usability.
I want to make some request related with hydra.
TLDR
Giving aliases for auto generated interactive functions can make the tool more user friendly.
Explanation
Every defhydra functions like this
Produces some interactive Lambda functions which are visible in M-x. Even
they are ready to serve for their purpose. I must say that those lambda function
names are not human friendly since they are not memorable. Therefore, I guess
nobody uses it via M-x.
Picture
We can always define different aliases like in below or we can use standalone
functions in hydra but I have better idea.
My request
It can be good to define alias in the defhydra functions so users can reach
by using aliases in M-x buffer
Ex:
Best Regards,
Enis
The text was updated successfully, but these errors were encountered: