clock doesn't respect org-id-link-to-org-use-id

2021-06-18 Thread Dave D
Hi All, I use org-mode clock table to generate report for the tasks I clocked. The header of my clock table looks like this: #+BEGIN: clocktable :block 2021-06-18 :scope agenda :maxlevel 5 :fileskip0 t :link t I have :link t so that I can jump to a task directly from the clock table. I have notic

getting "before first headline at position xxx in buffer *Org Note*" when clocking out

2021-06-23 Thread Dave D
Hi all, I recently started getting the message "before first headline at position xxx in buffer *Org Note*" when clocking out items. After much frustration and testing I've summarized these steps to reproduce the issue. 1. Download https://orgmode.org/org-9.4.6.tar.gz and extract to ~/org-9.4.6

Re: org-agenda no longer clocks out then in

2021-06-25 Thread Dave D
seems related to a bug I reported a few days ago. link to my bug report: https://lists.gnu.org/archive/html/emacs-orgmode/2021-06/msg00506.html the bug is basically that we you have org-log-note-clock-out set to t, an error "before first headline" would occur when you clock out, thus blocking sub

Re: Bug: "before first headline" error when adding clock out note [9.4.6 (9.4.6-dist @ /home/wenlong/org-9.4.6/lisp/)]

2021-06-25 Thread Dave D
It seems the error is caused by function org-clock-remove-empty-clock-drawer called by org-clock-out-hook I have removed that function from the hook for now as a workaround.

Re: org-agenda no longer clocks out then in

2021-06-27 Thread Dave D
this commit https://code.orgmode.org/bzg/org-mode/commit/8e3e2f667f0b28b85845204b708c3f0aebc9152b probably fixes the issue. Could you perhaps give it a test?

Re: Bug: "before first headline" error when adding clock out note [9.4.6 (9.4.6-dist @ /home/wenlong/org-9.4.6/lisp/)]

2021-06-27 Thread Dave D
Thank you so much for the quick fix. On 28/06/2021, Nicolas Goaziou wrote: > Hello, > > Dave D writes: > >> It seems the error is caused by function >> org-clock-remove-empty-clock-drawer called by org-clock-out-hook >> >> I have removed that function f