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
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
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
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.
this commit
https://code.orgmode.org/bzg/org-mode/commit/8e3e2f667f0b28b85845204b708c3f0aebc9152b
probably fixes the issue. Could you perhaps give it a test?
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