From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id kIsJNZs02WCzmQAAgWs5BA (envelope-from ) for ; Mon, 28 Jun 2021 04:31:55 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id wH2lMJs02WBhXgAAbx9fmQ (envelope-from ) for ; Mon, 28 Jun 2021 02:31:55 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 13F972B724 for ; Mon, 28 Jun 2021 04:31:55 +0200 (CEST) Received: from localhost ([::1]:51568 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lxh3x-0001QD-LA for larch@yhetil.org; Sun, 27 Jun 2021 22:31:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43028) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lxh3T-0001Q2-UW for emacs-orgmode@gnu.org; Sun, 27 Jun 2021 22:31:24 -0400 Received: from mail-ed1-x52d.google.com ([2a00:1450:4864:20::52d]:34413) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lxh3S-0006wJ-Ho for emacs-orgmode@gnu.org; Sun, 27 Jun 2021 22:31:23 -0400 Received: by mail-ed1-x52d.google.com with SMTP id i5so23391762eds.1 for ; Sun, 27 Jun 2021 19:31:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=doVnchpFFwSGNufGrar8Ast2ZZmtkK0rXD4vAg+Geks=; b=bxLr0Pju7+i49g1q0L9+sJDn7FPhAVoN+MXwWfqJ9FfgqbBNC1+9lijHBsrVz1GMpw lDGxIcwn1+hp1p1tmx3MQtP1UPelBU1ZfpXWb2lK3OGvFyniboKY54TVzYqfce2OXAiq Wop58iU7dgjw8vs0U/K7wUolbtzq/P7ZPzU44i3f/fM3m6TOBsCFjRzAMe4bvGoIkbDV GCIcMgNl1jHFQpM8ggu5GFKpHRRjE+VdisOmJTnSm9mXxPkfTY54BXUTa7WPBVNYAuB8 lGOsdriY1412IYWT35rRHveAFOPRDeW0UYKndLJybArOmfSGkVegHPtP5R1BhYRVCvJb 3ePg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=doVnchpFFwSGNufGrar8Ast2ZZmtkK0rXD4vAg+Geks=; b=XAxT/6zs17wefJlqWMzqMOY/U7LPDg/FDt+L/1kmbWhgJxYsh3MkrliXHSI7Ef8Zfs AuJM9+oFE5jOwpaH4RkNyl55AtdGLFw38PmTv2gFvr24Q0nzKKz+2MNs4ucy3BM4ynGZ gzHhS1tAIJ7sIL6Aph57WP/Hk9uN0WwFDPN7mOLjg63tuT2TrAEHzPKc8OwDJ/oDALLl z8r7imFySusuQT69ONW+N4x6AKxrzKYZT+64Kux1if3KfH8kyBxFv7Blds5KiOX8ktw6 q+SZqhWo89PKclu3dlMxGJAbRM5+K39pJitiCd21THEgHUchZpBje9KTnIxjjRwweFn9 J3sQ== X-Gm-Message-State: AOAM531maGPl89dFmcvTVHyhvWHwcYJ9oox4DWOnLD0Stw9354s94prs SseFHuUZ+PykH/KuLBScyxqkY6YVY9/gufZs2wU= X-Google-Smtp-Source: ABdhPJyAbzQZygFTDo71plk1/iZE3EY8nFiakuqlLgDGJEPC+TKcAdATWIcf8ywGpzJqj5svYoy7bhLOVMt7XVP52KA= X-Received: by 2002:aa7:cb9a:: with SMTP id r26mr30518573edt.78.1624847481002; Sun, 27 Jun 2021 19:31:21 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a55:8c0a:0:b029:e9:8d1a:45bf with HTTP; Sun, 27 Jun 2021 19:31:20 -0700 (PDT) In-Reply-To: <874kdj4c37.fsf@nicolasgoaziou.fr> References: <87o8buaner.fsf@HUE.i-did-not-set--mail-host-address--so-tickle-me> <874kdj4c37.fsf@nicolasgoaziou.fr> From: Dave D Date: Mon, 28 Jun 2021 12:31:20 +1000 Message-ID: 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/)] To: Nicolas Goaziou Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::52d; envelope-from=wenlong.dai@gmail.com; helo=mail-ed1-x52d.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1624847515; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=doVnchpFFwSGNufGrar8Ast2ZZmtkK0rXD4vAg+Geks=; b=Fd/ez3raGJco0Gfx+SkONdimVGvjhEs8DLay2rR92b9IID833WUVoSA4HRym2fxvndNmg0 ufmgjpBVPkJyzKPQ+EnSSh8r5Eru6YT85QgWgOhN8oVyC6p67Q4RAn36rKQ67UXcJpzQpJ jcj0QSQsRJ2Ur5utlG6f5HAqNiXW2R0DZMu7XB8JJAiGfXtfETlMzP5QR4EVbV6zh5Duss eCZgIOeFkylJtgxIVoN+sQaD01og3lXQgjm69qSjeNmW5C4jnyzIfKWCl/e8iuEFS83Bqa z+WX+Dn+gVFoMZR20sQuL5xe92Nb7THBAkxcfGo5RuSIPWNZXu46htKGNfcOug== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1624847515; a=rsa-sha256; cv=none; b=hJ/MX7MfW+lOnaCSpTwRTYmGZzB1mtRg9evapyW6ZXg/L2O0ykGUa+cazKxgTkRGoGX+Jv GWb84hnD2vKRLSF0DLcV+5tYPf1TAITZ3u68HPPALiCimjTjSU3Omx6m4DsbLFND7Sejaa K+a+FF7Wqem67MOPpmMM9kftl7YG3FmtkefoG8kXwiDMaUEbAOEWfuuiRlxRHRlkHVe42V qw+jJ/aFLcEEHMArEDEgPgXvB6W58NYg2qerCJP2hPmv0y4nSfpxGD8uY2YrOXijdMRwfy nNlOFvuDIjsRY4eJZfoFy0AkU4PhxEKeaFw6/YZqOI9gp+rxSeg3A6DorgMYSQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=bxLr0Pju; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -1.62 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=bxLr0Pju; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 13F972B724 X-Spam-Score: -1.62 X-Migadu-Scanner: scn1.migadu.com X-TUID: /x7UMBLhJhbj 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 from the hook for now as a workaround. > > I pushed a fix in master. > > Thank you. > > Regards, > -- > Nicolas Goaziou >