Skip to content

Add column "filetitle" to table "file"; adapt queries to that change#1963

Merged
jethrokuan merged 4 commits intoorg-roam:masterfrom
publicimageltd:filetitle
Nov 12, 2021
Merged

Add column "filetitle" to table "file"; adapt queries to that change#1963
jethrokuan merged 4 commits intoorg-roam:masterfrom
publicimageltd:filetitle

Conversation

@publicimageltd
Copy link
Copy Markdown
Contributor

The column "filetitle" is populated with the document title or, if
there is none, the basic filename (sans extension) of the file. It is
copied into the org-roam-node when retrieving nodes.

Motivation for this change

See #1956

The column "filetitle" is populated with the document title or, if
there is none, the basic filename (sans extension) of the file. It is
copied into the org-roam-node when retrieving nodes.
Copy link
Copy Markdown
Member

@jethrokuan jethrokuan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just some small nits, but looks good to me otherwise.

@publicimageltd
Copy link
Copy Markdown
Contributor Author

publicimageltd commented Nov 12, 2021

Sorry I am at a loss why "some checks where not successful." CI seems to complain about wrong indentation? If I run elint-current-buffer in org-roam-node.el, I find no problem. Linting org-roam-db.el yields two error completely unrelated to my change (missing error handler, call to undefined function org-ref-split-and-strip-string). Don't know how to correct that.

@jethrokuan
Copy link
Copy Markdown
Member

@jethrokuan jethrokuan merged commit 1af1639 into org-roam:master Nov 12, 2021
@jethrokuan jethrokuan mentioned this pull request Nov 12, 2021
1 task
@publicimageltd publicimageltd deleted the filetitle branch November 12, 2021 16:52
hlissner added a commit to doomemacs/doomemacs that referenced this pull request May 9, 2022
org-roam-get-keyword performs some file IO to read file keywords from
all nodes. This can be slow with long node lists. With
org-roam/org-roam#1963, file title is baked into the schema, so we don't
need to do this work anymore.

Ref: org-roam/org-roam#1963
Fix: #6382
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 7, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants