Richard Kim <emac...@gmail.com> writes: > Bastien <b...@gnu.org> writes: > >> Hi Krishan, >> >> Krishan Kharagjitsing <krishan...@gmail.com> writes: >> >>> Hello, I found the following weird behaviour. >> >> What is M-x org-version RET ? > > Because of (setq org-log-done 'time) according to > https://github.com/syl20bnr/spacemacs/issues/13901#issuecomment-697323151 > >>> When I set some tasks to DONE and fold the headings with TAB, then >>> when I cycle back from DONE to TODO it joins the next line with the >>> current one. >>> >>> org_mode_bug >>> >>> Reproduction guide >>> >>> Make two TODO headings in org mode >>> Cycle both TODO items to DONE >>> Fold the headings (so the dots appear, because the timestamp gets >>> folded with the heading) >>> Cycle the first DONE heading >> >> Why are there timestamps? Can you provide a test .org file where we >> can reproduce the problem? >> >> Thanks, > > The original report at the top of > https://github.com/syl20bnr/spacemacs/issues/13901 > has gif animation on how this problem can be seen.
On my emacs 27, following demonstrates the problem. (let () (switch-to-buffer (generate-new-buffer "*demo line joining bug*")) (erase-buffer) (org-mode) (setq org-log-done 'time) (insert "* one\n") (insert "* two\n") (goto-line 1) (org-todo) (org-todo) (org-todo) (org-cycle) (org-todo) (org-todo) )