# How to to get \[\[Title of the target note\]\] working with inline autocomplete in Org-roam

**URL:** <https://org-roam.discourse.group/t/how-to-to-get-title-of-the-target-note-working-with-inline-autocomplete-in-org-roam/782>\
**Category:** Tips\
**Created:** [September 23, 2020, 7:57pm UTC](https://org-roam.discourse.group/t/how-to-to-get-title-of-the-target-note-working-with-inline-autocomplete-in-org-roam/782 "2020-09-23T19:57:47Z")\
**Posts on this page:** 1\
**Showing post:** 47

<div class="post-metadata">

**Author:** ![Jason](https://avatars.discourse-cdn.com/v4/letter/j/dc4da7/32.png) [@Jason](https://org-roam.discourse.group/u/Jason)\
**Post date:** [January 6, 2022, 12:39pm UTC](https://org-roam.discourse.group/t/how-to-to-get-title-of-the-target-note-working-with-inline-autocomplete-in-org-roam/782/47 "2022-01-06T12:39:09Z")

</div>

According to the docstring of `company-backends`:

> Only one backend is used at a time. The choice depends on the order of  
> the items in this list, and on the values they return in response to the  
> ‘prefix’ command (see below). But a backend can also be a “grouped”  
> one (see below).

So I guess it is because the order.

I said last night that it didn’t work for me because I wasn’t editing a file inside the roam folder. It turns out it wasn’t quite right. I noticed that I have to open a roam file using the `C-c n f` (`org-roam-node-find`) function for the completions to work. If I open the very same file, for instance, from the command line (`emacs ./org/roam/somefile.org`), or using emacs `find-file`, no roam completions work.

Any idea why?

---

_[View the full topic](https://org-roam.discourse.group/t/how-to-to-get-title-of-the-target-note-working-with-inline-autocomplete-in-org-roam/782)._
