emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Org mode version 9.7-pre (9.7-pre-n/a-gb0c3c9); Infinite loop in org-update-statistics-cookies when org-hierarchical-todo-statistics nil
@ 2024-03-10 19:09 No Wayman
  2024-03-13 10:28 ` Ihor Radchenko
  0 siblings, 1 reply; 2+ messages in thread
From: No Wayman @ 2024-03-10 19:09 UTC (permalink / raw)
  To: emacs-orgmode


(elpaca-test
  :interactive t
  :init
  (elpaca org
    (setq org-hierarchical-todo-statistics nil)
    (with-current-buffer (get-buffer-create "*org-bug*")
      (insert "* TODO test [/]\n")
      (insert "** TODO Loop Infinitely")
      (goto-char (point-min))
      (re-search-forward "/" nil t)
      (org-mode)
      (switch-to-buffer (current-buffer)))))

1. toggle-debug-on-quit
2. With point on the statistics cookie in the first headline, 
invoke org-update-statistics-cookies twice. 
3. Observer an infinite loop.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Org mode version 9.7-pre (9.7-pre-n/a-gb0c3c9); Infinite loop in org-update-statistics-cookies when org-hierarchical-todo-statistics nil
  2024-03-10 19:09 Org mode version 9.7-pre (9.7-pre-n/a-gb0c3c9); Infinite loop in org-update-statistics-cookies when org-hierarchical-todo-statistics nil No Wayman
@ 2024-03-13 10:28 ` Ihor Radchenko
  0 siblings, 0 replies; 2+ messages in thread
From: Ihor Radchenko @ 2024-03-13 10:28 UTC (permalink / raw)
  To: No Wayman; +Cc: emacs-orgmode

No Wayman <iarchivedmywholelife@gmail.com> writes:

> (elpaca-test
> ...
> 1. toggle-debug-on-quit
> 2. With point on the statistics cookie in the first headline, 
> invoke org-update-statistics-cookies twice. 
> 3. Observer an infinite loop.

Thanks for reporting!
Fixed, on main.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=505db97a8

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-03-13 10:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-10 19:09 Org mode version 9.7-pre (9.7-pre-n/a-gb0c3c9); Infinite loop in org-update-statistics-cookies when org-hierarchical-todo-statistics nil No Wayman
2024-03-13 10:28 ` Ihor Radchenko

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).