0

I'm fairly new to Emacs and Org-Roam and struggled for few days to get Org-roam installed on my Windows 10 PC. But I successfully got it installed after following these steps.
Note that I installed Emacs from scratch and have not used org-roam till now.

I verified the org-roam installed by checking the variable org-roam--sqlite-available-p (Its value is t).

But when I use org-roam-node-find to create a new org-roam node I'm getting an error: Selecting Deleted Buffer.

I'm not sure if I'm missing anything, but here is my init.el configuration:

;; Packages
(require 'package)                   ; Bring in to the environment all package management functions
;; A list of package repositories
(setq package-archives '(("melpa" . "https://melpa.org/packages/")
                         ("org"   . "https://orgmode.org/elpa/")
                         ("elpa"  . "https://elpa.gnu.org/packages/")))

(package-initialize)                 ; Initializes the package system and prepares it to be used
(unless package-archive-contents     ; Unless a package archive already exists,
  (package-refresh-contents))        ; Refresh package contents so that Emacs knows which packages to load

;; Initialize use-package on non-linux platforms
(unless (package-installed-p 'use-package)        ; Unless "use-package" is installed, install "use-package"
  (package-install 'use-package))
(require 'use-package)                            ; Once it's installed, we load it using require

(setq use-package-always-ensure t)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
(setq package-check-signature nil)

(custom-set-variables
 '(package-selected-packages '(org-roam use-package org-roam-bibtex)))
(custom-set-faces
 )

(require 'org)
(use-package org-roam 
    :ensure t
    :bind (("C-c n l" . org-roam-buffer-toggle)
           ("C-c n f" . org-roam-node-find)
           ("C-c n i" . org-roam-node-insert))
    :config
    (org-roam-setup))
2
  • Do you need to show all of your init file here? Bisect the file, to find the culprit. Then ask your question about that relevant portion (only). Thx.
    – Drew
    Sep 11 at 13:18
  • I honestly don't know what the issue is. And this is the default configuration with additional hot keys at the end for org-roam. As far as I remember, there's nothing else that I added. But I removed the comments to make it more readable without scroll.
    – Gangula
    Sep 11 at 17:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.