jgru/consult-org-roam

consult-org-roam-forward-links is not working

Closed this issue · 2 comments

drcxd commented

After executing consult-org-roam-forward-links I get an error message:

consult--key-parse: [134217774] is not a valid key definition; see ‘key-valid-p’

I found a related issue: minad/consult#747 but I have not figured out how to fix this problem. Can you help?

drcxd commented

I have figured out that the problem is in the sample customization code:

   ;; Eventually suppress previewing for certain functions
   (consult-customize
    consult-org-roam-forward-links
    :preview-key (kbd "M-."))

Looks like it has to be:

   ;; Eventually suppress previewing for certain functions
   (consult-customize
    consult-org-roam-forward-links
    :preview-key "M-.")

Maybe you can update the README file?

jgru commented

Hi @drcxd,

thank you very much for pointing this out.
Indeed, we need to drop the (kbd ...) to avoid this error with consult's key parsing checks.
I already updated the readme in 47e43a7.

Thanks again.

Best,
jgru