emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Dave D <wenlong.dai@gmail.com>
To: emacs-orgmode@gnu.org
Subject: 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/)]
Date: Sat, 26 Jun 2021 10:54:35 +1000	[thread overview]
Message-ID: <CAP=AKM_YS4ZamhNeZqi6LgkrTmhhkoh5ZVN2aD7fE8tCH0KH9w@mail.gmail.com> (raw)
In-Reply-To: <87o8buaner.fsf@HUE.i-did-not-set--mail-host-address--so-tickle-me>

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.

  reply	other threads:[~2021-06-26  0:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-24 22:49 Bug: "before first headline" error when adding clock out note [9.4.6 (9.4.6-dist @ /home/wenlong/org-9.4.6/lisp/)] Dave Dai
2021-06-26  0:54 ` Dave D [this message]
2021-06-27 14:27   ` Nicolas Goaziou
2021-06-28  2:31     ` Dave D
  -- strict thread matches above, loose matches on Subject: below --
2021-06-24 22:48 Dave Dai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAP=AKM_YS4ZamhNeZqi6LgkrTmhhkoh5ZVN2aD7fE8tCH0KH9w@mail.gmail.com' \
    --to=wenlong.dai@gmail.com \
    --cc=emacs-orgmode@gnu.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox


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).