Bindings undefinded in org-roam

The following is my config in .emacs, have I done something wrong?

When I type C-c n I get “is undefined”

Thanks, I am new to Linux.

(use-package org-roam
  :ensure t
  :demand t  ;; Ensure org-roam is loaded by default
  :init
  (setq org-roam-v2-ack t)
  :custom
  (org-roam-directory "~/org-roam")
  (org-roam-db-autosync-mode))
  (org-roam-completion-everywhere t)
  :bind (("C-c n l" . org-roam-buffer-toggle)l`
         ("C-c n f" . org-roam-node-find)
         ("C-c n i" . org-roam-node-insert)
         ("C-c n I" . org-roam-node-insert-immediate)
         ("C-c n p" . org-roam-find-project)
         ("C-c n t" . org-roam-capture-task)
         ("C-c n b" . org-roam-capture-inbox)        
  :bind-keymap
  ("C-c n d" . org-roam-dailies-map)
  :config
  (require 'org-roam-dailies) ;; Ensure the keymap is available

;; cache
(setq org-roam-database-connector 'sqlite3)

;; org-roam buffer display
(add-to-list 'display-buffer-alist
           '("\\*org-roam\\*"
             (display-buffer-in-direction)
             (direction . right)
             (window-width . 0.33)
             (window-height . fit-window-to-buffer)))

;; Default template
(("d" "default" plain "%?"
:target (file+head "%<%Y%m%d%H%M%S>-${slug}.org"
                   "#+title: ${title}\n")
1 Like

Not sure if it’s related, but I have a similar issue. Instead I get an error:

let*: Key sequence C 0 c n starts with non-prefix key C

I just installed org-roam, it’s version 20211107.1429

This command does not exist in the current version of Org-roam.

So this error message makes sense – the command does not exist (= undefined).

This error does not look to be related to Org-roam. It’s probably useful to turn on toggle-debug-on-error and see the backtrace (error stack) – it’s not easy to see the comfort zone of all different people in the community; if this does not make sense, you can come back here to ask more.

1 Like

Your case looks to be incorrect configuration of a keybinding. Probably you want to bind C-c n or C-0 c n to something but the syntax is not correct. Or something along these lines.

@wlloydw

Can it be that the trailing l is causing this?

Thank you, I am copying snippets of code from various sources and am climbing this steep learning curve. Thank you.

I will try this. At present the install of org-roam is conflicting with my emacs and org-mode configs and I am too new to understand the causes of cure. So I have remove all the org-roam code and gone back to emacs and org-mode to increase me knowledge and will attempt a move to org-roam later after I better understand what I currently have working. Thanks.

Thank you.