# Looking for Info to keep separate notes

**URL:** <https://org-roam.discourse.group/t/looking-for-info-to-keep-separate-notes/1162>\
**Category:** How To\
**Created:** [January 13, 2021, 3:06am UTC](https://org-roam.discourse.group/t/looking-for-info-to-keep-separate-notes/1162 "2021-01-13T03:06:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![d\_borealis](https://avatars.discourse-cdn.com/v4/letter/d/a4c791/32.png) [@d\_borealis](https://org-roam.discourse.group/u/d_borealis)\
**Post date:** [January 13, 2021, 3:06am UTC](https://org-roam.discourse.group/t/looking-for-info-to-keep-separate-notes/1162/1 "2021-01-13T03:06:17Z")

</div>

Hi,  
I am interested in maintaining separate notes for different topics

- one directory structure for Finance
- one directory structure for Chemistry.

I searched in User manual and How to Roam Discourse topics and could not find specifics. I may have overlooked or not used right keywords to search, can someone please point me to some resources/live examples which follow this structure.

I currently have below in my .emacs which is common for all topics.

(setq org-roam-directory “~/org-roam”)  
(add-hook 'after-init-hook 'org-roam-mode)

Thanks in advance,

---

<div class="post-metadata">

**Author:** ![mshevchuk](https://avatars.discourse-cdn.com/v4/letter/m/35a633/32.png) [@mshevchuk](https://org-roam.discourse.group/u/mshevchuk)\
**Post date:** [January 14, 2021, 7:09am UTC](https://org-roam.discourse.group/t/looking-for-info-to-keep-separate-notes/1162/2 "2021-01-14T07:09:25Z")

</div>

Hi,  
the most effortless way would be to use subdirectories in your `org-roam-directory`. Automation can be achieved by using different `org-roam-capture-templates` for different topics:

```auto
`(setq org-roam-capture-templates
     '(("f" "Finance notes" plain #'org-roam-capture--get-point "Template"
        :file-name "finance/${slug}" ;; notes will go into subdirectory "finance"
        ...)
       ("c" "Chemistry notes" plain #'org-roam-capture--get-point "Template"
        :file-name "chemistry/${slug}" ;; notes will go into subdirectory "chemistry"
        ...)))

```

Not related, but it is generally safer to load `org-roam-mode` after Org has been loaded, e.g. in `org-load-hook`.

---

<div class="post-metadata">

**Author:** ![d\_borealis](https://avatars.discourse-cdn.com/v4/letter/d/a4c791/32.png) [@d\_borealis](https://org-roam.discourse.group/u/d_borealis)\
**Post date:** [January 14, 2021, 2:21pm UTC](https://org-roam.discourse.group/t/looking-for-info-to-keep-separate-notes/1162/3 "2021-01-14T14:21:06Z")

</div>

Thank you for helpful tip, I will try this which is what I was trying to accomplish. It is structured since notes are in one parent directory.

---

<div class="post-metadata">

**Author:** ![real-or-random](https://yyz2.discourse-cdn.com/free1/user_avatar/org-roam.discourse.group/real-or-random/32/514_2.png) [@real-or-random](https://org-roam.discourse.group/u/real-or-random)\
**Post date:** [January 18, 2021, 9:49am UTC](https://org-roam.discourse.group/t/looking-for-info-to-keep-separate-notes/1162/4 "2021-01-18T09:49:42Z")

</div>

Depending on how much separation you want, my method of reusing org categories as roam-tags may also be interesting for you: [What's the difference between org tags and org-roam tags? - #4 by real-or-random](https://org-roam.discourse.group/t/whats-the-difference-between-org-tags-and-org-roam-tags/1163/4)
