# Org-roam Todos in Agenda View?

**URL:** https://org-roam.discourse.group/t/org-roam-todos-in-agenda-view/1172
**Category:** How To
**Created:** [January 17, 2021, 2:42pm UTC](https://org-roam.discourse.group/t/org-roam-todos-in-agenda-view/1172 "2021-01-17T14:42:15Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![vp275](https://avatars.discourse-cdn.com/v4/letter/v/839c29/32.png) [@vp275](https://org-roam.discourse.group/u/vp275)
#### Post date: [January 17, 2021, 2:42pm UTC](https://org-roam.discourse.group/t/org-roam-todos-in-agenda-view/1172/1 "2021-01-17T14:42:15Z")

</div>

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

Thank you for your help.

Cheers!

---

<div class="post-metadata">

### Author: ![rakoenig](https://yyz2.discourse-cdn.com/free1/user_avatar/org-roam.discourse.group/rakoenig/32/579_2.png) [@rakoenig](https://org-roam.discourse.group/u/rakoenig)
#### Post date: [January 17, 2021, 7:56pm UTC](https://org-roam.discourse.group/t/org-roam-todos-in-agenda-view/1172/2 "2021-01-17T19:56:44Z")

</div>

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](https://emacs.stackexchange.com/questions/5560/wildcard-in-org-agenda-files) how to build `org-agenda-files` using wildcards.

Hope that helps.

---

<div class="post-metadata">

### Author: ![jmburgos](https://yyz2.discourse-cdn.com/free1/user_avatar/org-roam.discourse.group/jmburgos/32/261_2.png) [@jmburgos](https://org-roam.discourse.group/u/jmburgos)
#### Post date: [January 21, 2021, 11:02pm UTC](https://org-roam.discourse.group/t/org-roam-todos-in-agenda-view/1172/3 "2021-01-21T23:02:56Z")

</div>

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$”)))

---

<div class="post-metadata">

### Author: ![midas](https://avatars.discourse-cdn.com/v4/letter/m/e9c0ed/32.png) [@midas](https://org-roam.discourse.group/u/midas)
#### Post date: [March 21, 2021, 1:06am UTC](https://org-roam.discourse.group/t/org-roam-todos-in-agenda-view/1172/4 "2021-03-21T01:06:07Z")

</div>

I found this [interesting approach](https://d12frosted.io/posts/2021-01-16-task-management-with-roam-vol5.html). I have yet to try it, but the algorithm seems like it would do the job quite well.
