From unknown Wed Jun 18 23:02:38 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#24791 <24791@debbugs.gnu.org> To: bug#24791 <24791@debbugs.gnu.org> Subject: Status: org-todo-yesterday behaves like plain org-todo (incorrect timestamp) Reply-To: bug#24791 <24791@debbugs.gnu.org> Date: Thu, 19 Jun 2025 06:02:38 +0000 retitle 24791 org-todo-yesterday behaves like plain org-todo (incorrect tim= estamp) reassign 24791 org-mode submitter 24791 Jan B=C3=B6hm severity 24791 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 25 11:37:21 2016 Received: (at submit) by debbugs.gnu.org; 25 Oct 2016 15:37:22 +0000 Received: from localhost ([127.0.0.1]:56459 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bz3mz-00078i-2K for submit@debbugs.gnu.org; Tue, 25 Oct 2016 11:37:21 -0400 Received: from eggs.gnu.org ([208.118.235.92]:46947) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1byyrg-000370-DR for submit@debbugs.gnu.org; Tue, 25 Oct 2016 06:21:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1byyrX-0008Qz-O7 for submit@debbugs.gnu.org; Tue, 25 Oct 2016 06:21:47 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.3 required=5.0 tests=BAYES_50,FREEMAIL_FROM, RCVD_IN_SORBS_SPAM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:48212) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1byyrX-0008Qv-Ke for submit@debbugs.gnu.org; Tue, 25 Oct 2016 06:21:43 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37895) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1byyrT-0000mz-Kq for bug-gnu-emacs@gnu.org; Tue, 25 Oct 2016 06:21:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1byyrP-0008N2-6u for bug-gnu-emacs@gnu.org; Tue, 25 Oct 2016 06:21:39 -0400 Received: from mout.gmx.net ([212.227.17.22]:63952) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1byyrO-0008MV-St for bug-gnu-emacs@gnu.org; Tue, 25 Oct 2016 06:21:35 -0400 Received: from [192.168.1.3] ([78.53.120.3]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0MTjMy-1cPPh60giG-00QS2i for ; Tue, 25 Oct 2016 12:21:32 +0200 From: =?UTF-8?B?SmFuIELDtmht?= To: bug-gnu-emacs@gnu.org Subject: org-todo-yesterday behaves like plain org-todo (incorrect timestamp) Message-ID: <609c94f4-8b0f-02b7-d467-3651c3c3fe59@gmx.de> Date: Tue, 25 Oct 2016 12:21:29 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K0:I/tpLcgoSLLkUmwyxGJ8qhJBO8DNZcLtqDK2RKqqz+zrPiNiva9 AnmVuN4AxQeuHpsEPFv/2XBuWHPSHeF2EiDbsLHvZubfBE9T/vkIleyryGz2jkcgf/CNwmj r51WRsGNWLJxhQDsRBprOtKMDDGvXPSGusgszL4fMADMe7dU1ghOCYMbkAY8RN2JjBC/UFd 3c90LIh6RlIXXsEGdyPEg== X-UI-Out-Filterresults: notjunk:1;V01:K0:4/OorMbYIgo=:mJjQdZcIPDoXq2xv8EdMhp n6k3DW85rrBdqgseRhLEIy0TGrKWLJZxiBZ179lQ0ENXXSdxevdh/Hx2gduhZvNZ/G0qwt0/f APfmzonvVgxm7fJx7fEdjRxFl0Y8tJr86kwLhGjdQDr2CcDZBVLn51ut3Cl7CoQ4lkqtjmIh8 JEP3mr7iugFd6lTJlzWoNg4NNusYLDqariCw7HdhjAMYB4twYv3rXVXeQIkSjxu40Q4kIb/Tr ClwGI0EvlsN/Zq4zEJLfZyllHFNnpSGRqu5vVJ0IPgTYmx7rFDlnKCLXksIX9ZmwxBwdN4q/8 /IIYlAwiwwMFmw2MRMfKTc8ITXrPhBqJ4MUft9PdBMK19ZlcK6ZYC3tM86hxYTs0kQTymjhwt +6XVfcEBrS8FiRc9CEydF8OuGuCFRhqKFCfEEIUAtiAXMKMIPPx6oHLmJ+ZHc6OjOHKp0CA+o uM1FWtV2xqGtZDjEYjWvvHmdHbQAYw3/41aLppcJnAekC5B75li2TnZz7OoOvVz00K+dfo78+ 6fl2KmCbTBHStsQfqHSTI8nMI4Q5LQSfpNnmLuM1UsBbiMsfIHdJElcQ103KodabyHj+bWLLF cZU4rLVhV9DtauSg/6kYbvv8a3tFuU/UrAOsfAUprVcxZbmCKM1VdKSye6Zt0CaSf/3FnFzag wdyWzGU4NrnYWTg0Ae51xujxZgBLfmyZgBuYOpa6j/f2AL1DuSgsPQZyS9NBgWuSCn/8XpL0V /YfZbXcGW/wpJ5DpLonQ4pC34ZbhaVq2+mOffTuJj9dSKmfUXaegkuN2F+GyjCDE6cdm2P4Wl vxv41IW X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.6 (---) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 25 Oct 2016 11:37:19 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.6 (---) From: jan To: bug-gnu-emacs@gnu.org Subject: 26.0.50; functions org-todo-yesterday and org-agenda-todo-yesterday show no effect --text follows this line-- Symptoms: both org-todo-yesterday and org-agenda-todo-yesterday behave just like normally setting todo state to "DONE" with org-todo. Specifically, the timestamp added in the log takes the current time instead of 23:59 of the previous day, as would be expected. Replicate behaviour: start emacs -Q set org-log-done to "time" visit new file and switch to org mode create TODO headline and set TODO state to "DONE" by calling "org-todo-yesterday" ⇒ todo state is set to DONE correctly, but the timestamp inserted in the log drawer is the current time. In GNU Emacs 26.0.50.2 (x86_64-pc-linux-gnu, GTK+ Version 3.18.9) of 2016-10-22 built on lgw01-56 Windowing system distributor 'The X.Org Foundation', version 11.0.11803000 System Description: Ubuntu 16.04.1 LTS Recent messages: Making completion list... Invalid face reference: nil [57 times] user-error: Value ‘t’ does not match type choice of org-log-doneInvalid face reference: nil Invalid face reference: nil [32 times] No library org.el in search path Type "q" in help window to restore its previous buffer, C-M-v to scroll help. Making completion list... Quit You can run the command ‘org-todo-yesterday’ with M-x o-t-y RET Auto-saving...done Configured using: 'configure --build=x86_64-linux-gnu --prefix=/usr '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' --sysconfdir=/etc --localstatedir=/var --disable-silent-rules '--libdir=${prefix}/lib/x86_64-linux-gnu' '--libexecdir=${prefix}/lib/x86_64-linux-gnu' --disable-maintainer-mode --disable-dependency-tracking --prefix=/usr --sharedstatedir=/var/lib --program-suffix=-snapshot --with-modules=yes --with-x=yes --with-x-toolkit=gtk3 --with-xwidgets=yes 'CFLAGS=-g -O2 -fstack-protector-strong -Wformat -Werror=format-security' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro'' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS NOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 MODULES XWIDGETS LIBSYSTEMD Important settings: value of $LC_MONETARY: de_DE.UTF-8 value of $LC_NUMERIC: de_DE.UTF-8 value of $LC_TIME: de_DE.UTF-8 value of $LANG: de_DE.UTF-8 locale-coding-system: utf-8-unix Major mode: Org Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message puny rfc822 mml mml-sec password-cache epa derived epg epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail org-table ob-ditaa ob-plantuml org-archive org-clock org-colview org-crypt org-habit org-indent help-fns radix-tree thingatpt dabbrev tabify image-file diary-lib diary-loaddefs cus-edit cus-start cus-load wid-edit org-element org-rmail org-mhe org-irc org-info org-gnus gnus-util rmail rmail-loaddefs rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils org-docview doc-view subr-x jka-compr image-mode dired dired-loaddefs org-bibtex bibtex org-bbdb org-w3m org-capture cal-iso org-agenda org org-macro org-footnote org-pcomplete pcomplete org-list org-faces org-entities noutline outline easy-mmode org-version ob-emacs-lisp ob ob-tangle ob-ref ob-lob ob-table ob-exp org-src ob-keys ob-comint comint ansi-color ring ob-core ob-eval org-compat org-macs org-loaddefs format-spec find-func seq byte-opt gv bytecomp byte-compile cl-extra help-mode cconv cl-loaddefs pcase cl-lib cal-menu easymenu calendar cal-loaddefs time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify dynamic-setting system-font-setting font-render-setting xwidget-internal move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 296455 26438) (symbols 48 31017 0) (miscs 40 1928 1990) (strings 32 53612 7768) (string-bytes 1 1695236) (vectors 16 23259) (vector-slots 8 563485 7448) (floats 8 283 395) (intervals 56 2689 205) (buffers 976 18) (heap 1024 43418 1243)) From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 25 11:48:24 2016 Received: (at control) by debbugs.gnu.org; 25 Oct 2016 15:48:24 +0000 Received: from localhost ([127.0.0.1]:56495 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bz3xg-0007Qz-Ed for submit@debbugs.gnu.org; Tue, 25 Oct 2016 11:48:24 -0400 Received: from eggs.gnu.org ([208.118.235.92]:38739) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bz3xe-0007Qh-S8 for control@debbugs.gnu.org; Tue, 25 Oct 2016 11:48:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bz3xZ-0002Uo-2s for control@debbugs.gnu.org; Tue, 25 Oct 2016 11:48:17 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44929) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bz3xY-0002Uk-VD for control@debbugs.gnu.org; Tue, 25 Oct 2016 11:48:17 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1bz3xY-00011b-Jt for control@debbugs.gnu.org; Tue, 25 Oct 2016 11:48:16 -0400 Subject: control message for bug 24791 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Tue, 25 Oct 2016 11:48:16 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.4 (------) reassign 24791 org-mode From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 01 16:53:47 2017 Received: (at 24791) by debbugs.gnu.org; 1 Dec 2017 21:53:47 +0000 Received: from localhost ([127.0.0.1]:40673 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eKtFj-00063S-7A for submit@debbugs.gnu.org; Fri, 01 Dec 2017 16:53:47 -0500 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:34280) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eKtFg-00063G-Ue for 24791@debbugs.gnu.org; Fri, 01 Dec 2017 16:53:45 -0500 Received: from saiph.selenimh (000043010000000000000469.ipv6.commingeshautdebit.fr [IPv6:2a03:a0a0:0:4301::469]) (Authenticated sender: mail@nicolasgoaziou.fr) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 14B53C5A4F; Fri, 1 Dec 2017 22:53:43 +0100 (CET) Received: from ngz by saiph.selenimh with local (Exim 4.89) (envelope-from ) id 1eKtFf-0000hK-Ij; Fri, 01 Dec 2017 22:53:43 +0100 From: Nicolas Goaziou To: Jan =?utf-8?Q?B=C3=B6hm?= Subject: Re: bug#24791: org-todo-yesterday behaves like plain org-todo (incorrect timestamp) In-Reply-To: <609c94f4-8b0f-02b7-d467-3651c3c3fe59@gmx.de> ("Jan =?utf-8?Q?B=C3=B6hm=22's?= message of "Tue, 25 Oct 2016 12:21:29 +0200") References: <609c94f4-8b0f-02b7-d467-3651c3c3fe59@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) Date: Fri, 01 Dec 2017 22:53:43 +0100 Message-ID: <878temdsig.fsf@nicolasgoaziou.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 24791 Cc: 24791@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Hello, Jan B=C3=B6hm writes: > Symptoms: both org-todo-yesterday and org-agenda-todo-yesterday behave > just like normally setting todo state to "DONE" with org-todo. > Specifically, the timestamp > added in the log takes the current time instead of 23:59 of the previous > day, as would be expected. > > Replicate behaviour: > start emacs -Q > set org-log-done to "time" > visit new file and switch to org mode > create TODO headline and set TODO state to "DONE" by calling > "org-todo-yesterday" > =E2=87=92 todo state is set to DONE correctly, but the timestamp inserted= in > the log drawer is the current time. I cannot reproduce it in a recent Org release. Could you double-check with a newer Org? Thank you. Regards, --=20 Nicolas Goaziou 0x80A93738 From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 01 23:00:20 2017 Received: (at 24791) by debbugs.gnu.org; 2 Dec 2017 04:00:20 +0000 Received: from localhost ([127.0.0.1]:40842 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eKyyR-0001A5-Ne for submit@debbugs.gnu.org; Fri, 01 Dec 2017 23:00:19 -0500 Received: from mail-qk0-f172.google.com ([209.85.220.172]:35661) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eKyyP-00019r-Aw for 24791@debbugs.gnu.org; Fri, 01 Dec 2017 23:00:17 -0500 Received: by mail-qk0-f172.google.com with SMTP id c13so15695817qke.2 for <24791@debbugs.gnu.org>; Fri, 01 Dec 2017 20:00:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=DWePvuH3KQpGkZXc3a3gbLEsnviiI12T7oJgsOhDjoU=; b=up+i3OYIaFbn9iRtXYI9zWmO0KBmnAdGMtuFj5DvFoGX4metJbOMomZBTFHneFaMjs SDH2dB7+k62b0K6xPyUCqxgOh7jLdatB7u1B8fiTfQUFxEPLymvwMoYudo3Q+Uxv+Arz xVvStqgKjpB9+U5qtc6BOKAFJPdDmTwktht07m3aLzoj6HGpVDq87gqh0EC9ySTpO/XP LNfsITqiwxkgIDCzTJiMU2mXcLmwoI14aWYnznOVVaBOPX6Ym4SRoubT67QMw2pXfiK3 GndXWZKOTqXfMJVEq8Sqo+FzSwiuFGRuUSVFz6GcL2+SMkLtO4tqDpVhTpd5M4jva2KV C1IQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=DWePvuH3KQpGkZXc3a3gbLEsnviiI12T7oJgsOhDjoU=; b=QiKrmKH9DRTFNCE+l72uQpQ3wMYaauE7S7c6+Fv7NQCbVJaX3Pwvw1PABdPeaI8yKb WfFaAT3xCr089kyEa3By5XzwMHvCDWNU9U58qHon7xGwTTxsMqFymARXqrOKtc9TqgRr KZZDcXmvHksnqf3tWDQEGdSQq57AqQ7neJ6YCDv4DfO6MfLl6MLdZkAFVCpa42kK4YO1 /vQ2mp2w28IGjOsfBuRhiPjzruf5R7gafs2+r5TRgwpVVh82MLB8bYkPXQbLb+OkExYk bxoxiXRIDAwjakJlhwK7ocn2U8zXkx8vCWAMIw5iVxogOMHERUVeFKY0gFZLOZpd0ywc 8x6g== X-Gm-Message-State: AKGB3mKskiUkhhg2tE1qHFbMG04KChiH4xVYJLc1CxM7msztznhUT4Of JxXN26gY311cs0PD7Hgu6AafBUzHAkWaDiLCEh0= X-Google-Smtp-Source: AGs4zMaGUJl1M0syJmbhZ3QhxWrhDolh3j97TkIBFt/rw+2nT2GshDL75YwPPHhShhEp0cAM5DwLKcFe3Y5hY59W+5Y= X-Received: by 10.55.142.3 with SMTP id q3mr11415237qkd.276.1512187211707; Fri, 01 Dec 2017 20:00:11 -0800 (PST) MIME-Version: 1.0 Received: by 10.237.52.161 with HTTP; Fri, 1 Dec 2017 20:00:11 -0800 (PST) In-Reply-To: <878temdsig.fsf@nicolasgoaziou.fr> References: <609c94f4-8b0f-02b7-d467-3651c3c3fe59@gmx.de> <878temdsig.fsf@nicolasgoaziou.fr> From: Allen Li Date: Fri, 1 Dec 2017 20:00:11 -0800 Message-ID: Subject: Re: [O] bug#24791: org-todo-yesterday behaves like plain org-todo (incorrect timestamp) To: Nicolas Goaziou Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 24791 Cc: 24791@debbugs.gnu.org, =?UTF-8?B?SmFuIELDtmht?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) On Fri, Dec 1, 2017 at 1:53 PM, Nicolas Goaziou wr= ote: > Hello, > > Jan B=C3=B6hm writes: > >> Symptoms: both org-todo-yesterday and org-agenda-todo-yesterday behave >> just like normally setting todo state to "DONE" with org-todo. >> Specifically, the timestamp >> added in the log takes the current time instead of 23:59 of the previous >> day, as would be expected. >> >> Replicate behaviour: >> start emacs -Q >> set org-log-done to "time" >> visit new file and switch to org mode >> create TODO headline and set TODO state to "DONE" by calling >> "org-todo-yesterday" >> =E2=87=92 todo state is set to DONE correctly, but the timestamp inserte= d in >> the log drawer is the current time. > > I cannot reproduce it in a recent Org release. Could you double-check > with a newer Org? I am going to blindly wager that this is yet another bug caused by Org mode's subtle timezone issues. I can reproduce it (and crucially, I am not in the GMT time zone), although the repro recipe produces a CLOSED timestamp and not a log drawer timestamp. From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 04 14:59:34 2017 Received: (at 24791) by debbugs.gnu.org; 4 Dec 2017 19:59:34 +0000 Received: from localhost ([127.0.0.1]:45933 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eLwtp-0005PW-OL for submit@debbugs.gnu.org; Mon, 04 Dec 2017 14:59:34 -0500 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:40470) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eLwtm-0005PK-PJ for 24791@debbugs.gnu.org; Mon, 04 Dec 2017 14:59:31 -0500 Received: from saiph.selenimh (000043010000000000000469.ipv6.commingeshautdebit.fr [IPv6:2a03:a0a0:0:4301::469]) (Authenticated sender: mail@nicolasgoaziou.fr) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 4D0EBC5A46; Mon, 4 Dec 2017 20:59:28 +0100 (CET) Received: from ngz by saiph.selenimh with local (Exim 4.89) (envelope-from ) id 1eLwtj-00050H-4U; Mon, 04 Dec 2017 20:59:27 +0100 From: Nicolas Goaziou To: Allen Li Subject: Re: bug#24791: [O] bug#24791: org-todo-yesterday behaves like plain org-todo (incorrect timestamp) In-Reply-To: (Allen Li's message of "Fri, 1 Dec 2017 20:00:11 -0800") References: <609c94f4-8b0f-02b7-d467-3651c3c3fe59@gmx.de> <878temdsig.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) Date: Mon, 04 Dec 2017 20:59:27 +0100 Message-ID: <87vahm6z8g.fsf@nicolasgoaziou.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 24791 Cc: 24791@debbugs.gnu.org, Jan =?utf-8?Q?B=C3=B6hm?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Hello, Allen Li writes: > On Fri, Dec 1, 2017 at 1:53 PM, Nicolas Goaziou = wrote: >> Hello, >> >> Jan B=C3=B6hm writes: >> >>> Symptoms: both org-todo-yesterday and org-agenda-todo-yesterday behave >>> just like normally setting todo state to "DONE" with org-todo. >>> Specifically, the timestamp >>> added in the log takes the current time instead of 23:59 of the previous >>> day, as would be expected. >>> >>> Replicate behaviour: >>> start emacs -Q >>> set org-log-done to "time" >>> visit new file and switch to org mode >>> create TODO headline and set TODO state to "DONE" by calling >>> "org-todo-yesterday" >>> =E2=87=92 todo state is set to DONE correctly, but the timestamp insert= ed in >>> the log drawer is the current time. >> >> I cannot reproduce it in a recent Org release. Could you double-check >> with a newer Org? > > I am going to blindly wager that this is yet another bug caused by Org > mode's subtle timezone issues. > > I can reproduce it (and crucially, I am not in the GMT time zone), > although the repro recipe produces a CLOSED timestamp and not a log > drawer timestamp. I removed timezone references from maint. Can you still reproduce the issue? Regards, --=20 Nicolas Goaziou 0x80A93738 From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 04 15:12:17 2017 Received: (at 24791) by debbugs.gnu.org; 4 Dec 2017 20:12:17 +0000 Received: from localhost ([127.0.0.1]:45955 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eLx69-0005j6-8p for submit@debbugs.gnu.org; Mon, 04 Dec 2017 15:12:17 -0500 Received: from mout.gmx.net ([212.227.17.22]:52193) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eLx67-0005it-UT for 24791@debbugs.gnu.org; Mon, 04 Dec 2017 15:12:16 -0500 Received: from [192.168.1.4] ([77.188.169.160]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0Ls8Qd-1f5DEM3SAh-013uAV for <24791@debbugs.gnu.org>; Mon, 04 Dec 2017 21:12:09 +0100 Subject: Re: bug#24791: [O] bug#24791: org-todo-yesterday behaves like plain org-todo (incorrect timestamp) References: <609c94f4-8b0f-02b7-d467-3651c3c3fe59@gmx.de> <878temdsig.fsf@nicolasgoaziou.fr> <87vahm6z8g.fsf@nicolasgoaziou.fr> To: 24791@debbugs.gnu.org From: =?UTF-8?B?SmFuIELDtmht?= Message-ID: Date: Mon, 4 Dec 2017 21:12:06 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <87vahm6z8g.fsf@nicolasgoaziou.fr> Content-Type: text/plain; charset=utf-8 Content-Language: de-DE Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K0:DeCzGFNd+DHyFIJyTtxOwZAwaMM8WCnLs6z8N1A0DksFu0RKxst 8y9Z2YMFnAba4z99Zr6xqOoXNe3Wx74v/bbcjiu96hFIwbGO1NSANn1Cu3P8Xa9OmHG9/HW +VKosDAJ7yRfCAoF4yIBgLwc9JAhz5M+chKKjpUetI316qeFtCeX+cz0e/PV7G0EweCTs8H brX4PlnRBETyHY/ZG+Qbg== X-UI-Out-Filterresults: notjunk:1;V01:K0:IikvnxsHQY0=:t1U8aid2dt2hxmYO71haI2 Ov9cmc8G+XEwiY8Y6fcy4rV6yKkvelNma0mYIwwy2pOQdyhpsoSvid6k/2AXb8HDgJtQdUOQ2 vS3m7WXQQ3qXJB2oP8eCoNWYNih5ApTWKO0J8ZCC4ZLu9WPuQBGAd8RpP4RPopARxG0E16RRh xp6nhvG8lDMnb0IHi1i/a4SkU4MXvgZAp9cTJrQpTsqdxGvwVXHW+Oei86c6tyVI/QGxhH9hp gpXQG7k/7vkgs/vUlTpniC4bWHcmtDl2ukpQThV/PfzXD05iJKY6KvUFTWeB8AjV8FyOVNF15 hBP5y/mu+BCvuHCGoZfVteFOLx2/My1LFWxNt/Jsy25eopxWLNhbCLY4ftQl9YXMZAmf5VQBv QkeMkC/LzCzsnoRBVcf8jAJ4WGVIvCa9FkgiZKPKFkyv19oezRJ4UaqCN5hizcPoTVB9CzM73 Y6K2gIYIHmjX2gfv4VG3reHOyMvjanXqb0dEnKsKk09Zwg3bg5hshBAgpNonVbDcn+36DAPdN +z+K5X8Y3a52GXWs9Y8JKjcm9V/TNPjvYUBx6tBObxRUCjHkE6rRc1igBoYshgLElGYWpURaI 2il+QTu+v+hG3XeO/X45ZVeodm8P0OgCYyARz9UH/2dWxYXOpfKOQh4ZnHemiYhSTjsz/GmE2 rjhzpflPYXNxbhkME6a+JMLqQA41YP1scZ5qOfojwXQZqDDzM/uA9Q6O7S0zbhQEFJYmupfX0 IxPl9XW2mbmcdizOkty4ZGR2aezGMRuP3Y5eo3bYD5iz08tUcR8seMcBgf3FK7vrWO6BzKkTV 6eXHFlCiKpsCkFkBEmVqWXqVCsV77z7rvFtgSSFL0wec8zUy5o= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 24791 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Hi, interestingly, it hasn't happend to me for a long time now – I assumed that it had already been fixed. I tried again just now and I can no longer reproduce it with Org 9.0.9. / Emacs 27.0.50. Cheers, Jan Am 04.12.2017 um 20:59 schrieb Nicolas Goaziou: > Hello, > > Allen Li writes: > >> On Fri, Dec 1, 2017 at 1:53 PM, Nicolas Goaziou wrote: >>> Hello, >>> >>> Jan Böhm writes: >>> >>>> Symptoms: both org-todo-yesterday and org-agenda-todo-yesterday behave >>>> just like normally setting todo state to "DONE" with org-todo. >>>> Specifically, the timestamp >>>> added in the log takes the current time instead of 23:59 of the previous >>>> day, as would be expected. >>>> >>>> Replicate behaviour: >>>> start emacs -Q >>>> set org-log-done to "time" >>>> visit new file and switch to org mode >>>> create TODO headline and set TODO state to "DONE" by calling >>>> "org-todo-yesterday" >>>> ⇒ todo state is set to DONE correctly, but the timestamp inserted in >>>> the log drawer is the current time. >>> >>> I cannot reproduce it in a recent Org release. Could you double-check >>> with a newer Org? >> >> I am going to blindly wager that this is yet another bug caused by Org >> mode's subtle timezone issues. >> >> I can reproduce it (and crucially, I am not in the GMT time zone), >> although the repro recipe produces a CLOSED timestamp and not a log >> drawer timestamp. > > I removed timezone references from maint. Can you still reproduce the > issue? > > Regards, > From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 07 19:51:15 2017 Received: (at 24791) by debbugs.gnu.org; 8 Dec 2017 00:51:15 +0000 Received: from localhost ([127.0.0.1]:51115 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eN6sl-0003KE-68 for submit@debbugs.gnu.org; Thu, 07 Dec 2017 19:51:15 -0500 Received: from mail-qt0-f182.google.com ([209.85.216.182]:40907) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eN6sj-0003K1-Go for 24791@debbugs.gnu.org; Thu, 07 Dec 2017 19:51:13 -0500 Received: by mail-qt0-f182.google.com with SMTP id u42so22370231qte.7 for <24791@debbugs.gnu.org>; Thu, 07 Dec 2017 16:51:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=Y6M0YkGUTF4YNZz0Mbs+0vg0YGjusiS8o6wWKfaYGRA=; b=CIrdtbo1XcDO8iIn/WyX02JYkk2my50/M9SJN+c3NT8siBCYhlKOEVW9AmiwfvgRJx /xP4KLVuGkVrO3saWYLjpuOJZUBXooXimvtjtV8HoNajzTWjjln2+0EqYyMkqBu3msAp PD7ADQsIc/7kMfWDol0XdjpPzo7bemOTWrW3Vfb/MI7zM6IQ8jmzzBwW40jeARzqaZH5 2CA1CBazswF1Bpnp04BkYAA253NlqsHftgWtMl8vzlKC/Lz0DeOjumRQkHA9UjjHKi7N xNM3MMeF1G3mN7yDsp+4V+ucSube5S2HxBtlqGW15iFuN7RPPw5DBW683bc2KXNblyAo 7HLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=Y6M0YkGUTF4YNZz0Mbs+0vg0YGjusiS8o6wWKfaYGRA=; b=s3u7iiyIVqbhb0m267zJj6+JohA6fefYbvOQtv2HCBDxLFo2GceBEsXvMka511ltpO TN21MGWqBa3jwV/wt9SAWPUH8vWjAtIJmbuoSokm7oN3fqdsGhB9cgB+3oYMhP85YBs4 Tx3P2JNNW6NURYJVQyr9XOWJhJicr1vAO2k3FocAm2/XPSm8qhXuFmunsOZpqswuswlG P8nRvlI5fdlzcbHMskWlhStXUNM7khsyOr1FMOuw4bIj1dlNM9/wfqdgwNtCZIwrDcbn sQBq+9rjiCYODxgAuU4JHEHg1EwhZ+XX2x1AAZVpalfOFBHfaiK8eruLDMfOqxWWscNO Bw0Q== X-Gm-Message-State: AKGB3mIpbiJq8yjpGyFpucirRq4+v195bLYKrlJjFZofdV/SWgWfDPXv z+kZo4DXUpzB1D1e0gExEWfV6QI8pBsONd5H0/s= X-Google-Smtp-Source: AGs4zMZTE+X7t2PFwJXmBw9WBMGzTnfokf8GXYYC5frx6aK9eybN9TPJfm6N9ZZMi49Pv6hJfij4kaZn6i5vMf6n2V4= X-Received: by 10.200.45.168 with SMTP id p37mr12843372qta.247.1512694267779; Thu, 07 Dec 2017 16:51:07 -0800 (PST) MIME-Version: 1.0 Received: by 10.237.55.36 with HTTP; Thu, 7 Dec 2017 16:51:07 -0800 (PST) In-Reply-To: <87vahm6z8g.fsf@nicolasgoaziou.fr> References: <609c94f4-8b0f-02b7-d467-3651c3c3fe59@gmx.de> <878temdsig.fsf@nicolasgoaziou.fr> <87vahm6z8g.fsf@nicolasgoaziou.fr> From: Allen Li Date: Thu, 7 Dec 2017 16:51:07 -0800 Message-ID: Subject: Re: bug#24791: [O] bug#24791: org-todo-yesterday behaves like plain org-todo (incorrect timestamp) To: Nicolas Goaziou Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 24791 Cc: 24791@debbugs.gnu.org, =?UTF-8?B?SmFuIELDtmht?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Mon, Dec 4, 2017 at 11:59 AM, Nicolas Goaziou w= rote: > Hello, > > Allen Li writes: > >> On Fri, Dec 1, 2017 at 1:53 PM, Nicolas Goaziou = wrote: >>> Hello, >>> >>> Jan B=C3=B6hm writes: >>> >>>> Symptoms: both org-todo-yesterday and org-agenda-todo-yesterday behave >>>> just like normally setting todo state to "DONE" with org-todo. >>>> Specifically, the timestamp >>>> added in the log takes the current time instead of 23:59 of the previo= us >>>> day, as would be expected. >>>> >>>> Replicate behaviour: >>>> start emacs -Q >>>> set org-log-done to "time" >>>> visit new file and switch to org mode >>>> create TODO headline and set TODO state to "DONE" by calling >>>> "org-todo-yesterday" >>>> =E2=87=92 todo state is set to DONE correctly, but the timestamp inser= ted in >>>> the log drawer is the current time. >>> >>> I cannot reproduce it in a recent Org release. Could you double-check >>> with a newer Org? >> >> I am going to blindly wager that this is yet another bug caused by Org >> mode's subtle timezone issues. >> >> I can reproduce it (and crucially, I am not in the GMT time zone), >> although the repro recipe produces a CLOSED timestamp and not a log >> drawer timestamp. > > I removed timezone references from maint. Can you still reproduce the > issue? I can confirm that it's fixed on 9.1.4 (org-plus-contrib-20171205) From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 29 06:44:41 2017 Received: (at 24791-done) by debbugs.gnu.org; 29 Dec 2017 11:44:41 +0000 Received: from localhost ([127.0.0.1]:55820 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eUt5d-0007Fm-JP for submit@debbugs.gnu.org; Fri, 29 Dec 2017 06:44:41 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:57552) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eUt5b-0007Fd-H3 for 24791-done@debbugs.gnu.org; Fri, 29 Dec 2017 06:44:39 -0500 Received: from saiph.selenimh (000043010000000000000469.ipv6.commingeshautdebit.fr [IPv6:2a03:a0a0:0:4301::469]) (Authenticated sender: mail@nicolasgoaziou.fr) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id EB1241720A3; Fri, 29 Dec 2017 12:44:37 +0100 (CET) Received: from ngz by saiph.selenimh with local (Exim 4.89) (envelope-from ) id 1eUt5Y-0008GS-CJ; Fri, 29 Dec 2017 12:44:36 +0100 From: Nicolas Goaziou To: Allen Li Subject: Re: bug#24791: [O] bug#24791: org-todo-yesterday behaves like plain org-todo (incorrect timestamp) In-Reply-To: (Allen Li's message of "Thu, 7 Dec 2017 16:51:07 -0800") References: <609c94f4-8b0f-02b7-d467-3651c3c3fe59@gmx.de> <878temdsig.fsf@nicolasgoaziou.fr> <87vahm6z8g.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) Date: Fri, 29 Dec 2017 12:44:36 +0100 Message-ID: <87mv21iwrf.fsf@nicolasgoaziou.fr> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 24791-done Cc: 24791-done@debbugs.gnu.org, Jan =?utf-8?Q?B=C3=B6hm?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Hello, Allen Li writes: > I can confirm that it's fixed on 9.1.4 (org-plus-contrib-20171205) I'm closing the report, then. Thank you. Regards, -- Nicolas Goaziou 0x80A93738 From unknown Wed Jun 18 23:02:38 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 26 Jan 2018 12:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator