From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id oJZFEPinal8NPgAA0tVLHw (envelope-from ) for ; Wed, 23 Sep 2020 01:42:16 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id yCgNDPinal9cRgAAbx9fmQ (envelope-from ) for ; Wed, 23 Sep 2020 01:42:16 +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 8DD099408DA for ; Wed, 23 Sep 2020 01:42:15 +0000 (UTC) Received: from localhost ([::1]:53816 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kKtnS-0003e9-Ih for larch@yhetil.org; Tue, 22 Sep 2020 21:42:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47334) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kKtn4-0003e0-Ux for emacs-orgmode@gnu.org; Tue, 22 Sep 2020 21:41:50 -0400 Received: from mail-pl1-x635.google.com ([2607:f8b0:4864:20::635]:39630) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kKtn2-0006dK-IQ for emacs-orgmode@gnu.org; Tue, 22 Sep 2020 21:41:50 -0400 Received: by mail-pl1-x635.google.com with SMTP id y17so290193plb.6 for ; Tue, 22 Sep 2020 18:41:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:in-reply-to:references:date:message-id:mime-version; bh=TDg6Bkl5V3THEbZmInuPN/kx1DBYGW2tuZKrLKieBNw=; b=Q61saJPQYwlV+6ToHn4zxun7be63kqyifBzvcweuxzBJWz5c3062CE03S75BbMPMap pIVzuYf3VEp993BZ+v3NZeEHyWyyFl15g2wLXlgOHrElS1cyZAxTOozuxGZ4lyB0X6J0 l23/unmK0qY/sHPfkDmGnnFF3C9QlMuJTr4CrPk9qymh0jJkFHw59si5zPWC151F2KsU JyzW9loY5gxk3DWUeWl9TYfBZWRJISWHz2z4GQ5jAoywzJ9qMwOlTFWCAjcC7moApdFn KLwl+RTn8E2fbPdAXUzI1OkyHgYBCPz+v/lkKVLDcWy9NLLS1IJtPKCS8DfuN34EMpUl 4dkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version; bh=TDg6Bkl5V3THEbZmInuPN/kx1DBYGW2tuZKrLKieBNw=; b=gUp8AiqKbTTbiFz+B1QSuzFntZNr1e4LFfa7M+RWubB5DMLDsZeJJNr8WkwF1H1huw wi+54UkenlLbkmCuYiTmJuoIH0O9cpIesDKc4dPNmE+TugiNjfQCPu4TBddnFIg41yC1 1yru++l6IPb2X7UKafonFYi9FCMfnoj1yTRJJE0fowjNpWKUE+zHa4bCj0u5mhU/u1pS Qk2z0RlS4RMmDRfAiuBwBTeADGZkfxhE6heL2lw1m4NsHpAt465YY7kTl+gjSXvLn2do pSFjtxU1T+K3kRAVKYHcFs/p+HuxxtYc8IyGxrq5KZ+P1eqAx5FLoCbiGTkAhnFMI+2p 70DA== X-Gm-Message-State: AOAM530cZgRVWcPR3BsXNX+baqv8fDoXM7uEiBe+g5R38g/ZGEZ8ohMi 9SZtXOjkdDfJMgUjeOuHVXjS6wEuZuLgiyI4 X-Google-Smtp-Source: ABdhPJzpOKQH3H9K5x15jYH4Vh+r0+qnW1QvrCerWnUjwrROj6sXdhR+2Co8AMruMRyVZ/ezA/0afg== X-Received: by 2002:a17:90a:62c4:: with SMTP id k4mr6078795pjs.174.1600825306449; Tue, 22 Sep 2020 18:41:46 -0700 (PDT) Received: from localhost ([23.27.206.160]) by smtp.gmail.com with ESMTPSA id b4sm3354926pjz.22.2020.09.22.18.41.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Sep 2020 18:41:45 -0700 (PDT) From: Ihor Radchenko To: James N V Cash , emacs-orgmode@gnu.org Subject: Re: Bug: Occasional error with recurring tasks in agenda [9.4 (release_9.4-3-ge6021b @ /home/james/.config/emacs/straight/build/org-plus-contrib/)] In-Reply-To: <87a6xhq42n.fsf@gmail.com> References: <87a6xhq42n.fsf@gmail.com> Date: Wed, 23 Sep 2020 09:40:41 +0800 Message-ID: <87h7rpw9ra.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::635; envelope-from=yantar92@gmail.com; helo=mail-pl1-x635.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=Q61saJPQ; dmarc=pass (policy=none) header.from=gmail.com; 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-Spam-Score: -1.21 X-TUID: l1wVpYst/cSu > It seems to always work properly from the org buffer itself, so I assume > it's something happening in the agenda, but I'm not sure where to look. > I've tried debugging `org-agenda-todo`, but I can't see anything in > askance there. Any advice as to what I should be looking for? I had similar issue. As I recall, the problem was with some custom function in org-trigger-hook that threw an error because it did not expect to be ran with point in agenda buffer. Do you have any customisation related to todo triggers? Best, Ihor James N V Cash writes: > I've started seeing an issues as of a couple of days ago, after upgrading to org 9.4. > > When I mark a task with a recurring deadline done from the agenda view, > sometimes it doesn't recur, but instead marks the task as done. > > I haven't yet been able to isolate why -- just now I marked a task as > done from the agenda, it didn't recur; I went to the org file, undid > from there, then tried marking it complete from the agenda again and > that time it worked. > > It seems to always work properly from the org buffer itself, so I assume > it's something happening in the agenda, but I'm not sure where to look. > I've tried debugging `org-agenda-todo`, but I can't see anything in > askance there. Any advice as to what I should be looking for? > > James Cash > > ------------------------------------------------------------------------ > > > > Emacs : GNU Emacs 28.0.50 (build 5, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version 1.16.0) > of 2020-08-14 > Package: Org mode version 9.4 (release_9.4-3-ge6021b @ /home/james/.config/emacs/straight/build/org-plus-contrib/) > > current state: > ============== > (setq > org-duration-format 'h:mm > 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-pdftools-get-desc-function 'org-pdftools-get-desc-default > org-metadown-hook '(org-babel-pop-to-session-maybe) > org-clock-out-hook '(org-clock-remove-empty-clock-drawer) > org-pdftools-markup-pointer-function 'pdf-annot-add-underline-markup-annotation > org-refile-targets '((nil :maxlevel . 9) (org-agenda-files :maxlevel . 9)) > org-html-format-inlinetask-function 'org-html-format-inlinetask-default-function > org-odt-format-headline-function 'org-odt-format-headline-default-function > org-notmuch-open-function 'org-notmuch-follow-link > org-agenda-files "~/org/dir" > org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default > org-modules '(ol-info ol-eshell org-notify ol-notmuch) > org-mode-hook '(evil-org-mode > (closure (t) nil > (let ((default-pred electric-pair-inhibit-predicate)) > (set (make-local-variable 'electric-pair-inhibit-predicate) #'(lambda (c) (if (char-equal c 60) t default-pred)))) > (visual-line-mode 1)) > (closure (t) nil (set (make-local-variable 'company-dabbrev-downcase) nil)) cogent/fix-org-yasnippet-hook > #[0 "\301\211.\207" [imenu-create-index-function org-imenu-get-tree] 2] > #[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-eldoc-load) > org-odt-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"] > org-outline-path-complete-in-steps nil > org-archive-hook '(org-attach-archive-delete-maybe) > org-agenda-restore-windows-after-quit t > org-confirm-elisp-link-function 'yes-or-no-p > org-mime-src-mode-hook '(org-mime-src-mode-configure-edit-buffer) > org-agenda-before-write-hook '(org-agenda-add-entry-text) > org-metaup-hook '(org-babel-load-in-session-maybe) > org-adapt-indentation 'headline-data > org-latex-format-drawer-function #[514 "\207" [] 3 "\n\n(fn _ CONTENTS)"] > org-mime-html-hook '((closure (t) nil (org-mime-change-element-style "blockquote" "border-left: 2px solid gray; padding-left: 4px;")) > (closure (t) nil > (org-mime-change-element-style "pre" > (format "color: %s; background-color: %s; padding: 0.5em;" (face-attribute 'default :foreground) > (face-attribute 'default :background)) > ) > ) > ) > org-notmuch-search-open-function 'org-notmuch-search-follow-link > org-babel-pre-tangle-hook '(save-buffer) > org-file-apps '((auto-mode . emacs) (directory . emacs) ("\\.mm\\'" . default) ("\\.x?html?\\'" . default) ("\\.pdf\\'" . emacs)) > org-tab-first-hook '(yas/org-very-safe-expand org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) > org-hide-leading-stars t > org-babel-load-languages '((sql . t) (ruby . t) (js . t)) > org-load-hook '(org-pdftools-setup-link) > org-hide-emphasis-markers t > org-agenda-ignore-properties '(effort appt category) > org-ascii-format-drawer-function #[771 ".\207" [] 4 "\n\n(fn NAME CONTENTS WIDTH)"] > org-use-fast-todo-selection t > org-agenda-loop-over-headlines-in-active-region nil > org-src-lang-modes '(("arduino" . arduino) ("redis" . redis) ("php" . php) ("C" . c) ("C++" . c++) ("asymptote" . asy) ("bash" . sh) > ("beamer" . latex) ("calc" . fundamental) ("cpp" . c++) ("ditaa" . artist) ("dot" . fundamental) ("elisp" . emacs-lisp) > ("ocaml" . tuareg) ("screen" . shell-script) ("shell" . sh) ("sqlite" . sql)) > org-catch-invisible-edits 'show-and-error > org-occur-hook '(org-first-headline-recenter) > org-agenda-mode-hook '((closure (t) nil (display-line-numbers-mode 0))) > org-export-before-processing-hook '(cogent/org-inline-css-hook) > org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-show-empty-lines org-optimize-window-after-visibility-change) > org-todo-keywords '((sequence "TODO(t)" "NEXT(n)" "|" "DONE(d)") (sequence "WAITING(w@/!)" "HOLD(h@/!)" "|" "CANCELLED(c@/!)" "PHONE" "MEETING")) > org-speed-command-hook '(org-speed-command-activate org-babel-speed-command-activate) > org-odt-format-inlinetask-function 'org-odt-format-inlinetask-default-function > org-agenda-use-tag-inheritance nil > org-babel-tangle-lang-exts '(("prolog" . "pl") ("ruby" . "rb") ("emacs-lisp" . "el") ("elisp" . "el")) > org-return-follows-link t > org-refile-allow-creating-parent-nodes 'confirm > org-refile-use-outline-path t > org-export-before-parsing-hook '(org-attach-expand-links) > org-font-lock-set-keywords-hook '(org-drill-add-cloze-fontification) > 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) > ("notmuch-tree" :follow org-notmuch-tree-open :store org-notmuch-tree-store-link) > ("notmuch-search" :follow org-notmuch-search-open :store org-notmuch-search-store-link) > ("notmuch" :follow org-notmuch-open :store org-notmuch-store-link) > ("eshell" :follow org-eshell-open :store org-eshell-store-link) > ("info" :follow org-info-open :export org-info-export :store org-info-store-link) > ("elfeed" :follow elfeed-link-open :store elfeed-link-store-link) > ("pdf" :follow org-pdftools-open :complete org-pdftools-complete-link :store org-pdftools-store-link :export > org-pdftools-export) > ("file+sys") ("file+emacs") ("shell" :follow org-link--open-shell) > ("news" :follow #[514 "\301\300\302.Q.\"\207" ["news" browse-url ":"] 6 "\n\n(fn URL ARG)"]) > ("mailto" :follow #[514 "\301\300\302.Q.\"\207" ["mailto" browse-url ":"] 6 "\n\n(fn URL ARG)"]) > ("https" :follow #[514 "\301\300\302.Q.\"\207" ["https" browse-url ":"] 6 "\n\n(fn URL ARG)"]) > ("http" :follow #[514 "\301\300\302.Q.\"\207" ["http" browse-url ":"] 6 "\n\n(fn URL ARG)"]) > ("ftp" :follow #[514 "\301\300\302.Q.\"\207" ["ftp" browse-url ":"] 6 "\n\n(fn URL ARG)"]) > ("help" :follow org-link--open-help) ("file" :complete org-link-complete-file) ("elisp" :follow org-link--open-elisp) > ("doi" :follow org-link--open-doi)) > org-src-block-faces '(("emacs-lisp" modus-theme-nuanced-magenta) ("elisp" modus-theme-nuanced-magenta) ("clojure" modus-theme-nuanced-magenta) > ("clojurescript" modus-theme-nuanced-magenta) ("c" modus-theme-nuanced-blue) ("c++" modus-theme-nuanced-blue) > ("sh" modus-theme-nuanced-green) ("shell" modus-theme-nuanced-green) ("html" modus-theme-nuanced-yellow) > ("xml" modus-theme-nuanced-yellow) ("css" modus-theme-nuanced-red) ("scss" modus-theme-nuanced-red) > ("python" modus-theme-nuanced-green) ("ipython" modus-theme-nuanced-magenta) ("r" modus-theme-nuanced-cyan) > ("yaml" modus-theme-nuanced-cyan) ("conf" modus-theme-nuanced-cyan) ("docker" modus-theme-nuanced-cyan) > ("json" modus-theme-nuanced-cyan)) > org-agenda-skip-scheduled-if-done t > org-latex-format-headline-function 'org-latex-format-headline-default-function > org-link-elisp-confirm-function 'yes-or-no-p > org-latex-format-inlinetask-function 'org-latex-format-inlinetask-default-function > org-html-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"] > org-agenda-compact-blocks t > org-latex-classes '(("beamer" "\\documentclass[presentation]{beamer}" ("\\section{%s}" . "\\section*{%s}") > ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}")) > ("article" "\\documentclass[11pt]{article}" ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") > ("\\subsubsection{%s}" . "\\subsubsection*{%s}") ("\\paragraph{%s}" . "\\paragraph*{%s}") > ("\\subparagraph{%s}" . "\\subparagraph*{%s}")) > ("report" "\\documentclass[11pt]{report}" ("\\part{%s}" . "\\part*{%s}") ("\\chapter{%s}" . "\\chapter*{%s}") > ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") > ("\\subsubsection{%s}" . "\\subsubsection*{%s}")) > ("book" "\\documentclass[11pt]{book}" ("\\part{%s}" . "\\part*{%s}") ("\\chapter{%s}" . "\\chapter*{%s}") > ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") > ("\\subsubsection{%s}" . "\\subsubsection*{%s}")) > ) > org-html-format-headline-function 'org-html-format-headline-default-function > org-agenda-dim-blocked-tasks nil > org-confirm-babel-evaluate nil > org-agenda-custom-commands '(("n" "Agenda and all TODOs" ((agenda "" nil) (alltodo "" nil)) nil) > ("N" "Notebook search" tags "" ((org-agenda-files '("~/org/notebook"))))) > org-link-from-user-regexp "\\\\|\\" > org-agenda-inhibit-startup t > org-default-notes-file "~/org/notes.org" > org-agenda-show-future-repeats nil > )