From: Roman Rudakov <phentagram@gmail.com>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: emacs-orgmode@gnu.org
Subject: Re: Log change TODO state after clock-out
Date: Sat, 29 Jul 2017 16:52:16 +0300 [thread overview]
Message-ID: <CAEqhMm8zi57zgSpQjnr8JOqbWu62Uc+janRvAj057RexFGP-cA@mail.gmail.com> (raw)
In-Reply-To: <87shhgu159.fsf@nicolasgoaziou.fr>
[-- Attachment #1: Type: text/plain, Size: 2175 bytes --]
Hello,
I've tried to remove line (org-inhibit-logging t) locally, it have solved
my problem partially.
If I clock-in and then clock-out the same headline everything is ok (Task 1
in my example)
. But if I clock-in Task 2, Then go to Task 3 and ckock it in, Task 2
clocked out and have only CLOSED log entry, but it doesn't have log about
change state from PROGRESS to DONE.
Example:
* DONE Task 1
CLOSED: [2017-07-29 Sat 16:45]
:LOGBOOK:
- State "DONE" from "PROGRESS" [2017-07-29 Sat 16:45]
- State "PROGRESS" from "TODO" [2017-07-29 Sat 16:45]
CLOCK: [2017-07-29 Sat 16:45]--[2017-07-29 Sat 16:45] => 0:00
:END:
* DONE Task 2
CLOSED: [2017-07-29 Sat 16:45]
:LOGBOOK:
- State "PROGRESS" from "TODO" [2017-07-29 Sat 16:45]
CLOCK: [2017-07-29 Sat 16:45]--[2017-07-29 Sat 16:45] => 0:00
:END:
* PROGRESS Task 3
:LOGBOOK:
- State "PROGRESS" from "TODO" [2017-07-29 Sat 16:45]
CLOCK: [2017-07-29 Sat 16:45]
:END:
2017-07-28 16:44 GMT+03:00 Nicolas Goaziou <mail@nicolasgoaziou.fr>:
> Hello,
>
> Рома Рудаков <phentagram@gmail.com> writes:
>
> > Expected result:
> >
> > * DONE task 1
> > CLOSED: [2017-07-26 Wed 15:39]
> > :LOGBOOK:
> > - State "DONE" from "PROGRESS" [2017-07-26 Wed 15:39]
> > - State "PROGRESS" from "TODO" [2017-07-26 Wed 15:37]
> > CLOCK: [2017-07-26 Wed 15:37]--[2017-07-26 Wed 15:38] => 0:01
> > :END:
> > * TODO task 2
> > * TODO task 3
> > * TODO task 4
> >
> >
> > Actual result:
> >
> > * DONE task 1
> > :LOGBOOK:
> > - State "PROGRESS" from "TODO" [2017-07-26 Wed 15:37]
> > CLOCK: [2017-07-26 Wed 15:37]--[2017-07-26 Wed 15:38] => 0:01
> > :END:
> > * TODO task 2
> > * TODO task 3
> > * TODO task 4
> >
> > There is no CLOSED log entry and change state from PROGRESS to DONE
> > entry.
>
> Logging was inhibited when using `org-clock-out-switch-to-state', but
> not when using `org-clock-in-switch-to-state'. I assume this is a bug,
> so I removed it.
>
> I may be wrong though, so this change is in master only.
>
> Thank you.
>
> Regards,
>
> --
> Nicolas Goaziou
>
[-- Attachment #2: Type: text/html, Size: 3120 bytes --]
next prev parent reply other threads:[~2017-07-29 13:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-26 12:42 Log change TODO state after clock-out Рома Рудаков
2017-07-28 13:44 ` Nicolas Goaziou
2017-07-29 13:52 ` Roman Rudakov [this message]
2017-08-05 12:47 ` Nicolas Goaziou
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=CAEqhMm8zi57zgSpQjnr8JOqbWu62Uc+janRvAj057RexFGP-cA@mail.gmail.com \
--to=phentagram@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=mail@nicolasgoaziou.fr \
/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).