From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id +B23D+6K2GBO3wAAgWs5BA (envelope-from ) for ; Sun, 27 Jun 2021 16:27:58 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id pQ0/C+6K2GC1dgAAbx9fmQ (envelope-from ) for ; Sun, 27 Jun 2021 14:27:58 +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 955B81BD2F for ; Sun, 27 Jun 2021 16:27:56 +0200 (CEST) Received: from localhost ([::1]:52040 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lxVlK-0005Ll-2d for larch@yhetil.org; Sun, 27 Jun 2021 10:27:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50600) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lxVkx-0005Ld-AJ for emacs-orgmode@gnu.org; Sun, 27 Jun 2021 10:27:31 -0400 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:45575) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lxVkv-0008UU-5P for emacs-orgmode@gnu.org; Sun, 27 Jun 2021 10:27:31 -0400 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id 9FE87FF802; Sun, 27 Jun 2021 14:27:25 +0000 (UTC) From: Nicolas Goaziou To: Dave D 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/)] References: <87o8buaner.fsf@HUE.i-did-not-set--mail-host-address--so-tickle-me> Date: Sun, 27 Jun 2021 16:27:24 +0200 In-Reply-To: (Dave D.'s message of "Sat, 26 Jun 2021 10:54:35 +1000") Message-ID: <874kdj4c37.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=217.70.183.199; envelope-from=mail@nicolasgoaziou.fr; helo=relay9-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, 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=1624804076; 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; bh=Z+IjJdztNO7YPyjP8XRzPXQfKxUjCr87eJL7u14ZVSg=; b=dL39QlI9hPytCV8voPp1w+YQQP9OxJS0RX3k/JVin53eD3ox8cW3lOBDttvNAHDXL+c9h+ +dH2epiDNAd3Vl6Ob71WofMzoKFx2Ek48G+cXXKf9l7C7duvCz6PGYgl7eBJY9MoL0HfiZ QlxwTuPzqSjF8jiT2yOgOBtdi+quUwF0vAe+SomyJGcxoUzTkhh0b48bBnvVHWDzb6tSew p7yp1nOnxW8YuquJdxHUmx3ZLg9DcHQjoaSTvqhAOMLIUope+xg0qD2Fnw7s+v04pvMSm3 hdfhZ5pNjkWYlR//I4zdaOFsVisFX4NfND+3/oZ+eYDBet9OawyHdz1n6eesKQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1624804076; a=rsa-sha256; cv=none; b=E+1NYmSoaGl9x8rIWT1gD4P3+lWNH0sKLEaJzzuE+qn/aHPIg0RGNmD5gZNwrBrw222JL3 LGPGD5slzuPPV4QgbvQybKZKCnEPyGLoK4f158Cd6r0lHXrLPiKaihnj1NKEPjbvsj+vJ9 MfbByvW70kUgT9jR4wToxTUZhJmC4sN5/mLNVUa0I3yBo3lUwQ0Cw2WTAnWyPEY4SitMfZ AlkJVIVuLVDo+p+D0obtl0LXFhkEgIGwSNMHDtyCwB5lavtrd6Yq45J6qBKDcp4ysAKU1D DrsD42X8aCplZFP0f12wKGOtOHU6SPmhnLBdKshuE55+AICQRJSxjXA0LLk21A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; 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: -2.43 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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: 955B81BD2F X-Spam-Score: -2.43 X-Migadu-Scanner: scn0.migadu.com X-TUID: Yi1kmcZqxmmV 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