From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id QHRUAQKtR2O8ZgEAbAwnHQ (envelope-from ) for ; Thu, 13 Oct 2022 08:15:30 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id sEh6AAKtR2MvqQAAG6o9tA (envelope-from ) for ; Thu, 13 Oct 2022 08:15:30 +0200 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 A7B8D14D22 for ; Thu, 13 Oct 2022 08:15:29 +0200 (CEST) Received: from localhost ([::1]:34750 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oirVA-0001JC-43 for larch@yhetil.org; Thu, 13 Oct 2022 02:15:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43926) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oirUC-0001J3-2c for emacs-orgmode@gnu.org; Thu, 13 Oct 2022 02:14:29 -0400 Received: from mail-pf1-x433.google.com ([2607:f8b0:4864:20::433]:45593) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oirU6-00014E-QS for emacs-orgmode@gnu.org; Thu, 13 Oct 2022 02:14:26 -0400 Received: by mail-pf1-x433.google.com with SMTP id 67so1040233pfz.12 for ; Wed, 12 Oct 2022 23:14:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=Cw3gmfnXW+V416dVhzPAsATx9XHkQBeVxAUTmA4NtdY=; b=IuwXRbVAL1rSPH/uquxX7Pn0OerGpOyTndywNP33HjiDKHybRZSzbcb9RV532oa2Ss /zC+u0Zvk25V7yDEithPbWVSxfAY8LRJG1ypUe0Bf6X1Q8+oIp3IqeCb1kXpxJGV4a65 UF06BFF7M6MX8Rhod797jrnLD4TT1Fex0oMcpzYA22wyRjaCq8lUxtS2VOWXO7S0jJ5z 1KKJWyTOhTABk+rl9a/D8QrtwTtwFspclnohhjrHwK50sMyyKDL2U3x9CUW2PW89sdcB nheTU5dvoJveZwn8aFtWscDV5oyhEnR8bWJKgH9GlOcc523Q3DFHYEXxFa5sL2vE1gb2 CtAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Cw3gmfnXW+V416dVhzPAsATx9XHkQBeVxAUTmA4NtdY=; b=wmjdHawrVcIphFz/qDSDWFDHZx7o/tfs+LN8dm2S5PwQRp8BZbLzgOF2YZ4o+LQlpt X0lUEVdoiVIfIO/dHrZUY2FLnfImrtHujM3UXqG0W1+44f46hyGSXGJUKZMxpY36BYWj otQJi8JovaA6S8DJtQKpZ2EyEOSjpTEL6INggxfw68+K8bd9GZfVLP7pThIdGd1JOr6m m/yirguBMVf3xarY7reKUM8prpstZwwZrCscQOg+yslIrdpuJKiIpghAH8on4NKbETe6 Clv64O4hQqHGrWrBpe6IzNjZAWvm8qCO3ws1oYOru4A8418/Qfpe7af8RxKySqgYdWOU krig== X-Gm-Message-State: ACrzQf0OWDoqCisB7v2ogZU1nOxLGzK1zq6Dh5VFQ5BiXw1z56H7flY1 NbGwP8+bYa1WwBlzbqVvW04= X-Google-Smtp-Source: AMsMyM5mZlQcFgZmUZmm1DswnybRfu1lfBdkr2Ajc0Zs1priuJxEnFB1F3rGRFWlQuM3hl0fqIttSA== X-Received: by 2002:a63:ef18:0:b0:439:befc:d89c with SMTP id u24-20020a63ef18000000b00439befcd89cmr27835622pgh.504.1665641661036; Wed, 12 Oct 2022 23:14:21 -0700 (PDT) Received: from localhost ([2409:8970:af2:32f:6c23:3ad5:f37d:541b]) by smtp.gmail.com with ESMTPSA id n62-20020a622741000000b0053725e331a1sm984266pfn.82.2022.10.12.23.14.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Oct 2022 23:14:20 -0700 (PDT) From: Ihor Radchenko To: Gregor Zattler Cc: emacs-orgmode@gnu.org Subject: Re: [BUG, confirmed] org-clock-in calling org-clock-sum fails leaving incomplete CLOCK line when encountering existing malformed CLOCK lines In-Reply-To: <87y1yecmgb.fsf@localhost> References: <87o7zfoze0.fsf@no.workgroup> <877d621ejm.fsf@localhost> <87h754bdlk.fsf@no.workgroup> <87y1yecmgb.fsf@localhost> Date: Thu, 13 Oct 2022 14:15:02 +0800 Message-ID: <87czawtfkp.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::433; envelope-from=yantar92@gmail.com; helo=mail-pf1-x433.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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_ENVFROM_END_DIGIT=0.25, 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.29 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 X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1665641729; 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=Cw3gmfnXW+V416dVhzPAsATx9XHkQBeVxAUTmA4NtdY=; b=NSate13nH41u02goDneLNcDaFdVUoq/N1I0Agz7scmyCpo3lYxx78YLQ7OjupbPwWWZFIR j6VUkm6AgdAiGynfNwadRQIIOY4aAsWHZitFvn89apjsxd1g5/vh4wACXxqmd9gOllphJJ a2cupdJ+6ohnhQB/fH9LOIqlnMPg6vw13A3zwLXUmw18GdnU75XXd8XSjOr0xw+QdZ6B52 jk11aDCWGcoGKJLup7D5sdsfJY9a2VmmDschnQDFlG0tAWETeQIU6nVIofskIiRIPTl8TU OwtVpVbX5sp2aYWXhHObODR7NJvjTj6ayBIYEo8MIfBrzJaA7oJIs2eqXfPLKA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665641729; a=rsa-sha256; cv=none; b=tx6IGUAtFQJVl1ZwmXZsZJp2lLc4YWM+eWeUbPGmq3m92SAw9BuIyLfkTeZTJMJdud0Wwp jWWN/WD6V44FDzbbt2DPSlEYEgnqe8Xj2zNB+t87ZIQHTVCtEnLt9nTrmHfHVjQd51iqnx QmmoRjDUZjIK2FF5dN/OKBDao0pHfArZQ3lJ2KJUG3Pzq/lMPKsuH80rCwYhrOKv1nIrBe 1RYi+mOLTmamB3Euoc6SoU6rrNGocv5nB8qHW8m3R5EICNF3/TE9TkdESEeRjT5eaML8oh X3BCIp6qjfmF0HFdUD1Rz98EnMTgXnDzx0CUVaXJYcWfFa5k5Jd9C+b2rklJ2w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=IuwXRbVA; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.90 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=IuwXRbVA; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: A7B8D14D22 X-Spam-Score: -1.90 X-Migadu-Scanner: scn1.migadu.com X-TUID: 0rX2ofTHE8Wi Ihor Radchenko writes: >> Please see the attached test.org and call Emacs like so: >> >> >> /usr/local/bin/emacs-29.0.50 -Q -L ~/src/org-mode/lisp /tmp/test.org --eval '(switch-to-buffer "test.org")' -f org-clock-in > > Thanks! > Confirmed using the described steps. Fixed on main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=3790bf8ea1d070055a989f0b9587948e07877977 -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at