Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(internal): extract daily notes functionality #473

Merged
merged 4 commits into from
Apr 16, 2020
Merged

Conversation

jethrokuan
Copy link
Member

Motivation for this change

This moves all the daily notes functionality into org-roam-dailies.el.

Beyond just an extraction, this is also a simplification. It removes two
variables: org-roam-date-filename-format and
org-roam-date-title-format, in favour of directly specifying them in
the org-roam-dailies-capture-templates.

org-roam--file-for-time is also vastly simplified to use org-capture's
default time expansion utilities, by setting the capture template's
:default-time appropriately.

Fixes #468

Beyond just an extraction, this is also a simplification. It removes two
variables: `org-roam-date-filename-format` and
`org-roam-date-title-format`, in favour of directly specifying them in
the `org-roam-dailies-capture-templates`.

`org-roam--file-for-time` is also vastly simplified to use org-capture's
default time expansion utilities, by setting the capture template's
`:default-time` appropriately.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Extracting dailies functionality
1 participant