all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@posteo.net>
To: Rens Oliemans <hallo@rensoliemans.nl>
Cc: emacs-orgmode@gnu.org
Subject: Re: [BUG] Capital-letter options from dangling clock don't clock out [9.8-pre (release_9.7.7-106-g114c76 @ /home/rens/Projects/org/org-mode/lisp/)]
Date: Wed, 24 Jul 2024 13:46:45 +0000	[thread overview]
Message-ID: <874j8eewca.fsf@localhost> (raw)
In-Reply-To: <87bk2njaaa.fsf@rensoliemans.nl>

Rens Oliemans <hallo@rensoliemans.nl> writes:

> Ihor Radchenko <yantar92@posteo.net> writes:
>
>> May you please provide more details?
>> What exactly did you try to do, step by step?
>
> I clocked in ('org-clock-in') in a headline with a dangling clock. I got the Clock
> Resolution popup menu, and pressed an uppercase letter, which according to the popup menu
> should leave me clocked out:
>
>    For all these options, using uppercase makes your final state to be CLOCKED OUT.
>
> I know that I clocked /in/, and that it might make sense to end up clocked in, but if that
> is the case I think that the popup menu is very misleading and might be improved. In fact,
> if that is the case, I believe that there is no difference in the lowercase and uppercase
> options at all.

Confirmed.
This is because that menu was designed for automatic clock
resolution on idle.
It indeed does not make much sense when clocking in, where clock
resolution is simply called to avoid dangling clocks.

> In that case, please let me know how I'm mistaken and I am happy to try to improve the
> popup menu text to clarify this.
> ...
> The reason why I clock in and expect to end up clocked out (albeit with the Clock
> Resolution) is perhaps a bit strange. I do this because I sync my Org files between my
> computers, and this leaves me with a dangling clock once in a while. Clocking out to fix
> this doesn't work ("No active clock"), and the way I fix this is by clocking in, since the
> Clock Resolution Command is very helpful in fixing idle minutes. Then, I cancel the
> current clock so that I end up clocked-out. However, the wording of the popup menu
> suggests that the uppercase letters should do this already.

You can resolve clocks via M-x org-clock-resolve-clocks

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


      parent reply	other threads:[~2024-07-24 13:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-23 19:58 [BUG] Capital-letter options from dangling clock don't clock out [9.8-pre (release_9.7.7-106-g114c76 @ /home/rens/Projects/org/org-mode/lisp/)] Rens Oliemans
2024-07-24 10:26 ` Ihor Radchenko
2024-07-24 11:31   ` Rens Oliemans
2024-07-24 11:33     ` Rens Oliemans
2024-07-24 13:46     ` Ihor Radchenko [this message]

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874j8eewca.fsf@localhost \
    --to=yantar92@posteo.net \
    --cc=emacs-orgmode@gnu.org \
    --cc=hallo@rensoliemans.nl \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.