# Org-roam--update-file-name-on-title-change works discontinuously

**URL:** <https://org-roam.discourse.group/t/org-roam-update-file-name-on-title-change-works-discontinuously/767>\
**Category:** Troubleshooting\
**Created:** [September 17, 2020, 7:49am UTC](https://org-roam.discourse.group/t/org-roam-update-file-name-on-title-change-works-discontinuously/767 "2020-09-17T07:49:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pippo1234](https://avatars.discourse-cdn.com/v4/letter/p/e47774/32.png) [@pippo1234](https://org-roam.discourse.group/u/pippo1234)\
**Post date:** [September 17, 2020, 7:49am UTC](https://org-roam.discourse.group/t/org-roam-update-file-name-on-title-change-works-discontinuously/767/1 "2020-09-17T07:49:51Z")

</div>

Framework: - Emacs: GNU Emacs 26.3 (build 1, x86\_64-apple-darwin18.2.0, NS appkit-1671.20 Version 10.14.3 (Build 18D109))  
of 2019-09-02

- Org: Org mode version 9.4 (9.4-elpa @ /Users/giulio/.emacs.d/elpa/org-20200914/)
- Org-roam: 1.2.1

Changing the title sometimes updates the filename sometimes doesn’t. I cannot consistently reproduce. Most of the times it does not, but I have two files for which after fiddling long enough with the title it does.

TIA.

---

<div class="post-metadata">

**Author:** ![jethro](https://avatars.discourse-cdn.com/v4/letter/j/b5a626/32.png) [@jethro](https://org-roam.discourse.group/u/jethro)\
**Post date:** [September 17, 2020, 8:18am UTC](https://org-roam.discourse.group/t/org-roam-update-file-name-on-title-change-works-discontinuously/767/2 "2020-09-17T08:18:31Z")

</div>

I’ll need more info than this.

What is the original title and file name? What are your expected results?

---

<div class="post-metadata">

**Author:** ![pippo1234](https://avatars.discourse-cdn.com/v4/letter/p/e47774/32.png) [@pippo1234](https://org-roam.discourse.group/u/pippo1234)\
**Post date:** [September 17, 2020, 8:39am UTC](https://org-roam.discourse.group/t/org-roam-update-file-name-on-title-change-works-discontinuously/767/3 "2020-09-17T08:39:37Z")

</div>

Original #+title: why books dont work  
Filename: [date-time stamp]-why\_books\_dont\_work.org

New #+title: why books dont always work

I expect the file name to be modified to:  
Filename: [original date-time stamp]-why\_books\_dont\_always\_work.org

Are my expectations correct?

---

<div class="post-metadata">

**Author:** ![jethro](https://avatars.discourse-cdn.com/v4/letter/j/b5a626/32.png) [@jethro](https://org-roam.discourse.group/u/jethro)\
**Post date:** [September 18, 2020, 6:53am UTC](https://org-roam.discourse.group/t/org-roam-update-file-name-on-title-change-works-discontinuously/767/4 "2020-09-18T06:53:08Z")

</div>

See [https://github.com/org-roam/org-roam/pull/1113](https://github.com/org-roam/org-roam/pull/1113), hopefully that resolves the unexpected behaviour you are seeing.
