From: Jorge P. de Morais Neto <jorge+list@disroot.org>
To: emacs-orgmode@gnu.org
Subject: Re: S-M-{<UP>,<DOWN>} on CLOCK timestamp
Date: Tue, 02 Nov 2021 11:30:27 -0300 [thread overview]
Message-ID: <87o872mxz0.fsf@disroot.org> (raw)
In-Reply-To: <87ee9d626r.fsf@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 680 bytes --]
Hello Timothy, Tim, everyone! I apologize for the delay and (finally)
reply below:
Em [2021-09-25 sáb 08:22:43+1000], Tim Cross escreveu:
> I'm now confused over this bug report. Originally, two similar bugs
> were reported at the same time. I was able to confirm one and not the
> other. The added instructions seem to be a hybrid of the two bug
> reports, so I'm now confused and not sure on what was the precise bug
> for the second report. Based on what I *think* was the second bug, I
> cannot reproduce it, but I have little confidence in that.
My (English) writing skills seem to be failing me, so I made an animation
with the gif-screencast package:
[-- Attachment #2: Bug when adjusting Org Mode clock timestamps --]
[-- Type: image/gif, Size: 406216 bytes --]
[-- Attachment #3: Type: text/plain, Size: 2380 bytes --]
A textual description:
1. Begin with an empty Org Mode buffer
2. Create a heading "Task A"
3. Clock in
4. Open the LOGBOOK drawer
5. Adjust the clock in timestamp with S-<down> on the MM (minutes) part
so it ends with 0 (that is, it is a multiple of 10). You may have to
press S-<down> multiple times.
6. Clock out
7. Adjust the clock out timestamp with S-<down> on the MM (minutes) part
so it ends with 5 (so it is a multiple of 5 but not of 10) and is
larger than the clock in timestamp. Again, you may have to press
S-<down> multiple times.
8. Create another heading (with C-<return>): "Task B"
9. Clock into Task B
10. Open Task B LOGBOOK drawer
11. Clock out
12. Check if Task B clock in timestamp is not a multiple of 5. In the
animation I was lucky, it already wasn't a multiple of 5¹.
13. Finally, adjust Task B's clock in timestamp with M-S-<down> on the
MM (minutes) part. Bug!
The bug is that M-S-<down> adjusts Task B clock in timestamp by x
minutes and Task A clock out timestamp by 5 minutes, where x (in our
case, x is 4) is not 5. And in my opinion, Task A clock out timestamp
*should not change at all* because it was already less then the adjusted
Task B clock in timestamp.
For convenience I generated the animation from my fully configured
Emacs, but I have verified it also occurs on Emacs -Q. My Emacs was
compiled and installed via Guix from the emacs-28 branch. I currently
use the native comp feature (via flatwhatson's Guix channel) but I
previously reproduced the bug on vanilla Guix's emacs-next (only
compiled with --with-branch=emacs-next=emacs-28).
Regards!
PS: Have I violated netiquette by directly attaching the animation? I
judged it was OK because the file is only 406kB.
¹ If Task B clock in timestamp was a multiple of 5 then we would have to
adjust it with S-<down> with a numeric prefix argument (that itself must
not be a multiple of 5), taking care to keep it larger than Task A clock
out timestamp.
--
- Many people hate injustice but few check the facts. This provokes
misinformation. Ask me about <https://stallmansupport.org>
- 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.
next prev parent reply other threads:[~2021-11-02 14:50 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-21 22:16 S-M-{<UP>,<DOWN>} on CLOCK timestamp Jorge P. de Morais Neto
2021-08-22 1:21 ` Tim Cross
2021-08-22 13:55 ` Jorge P. de Morais Neto
2021-09-10 6:21 ` Timothy
2021-09-13 8:06 ` Tim Cross
2021-09-24 22:22 ` Tim Cross
2021-11-02 14:30 ` Jorge P. de Morais Neto [this message]
2024-01-18 15:38 ` Ihor Radchenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87o872mxz0.fsf@disroot.org \
--to=jorge+list@disroot.org \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).