abo-abo / hydra

make Emacs bindings that stick around

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Key sequences with right bracket ']' warning of "Unrecognized key _: xxx _"

c0001 opened this issue · comments

Hi hydra maintainer:

I defined a hydra as:

(defhydra temp/pretty-hydra
  (:color "ambranth" :hint nil :exit nil :foreign-keys nil)
  "
 Markdown Mode Actions

 Promotion, demotion, and cycling^^                                         Following and doing things^^                                                        
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
 _C-c C--_: Promote or move element at point to the left                    _C-c C-o_: Follow thing at point if possible, such as a reference link or wiki link 
 _C-c C-=_: Demote or move element at point to the right                    _C-c C-d_: Do something sensible based on context at point                          
 _C-c C-]_: Complete markup of object near point or in region when active   _C-c '_: Edit Markdown code block in an indirect buffer                             
"
  ("C-c C--" markdown-promote :exit t)
  ("C-c C-=" markdown-demote :exit t)
  ("C-c C-]" markdown-complete :exit t)
  ("C-c C-o" markdown-follow-thing-at-point :exit t)
  ("C-c C-d" markdown-do :exit t)
  ("C-c '" markdown-edit-code-block :exit t))

But with the warning prompts as:

"Warning (emacs): Unrecognized key: _: Complete markup of object near point ... _"

emacs version: 27.0.90
emacs config: vanilla emacs
platform: Gnu/Linux

Is the problem of the hydra doc-string format? I expand the hydra core from the melpa package 'pretty-hydra' subroutine, but test as native env, so that I indeed found the issue with 'hydra' core.

I've viewed all "Unrecognized key" metioned isse via your project page as that this is truely fresh new one, hope for helping.

Thanks for your greate contribute.

Thanks, please test.

Thanks a lot, its gone!