Closed dahanbn closed 9 years ago
Thanks for reporting, should work now.
Yeah. It works now. Thanks a lot for the quick fix and your amazing lisp coding. :-)
I'm getting a similar error with the 20150423.1401 update. Hydra is no longer recognizing "-
" as a head. It gives me an error:
Debugger entered--Lisp error: (error "Unrecognized key: __: volume down _")
signal(error ("Unrecognized key: __: volume down _"))
error("Unrecognized key: _%s_" "_: volume down ")
@jagrg, you mean the minus symbol? I've just checked that it works:
(defhydra hydra-toggle ()
"
_-_ abbrev-mode
"
("-" abbrev-mode nil)
("q" nil "quit"))
Try this
(defhydra hydra-buffer-menu (:color pink
:hint nil)
"
^Mark^ ^Unmark^ ^Actions^ ^Search
^^^^^^^^-----------------------------------------------------------------
_-_: mark _u_: unmark _x_: execute _R_: re-isearch
_s_: save _U_: unmark up _b_: bury _I_: isearch
_d_: delete ^ ^ _g_: refresh _O_: multi-occur
_D_: delete up ^ ^ _T_: files only: % -28`Buffer-menu-files-only
_~_: modified
"
("-" Buffer-menu-mark)
("u" Buffer-menu-unmark)
("U" Buffer-menu-backup-unmark)
("d" Buffer-menu-delete)
("D" Buffer-menu-delete-backwards)
("s" Buffer-menu-save)
("~" Buffer-menu-not-modified)
("x" Buffer-menu-execute)
("b" Buffer-menu-bury)
("g" revert-buffer)
("T" Buffer-menu-toggle-files-only)
("O" Buffer-menu-multi-occur :color blue)
("I" Buffer-menu-isearch-buffers :color blue)
("R" Buffer-menu-isearch-buffers-regexp :color blue)
("c" nil "cancel")
("v" Buffer-menu-select "select" :color blue)
("o" Buffer-menu-other-window "other-window" :color blue)
("q" quit-window "quit" :color blue))
(define-key Buffer-menu-mode-map "." 'hydra-buffer-menu/body)
@jagrg, thanks. Should work now.
After upgrading to the latest hydra (20150423.653) from Melpa I am not able to initialise the following hydra:
After starting my Emacs I got the following debug backtrace:
The hydra worked before. Do you have any idea?