Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more

Questions tagged [org-roam]

This tag is to be used for questions relating to org-roam, an add-on to Org mode, that helps with the creation and maintenance of intricately, non-hierarchically linked documents.

Filter by
Sorted by
Tagged with
0 votes
1 answer
12 views

Invalid read syntax error in org-roam-capture-templates

I have the following in my org-roam-capture-templates list: ("tt" "tomorrow task" plain ,(concat "*** %(org-read-date nil nil '+1')\n\n" "Description:\n\...
lmkerbey's user avatar
1 vote
1 answer
34 views

How can I use system hostname in an org-roam-template?

I am new to (doom) Emacs, and I have almost no understanding of Emacs-Lisp yet. I have a simple function I copied from system-crafters blog to quickly insert an org-roam-capture to an inbox file. I am ...
lyndhurst's user avatar
0 votes
0 answers
41 views

Inserting new org roam node fails

I recently moved my Org Roam directory to a new machine. However, creating new nodes with org-roam-node-find fails with the error message run-hooks: Symbol’s function definition is void: org-tempo-...
leonardo's user avatar
0 votes
1 answer
44 views

How to insert a space char when inputting a node name to `org-roam-node-find`?

When I use command org-roam-node-find and I want to create a node named Programming Languages, I can't enter the space character. Emacs seems to require the node title to be a single string without ...
Lindsay's user avatar
  • 37
0 votes
1 answer
52 views

How do I visit and subtree-narrow after org-capture?

I have a fairly complex journal template which I use with org-roam-dailies via org-roam-dailies-capture. For all intents and purposes, I am fairly certain you can just think of this as org-capture. An ...
stites's user avatar
  • 111
0 votes
0 answers
67 views

Emacs org-roam - Template needs to specify ':target'

I've been using org-journal, one file per year, and I like it a lot. But I understand if I were to switch to using dailies in org-roam, I'd be able to link to all my other notes/nodes. I'm not sure ...
Bob's user avatar
  • 101
0 votes
0 answers
14 views

Tab-completion in order to access org-roam ecosystem

I'm looking to access an .org note at a specific heading, in such a way that tab completion is available. Is there any such thing? usage example: <command> microeconomics <tab-completed-...
shintuku's user avatar
  • 121
0 votes
1 answer
41 views

Copying entries from Org Roam into current buffer

I am using org-roam to store templates that I use frequently. I got tired of copying the templates manually into my current buffer so I decided to write a helper function to automate the process. I ...
leonardo's user avatar
0 votes
0 answers
117 views

Build org agenda based on org-roam tags

I need to populate my org-agenda with items collected from org-roam nodes based on their TAGS (i.e. nodes tagged as "project" or "payments"), but I definitely lack the necessary ...
parole.sprekate's user avatar
0 votes
0 answers
56 views

Follow symbolic links in alternative org-roam directory

I use org-roam to take notes. I have two org-roam directories. The alternative one has a .dir-locals.el file where I set the value of org-roam-directory and org-roam-db-location with the path to the ...
NandKN's user avatar
  • 73
1 vote
2 answers
269 views

how to programmatically create list of org-roam nodes with given tag?

I'd like to create (meta) node that contains all references to nodes given org roam tag. For example, Let's say I've tens of org-roam-nodes about python-programming-language (each node has tag python)....
Garid's user avatar
  • 641
0 votes
1 answer
156 views

How can I get the org-roam ID and title/headline into clipboard?

I take content from nodes of my org-roam database and paste this into e.g. an email. For backtracing the content I would like to have certain information copied to my clipboard to insert it into the ...
lukascbossert's user avatar
0 votes
0 answers
48 views

How do I get the proper amount of nodes in my org-roam?

I came across two ways of getting the number of nodes in my org-roam system/database. querrying the sqlite database directly: #+begin_src sqlite :db (eval org-roam-db-location) select count(*) from ...
lukascbossert's user avatar
0 votes
1 answer
135 views

org-roam: export to pdf: inline node links

I am using orgroam, because it allows me to focus on smaller steps. But, sometimes I want to export a note to pdf but inline all links to other nodes. So lets say I have a node called main that ...
Telefza's user avatar
0 votes
1 answer
209 views

Org Roam Capture Today Hook

I've been trying to find a solution for this for a few days, and I keep running into questions I can't seem to answer. My eventual goal is to capture a daily note in org roam, either with a custom ...
Christian Johnson's user avatar
0 votes
1 answer
47 views

Org-Mode Link Export issues (it doesn't)

I'm having some trouble getting my org-link export to work. Either this doesn't translate to Org-Roam-UI or I'm doing something wrong. I hope it's the latter. Mainly because I don't yet understand how ...
Voodoopants's user avatar
0 votes
0 answers
118 views

Unable to use org-roam on Windows 10

The problem is quite simple : I want to use org-roam on my Emacs on my Windows 10 laptop, and for a mysterious reason, it just won't work. What I have done : I have installed org-roam by adding those ...
Thibault Cimic's user avatar
0 votes
0 answers
74 views

Org-Mode links opening in new splits?

I'm a bit stuck. I want to open new splits (windows within a frame to be precise) with each link I'm visiting. A bit like going down the rabbit hole. What I have is 1 | 2 and it bounces back between ...
Voodoopants's user avatar
1 vote
0 answers
78 views

How do deal with hierarchical notes?

I like to keep notes for all my contacts, but also want to avoid "namespace pollution" when using org-roam-node-find. If I have 500 contacts I would rather they all live under a contacts ...
Gavin's user avatar
  • 298
2 votes
1 answer
112 views

Org-roam case-insensitive search

Org-roam's org-roam-node-find and org-roam-node-insert functions both match node titles case-sensitively. To find a node called "JavaScript" I can't just type lowercase j TAB, I have to type ...
Ben Sturmfels's user avatar
0 votes
1 answer
149 views

How can i override the capture templates in a custom call of org-roam-node-find?

I am trying to streamline the process of creating a project node in org-roam. I've defined a custom wrapper function for org-roam-node-find with the following code: (defun my/org-roam-filter-by-tag (...
Lore's user avatar
  • 183
0 votes
0 answers
42 views

How to split org-roam-capture-templates in to multiple lines? [duplicate]

I have following config for my org-roam: (use-package org-roam :ensure t :init (setq org-roam-v2-ack t) :custom (org-roam-directory "~/roamnotes") (org-roam-completion-everywhere ...
Garid's user avatar
  • 641
1 vote
0 answers
330 views

Emacs will not compile sqlite binary and will not run compiled sqlite binary

I am running emacs 28.2 on windows 10, trying to start using the org-roam package which requires emacsql-sqlite. I have installed msys2 and used it to install gcc following the instructions here as ...
Lore's user avatar
  • 183
0 votes
1 answer
77 views

How to set `org-agenda-files` depending current date in order to lessen number of files to load?

I use org-roam-dailies for my TODO lists for given day. And currently, I set my org-agenda-files to org-roam-dailies's directory as below: (setq org-agenda-files '("~/roamnotes/daily/")) ...
Garid's user avatar
  • 641
1 vote
1 answer
735 views

"No EmacSQL SQLite binary available" while running Org-Roam on GUIX

I'm struggling to set up Org-Roam on a minimal GUIX set-up. There is an attempt to compile Compiling EmacSQL SQL binary which throws an error No EmacSQL SQLite binary available. I have installed both ...
krozruch's user avatar
2 votes
1 answer
1k views

How to visit an org-roam node from a link without using the mouse

This seems like a silly question, but how can I visit an org-roam node from a link without using the mouse? I have been looking all over the place and can't seem to find an answer. Some context: I'm ...
mattsilver's user avatar
0 votes
1 answer
40 views

extend org-tags-view to show body of the matching node

In my org files I have many entries that hold a tag. I use them (among many other things) to create reading lists and such. The org-tags-view then shows these items in a list and I browse through them....
credmp's user avatar
  • 1
0 votes
1 answer
194 views

Moving multiple trees out of an org file into a newly created org-roam daily

I'm a beginner at elisp and I'd like your input on my strategy for writing some code for my org/org-roam setup. I have a file called inbox.org, that I capture stuff into when I'm on the go (via Plain ...
gosha's user avatar
  • 113
2 votes
2 answers
2k views

How to properly use consult-ripgrep to search through org-roam notes

I am trying to setup a way to systematically search through all my org-roam notes and I came across the following code that uses consult-ripgrep: (defun bms/org-roam-rg-search () "Search org-...
user39286's user avatar
1 vote
1 answer
364 views

Opening emacs without the scratch buffer when opening a file (Please tell me what is wrong with my init file snippet)?

I recently updated my org-roam package to version 2.2.2 with the following steps: M-x list-packages Then select org-roam and clicked delete. M-x list-packages again Then select org-roam and clicked ...
Inspired_Blue's user avatar
0 votes
1 answer
479 views

Using org-roam-capture throws error: Symbol's function definition is void: org-fold-show-all

I am using org-roam and the problem occurs when I try to use an org-roam-capture template. The capture template is for creating org-roam-nodes from citations using citar. It is based on this blog post ...
Soenderby's user avatar
  • 111
2 votes
0 answers
373 views

Difference between #+filetags and #+categories

I am using orgroam as a Zettelkasten and partly as a personal wiki. I do not use TODO-Lists, Agenda or something else. Currently I use round about 4 different filetags, not more. I use them to specify ...
buhtz's user avatar
  • 729
1 vote
1 answer
997 views

How to programmatically create a new org-roam file?

I want to create a new org-roam (v2) file (i.e., an org-roam node that is a file…) from an elisp script. I know what I want the content of that file to be, and I want the file to be created and the ...
Lukas Barth's user avatar
0 votes
1 answer
79 views

Why is my variable out of scope in org-roam-capture?

I would like to define an function using org-roam's capture system. However, I want to create a new function, not use the variable org-roam-capture-templates and the related function org-roam-capture. ...
jrasband's user avatar
0 votes
0 answers
111 views

Is there a way to create a emacs shotcut that runs a specific terminal command before opening emacs?

a friend of mine recomended that I use a program called obsidian to make notes,and I quite liked the idea, but i didn't like the program. I have been searching and it seeams to me that org-roam in ...
user38135's user avatar
2 votes
0 answers
46 views

Find notes with accented characters when searching for the base character (like isearch with character folding)

Emacs isearch has a "character folding" functionality which can be toggled with M-s ' during isearch. When this is activated, the search can find something like "maçã" (apple in ...
darcamo's user avatar
  • 311
1 vote
0 answers
236 views

Org capture to existing file

I would like to use org-protocol to capture to an existing org file if one already exists. I am using a function to generate the file name interactively for the org file to be captured to: (defun my/...
sab hoque's user avatar
  • 135
3 votes
1 answer
1k views

Org-roam-dailies navigation with custom template

I've setup a template for org-roam-dailies in such a way that There is one file per month, so YYYY-mm.org Inside each file, headlines go with a timestamp (setq org-roam-dailies-directory "daily/...
ezy's user avatar
  • 121
0 votes
0 answers
67 views

org-roam ignores fill-prefix when set via use-package

Because of this answer I set fill-prefix to "". When I do this explicitly via M-: it works as expected. I need a solution for use-package here. When I try to make this setting specific to ...
buhtz's user avatar
  • 729
0 votes
0 answers
822 views

Different ways to set org-roam-node-display-template

I would like to understand what the differences is between this two variants about setting the value of org-roam-node-display-template. From here: (setq org-roam-node-display-template "${title:*} ...
buhtz's user avatar
  • 729
0 votes
0 answers
1k views

Org-roam custom capture template

Currently my org-capture-templates look like this: ("I" "Inbox Timestamp" entry (file+headline "~/Dropbox/documents/org/roam/Inbox.org" "Inbox Timestamp") "...
Arvydas's user avatar
  • 35
0 votes
0 answers
99 views

How to keep `projectile-find-file-hook` from taking a long time in non-project dirs?

I'm using org-mode and org-roam, with many org files in ~/Documents/org-roam (and its subdirs). Org sometimes opens lots of those files to find things. Since I have projectile-mode on globally, every ...
GaryO's user avatar
  • 496
1 vote
0 answers
249 views

Org-roam: cannot resolve UNIQUE constraint failed: nodes.id

I recently started using org-roam, synchronizing my entries folder through the cloud between my laptop and my PC. Recently, upon startup emacs gives the error Error (use-package): org-roam/:init: ...
Wietse Bosman's user avatar
0 votes
2 answers
720 views

What hook should I use for org-roam when there is a creation/renaming of roam node

I wrote a function that will update my roam notes .gitignore. I would like to call this function whenever there is a creation or renaming of roam node. What hook should I be using?
Tian's user avatar
  • 288
0 votes
0 answers
86 views

How to implement a "block" (first introduced by roam research) in org mode?

If you are familiar with roam research, you may know that it consists of page and block. Relate it back to org-mode terms: page is equivalent to file, but there is no one-to-one mapping from block to ...
A-nak Wannapaschaiyong's user avatar
7 votes
1 answer
671 views

Tag column (for +FILETAG) in org-roam node list is is gone

In the past when I searched for org-roam nodes via C-c n f I could saw the +FILETAGS in the right column of the search results. Here is an example where you can see two entries with #Bib tag. After ...
buhtz's user avatar
  • 729
0 votes
1 answer
362 views

Where to put custom-set-faces in the init.el in org-roam context?

I found a code snippet that can be used to have different colors for links and org-roam links on SystemCrafters (aka David Wilson). (custom-set-faces '((org-roam-link org-roam-link-current) :...
buhtz's user avatar
  • 729
2 votes
2 answers
1k views

Create new org-roam node ignoring pre selected existing nodes

C-c n f is bound to org-roam-node-find in my setup. I can search existing nodes or create a new one if it does not exist yet. Assume that there still is a node with the title Foobar in summer and I ...
buhtz's user avatar
  • 729
0 votes
1 answer
654 views

Org-roam raises "Selecting deleted buffer" error after formatting laptop

I recently formatted my laptop's hard drive and reinstalled my OS (Manjaro in dual boot with Windows 11). I restored my entire emacs configuration on Manjaro and everything seems to work properly, ...
Mattia Silvestri's user avatar
1 vote
1 answer
98 views

Add human readable modification time to org file

Currently I add the creation time to my org files with +date: %U in the template string. Works fine and is human readable. I also would like to have that for the modification time, too. I know org-...
buhtz's user avatar
  • 729