Skip to content
TheChatArchiveThe Chat Archive
Metallama-4-maverick-17b-128e-instruct· MetaHugging Face LMArena Human Preference 140K

Write a snippet to configure Org Roam. Format it for use in a literate Org Babel Emacs…

From a Chatbot Arena battleThe same person sent this prompt to two anonymous models at once. Compare it with Geminigemini-2.0-flash-001’s answer.
  1. User

    Write a snippet to configure Org Roam. Format it for use in a literate Org Babel Emacs config. Notes should be stored in ~/Org and will be synced across computers. Org Roam should automatically refresh itself. Use commonly recommended key bindings. Ensure there is a quick keybinding for capturing a new note.

  2. Meta Assistant
    ;; Org Roam Configuration
    (use-package org-roam
      :ensure t
      :custom
      (org-roam-directory "~/Org")
      (org-roam-completion-everywhere t)
      (org-roam-dailies-directory "Journal/")
      (org-roam-completion-module 'default)
      :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)
             ("C-c n c" . org-roam-capture)
             ("C-c n j" . org-roam-dailies-capture-today))
      :config
      (org-roam-db-autosync-mode)
      (org-roam-setup))
    

    To use this snippet in a literate Org Babel Emacs config, simply wrap it in a code block with the emacs-lisp language tag:

    #+BEGIN_SRC emacs-lisp
    ;; Org Roam Configuration
    (use-package org-roam
      :ensure t
      :custom
      (org-roam-directory "~/Org")
      (org-roam-completion-everywhere t)
      (org-roam-dailies-directory "Journal/")
      (org-roam-completion-module 'default)
      :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)
             ("C-c n c" . org-roam-capture)
             ("C-c n j" . org-roam-dailies-capture-today))
      :config
      (org-roam-db-autosync-mode)
      (org-roam-setup))
    #+END_SRC
    

    This configuration sets up Org Roam to store notes in ~/Org, enables automatic refreshing of the Org Roam database, and binds commonly used Org Roam commands to convenient keybindings. The C-c n j keybinding provides a quick way to capture a new daily note.

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.