-
Notifications
You must be signed in to change notification settings - Fork 123
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
Improvements to org-journal-new-scheduled-entry and org-journal-reschedule-scheduled-entry #420
Conversation
…edule-scheduled-entry
From a quick glance, this looks reasonable. But I'm not using this feature (any more), so I can't comment on whether this breaks existing workflows or not. |
@TPKato Could you possibly write a test case for this change? Maybe duplicate |
@jmay |
If we want to, we could apply the following additional patch to my pull request and introduce a new variable to make it less breaking (though I personally don't think this is necessary). Even with the following patch, it is still breaking, but for example With this patch, the string (*1)
(Sorry, the patch was incomplete and has been edited.)
|
Compatibility with different date formats is an issue I run into frequently. Any improvement on that front would be highly appreciated. |
This commit improves the behavior of
org-journal-new-scheduled-entry
andorg-journal-reschedule-scheduled-entry
.More specifically,
org-schedule
(with "SCHEDULED: ").<...>
is now more consistent. (no meaningless00:00
, time range can also be specified.)TODO
+ time, not time +TODO
).Related issues/pull requests:
Description:
org-journal-new-scheduled-entry
will insert followings if a time is not specified.M-x org-journal-new-scheduled-entry
+1[RET]
orS-<right>[RET]
(
_
shows a cursor position)If you specify a time,
org-journal-new-scheduled-entry
inserts time in a heading and as a timestamp with "SCHEDULED: ".M-x org-journal-new-scheduled-entry
23:59[RET]
You may think that the time stamp after "TODO" is unneeded/redandant, but it is useful when you use
org-todo-list
(C-c a t
):You can also specify time range.
M-x org-journal-new-scheduled-entry
22:00+1[RET]
Use
C-u
to avoid inserting "TODO".C-u M-x org-journal-new-scheduled-entry
23:59[RET]
Note that
org-journal-reschedule-scheduled-entry
now only changes a timestamp with "SCHEDULED: " (and the time in a heading). Bare timestamp<...>
without "SCHEDULED: " remains untouched.