From: Marcin Borkowski <mbork@mbork.pl>
To: Leo Gaspard <orgmode@leo.gaspard.io>
Cc: emacs-orgmode@gnu.org
Subject: Re: Closing a task yesterday (or changing the day cutoff to 4am)
Date: Sat, 02 Feb 2019 08:29:24 +0100 [thread overview]
Message-ID: <878syytzqj.fsf@mbork.pl> (raw)
In-Reply-To: <87womjqbhg.fsf@llwynog.ekleog.org>
On 2019-02-02, at 01:29, Leo Gaspard <orgmode@leo.gaspard.io> wrote:
> Hello!
>
> I have a few tasks marked as `:STYLE: habit`. And I relatively often
> finish one of those daily habits after midnight.
>
> Yet, I'd like to count it as having been finished the day before, so
> that day switch time happens while I sleep.
>
> I do understand that the best fix to this problem would be to fix my
> sleep schedule and to go to sleep before midnight, but, assuming I can't
> fix this up, do you know if there is a workaround to either:
> * Make org-mode consider the day to switch at something like 4am
> * Automatically close a task as though it was the day before, 23:59
>
> Currently my workaround is to close the task then manually fixup the
> `SCHEDULED`, `:LAST_REPEAT:` and `:LOGBOOK:` lines to set them to the
> day before, 23:59, but it's being… quite painful.
You do realize you are not the first one to have that problem, don't
you? Have you seen `org-agenda-todo-yesterday'?
;-)
Notice, however, that IMHO this is only a dirty hack. A real solution
to the same problem, as you have noticed, is something that
I implemented a few years ago, and that was a radical change of my
sleeping patterns. Now I seldom go to bed after 22:30, and usually get
up before 5:30. This has too many advantages to list them in a short
email. :-) (Of course, I am aware not everyone can pull this off, also
for objective reasons. My sister is a nurse, for example.)
> Anyway, thank you for org-mode, that allows me to be mildly annoyed at
> things I wouldn't even have considered might become an issue someday
> with programs I used before!
Not sure whether this is a compliment, but I like it:-).
--
Marcin Borkowski
http://mbork.pl
next prev parent reply other threads:[~2019-02-02 7:30 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-02 0:29 Closing a task yesterday (or changing the day cutoff to 4am) Leo Gaspard
2019-02-02 7:29 ` Marcin Borkowski [this message]
2019-02-02 15:30 ` Leo Gaspard
2019-02-02 15:14 ` Uwe Koloska
2019-02-02 15:30 ` Leo Gaspard
2019-02-03 16:18 ` John Lee
2019-02-02 15:15 ` Uwe Koloska
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878syytzqj.fsf@mbork.pl \
--to=mbork@mbork.pl \
--cc=emacs-orgmode@gnu.org \
--cc=orgmode@leo.gaspard.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.