Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

org-pomodoro-short-break-finished shouldn't clock-out when org-pomodoro-clock-break is t #95

Open
sineau opened this issue Jun 28, 2021 · 2 comments

Comments

@sineau
Copy link

sineau commented Jun 28, 2021

Hello,
I was trying this:
(setq org-pomodoro-clock-break t)
to have my break time counted in. But realized that we have this on org-pomodoro-short-break-finished:

(when org-pomodoro-clock-break
    (org-clock-out nil t))

I'm very new to Elisp, and maybe mistaken, but shouldn't this be unless?

@jtoloe
Copy link

jtoloe commented Aug 8, 2022

If you have org-pomodoro-clock-break set to t, org-pomodoro won't clock out when the short break starts. This statement ensures that it is clocked out when the break is finished.

@jtoloe
Copy link

jtoloe commented Aug 8, 2022

So the title of the issue is wrong. If you want to clock the break, clocking out should be done when the break finishes, not before. If what you actually want is to not clock out at all, I don't think that behavior is supported at the moment. I came here because I was looking for that behavior and couldn't find it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants