From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id mNKYGmN7IWE1TwAAgWs5BA (envelope-from ) for ; Sun, 22 Aug 2021 00:17:07 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id uNkqFmN7IWEgIAAAbx9fmQ (envelope-from ) for ; Sat, 21 Aug 2021 22:17:07 +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 9DCA89621 for ; Sun, 22 Aug 2021 00:17:06 +0200 (CEST) Received: from localhost ([::1]:33778 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mHZIW-0001HT-CP for larch@yhetil.org; Sat, 21 Aug 2021 18:17:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36376) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mHZHx-0001HI-Lt for emacs-orgmode@gnu.org; Sat, 21 Aug 2021 18:16:29 -0400 Received: from knopi.disroot.org ([178.21.23.139]:40938) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mHZHv-0003hF-1N for emacs-orgmode@gnu.org; Sat, 21 Aug 2021 18:16:29 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 7FCE263790 for ; Sun, 22 Aug 2021 00:16:24 +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 9cyF7qryAAdY for ; Sun, 22 Aug 2021 00:16:23 +0200 (CEST) From: "Jorge P. de Morais Neto" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1629584183; bh=bxIkL9GQKpG6NcOb85jX3csawiBKn5EqQHx6n6uDj1s=; h=From:To:Subject:Date; b=mcwvr+HUaZnycpqSJQmIsQpzocoNHdbSyvRLx/IQXjFsFF4Brg68Adjww2wknGdfR /pHBEcX9NXZ34dh49wLRCbH/grzosgwD6+djtyscPh592OT1MEoOmX2kOH91BX9FmQ o4agTyn3dFtHnoav9otJnGWaj5LaCTNHi6uK/4GSycwySbm1hmJ88+sSJKxdLASpag rMRkVNZK0oi5u3NE28NH+PcrDWhNj1f8eiQ5Rp8c4HzbjkM92ME7zK1I8kOB4idHWv 55xNKEme08pVTpVZ73Y8DdP2Bpoy7O57whynDrD2bfYud3fXgyiuT8Kqtt2rzkamOA uQ9xgIic5ixJg== To: emacs-orgmode@gnu.org Subject: S-M-{,} on CLOCK timestamp Mail-Followup-To: emacs-orgmode@gnu.org Date: Sat, 21 Aug 2021 19:16:19 -0300 Message-ID: <87sfz2zbnw.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, 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: , 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=1629584226; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=0EJvgr8pbA14817E1D0JxZP3pqG7pzBm9L/YoUCe3T0=; b=t/SIOEbnT7MySXpkyYutG69gWtq2V14a0o51TBh3UJeK4S1THFMst1lSy2MkZVIvUPMdSe f2eAg0koUJccbSe8olo2l5Yi2iu6ZfKq3lGU12cemqgDpC3vKNkYvmiDYZDMiRQyxAnEFD UPBP/1WUlmRhAIQ/En4qqqpfnP9aLcux7j6Bg+Gonk5NeaV3CCf15RMaUyvxqLyn8Eacjl lN7NcCGY7BXp2y11VVlPSoAy7LEdSvxMrdk5LwOwr54kHewch8O79Sns3MW3J/1C+oMvaq qvR/yErjHS1K2Afwslg9epBmyd7KCRGZQSjx/pTK6m73qupRC/L3A3CBbdSSPQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1629584226; a=rsa-sha256; cv=none; b=U4lu/KyEO42Z+kL1GyI7KsK8xhas8VhPCoOHi4WbITtceRJMb5BJk8+c8qP0YJU1sUP6u1 5Yv5Fv4jArMsQnd4GxBKHkNbVNptXB0oPb1mgriXdiDbd1ZcmdA2keVOMGrg52oSDjEFE9 a97wwdYrQb9GLoU7O+C84NK5SaWWF0wTLntGiMamlWJb7PcYa5yxtGhkPEoHqA9ghToC6F fAGogvqImuJ1CQ0ydMKYCu3jnGWrJar5+OU0AWdoXOar57KGu4UJ34pGt7uixZ3/cgRyQq o4DAsKyGJAS0kwMi9RbSXIWhYOxDWoBfTXrPsrARJsJFQacsDDE7EGher+YKfg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b=mcwvr+HU; 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.62 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b=mcwvr+HU; 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: 9DCA89621 X-Spam-Score: -2.62 X-Migadu-Scanner: scn0.migadu.com X-TUID: o/Af83Gyk5I3 Keywords: org-timestamp-down org-timestamp-up Hi. Suppose the buffer has the following text: * Task A :LOGBOOK: CLOCK: [2021-08-21 s=C3=A1b 18:00]--[2021-08-21 s=C3=A1b 18:10] =3D> 0:10 :END: * Task B :LOGBOOK: CLOCK: [2021-08-21 s=C3=A1b 18:18] :END: If I invoke M-S- on Task B's clock-in timestamp, with point right after the colon that separates HH from MM, then it correctly changes to 18:15 (decreases by three minutes), but Task A's clock-out timestamp changes to 18:05---decreases by *five* minutes. In my opinion, in this case the previous clock-out timestamp should not change at all, because it was already less than 18:15. But even if you do think it should change, then surely you at least agree that it should change by *three* minutes, just like Task A's clock-in timestamp. This occurs on GNU Emacs 28.0.50 installed with ~guix package --with-branch=3Demacs-next=3Dmaster -i emacs-next~ (upgraded last Thursday morning), invoked as ~emacs -Q~. Note that on my Guix-installed Emacs, an ~emacs -Q~ does load the emacs-org Guix package (version 9.4.6). Note also that my Org Mode has been patched with Ihor Radchenko's patch to org-clock.el (attached to my previous message), but it clearly can't influence this problem. Regards Emacs : GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24= .24, cairo version 1.16.0) Package: Org mode version 9.4.6 (9.4.6-gab9f2a @ /gnu/store/yg6kjzigqyfzbkz= j99xmwmv3nssvhvnq-emacs-org-9.4.6/share/emacs/site-lisp/org-9.4.6/) --=20 - Disinformation flourishes because many people care about injustice but very few check the facts. Ask me about - I am Brazilian. I hope my English is correct and I welcome feedback. - Free Software Supporter: https://www.fsf.org/free-software-supporter - If an email of mine arrives at your spam box, please notify me.