From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id qNmWN+0Gs2AdcgAAgWs5BA (envelope-from ) for ; Sun, 30 May 2021 05:30:53 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id MDnSMu0Gs2CMcAAAB5/wlQ (envelope-from ) for ; Sun, 30 May 2021 03:30:53 +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 28C492740E for ; Sun, 30 May 2021 05:30:53 +0200 (CEST) Received: from localhost ([::1]:48398 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lnCA6-0007H9-RB for larch@yhetil.org; Sat, 29 May 2021 23:30:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38672) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lnC9d-0007FQ-NU for emacs-orgmode@gnu.org; Sat, 29 May 2021 23:30:21 -0400 Received: from knopi.disroot.org ([178.21.23.139]:46690) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lnC9a-0001GU-O1 for emacs-orgmode@gnu.org; Sat, 29 May 2021 23:30:21 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id A802351561 for ; Sun, 30 May 2021 05:30:15 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JYUmx5Qnr5cc for ; Sun, 30 May 2021 05:30:14 +0200 (CEST) From: Jorge P. de Morais Neto DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1622338749; bh=wx4PRhaH+EF642eqAuV8ZU2WnRIKhOyXlYzem3oF3vM=; h=From:To:Subject:In-Reply-To:References:Date; b=iM2yFntl69F9HZzu1AnTkn+CFvY6ICmVYSLoz4zjNtiZzbZVaZI4XxDFPz2m0246B ZE8I8vuWtA2ZF6S9YDMsCGRgipmD2Q1UUOEwdTGVuVRwS2zklsdRiw3a+hGd3VdYof GMm9QhXHM6+7pkhYHgqWoVBq72YJL/R/z24k8e77PUnll1fXC1TqCdryXDs676G5QI pFA1MxjRriRcc8a/SlVueCgDYq+K8BwqvcHXM3eMSsr4d9MCukIQvmmO+9fbx6HTmW ZeiNLns+YjbA+YP6sTereqrc13qhGJC1wVOxMHXyzX1WFDueMoYGApM1vn2qEn7iMB uyiWqn9nRVCQA== To: emacs-orgmode@gnu.org Subject: Re: Bug: Reclocking errors out if org-log-note-clock-out is t [9.4.6 (9.4.6-gab9f2a @ /gnu/store/2pny4z6mbi2aybgzzxz0yrzkds7hbpmq-emacs-org-9.4.6/share/emacs/site-lisp/org-9.4.6/)] In-Reply-To: <87h7ilm484.fsf@disroot.org> References: <87h7ilm484.fsf@disroot.org> Mail-Followup-To: emacs-orgmode@gnu.org Date: Sat, 29 May 2021 22:39:06 -0300 Message-ID: <87eedpm24l.fsf@disroot.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=178.21.23.139; envelope-from=jorge+list@disroot.org; helo=knopi.disroot.org 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, 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: , 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=1622345453; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=rwh+ZiY7yzeunITt18HFWwQmwQo78uQJzGY4708veWE=; b=gffdiSa9fGbkzRemQ8qmcF1SsFo+OWXjSql+nxd1QjUXcqNhtpRgikddOMAs76nyHxS6Ne sBSAFhfh2kYbQYzF0dqqB7zz5K1AQYIlrLe2E4Ylmy0mbcrLpp7GH35+8Swxwumd5ctM92 40Kn6NroxaDtBaAA34CrAQTD3j24Ih4LD8h2HVqKfPHnpR5qWro+1Wn+Znu2bV1IHjVRRp 6C/Bx66aYCV+ErYT5JE/h4mqrGj1DMgkdSmYtvvcGMMXS3ZAs5DEvrqd0vT6tcxhIxhP1+ cy/4oCa40a47QHs2GoFFIQiIT+I0toDe4kulh6TUh8mNs/zhUC6laZkvrcXDpQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1622345453; a=rsa-sha256; cv=none; b=rkDeYZ2+Eayzz7eVG5hZdnKI3EU8aUnb8ECvKWv1zB4FHgbADQjU2NdJ8mh+9yxSUkO+G2 gLowSPnEpoCo4NKIqI4gRFGomU6v0xVwcUhKVddoHZDxfs36RSPHbxmhhR69VKsLKeeYLe NBgIgzAxFO//U+Jd03KSywwws0NvXthB09To2z+MgCpwMK3MXMSPNrsk6+ShDRhlK34DHS Ukedg2rrPbhSEobm6Rhxh/S1yHeEWIlmlzsoaU15RtIlOV9JRYqITdQTt4kXmDlDVzWXeE zW8GqEH7KMZxutDo2C3c8cd166xPHT9gGs10QnCuQC1XHGOPfefrahR0ZYSdnA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b=iM2yFntl; dmarc=pass (policy=quarantine) header.from=disroot.org; 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.63 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b=iM2yFntl; dmarc=pass (policy=quarantine) header.from=disroot.org; 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: 28C492740E X-Spam-Score: -2.63 X-Migadu-Scanner: scn0.migadu.com X-TUID: xmkp6TMbgpqn Hi. I continue below: Em [2021-05-29 s=C3=A1b 21:53:47-0300], Jorge P. de Morais Neto escreveu: > I stepped through the code and verified the error is triggered at line > 1726 on file org-clock.el. This is the form > (org-back-to-heading t) > on function `org-clock-remove-empty-clock-drawer'. That function runs > as a hook because of line 1717 on file `org-clock.el': > (run-hooks 'org-clock-out-hook) > on function `org-clock-out'. For the record: I don't remember why I couldn't get a clear backtrace and resorted to stepping through the code until I found the error; but I am indeed aware the stepping is unnecessary in a case like this. Regards --=20 - "In Support of Richard Stallman" - If an email of mine arrives at your spam box, please notify me. - Please adopt free/libre formats like PDF, ODF, Org, LaTeX, Opus, WebM and= 7z. - Free/libre software for Replicant, LineageOS and Android: https://f-droid= .org - [[https://www.gnu.org/philosophy/free-sw.html][What is free software?]]