# Org-tags completion across roam files

**URL:** <https://org-roam.discourse.group/t/org-tags-completion-across-roam-files/3083>\
**Category:** How To\
**Created:** [May 27, 2023, 10:09am UTC](https://org-roam.discourse.group/t/org-tags-completion-across-roam-files/3083 "2023-05-27T10:09:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![manandearth](https://avatars.discourse-cdn.com/v4/letter/m/94ad74/32.png) [@manandearth](https://org-roam.discourse.group/u/manandearth)\
**Post date:** [May 27, 2023, 10:09am UTC](https://org-roam.discourse.group/t/org-tags-completion-across-roam-files/3083/1 "2023-05-27T10:09:54Z")

</div>

I am tracking data in dailies using org-tags as follows:

```auto
*** Breakfast: :porridge:banana:
*** Lunch: :brown_rice:pumpkin:
*** Supper: :toast:tomato:

```

To then later track the files (dates) that contain specific org-tags.

This part works perfectly with `org-tags-view` or `helm-org-tags-view`.

What I miss is a method to add tags, or ideally to complete, when the completion should consider all roam files and not just the current one.

the org command `org-set-tags` reads only the current buffer, and the agenda tag commands are only relevant within the agenda.

Is there a way to expand `org-set-tags` to the entire database? or some leads for a custom solution?

---

<div class="post-metadata">

**Author:** ![manandearth](https://avatars.discourse-cdn.com/v4/letter/m/94ad74/32.png) [@manandearth](https://org-roam.discourse.group/u/manandearth)\
**Post date:** [May 27, 2023, 10:58am UTC](https://org-roam.discourse.group/t/org-tags-completion-across-roam-files/3083/2 "2023-05-27T10:58:11Z")

</div>

I actually found a way to insert tags by setting the variable `org-complete-tags-always-offer-all-agenda-tags` to _true_  
Not completion, but that will be simple to solve now.

---

<div class="post-metadata">

**Author:** ![nobiot](https://yyz2.discourse-cdn.com/free1/user_avatar/org-roam.discourse.group/nobiot/32/159_2.png) [@nobiot](https://org-roam.discourse.group/u/nobiot)\
**Post date:** [May 27, 2023, 4:30pm UTC](https://org-roam.discourse.group/t/org-tags-completion-across-roam-files/3083/3 "2023-05-27T16:30:13Z")

</div>

Would command `org-roam-tag-add` work for you?
