Org-roam Todos in Agenda View?

How do I view my todos from various files in org-roam, in the agenda view?

Thank you for your help.

Cheers!

I guess that to make the todos show up all files should be included in the variable org-agenda-files.

There is an article on StackExchange how to build org-agenda-files using wildcards.

Hope that helps.

If you want to include only a few particular org-roam files, just add them “by hand” to the agenda using the “org-agenda-file-to-front” command.

If you want to have all your org-roam files in the agenda, the only thing that you have to do is to add your org-roam folder to the org-agenda-files variable. If org-agenda-files is a folder, then all the org files in that folder are included in the agenda. You can do that by adding something like this to your init.el file:

(setq org-agenda-files “~/Documents/org_roam/”)

I actually do the opposite. I include in the agenda all my org files except my org roam files. This is because if you have too many agenda files then emacs slows down. To do this, I have the following in my init.el file:

(setq org-agenda-files
(cl-delete-if (lambda (k) (string-match-p “^~/Documents/org_roam/” k))
(directory-files-recursively “~/Documents/” “\.org$”)))

1 Like

I found this interesting approach. I have yet to try it, but the algorithm seems like it would do the job quite well.