# Avoid typing tags in org-roam-find-file

**URL:** <https://org-roam.discourse.group/t/avoid-typing-tags-in-org-roam-find-file/1693>\
**Category:** Troubleshooting\
**Created:** [June 16, 2021, 6:53pm UTC](https://org-roam.discourse.group/t/avoid-typing-tags-in-org-roam-find-file/1693 "2021-06-16T18:53:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrbean](https://avatars.discourse-cdn.com/v4/letter/m/c57346/32.png) [@mrbean](https://org-roam.discourse.group/u/mrbean)\
**Post date:** [June 16, 2021, 6:53pm UTC](https://org-roam.discourse.group/t/avoid-typing-tags-in-org-roam-find-file/1693/1 "2021-06-16T18:53:39Z")

</div>

Hello,

I’m a relatively new org-roam user (and loving it!), so please forgive me if there’s an obvious solution to this (although I haven’t been able to find it in the documentation).

I would like to organize my notes with tags, but when I add any tag (e.g. “Bar”) to a note (e.g. titled “Foo”), then org-roam-find-file only recognizes the note name when I type the tag in parentheses first (e.g. “(Bar) Foo”). I know I could just type a wildcard \* every time I use org-roam-find-file, but this would get frustrating after a while. Is there a setting to change org-roam-find-file so that it doesn’t require me to type the tags like this?

(Using org-roam version 1.2.3 and Emacs 26.1.)

Thanks in advance!

---

<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:** [June 17, 2021, 7:20am UTC](https://org-roam.discourse.group/t/avoid-typing-tags-in-org-roam-find-file/1693/2 "2021-06-17T07:20:04Z")

</div>

I think this is actually outside of Org-roam. You should be able to control the behaviour by setting [`completion-styles`](https://www.gnu.org/software/emacs/manual/html_node/emacs/Completion-Styles.html).

I would suggest [Orderless](https://github.com/oantolin/orderless), instead of trying to fiddle with the built-in options.

Alternatively, if you use Ivy or Helm, I guess this will become no issue (?)

---

<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:** [June 17, 2021, 8:02am UTC](https://org-roam.discourse.group/t/avoid-typing-tags-in-org-roam-find-file/1693/3 "2021-06-17T08:02:59Z")

</div>

Another alternative.

For v1, you can choose to place tags behind, not in front of, the title. Try setting this user option to `append`. I think you can achieve what you would like without changing `completion-styles`.

```auto
(defcustom org-roam-file-completion-tag-position 'prepend
  "Prepend, append, or omit tags from the file titles during completion."
  :type '(choice (const :tag "Prepend" prepend)
                 (const :tag "Append" append)
                 (const :tag "Omit" omit))
  :group 'org-roam)

```

---

<div class="post-metadata">

**Author:** ![mrbean](https://avatars.discourse-cdn.com/v4/letter/m/c57346/32.png) [@mrbean](https://org-roam.discourse.group/u/mrbean)\
**Post date:** [June 22, 2021, 8:26pm UTC](https://org-roam.discourse.group/t/avoid-typing-tags-in-org-roam-find-file/1693/4 "2021-06-22T20:26:07Z")

</div>

Thanks! I didn’t know about `org-roam-file-completion-tag-position`, so I just set it to `omit`.

Appreciate the help a bunch.
