Literature notes

I must have misunderstood what “nodes with same title” means, because all my experiments are consistent in proving that it is nearly impossible to create two nodes with the same title (my experiments were only about the case where a node is a file).

Note: I also use vertico, but the M-RET method, as far as I understand it, would only allow to create two nodes with similar but not identical titles.

When I searched the web, the only method that seemed to produce results that met the specifications was the one described here: org mode - How to programmatically create a new org-roam file? - Emacs Stack Exchange

(defun org-roam-fast-make-link (s)
  "Make an org-roam node with title S and return a link to it.

We eschew the usual org-capture approach for a fast, non-interactive result."
  (let* ((slug (org-roam-node-slug (org-roam-node-create :title s)))
         (filename (format "%s/%d-%s.org"
                           (expand-file-name org-roam-directory)
                           (time-convert (current-time) 'integer)
                           slug))
         (org-id-overriding-file-name filename)
         id)
    (with-temp-buffer
      (insert ":PROPERTIES:\n:ID:        \n:END:\n#+title: "
              s)
      (goto-char 25)
      (setq id (org-id-get-create))
      (write-file filename)
      (org-roam-db-update-file filename)
      (format "[[id:%s][%s]]" id s))))

Also, what might have made me think it was possible is Luhmann’s workflow, where he definitely uses a new sheet of paper for each new idea he wants to commit to the knowledgebase, including literature notes: having everything in the same file is really a different experience, in my opinion, even if we can use the “narrowing” functionality enjoyed by Emacs. Although I’m not sure it would even help, I’d still have to come up with a new title for every new idea, good luck with that.