From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id WBE3BaK7ImQ9JgEASxT56A (envelope-from ) for ; Tue, 28 Mar 2023 12:04:18 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id YEtBBKK7ImQOCwAAG6o9tA (envelope-from ) for ; Tue, 28 Mar 2023 12:04:18 +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 64C233AD8E for ; Tue, 28 Mar 2023 12:04:17 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="E8DVN/3+"; 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"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1679997857; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=sfLr/yCwikyAVET4w97ST2H+rsiDOj7Pvvca/dKWn+g=; b=kvfASIrVr7RGMpc8SmXcdFXyiF98nZNJVZhjTbtRRVHRdlr124aViGSfYJtu7CzXZYGq5S cu8WYsWmI/4oIm7bs0Jkw6WfpEpX8QL9EKlEBsUyVghtouzTr1jhrW8CR2axLF63tEJ9dN VAI13tbdJOxvDojIHv8CZ3PR9JLiEvv0nzZ9qVmxu1oFtHj3HcaWQ1U9544QYrY/URJlTM dYcgRbhsTGRdb64hRXufLGnT2mP8RgE2crt4FL+WV1qK5iTij7uUTPbCol/JTl7Y3Y4pli jUSB+7srKcsqF6TQTxttvto0+GVZQWP0ll5ukHX1+jqbHeFdLo3Rn8HZOmregQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1679997857; a=rsa-sha256; cv=none; b=XK6+RwpdsrDZmDgVPolc6MVTQvHQOS6MveIQTDdocpm7CZxKqlpkTbBVgxQzg9RT9OGLKx wj2XNUyxWXFqjmsACn5cAVtjzVuBtcT6vAJbaNXFjhYlJU99VZQNAoWoUr4vGlAQc/TsKV wkiSIUpvsldOZowEeEd0mMgIPIKDGk69iO+D43RoPFYXWa5uM12t5arzXRUyHDz3I9Chbv ZENzcx138u9r4sUfkqf4DqLuKVeY5+qTbYt7Y29rbn2YNe1pJPncGsk5B6rDYnG07NK5pY Eio4gBkIFQINEqG5595iXonNQ22XHnoj2s3f+X4de9fiz0VA05OAOR/Ex+uHuw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="E8DVN/3+"; 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"; dmarc=pass (policy=none) header.from=gmail.com Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ph6Am-0002Oh-JM; Tue, 28 Mar 2023 06:03:24 -0400 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 1pgNUU-0001hm-8P for emacs-orgmode@gnu.org; Sun, 26 Mar 2023 06:20:46 -0400 Received: from mail-ed1-x52a.google.com ([2a00:1450:4864:20::52a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pgNUQ-0007BY-Tn for emacs-orgmode@gnu.org; Sun, 26 Mar 2023 06:20:45 -0400 Received: by mail-ed1-x52a.google.com with SMTP id h8so24483717ede.8 for ; Sun, 26 Mar 2023 03:20:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679826040; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=sfLr/yCwikyAVET4w97ST2H+rsiDOj7Pvvca/dKWn+g=; b=E8DVN/3+c4rTjSO/M3MCEoSJ2ESvJl6K19wD0pQkTp58RZ+C/ynoITn8bc+7RZx7rn PBcC5DKFV7pLYZLCeliggnTV5iW2fqTXdwxysXg+Aspa2csBSZz5eJqvxCKzkK3qoC8O /l0Cx/8lfa5EEOzW/x+o1pr25MB1LkVHp4kMxqutSONPtt/P3+wKJx8m0updwSxV5QDx HV1ahQ5WcNc61zUr1fRePqQu1jsrFppqbdyhK+yjJUXhYbfYssxc0SsnFPE9VVWl2Sz0 DLv9AZ38Cn889YuFCTm16ITqrvle8HZPntt7Y/cm4Qtch+ZRE/ZC6jzkOx2eaWL35tIt U19g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679826040; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=sfLr/yCwikyAVET4w97ST2H+rsiDOj7Pvvca/dKWn+g=; b=RqxK3tuLuNFGybKDML9OFpAKHpwFNjWSqucx7PCsAxfWWG62/zYbOfi/pGPMZbAZ2Z RnsI41r/yKo98zWKa8ER4uPmnMFupBjy0+BHKLMaz7s8Tq/Jyhn6KTGbQxtr5EXamQvi pqijlHVdm846teKbgs0G8/mM+WFLP4YT7cB92lEjPJaU75nBMSGg+SbX6VWBoyIOAnf9 14reXVA4dOxxQFD3mG0k6Y5Mhfu60Wl4AE4806hrfSuqaObsaF98BBpPrPbSukh89vNg F2m7CPA/n91jpPOjQqo5rIwXwoxOjfxwQ213Q6hkedxqnA8tb8SW4JhrFqmOi78sZPoC zBpQ== X-Gm-Message-State: AAQBX9einjwHXTUQGaGsPqJv3u7+mwUksA4t1Uexcbx9wKE5fYWA8+Y4 eKtS3dPiVNBuDxlSFgDsWZ9lbQZoXJp8LNydd+KSlYbV94I= X-Google-Smtp-Source: AKy350avC+mHcVusa0tOJgmzJYu2193DlQO0Zo5ZtpcAJkNLwAa2R7rKNkfzaWfkWuJxjBwxB4lnjgng2GIcxrRdokk= X-Received: by 2002:a17:907:75d7:b0:930:f45a:51ce with SMTP id jl23-20020a17090775d700b00930f45a51cemr3785727ejc.9.1679826040156; Sun, 26 Mar 2023 03:20:40 -0700 (PDT) MIME-Version: 1.0 From: Tebe Nigrelli Date: Sun, 26 Mar 2023 12:20:24 +0200 Message-ID: Subject: Clock dates - org-shiftdown not working To: emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="00000000000068745105f7cafa0c" Received-SPF: pass client-ip=2a00:1450:4864:20::52a; envelope-from=nigrellitebe@gmail.com; helo=mail-ed1-x52a.google.com 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=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-Mailman-Approved-At: Tue, 28 Mar 2023 06:03:18 -0400 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: X-Migadu-Queue-Id: 64C233AD8E X-Spam-Score: -8.57 X-Migadu-Spam-Score: -8.57 X-Migadu-Scanner: scn0.migadu.com 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 X-TUID: Os/mqjrU29Ag --00000000000068745105f7cafa0c Content-Type: text/plain; charset="UTF-8" On a clean configuration, applying org-shiftdown does not work for the following date format, written as a clock. I want to reduce the number of hours on the second date from "03:" to "02:". This is what happens if I apply org-shiftdown: - On the minutes :: from ":XX" minutes, there is a decrease by the usual "default" amount (5 minutes), but after reaching "00", the count decreases to 55 without decreasing the number of hours to "02" - On the hours :: "03" does not roll back to "02", but can roll up to "04" or "05" - Minutes / Days / Years all work as intended This bug appears in a scratch buffer in org-mode. Manually editing the date and applying C-c C-c reverts the "02:" date to "03:" Instructions to reproduce the bug: Try doing org-shiftdown on the minutes "05" or the hours "03". Result: CLOCK: [2023-03-25 Sat 21:40]--[2023-03-26 Sun 03:05] => 4:25 Emacs : GNU Emacs 28.2 (build 2, x86_64-apple-darwin22.1.0, NS appkit-2299.00 Version 13.0.1 (Build 22A400)) of 2023-02-05 Package: Org mode version 9.5.5 (release_9.5.5 @ /usr/local/Cellar/emacs-plus@28/28.2/share/emacs/28.2/lisp/org/) current state: ============== (setq org-link-elisp-confirm-function 'yes-or-no-p org-bibtex-headline-format-function #[257 "\300\236A\207" [:title] 3 "\n\n(fn ENTRY)"] org-export-before-parsing-hook '(org-attach-expand-links) org-archive-hook '(org-attach-archive-delete-maybe) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-mode-hook '(#[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-show-all append local] 5] #[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-babel-show-result-all append local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes) org-confirm-shell-link-function 'yes-or-no-p outline-isearch-open-invisible-function 'outline-isearch-open-invisible org-agenda-before-write-hook '(org-agenda-add-entry-text) org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-confirm-elisp-link-function 'yes-or-no-p org-speed-command-hook '(org-speed-command-activate org-babel-speed-command-activate) org-tab-first-hook '(org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-link-shell-confirm-function 'yes-or-no-p org-babel-pre-tangle-hook '(save-buffer) org-agenda-loop-over-headlines-in-active-region nil org-occur-hook '(org-first-headline-recenter) org-metadown-hook '(org-babel-pop-to-session-maybe) org-link-parameters '(("attachment" :follow org-attach-follow :complete org-attach-complete-link) ("id" :follow org-id-open) ("eww" :follow org-eww-open :store org-eww-store-link) ("rmail" :follow org-rmail-open :store org-rmail-store-link) ("mhe" :follow org-mhe-open :store org-mhe-store-link) ("irc" :follow org-irc-visit :store org-irc-store-link :export org-irc-export) ("info" :follow org-info-open :export org-info-export :store org-info-store-link) ("gnus" :follow org-gnus-open :store org-gnus-store-link) ("docview" :follow org-docview-open :export org-docview-export :store org-docview-store-link) ("bibtex" :follow org-bibtex-open :store org-bibtex-store-link) ("bbdb" :follow org-bbdb-open :export org-bbdb-export :complete org-bbdb-complete-link :store org-bbdb-store-link) ("w3m" :store org-w3m-store-link) ("doi" :follow org-link-doi-open :export org-link-doi-export) ("file+sys") ("file+emacs") ("shell" :follow org-link--open-shell) ("news" :follow #[514 "\301\300\302Q\"\207" ["news" browse-url ":"] 6 "\n\n(fn URL ARG)"] ) ("mailto" :follow #[514 "\301\300\302Q\"\207" ["mailto" browse-url ":"] 6 "\n\n(fn URL ARG)"] ) ("https" :follow #[514 "\301\300\302Q\"\207" ["https" browse-url ":"] 6 "\n\n(fn URL ARG)"] ) ("http" :follow #[514 "\301\300\302Q\"\207" ["http" browse-url ":"] 6 "\n\n(fn URL ARG)"] ) ("ftp" :follow #[514 "\301\300\302Q\"\207" ["ftp" browse-url ":"] 6 "\n\n(fn URL ARG)"] ) ("help" :follow org-link--open-help :store org-link--store-help) ("file" :complete org-link-complete-file) ("elisp" :follow org-link--open-elisp)) org-metaup-hook '(org-babel-load-in-session-maybe) ) --00000000000068745105f7cafa0c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On a clean configuration, applying org-shiftdown does not = work for the
following date format, written as a clock. I want to r= educe the number of hours
on the second date from "03:&= quot; to "02:". This is what happens if I apply
org-shi= ftdown:
- On the minutes :: from ":XX" minutes, there is= a decrease by the usual
"default" amount (5 minutes), but aft= er reaching "00", the count decreases
to 55 without decreasing= the number of hours to "02"
- On the hours =C2=A0 :: "03= " does not roll back to "02", but can roll up to "04&qu= ot;
or "05"
- Minutes / Days / Years all work as inten= ded

This bug appears in a scratch buffer in org-mo= de.
Manually editing the date and applying C-c C-c reverts the &q= uot;02:" date to "03:"

Instructions to reproduc= e the bug:
Try doing org-shiftdown on the minutes "05" or the = hours "03".
Result:
CLOCK: [2023-03-25 Sat 21:40]--[2023-0= 3-26 Sun 03:05] =3D> =C2=A04:25

Emacs : GNU Emacs 28.2 (build 2, = x86_64-apple-darwin22.1.0, NS
=C2=A0appkit-2299.00 Version 13.0.1 (Build= 22A400)) of 2023-02-05 Package:
=C2=A0Org mode version 9.5.5 (release_9= .5.5 @
=C2=A0/usr/local/Cellar/emacs-plus@28/28.2/share/emacs/28.2/lisp/= org/)

current state:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D(setq
=C2=A0org-link-elisp-confirm-function 'yes-or-no-p
=C2=A0= org-bibtex-headline-format-function #[257 "\300\236A\207" [:title= ] 3 "\n\n(fn ENTRY)"]
=C2=A0org-export-before-parsing-hook = 9;(org-attach-expand-links)
=C2=A0org-archive-hook '(org-attach-arch= ive-delete-maybe)
=C2=A0org-cycle-hook '(org-cycle-hide-archived-sub= trees org-cycle-hide-drawers
=C2=A0org-cycle-show-empty-lines
= =C2=A0org-optimize-window-after-visibility-change)
=C2=A0org-mode-hook &= #39;(#[0 "\300\301\302\303\304$\207"
=C2=A0 [add-hook chang= e-major-mode-hook org-show-all append local]
=C2=A0 5]
#[0 &quo= t;\300\301\302\303\304$\207"
=C2=A0 [add-hook change-major-mode-= hook org-babel-show-result-all
=C2=A0 =C2=A0append local]
=C2= =A0 5]
org-babel-result-hide-spec org-babel-hide-all-hashes)
=C2= =A0org-confirm-shell-link-function 'yes-or-no-p
=C2=A0outline-isearc= h-open-invisible-function 'outline-isearch-open-invisible
=C2=A0org-= agenda-before-write-hook '(org-agenda-add-entry-text)
=C2=A0org-src-= mode-hook '(org-src-babel-configure-edit-buffer
=C2=A0 =C2=A0 org= -src-mode-configure-edit-buffer)
=C2=A0org-confirm-elisp-link-function &= #39;yes-or-no-p
=C2=A0org-speed-command-hook '(org-speed-command-act= ivate
=C2=A0org-babel-speed-command-activate)
=C2=A0org-tab-first= -hook '(org-babel-hide-result-toggle-maybe
=C2=A0 =C2=A0 =C2=A0or= g-babel-header-arg-expand)
=C2=A0org-link-shell-confirm-function 'ye= s-or-no-p
=C2=A0org-babel-pre-tangle-hook '(save-buffer)
=C2=A0or= g-agenda-loop-over-headlines-in-active-region nil
=C2=A0org-occur-hook &= #39;(org-first-headline-recenter)
=C2=A0org-metadown-hook '(org-babe= l-pop-to-session-maybe)
=C2=A0org-link-parameters '(("attachmen= t" :follow org-attach-follow :complete
org-attach-complete-link)=
=C2=A0 =C2=A0 =C2=A0 ("id" :follow org-id-open)
=C2= =A0 =C2=A0 =C2=A0 ("eww" :follow org-eww-open :store org-eww-stor= e-link)
=C2=A0 =C2=A0 =C2=A0 ("rmail" :follow org-rmail-ope= n :store
org-rmail-store-link)
=C2=A0 =C2=A0 =C2=A0 ("mhe&= quot; :follow org-mhe-open :store org-mhe-store-link)
=C2=A0 =C2=A0 = =C2=A0 ("irc" :follow org-irc-visit :store org-irc-store-link
= :export org-irc-export)
=C2=A0 =C2=A0 =C2=A0 ("info" :fo= llow org-info-open :export org-info-export
:store org-info-store-link= )
=C2=A0 =C2=A0 =C2=A0 ("gnus" :follow org-gnus-open :store=
org-gnus-store-link)
=C2=A0 =C2=A0 =C2=A0 ("docview"= :follow org-docview-open :export
org-docview-export :store org-docvi= ew-store-link)
=C2=A0 =C2=A0 =C2=A0 ("bibtex" :follow org-b= ibtex-open :store
org-bibtex-store-link)
=C2=A0 =C2=A0 =C2=A0 (= "bbdb" :follow org-bbdb-open :export org-bbdb-export
:compl= ete org-bbdb-complete-link :store
org-bbdb-store-link)
=C2=A0 = =C2=A0 =C2=A0 ("w3m" :store org-w3m-store-link)
=C2=A0 =C2= =A0 =C2=A0 ("doi" :follow org-link-doi-open :export
org-lin= k-doi-export)
=C2=A0 =C2=A0 =C2=A0 ("file+sys") ("file= +emacs")
=C2=A0 =C2=A0 =C2=A0 ("shell" :follow org-lin= k--open-shell)
=C2=A0 =C2=A0 =C2=A0 ("news" :follow
#= [514 "\301\300\302Q\"\207"
=C2=A0["news" br= owse-url ":"] 6 "\n\n(fn URL ARG)"]
)
=C2= =A0 =C2=A0 =C2=A0 ("mailto" :follow
#[514 "\301\300\30= 2Q\"\207"
=C2=A0["mailto" browse-url ":&quo= t;] 6 "\n\n(fn URL ARG)"]
)
=C2=A0 =C2=A0 =C2=A0 (&qu= ot;https" :follow
#[514 "\301\300\302Q\"\207"
= =C2=A0["https" browse-url ":"] 6 "\n\n(fn URL = ARG)"]
)
=C2=A0 =C2=A0 =C2=A0 ("http" :follow #[514 "\301\300\302Q\"\207"
=C2=A0["http&quo= t; browse-url ":"] 6 "\n\n(fn URL ARG)"]
)
= =C2=A0 =C2=A0 =C2=A0 ("ftp" :follow
#[514 "\301\300\30= 2Q\"\207" ["ftp" browse-url ":"]
=C2= =A06 "\n\n(fn URL ARG)"]
)
=C2=A0 =C2=A0 =C2=A0 (&quo= t;help" :follow org-link--open-help :store
org-link--store-help)=
=C2=A0 =C2=A0 =C2=A0 ("file" :complete org-link-complete-f= ile)
=C2=A0 =C2=A0 =C2=A0 ("elisp" :follow org-link--open-e= lisp))
=C2=A0org-metaup-hook '(org-babel-load-in-session-maybe)
= =C2=A0)
--00000000000068745105f7cafa0c--