-
-
Notifications
You must be signed in to change notification settings - Fork 486
Improve org-roam-dailies #978
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
Conversation
cca187e
to
92ca9f2
Compare
Re: default variable change Lines 42 to 45 in ed8ed27
I think it makes more sense to have Mind you, it's still be possible to use |
a66a747
to
8585995
Compare
129e391
to
e201367
Compare
PR is almost ready. I still need to define a rule for considering a file as a daily note. I'm thinking of using …I'll think about this tomorrow. |
e197547
to
291b2be
Compare
PR is almost done. I just need to edit the changelog and a couple of other minor stuff. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything else looks fine for now, will have to think about how to decouple things from org-roam-capture.
Here's a quick demo of the new features: |
Anything holding this up? It's kind of weird to see one of the few demo videos and then find out it's for unmerged features :) |
I'm still bogged down in work, and I'd rather not announce any other ETA that I won't be able to meet. That being said, I'm growing more antsy with the days to come back and merge this, so it shouldn't be too-too long. |
Mimics ‘org-roam-capture--file-name-default’ and ‘org-roam-capture-ref--file-name-default’.
I've fixed the Here are example templates: (setq org-roam-dailies-capture-templates
'(("d" "default" plain
#'org-roam-capture--get-point
"%?"
:file-name "daily/%<%Y-%m-%d>"
:head "#+title: %<%Y-%m-%d>\n\n"
:unnarrowed t)
("a" "alternative template" entry
#'org-roam-capture--get-point
"* %?"
:file-name "daily/%<%Y-%m-%d>"
:head "#+title: %<%Y-%m-%d>\n\n* Foo"
:olp ("Foo")))) There are subtle difference (notably @jethrokuan I've elected to keep |
I'll review everything in the morning, but I think we'll be good for a merge. |
sure, I'll drop them in a later PR. |
It was a nice alternative to the hack we have with :file-name, but it isn’t all that necessarty for now. I’ll review this when working on org-roam-flow, since it’ll make better use of folders.
Otherwise, it clashes with the blurb which mentions isolation.
Also standardise the hyphenation to ‘daily-note’.
org-roam-scratch
is a rewrite oforg-roam-dailies
which strives to implement useful behaviours fromorg-journal
. The rationale is thatorg-journal
can be a little inflexible (cf. bastibe/org-journal#278), and we wouldn't want to hijack its functions to do something that it wasn't designed to do, especially since we'd only be using a subset of the features.Therefore, the project is indebted to @bastibe, and will strive to incorporate the ephemeral scratchings as defined by @andymatuschak in his Taxonomy of Note Types, and as demonstrated in a livestream he did.