-
-
Notifications
You must be signed in to change notification settings - Fork 54
-
-
Notifications
You must be signed in to change notification settings - Fork 54
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
Org mode dates #27
Comments
Hello @pprevos! You are right. The user option Perhaps we should review the default value here. It is better if we do What do you think? [I'll keep this open for a little while in case someone else wants to |
@kaushalmodi What do you think about changing the defaults? Kind of how The option could then be changed to something like
EDIT: Remove the quotes from nil. EDIT2: Clarify that timestamp is inactive. |
I like that approach. Thanks. |
The old user option 'denote-front-matter-date-format' is deprecated. It is superseded by 'denote-date-format'. Now we use an inactive timestamp for Org, the RFC3339 standard for Markdown (YAML or TOML), and the ISO 8601 format for plain text. The user can specify a string value for 'denote-date-format', which contains format specifiers as described in the doc string of 'format-time-string'. Thanks to Peter Prevos and Kaushal Modi for the discussion in issue 27 over at the GitHub mirror: <#27>.
Great! Pushed the changes:
I think this provides a better experience out-of-the-box. Please let me know if there is something else that needs to be done. |
Thanks! Now my denote config is down to just one setting 😃
|
Hehe! I am fine with this. In general, I believe we should strive to Should we start a new thread about it? Ideally, we can get feedback |
No, let's see if there's a real need for that; let's see if someone opens an issue for that or emails on the mailing list. Thanks for all your work. |
Okay.
You're welcome! |
Nice to see that when I wake up in Australia, all this work has been done. By the way, I am an Org Roam experimenting with using both systems side-by-side for now. The denote header is fully compatible with Org roam, which will register any file with an ID tag. |
Good to know! This suggests that you might also want to opt in to links |
This ensures that we provide the best experience for Org users out-of-the-box. The 'id:' hyperlink type is standard, making our notes interoperable. This change should not have negative implications for existing users. We have already taken care to ensure that links from Org notes to other file type notes (e.g. Markdown) use the 'denote:' hyperlink type. In other words, we apply the standard when appropriate, else fall back to our own mechanism. Thanks to Kaushal Modi and Peter Prevos for the feedback in issue 27 over at the GitHub mirror: <#27>.
I changed the default value of
|
The default for org mode headers is now:
#+date: 2022-06-10
The Org mode data format is that the numbers are between square brackets. Formatting dates this way provides entry to other Org functionality.
#+date: [2022-06-10]
Is that possible to implement?
The text was updated successfully, but these errors were encountered: