# Backlinks buffer doesn't update according to current node + node IDs are shown in the backlinks buffer

**URL:** <https://org-roam.discourse.group/t/backlinks-buffer-doesnt-update-according-to-current-node-node-ids-are-shown-in-the-backlinks-buffer/2751>\
**Category:** Troubleshooting\
**Created:** [September 3, 2022, 3:50pm UTC](https://org-roam.discourse.group/t/backlinks-buffer-doesnt-update-according-to-current-node-node-ids-are-shown-in-the-backlinks-buffer/2751 "2022-09-03T15:50:38Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![J0ns4](https://avatars.discourse-cdn.com/v4/letter/j/eb9ed0/32.png) [@J0ns4](https://org-roam.discourse.group/u/J0ns4)\
**Post date:** [September 3, 2022, 3:50pm UTC](https://org-roam.discourse.group/t/backlinks-buffer-doesnt-update-according-to-current-node-node-ids-are-shown-in-the-backlinks-buffer/2751/1 "2022-09-03T15:50:38Z")

</div>

Hi,  
I have two issues:

1. the backlinks buffer stays on the node from which it was invoked (with `org-roam-buffer-toggle`)
2. the buffer itself shows the node IDs along with their title, like so:  
 ![image](https://global.discourse-cdn.com/free1/uploads/orgroam/original/2X/8/89719a5b8b10344575de14456d7fb2c5d878aeee.png)

Any ideas?  
Thanks!

---

<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:** [September 3, 2022, 7:21pm UTC](https://org-roam.discourse.group/t/backlinks-buffer-doesnt-update-according-to-current-node-node-ids-are-shown-in-the-backlinks-buffer/2751/2 "2022-09-03T19:21:16Z")

</div>

1. Check `post-command-hook` variable; it should have `org-roam-buffer--redisplay-h` set locally for your Org-roam files (local-variable) – I can’t reproduce the issue

2. [Known issue with a resolution](https://org-roam.discourse.group/t/org-roam-backlinks-appearing-with-id/2716) – it seems to be a common issue from a new, unreleased version of Org

---

<div class="post-metadata">

**Author:** ![J0ns4](https://avatars.discourse-cdn.com/v4/letter/j/eb9ed0/32.png) [@J0ns4](https://org-roam.discourse.group/u/J0ns4)\
**Post date:** [September 4, 2022, 8:28am UTC](https://org-roam.discourse.group/t/backlinks-buffer-doesnt-update-according-to-current-node-node-ids-are-shown-in-the-backlinks-buffer/2751/3 "2022-09-04T08:28:36Z")

</div>

> [@nobiot](#):
>
> org-roam-buffer–redisplay-h

Thanks!  
I see the hook is not set properly… how do I set it just for org roam files?

The solution for IDs worked perfectly (for posterity):

> [@Org roam backlinks appearing with id](https://org-roam.discourse.group/t/org-roam-backlinks-appearing-with-id/2716/5):
>
> add: `(setq org-fold-core-style "overlays")` to config.el

---

<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:** [September 4, 2022, 9:46am UTC](https://org-roam.discourse.group/t/backlinks-buffer-doesnt-update-according-to-current-node-node-ids-are-shown-in-the-backlinks-buffer/2751/4 "2022-09-04T09:46:51Z")

</div>

> [@J0ns4](#):
>
> I see the hook is not set properly… how do I set it just for org roam files?

I believe it should be done by activating org-roam-db-autosync-mode? Can’t verify now

---

<div class="post-metadata">

**Author:** ![J0ns4](https://avatars.discourse-cdn.com/v4/letter/j/eb9ed0/32.png) [@J0ns4](https://org-roam.discourse.group/u/J0ns4)\
**Post date:** [September 4, 2022, 10:08am UTC](https://org-roam.discourse.group/t/backlinks-buffer-doesnt-update-according-to-current-node-node-ids-are-shown-in-the-backlinks-buffer/2751/5 "2022-09-04T10:08:08Z")

</div>

It is in fact enabled already

---

<div class="post-metadata">

**Author:** ![J0ns4](https://avatars.discourse-cdn.com/v4/letter/j/eb9ed0/32.png) [@J0ns4](https://org-roam.discourse.group/u/J0ns4)\
**Post date:** [September 4, 2022, 10:11am UTC](https://org-roam.discourse.group/t/backlinks-buffer-doesnt-update-according-to-current-node-node-ids-are-shown-in-the-backlinks-buffer/2751/6 "2022-09-04T10:11:22Z")

</div>

when I call `org-roam-buffer-refresh` I get

> cl–assertion-failed: Assertion failed: (derived-mode-p 'org-roam-mode)

I dont’t know if that’s a relevant function, but that error seems off…

---

<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:** [September 4, 2022, 11:33am UTC](https://org-roam.discourse.group/t/backlinks-buffer-doesnt-update-according-to-current-node-node-ids-are-shown-in-the-backlinks-buffer/2751/7 "2022-09-04T11:33:41Z")

</div>

Somehow your org-roam-buffer is not open with org-roam-mode (major mode)? Your config may be interfering by the looks of it…

---

<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:** [September 4, 2022, 11:38am UTC](https://org-roam.discourse.group/t/backlinks-buffer-doesnt-update-according-to-current-node-node-ids-are-shown-in-the-backlinks-buffer/2751/8 "2022-09-04T11:38:38Z")

</div>

This function is one you call in the backlinks buffer (org-roam-buffer), not in the note. It should be mapped “g” by default. You may be calling it from the notes buffer…
