emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-clock-into-drawer t is broken
@ 2015-09-05 21:55 Nikolay Kudryavtsev
  2015-09-07 19:14 ` Nicolas Goaziou
  0 siblings, 1 reply; 4+ messages in thread
From: Nikolay Kudryavtsev @ 2015-09-05 21:55 UTC (permalink / raw)
  To: emacs-orgmode

After I switched to org 8.3 I've noticed that org-clock-into-drawer does 
not really behave as advertised. Docs say that if it's set to t, which 
is the default value, this should create a :LOGBOOK and move old entries 
there. But this does not happen in practice. :LOGBOOK gets created only 
for headings that don't have any clock entries. Or is having no drawer 
considered a form of drawer? Setting org-clock-into-drawer 0 works.

This assumes the latest elpa org. In the latest git dev verison, 
clocking in does not work at all.

-- 
Best Regards,
Nikolay Kudryavtsev

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: org-clock-into-drawer t is broken
  2015-09-05 21:55 org-clock-into-drawer t is broken Nikolay Kudryavtsev
@ 2015-09-07 19:14 ` Nicolas Goaziou
  2015-10-17 15:53   ` Nikolay Kudryavtsev
  0 siblings, 1 reply; 4+ messages in thread
From: Nicolas Goaziou @ 2015-09-07 19:14 UTC (permalink / raw)
  To: Nikolay Kudryavtsev; +Cc: emacs-orgmode

Hello,

Nikolay Kudryavtsev <nikolay.kudryavtsev@gmail.com> writes:

> After I switched to org 8.3 I've noticed that org-clock-into-drawer
> does not really behave as advertised. Docs say that if it's set to t,
> which is the default value, this should create a :LOGBOOK and move old
> entries there. But this does not happen in practice. :LOGBOOK gets
> created only for headings that don't have any clock entries. Or is
> having no drawer considered a form of drawer? Setting
> org-clock-into-drawer 0 works.

Could you provide an ECM?

> This assumes the latest elpa org. In the latest git dev verison,
> clocking in does not work at all.

Could you elaborate? "Does not work at all" is not very clear.


Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: org-clock-into-drawer t is broken
  2015-09-07 19:14 ` Nicolas Goaziou
@ 2015-10-17 15:53   ` Nikolay Kudryavtsev
  2015-10-17 23:42     ` Nicolas Goaziou
  0 siblings, 1 reply; 4+ messages in thread
From: Nikolay Kudryavtsev @ 2015-10-17 15:53 UTC (permalink / raw)
  To: emacs-orgmode

Sorry, I was away for some time.

So, this bug is still there. Let's say you have a very basic org file, 
something like this:
* TODO Task
CLOCK: [2014-10-29 Ср 20:22]--[2014-10-29 Ср 21:32] =>  1:10
CLOCK: [2014-10-27 Вт 22:22]--[2014-10-28 Вт 02:48] =>  4:26

Now, I want to move old-style no drawer records into those new and shiny 
drawers whenever I touch any of those old tasks. As far as I understood 
from the documentation, this is what should happen by default. But it 
does not. One workaround I found is setting org-clock-into-drawer to 0. 
It worked in older elpa versions, but breaks your org file in the 
current one.

-- 
Best Regards,
Nikolay Kudryavtsev

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: org-clock-into-drawer t is broken
  2015-10-17 15:53   ` Nikolay Kudryavtsev
@ 2015-10-17 23:42     ` Nicolas Goaziou
  0 siblings, 0 replies; 4+ messages in thread
From: Nicolas Goaziou @ 2015-10-17 23:42 UTC (permalink / raw)
  To: Nikolay Kudryavtsev; +Cc: emacs-orgmode

Hello,

Nikolay Kudryavtsev <nikolay.kudryavtsev@gmail.com> writes:

> So, this bug is still there. Let's say you have a very basic org file,
> something like this:
> * TODO Task
> CLOCK: [2014-10-29 Ср 20:22]--[2014-10-29 Ср 21:32] =>  1:10
> CLOCK: [2014-10-27 Вт 22:22]--[2014-10-28 Вт 02:48] =>  4:26
>
> Now, I want to move old-style no drawer records into those new and
> shiny drawers whenever I touch any of those old tasks. As far as
> I understood from the documentation, this is what should happen by
> default. But it does not. One workaround I found is setting
> org-clock-into-drawer to 0. It worked in older elpa versions, but
> breaks your org file in the current one.

This is now fixed. Thank you.

Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-10-17 23:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-05 21:55 org-clock-into-drawer t is broken Nikolay Kudryavtsev
2015-09-07 19:14 ` Nicolas Goaziou
2015-10-17 15:53   ` Nikolay Kudryavtsev
2015-10-17 23:42     ` Nicolas Goaziou

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).