From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id +I8fOkvze2ErOwEAgWs5BA (envelope-from ) for ; Fri, 29 Oct 2021 15:12:43 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id wP3FNUvze2EqEgAAB5/wlQ (envelope-from ) for ; Fri, 29 Oct 2021 13:12:43 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 1FE8121CA0 for ; Fri, 29 Oct 2021 15:12:43 +0200 (CEST) Received: from localhost ([::1]:57644 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mgRgX-0004Zl-7w for larch@yhetil.org; Fri, 29 Oct 2021 09:12:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54166) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mgRdF-0002cS-0z for emacs-orgmode@gnu.org; Fri, 29 Oct 2021 09:09:17 -0400 Received: from mail-qt1-x831.google.com ([2607:f8b0:4864:20::831]:34436) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mgRd9-0005wb-Dx for emacs-orgmode@gnu.org; Fri, 29 Oct 2021 09:09:13 -0400 Received: by mail-qt1-x831.google.com with SMTP id v17so8986158qtp.1 for ; Fri, 29 Oct 2021 06:09:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:user-agent:from:to:subject:date:message-id:mime-version; bh=oI53aCqxRpIlo5A2WxWgOvpYVHBImgOmFI03fGts07w=; b=kk7YZ8pSVpZmhWDQIHQqVr8/vCy9FCnQJmiSKN8MhxRQ83PEMZrqperW23zFYcJV3N jyIf+hWU6L/t9rTL5YKqAK4HBqIVLayBAf22vXcQCiPRsaN2ImE9Yz7DiOw9JAVCAxfG 3wlT6+QfE9YeInCbrIA1loqH+PtMNnZJvCpCDZSDK5PLoLaMt3xcmh+8JaqlsEVwingf FvXAy5CWbzOs1S/OegwIVtbtP9XqmAibilmm/PZZdynwbQH4ltWaKBqVuwOSddvAccM4 bFqXdoMhBm5FM55++NMVnxje+F8L0Q6oNBynIAw3y4BlvzyVpwkU7skU7d4Ewg3VbQqW dK0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:user-agent:from:to:subject:date :message-id:mime-version; bh=oI53aCqxRpIlo5A2WxWgOvpYVHBImgOmFI03fGts07w=; b=Fap1GRDPwSdaL107KNgD00y1FIioqlySdOkBqqZLwAyo96LHr+m3OOKQSVMykkJRrA 5fY7bXu2dwHXf0orM3n+4I7R3lBH96xoL0b9Bli80nttlRgjSKOLn6vQ3lpKc7E8fnsu hqn3+/Nx+dcJWqk/OztOYfZhZHYqVvn/lxh05edQAUY3seqYYy8Rpr12tFpC8ZdHdgPE dr2fJjf8x/M2bvWNDrkSA4V6OOBZ4HYq2fRTQgztjs6S2yZs8D8C27wr2BYq7bjBQRRV NoTGFEwmxPSJDL4GWXpUTp+RHpyhOnISJpIsUt6WmZVnO3HbQoOaz7KYGaFjgAWBm3ca TqtA== X-Gm-Message-State: AOAM530wBYHp0uppIfPQbmLmTFd52Ckt9Io6cMh2hZRqIednzymn6s1+ ptFDUvC2jyyhM9aHl1qXJzKek+i9LZ8= X-Google-Smtp-Source: ABdhPJx5vGNyF1+ennSdECX3/NhFYBJMJj5dkhoIXOXB/WMudbsQgQGDbqb5AdvdL/xmgiKSrVSJEw== X-Received: by 2002:ac8:5a4a:: with SMTP id o10mr11713456qta.318.1635512949906; Fri, 29 Oct 2021 06:09:09 -0700 (PDT) Received: from gusbrs-laptop ([102.129.153.55]) by smtp.gmail.com with ESMTPSA id k16sm272215qkj.70.2021.10.29.06.09.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Oct 2021 06:09:08 -0700 (PDT) User-agent: mu4e 1.6.8; emacs 27.2 From: Gustavo Barros To: emacs-orgmode@gnu.org Subject: [BUG] Future repeated tasks marked done in Org Agenda don't show as done [9.5 (9.5-g0a86ad @ /home/gustavo/.emacs.d/elpa/org-9.5/)] Date: Fri, 29 Oct 2021 10:05:39 -0300 Message-ID: <87ee84dllb.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; format=flowed Received-SPF: pass client-ip=2607:f8b0:4864:20::831; envelope-from=gusbrs.2016@gmail.com; helo=mail-qt1-x831.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1635513163; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=oI53aCqxRpIlo5A2WxWgOvpYVHBImgOmFI03fGts07w=; b=nIAJwfB5tOxa5s5oguSVtVqGZx6rwMTLa6N4WUocqu4dxUnpt1hL9w6AY78LqL/dNyb2VA DwL3NhsthmN9z33DCLXo0dnq2OtTPuXfKMVurazZ8omck4XyBzhwaBI8rM+dYy1kJ5vYDh LNLGthqEv7+xZpCJ1Iut4gnD/1WAfmOgTkdD10ON+uerExMNcG0sg/LJFuaX/61IEnWFB3 Eyn3VyxsjwP2h8ZktNigogKPsbtkVvqcRARpb19C2UlxLuz8q+I5JtOlp0m1XM355Yk8t6 Fh8vjU7GuLN13VlX/3XhcL6+uzMBwqzIK83uHiCw3nCEMKrGX6mGw/BEWAhiJQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635513163; a=rsa-sha256; cv=none; b=YHs9Eu5pkB0sQITqLvcFesUlg2rIQrmm1ac24zYMOneCHXvB80E2M63EW3/NpR5Zoec2dN 36B7gja5WXtjAGINVG5eSLJc70//m4mOI7wun1x0mH7UjQB2LEoRbXFO88Z5Tqp4Dhaf2p aAEMUulJy53OVpzbuSF6LvkK6TIevKmB2Yr+akFv+q2NgJIiqqtaemKU4hbUZkkrKGzqG6 WzstGZY/xa85GGxVS1HFqINBpYj2jSEKfnHJGeUWeJacVd3c+Q/NOEnMEReUPvFEuQMWRP sCKR7Lqn4Mnha97ExjpLrUvj4kHLm5DwQ5tfJJLAY0nsY0VMUsRolJfJwP8/ew== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=kk7YZ8pS; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -1.32 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=kk7YZ8pS; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 1FE8121CA0 X-Spam-Score: -1.32 X-Migadu-Scanner: scn0.migadu.com X-TUID: ihfkTyOx7mPL Hi All, I've been meeting a small glitch on the Agenda, which had been eluding me for some time, as it "sometimes works, sometimes doesn't", and I wasn't being able to recognize the rule for it. So I started keeping track of it a while, and I was thus able to come up with a ECM. I'm not sure the "rule" is the one I came up with, since it was based on inference, but I hope the ECM is reproducible. The glitch is that some repeated tasks, when marked done in the Agenda, show no visual feedback that the action has taken place, as usual, and if you refresh the Agenda, they just vanish, which demonstrates the action had indeed taken place in the agenda file, just not shown in the Agenda buffer itself. And, as far as I can tell, this happens to repeated tasks, scheduled in future. For tasks scheduled for today or in the past, they appear to be done as expected. The ECM runs as follows. Start ~emacs -Q~ and setup current Org and the agenda files: #+begin_src emacs-lisp (add-to-list 'load-path "~/.emacs.d/elpa/org-9.5") (setq org-agenda-files '("~/test/agenda.org")) #+end_src Where =~/test/agenda.org= contains: #+begin_src org ,* TODO Foo (scheduled for yesterday) SCHEDULED: <2021-10-28 Thu +1w> ,* TODO Bar (scheduled for today) SCHEDULED: <2021-10-29 Fri +1w> ,* TODO Baz (scheduled for tomorrow) SCHEDULED: <2021-10-30 Sat +1w> #+end_src And note the dates relative to today are critical for the ECM to demonstrate what it intends to. So, if you try this out another day, shift the schedules as appropriate. Now, run ~M-x org-agenda~, then "a" to get to the default agenda. And mark each of these tasks done with "t". "Foo" and "Bar" appear as "DONE", as usual and expected. "Baz" does not. Refresh the agenda, and see they are indeed all gone from this week's view (hence marked done in the actual file). And indeed, with "f" we see they are there next week. Best regards, Gustavo. Emacs : GNU Emacs 27.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version 1.16.0) of 2021-03-25 Package: Org mode version 9.5 (9.5-g0a86ad @ /home/gustavo/.emacs.d/elpa/org-9.5/) current state: ============== (setq org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-link-shell-confirm-function 'yes-or-no-p org-metadown-hook '(org-babel-pop-to-session-maybe) org-agenda-files '("~/test/agenda.org") org-mode-hook '(#[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-show-all append local] 5] #[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-babel-show-result-all append local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes) org-archive-hook '(org-attach-archive-delete-maybe) org-confirm-elisp-link-function 'yes-or-no-p org-agenda-before-write-hook '(org-agenda-add-entry-text) org-metaup-hook '(org-babel-load-in-session-maybe) org-bibtex-headline-format-function #[257 "\300\236A\207" [:title] 3 "\n\n(fn ENTRY)"] org-babel-pre-tangle-hook '(save-buffer) org-tab-first-hook '(org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-agenda-loop-over-headlines-in-active-region nil org-occur-hook '(org-first-headline-recenter) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-speed-command-hook '(org-speed-command-activate org-babel-speed-command-activate) org-export-before-parsing-hook '(org-attach-expand-links) org-confirm-shell-link-function 'yes-or-no-p org-link-parameters '(("attachment" :follow org-attach-follow :complete org-attach-complete-link) ("id" :follow org-id-open) ("eww" :follow org-eww-open :store org-eww-store-link) ("rmail" :follow org-rmail-open :store org-rmail-store-link) ("mhe" :follow org-mhe-open :store org-mhe-store-link) ("irc" :follow org-irc-visit :store org-irc-store-link :export org-irc-export) ("info" :follow org-info-open :export org-info-export :store org-info-store-link) ("gnus" :follow org-gnus-open :store org-gnus-store-link) ("docview" :follow org-docview-open :export org-docview-export :store org-docview-store-link) ("bibtex" :follow org-bibtex-open :store org-bibtex-store-link) ("bbdb" :follow org-bbdb-open :export org-bbdb-export :complete org-bbdb-complete-link :store org-bbdb-store-link) ("w3m" :store org-w3m-store-link) ("doi" :follow org-link-doi-open :export org-link-doi-export) ("file+sys") ("file+emacs") ("shell" :follow org-link--open-shell) ("news" :follow #[514 "\301\300\302Q\"\207" ["news" browse-url ":"] 6 "\n\n(fn URL ARG)"]) ("mailto" :follow #[514 "\301\300\302Q\"\207" ["mailto" browse-url ":"] 6 "\n\n(fn URL ARG)"]) ("https" :follow #[514 "\301\300\302Q\"\207" ["https" browse-url ":"] 6 "\n\n(fn URL ARG)"]) ("http" :follow #[514 "\301\300\302Q\"\207" ["http" browse-url ":"] 6 "\n\n(fn URL ARG)"]) ("ftp" :follow #[514 "\301\300\302Q\"\207" ["ftp" browse-url ":"] 6 "\n\n(fn URL ARG)"]) ("help" :follow org-link--open-help :store org-link--store-help) ("file" :complete org-link-complete-file) ("elisp" :follow org-link--open-elisp)) org-link-elisp-confirm-function 'yes-or-no-p )