From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Gaspard Subject: Closing a task yesterday (or changing the day cutoff to 4am) Date: Sat, 02 Feb 2019 01:29:15 +0100 Message-ID: <87womjqbhg.fsf@llwynog.ekleog.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:45634) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gpjBt-00069X-8r for emacs-orgmode@gnu.org; Fri, 01 Feb 2019 19:29:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gpjBf-0006Ve-DY for emacs-orgmode@gnu.org; Fri, 01 Feb 2019 19:29:38 -0500 Received: from grym.ekleog.org ([94.23.42.210]:60042 helo=smtp.gaspard.ninja) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gpjBU-0006Qg-7X for emacs-orgmode@gnu.org; Fri, 01 Feb 2019 19:29:28 -0500 Received: by smtp.gaspard.ninja (OpenSMTPD) with ESMTP id f561829c for ; Sat, 2 Feb 2019 00:29:21 +0000 (UTC) Received: by smtp.gaspard.ninja (OpenSMTPD) with ESMTP id 8e83cfdd for ; Sat, 2 Feb 2019 00:29:21 +0000 (UTC) Received: from localhost (llwynog [local]) by llwynog (OpenSMTPD) with ESMTPA id 4f51a7f3 for ; Sat, 2 Feb 2019 00:29:15 +0000 (UTC) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org 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=E2=80=A6 quite painful. 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! Cheers, Leo