From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id uEOdB7Ds9WOBQwEAbAwnHQ (envelope-from ) for ; Wed, 22 Feb 2023 11:21:36 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id IKWDB7Ds9WPlHwAAauVa8A (envelope-from ) for ; Wed, 22 Feb 2023 11:21:36 +0100 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 9302C93A0 for ; Wed, 22 Feb 2023 11:21:34 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pUmF5-0004cr-LN; Wed, 22 Feb 2023 05:20:55 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pUmF3-0004bG-Kq for emacs-orgmode@gnu.org; Wed, 22 Feb 2023 05:20:53 -0500 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pUmEt-0007iA-H2 for emacs-orgmode@gnu.org; Wed, 22 Feb 2023 05:20:46 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 2FF082404CA for ; Wed, 22 Feb 2023 11:20:39 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1677061240; bh=Om0ORe702Lc/aHDNDcSN3OIVu2wA/Jyp5YkQGMpnGW8=; h=From:To:Cc:Subject:Date:From; b=bQWONqJtVTNN95TDqaygQpXSAuJ9YoMX7CBRuzfJFZWzM9sqYUdxFeIn3kedPJAoW E5UHWcR7YJh5FPMlpG3zoztH1Q7h3Dsazo+UNmCoMtLRCj1BMW+VEOnmP5PzEjwnzC CCPdYXoP3vgbRBDh7EMogE0eJR6Avh18QlB338Ap0Tn0DrbgkI5ISJ+ZFYSrs+12Ja dke9P0q7qCdW5KIod0nTk1sVkoL2up2KBeCi/38R/khl2jxjRMjV20M5UvYjKBfiTP Feb4SEVnbWvsWvY4hAuh6C5HRBG049xC809Wo+Y7CfTkNbzakQtdjslGvb8nbm/bb5 MEFkQSez2Bw/Q== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4PMBxc3K0rz6tmd; Wed, 22 Feb 2023 11:20:36 +0100 (CET) From: Ihor Radchenko To: sting.startup-0y@icloud.com Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] C-S-up/down on first timestamp in clock malfunctioning [9.6.1 (release_N/A-N/A-747e60 @ /Users/[]/.emacs.d/elpa/org-9.6.1.0.20230218.123114/)] In-Reply-To: <2380D54F-DE06-4CBE-88AC-5906A6E9253A@gmail.com> References: <2380D54F-DE06-4CBE-88AC-5906A6E9253A@gmail.com> Date: Wed, 22 Feb 2023 10:21:18 +0000 Message-ID: <87v8juc869.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1677061296; a=rsa-sha256; cv=none; b=dfTEj8E/aI61c3vTrqlkUJYAziQbNbkNzE1DoyIv7c+YB13+1IOO1oKYIirxpl0jbe2Ocl wzFFLwyV62R3CGWM/G2MG6TWk/2HEr6hdfbxn/eX13iOycFdWNqEDVR/poff+w+C+90oIb vHpPzqFp2ITH4FLKF9/MMjei4iQwk1YReI1nL8p82+wxkPPXPBJ2QFIRxtcmgxexVscaQ+ Pxfw5OYahwWSmQu1M3fLlYUwoKkBG8dm3zysMTFJuv5sLbJKWsVuvntVgWq03NapKydDNB mDIU8CwWf4pAHDRjmv41ku1QFwdBroWZO4JOjneXNHe4aEDjNspBkyZNpp7vvg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=bQWONqJt; dmarc=pass (policy=none) header.from=posteo.net; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1677061296; 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=ycOQxynA68/P3u0vYwQgcMMY3aFq/0BOl6auEPan6Ps=; b=rhRqztIJBsgEIxWsTrblL0O4WM/hD5JqAKiewnp7jHExbJUBkwpaSdHLhte+NOtvfisSfw t1Z35gXLQu9xA8yOkmb7WcGD4ojqgPB0SYDFJQEyDl3oZYQrMyhTAk9T9LVp9ZweoOfcln xjlZvnXJWKFqbBRC0ymWL9dJZcKmK73xniRYdO79ra/HaCTt3oDWOJ/tF459qwd6I3Yiz5 QUOe4egbqmhgkszW53yI/MtEuyMWxZ+s2cMae3XWNH9amZ9exvflrRNk2SiFjOBZxcjnW2 pgDLKV1QBkVypMYXrSpNDIbGiYHjnwotqaxc5E5FFVLUdUSyLzVOara5fN1HEg== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=bQWONqJt; dmarc=pass (policy=none) header.from=posteo.net; 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: -6.15 X-Spam-Score: -6.15 X-Migadu-Queue-Id: 9302C93A0 X-TUID: 1GI1zCVYwmA2 sting.startup-0y@icloud.com writes: > Consider: > > * Test > :LOGBOOK: > CLOCK: [2023-02-19 Sun 22:30]--[2023-02-20 Mon 00:35] => 2:05 > :END: > > Hitting C-S-up/down in the first time stamp does not preserver duration, and can lead to negative durations, which "break" the clock. The same keystrokes work as intended in the second timestamp. Thanks for reporting. Fixed, on bugfix. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=7a90f596d -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at