emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* lots of CLOCK lines displayed when opening a TODO
@ 2015-03-04 15:46 Rainer Stengele
  2015-03-05  5:14 ` Richard Lawrence
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Rainer Stengele @ 2015-03-04 15:46 UTC (permalink / raw)
  To: emacs-orgmode

Hi!

I have lots of weekly reoccuring meetings and do collect the clocked time for each meeting.
After a while I have lots of CLOCK lines. Opening the TODO shows all the CLOCK lines shown, but my focus is on text below the CLOCK lines.
I started to use multiple LOGBOOK blocks in order to hide older CLOCK lines. Seems to work fine with clocking etc.
My requirement would be to only open the first LOGBOOK block when opening the headline (TODO).
That way I could hide older entries from using screen space and instead see the text below immediately.

Anybody else uses multiple LOGBOOK blocks that way? Other ideas how to work?
Any chance to get this regarded as an enhancement idea?

Thank you.
Regards, Rainer


* TODO [#A] Weekly Services - Action Items
:LOGBOOK:
CLOCK: [2015-03-04 Mi 10:15]--[2015-03-04 Mi 11:30] =>  1:15
CLOCK: [2015-03-02 Mo 11:00]--[2015-03-02 Mo 12:15] =>  1:15
:END:
:LOGBOOK:
CLOCK: [2015-02-25 Mi 10:00]--[2015-02-25 Mi 11:00] =>  1:00
CLOCK: [2015-02-16 Mo 10:00]--[2015-02-16 Mo 11:15] =>  1:15
CLOCK: [2015-02-06 Fr 09:30]--[2015-02-06 Fr 09:45] =>  0:15
CLOCK: [2015-02-06 Fr 10:00]--[2015-02-06 Fr 11:00] =>  1:00
CLOCK: [2015-01-23 Fr 13:45]--[2015-01-23 Fr 14:00] =>  0:15
CLOCK: [2015-01-22 Do 14:30]--[2015-01-22 Do 14:45] =>  0:15
CLOCK: [2015-01-22 Do 13:45]--[2015-01-22 Do 14:00] =>  0:15
CLOCK: [2015-01-21 Mi 09:45]--[2015-01-21 Mi 10:45] =>  1:00
CLOCK: [2015-01-20 Di 09:45]--[2015-01-20 Di 10:00] =>  0:15
CLOCK: [2015-01-19 Mo 16:30]--[2015-01-19 Mo 16:45] =>  0:15
CLOCK: [2015-01-19 Mo 13:15]--[2015-01-19 Mo 15:00] =>  1:45
CLOCK: [2015-01-19 Mo 10:00]--[2015-01-19 Mo 11:15] =>  1:15
CLOCK: [2014-12-15 Mo 10:00]--[2014-12-15 Mo 10:30] =>  0:30
CLOCK: [2014-12-03 Mi 10:30]--[2014-12-03 Mi 11:15] =>  0:45
CLOCK: [2014-12-01 Mo 09:45]--[2014-12-01 Mo 10:45] =>  1:00
CLOCK: [2014-11-03 Mo 10:00]--[2014-11-03 Mo 11:00] =>  1:00
CLOCK: [2014-11-10 Mo 09:45]--[2014-11-10 Mo 10:45] =>  1:00
CLOCK: [2014-11-19 Mi 10:30]--[2014-11-19 Mi 11:15] =>  0:45
CLOCK: [2014-11-24 Mo 10:00]--[2014-11-24 Mo 11:00] =>  1:00
CLOCK: [2014-11-25 Di 08:00]--[2014-11-25 Di 10:45] =>  2:45
:END:

- text I would like to see without having to scroll over all the CLOCK lines

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

* Re: lots of CLOCK lines displayed when opening a TODO
  2015-03-04 15:46 lots of CLOCK lines displayed when opening a TODO Rainer Stengele
@ 2015-03-05  5:14 ` Richard Lawrence
  2015-03-05  8:02 ` Loris Bennett
  2015-03-05 15:11 ` Leo Ufimtsev
  2 siblings, 0 replies; 14+ messages in thread
From: Richard Lawrence @ 2015-03-05  5:14 UTC (permalink / raw)
  To: emacs-orgmode; +Cc: Rainer Stengele

Hi Rainer,

Rainer Stengele <rainer.stengele@online.de> writes:

> Opening the TODO shows all the CLOCK lines shown, but my focus is on
> text below the CLOCK lines. ...
> Anybody else uses multiple LOGBOOK blocks that way? Other ideas how to work?
> Any chance to get this regarded as an enhancement idea?

I don't use multiple LOGBOOKs this way, but I guess one simple solution
would be moving the old LOGBOOK drawer *below* the text you want to see.

By the way, my LOGBOOKs don't open when I open a headline, even if there
are multiple drawers.  Do you need (any of) them to open?  If not, there
is probably a variable you can tweak in your configuration so they stay
closed, although I don't know what it is.

Best,
Richard

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

* Re: lots of CLOCK lines displayed when opening a TODO
  2015-03-04 15:46 lots of CLOCK lines displayed when opening a TODO Rainer Stengele
  2015-03-05  5:14 ` Richard Lawrence
@ 2015-03-05  8:02 ` Loris Bennett
  2015-03-11 14:58   ` Rainer Stengele
  2015-03-05 15:11 ` Leo Ufimtsev
  2 siblings, 1 reply; 14+ messages in thread
From: Loris Bennett @ 2015-03-05  8:02 UTC (permalink / raw)
  To: emacs-orgmode

Rainer Stengele <rainer.stengele@online.de> writes:

> Hi!
>
> I have lots of weekly reoccuring meetings and do collect the clocked
> time for each meeting.  After a while I have lots of CLOCK
> lines. Opening the TODO shows all the CLOCK lines shown, but my focus
> is on text below the CLOCK lines.  I started to use multiple LOGBOOK
> blocks in order to hide older CLOCK lines. Seems to work fine with
> clocking etc.  My requirement would be to only open the first LOGBOOK
> block when opening the headline (TODO).  That way I could hide older
> entries from using screen space and instead see the text below
> immediately.
>
> Anybody else uses multiple LOGBOOK blocks that way? Other ideas how to
> work?  Any chance to get this regarded as an enhancement idea?
>
> Thank you.
> Regards, Rainer
>
>
> * TODO [#A] Weekly Services - Action Items
> :LOGBOOK:
> CLOCK: [2015-03-04 Mi 10:15]--[2015-03-04 Mi 11:30] =>  1:15
> CLOCK: [2015-03-02 Mo 11:00]--[2015-03-02 Mo 12:15] =>  1:15
> :END:
> :LOGBOOK:
> CLOCK: [2015-02-25 Mi 10:00]--[2015-02-25 Mi 11:00] =>  1:00
> CLOCK: [2015-02-16 Mo 10:00]--[2015-02-16 Mo 11:15] =>  1:15
> CLOCK: [2015-02-06 Fr 09:30]--[2015-02-06 Fr 09:45] =>  0:15
> CLOCK: [2015-02-06 Fr 10:00]--[2015-02-06 Fr 11:00] =>  1:00
> CLOCK: [2015-01-23 Fr 13:45]--[2015-01-23 Fr 14:00] =>  0:15
> CLOCK: [2015-01-22 Do 14:30]--[2015-01-22 Do 14:45] =>  0:15
> CLOCK: [2015-01-22 Do 13:45]--[2015-01-22 Do 14:00] =>  0:15
> CLOCK: [2015-01-21 Mi 09:45]--[2015-01-21 Mi 10:45] =>  1:00
> CLOCK: [2015-01-20 Di 09:45]--[2015-01-20 Di 10:00] =>  0:15
> CLOCK: [2015-01-19 Mo 16:30]--[2015-01-19 Mo 16:45] =>  0:15
> CLOCK: [2015-01-19 Mo 13:15]--[2015-01-19 Mo 15:00] =>  1:45
> CLOCK: [2015-01-19 Mo 10:00]--[2015-01-19 Mo 11:15] =>  1:15
> CLOCK: [2014-12-15 Mo 10:00]--[2014-12-15 Mo 10:30] =>  0:30
> CLOCK: [2014-12-03 Mi 10:30]--[2014-12-03 Mi 11:15] =>  0:45
> CLOCK: [2014-12-01 Mo 09:45]--[2014-12-01 Mo 10:45] =>  1:00
> CLOCK: [2014-11-03 Mo 10:00]--[2014-11-03 Mo 11:00] =>  1:00
> CLOCK: [2014-11-10 Mo 09:45]--[2014-11-10 Mo 10:45] =>  1:00
> CLOCK: [2014-11-19 Mi 10:30]--[2014-11-19 Mi 11:15] =>  0:45
> CLOCK: [2014-11-24 Mo 10:00]--[2014-11-24 Mo 11:00] =>  1:00
> CLOCK: [2014-11-25 Di 08:00]--[2014-11-25 Di 10:45] =>  2:45
> :END:
>
> - text I would like to see without having to scroll over all the CLOCK lines

I use two drawers:

#+DRAWERS: LOGBOOK OLDLOGS

When the LOGBOOK get a bit long I manually move some the lines to
OLDLOGS.  Both draws only open when I TAB on them.

I don't actually use the data in the logs directly, just as a backup for
my other time-keeping.  This is mainly because the one-minute resolution
of the clocking is to fine for my needs.

Have you changed the clocking resolution?  If so, how?  Or are you just
an amazingly accurate clocker?

Cheers,

Loris

-- 
This signature is currently under construction.

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

* Re: lots of CLOCK lines displayed when opening a TODO
  2015-03-04 15:46 lots of CLOCK lines displayed when opening a TODO Rainer Stengele
  2015-03-05  5:14 ` Richard Lawrence
  2015-03-05  8:02 ` Loris Bennett
@ 2015-03-05 15:11 ` Leo Ufimtsev
  2015-03-12  5:47   ` Xavier Maillard
  2 siblings, 1 reply; 14+ messages in thread
From: Leo Ufimtsev @ 2015-03-05 15:11 UTC (permalink / raw)
  To: Rainer Stengele; +Cc: emacs-orgmode

My Log book drawers are hidden when entries expand. 

But I mapped my C-S-<TAB> to expand logbook drawers so I can peak into them. (see snippet below).

I log everything into the logbook. Clocktimes, state changes, dated notes when I put an item on hold.
I found it too tedious to move things around. 

Since the logbook is hidden by default, it doesn't get into the way of the rest of the task.

(defun my/expand-logbook-drawer ()
 "Expand the closest logbook drawer"
 (interactive)
 (search-forward ":LOGBOOK:")
 (org-cycle)
)

(global-set-key (kbd "<C-iso-lefttab>") 'my/expand-logbook-drawer)


---------- Other drawer related configs:
(local-set-key (kbd "C-:") 'org-insert-drawer)
(org-clock-into-drawer "LOGBOOK")
(org-log-into-drawer t)

(org-drawers
   (quote
    ("FURTHER_READING" "THEORY" "TASKS" "INFO" "TIP" "NOTE" "EG" "LINKS" "APPENDIX" "DETAILS" "PROPERTIES" "CLOCK" "LOGBOOK" "RESULTS" "TASKARCHIVE" "SOURCE" "TROUBLESHOOTING")))

Leo Ufimtsev | Intern Software Engineer @ Eclipse Team

----- Original Message -----
From: "Rainer Stengele" <rainer.stengele@online.de>
To: emacs-orgmode@gnu.org
Sent: Wednesday, March 4, 2015 10:46:08 AM
Subject: [O] lots of CLOCK lines displayed when opening a TODO

Hi!

I have lots of weekly reoccuring meetings and do collect the clocked time for each meeting.
After a while I have lots of CLOCK lines. Opening the TODO shows all the CLOCK lines shown, but my focus is on text below the CLOCK lines.
I started to use multiple LOGBOOK blocks in order to hide older CLOCK lines. Seems to work fine with clocking etc.
My requirement would be to only open the first LOGBOOK block when opening the headline (TODO).
That way I could hide older entries from using screen space and instead see the text below immediately.

Anybody else uses multiple LOGBOOK blocks that way? Other ideas how to work?
Any chance to get this regarded as an enhancement idea?

Thank you.
Regards, Rainer


* TODO [#A] Weekly Services - Action Items
:LOGBOOK:
CLOCK: [2015-03-04 Mi 10:15]--[2015-03-04 Mi 11:30] =>  1:15
CLOCK: [2015-03-02 Mo 11:00]--[2015-03-02 Mo 12:15] =>  1:15
:END:
:LOGBOOK:
CLOCK: [2015-02-25 Mi 10:00]--[2015-02-25 Mi 11:00] =>  1:00
CLOCK: [2015-02-16 Mo 10:00]--[2015-02-16 Mo 11:15] =>  1:15
CLOCK: [2015-02-06 Fr 09:30]--[2015-02-06 Fr 09:45] =>  0:15
CLOCK: [2015-02-06 Fr 10:00]--[2015-02-06 Fr 11:00] =>  1:00
CLOCK: [2015-01-23 Fr 13:45]--[2015-01-23 Fr 14:00] =>  0:15
CLOCK: [2015-01-22 Do 14:30]--[2015-01-22 Do 14:45] =>  0:15
CLOCK: [2015-01-22 Do 13:45]--[2015-01-22 Do 14:00] =>  0:15
CLOCK: [2015-01-21 Mi 09:45]--[2015-01-21 Mi 10:45] =>  1:00
CLOCK: [2015-01-20 Di 09:45]--[2015-01-20 Di 10:00] =>  0:15
CLOCK: [2015-01-19 Mo 16:30]--[2015-01-19 Mo 16:45] =>  0:15
CLOCK: [2015-01-19 Mo 13:15]--[2015-01-19 Mo 15:00] =>  1:45
CLOCK: [2015-01-19 Mo 10:00]--[2015-01-19 Mo 11:15] =>  1:15
CLOCK: [2014-12-15 Mo 10:00]--[2014-12-15 Mo 10:30] =>  0:30
CLOCK: [2014-12-03 Mi 10:30]--[2014-12-03 Mi 11:15] =>  0:45
CLOCK: [2014-12-01 Mo 09:45]--[2014-12-01 Mo 10:45] =>  1:00
CLOCK: [2014-11-03 Mo 10:00]--[2014-11-03 Mo 11:00] =>  1:00
CLOCK: [2014-11-10 Mo 09:45]--[2014-11-10 Mo 10:45] =>  1:00
CLOCK: [2014-11-19 Mi 10:30]--[2014-11-19 Mi 11:15] =>  0:45
CLOCK: [2014-11-24 Mo 10:00]--[2014-11-24 Mo 11:00] =>  1:00
CLOCK: [2014-11-25 Di 08:00]--[2014-11-25 Di 10:45] =>  2:45
:END:

- text I would like to see without having to scroll over all the CLOCK lines

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

* Re: lots of CLOCK lines displayed when opening a TODO
  2015-03-05  8:02 ` Loris Bennett
@ 2015-03-11 14:58   ` Rainer Stengele
  2015-03-12  8:03     ` Loris Bennett
  0 siblings, 1 reply; 14+ messages in thread
From: Rainer Stengele @ 2015-03-11 14:58 UTC (permalink / raw)
  To: Loris Bennett, emacs-orgmode

Am 05.03.2015 um 09:02 schrieb Loris Bennett:
> Rainer Stengele <rainer.stengele@online.de> writes:
> 
>> Hi!
>>
>> I have lots of weekly reoccuring meetings and do collect the clocked
>> time for each meeting.  After a while I have lots of CLOCK
>> lines. Opening the TODO shows all the CLOCK lines shown, but my focus
>> is on text below the CLOCK lines.  I started to use multiple LOGBOOK
>> blocks in order to hide older CLOCK lines. Seems to work fine with
>> clocking etc.  My requirement would be to only open the first LOGBOOK
>> block when opening the headline (TODO).  That way I could hide older
>> entries from using screen space and instead see the text below
>> immediately.
>>
>> Anybody else uses multiple LOGBOOK blocks that way? Other ideas how to
>> work?  Any chance to get this regarded as an enhancement idea?
>>
>> Thank you.
>> Regards, Rainer
>>
>>
>> * TODO [#A] Weekly Services - Action Items
>> :LOGBOOK:
>> CLOCK: [2015-03-04 Mi 10:15]--[2015-03-04 Mi 11:30] =>  1:15
>> CLOCK: [2015-03-02 Mo 11:00]--[2015-03-02 Mo 12:15] =>  1:15
>> :END:
>> :LOGBOOK:
>> CLOCK: [2015-02-25 Mi 10:00]--[2015-02-25 Mi 11:00] =>  1:00
>> CLOCK: [2015-02-16 Mo 10:00]--[2015-02-16 Mo 11:15] =>  1:15
>> CLOCK: [2015-02-06 Fr 09:30]--[2015-02-06 Fr 09:45] =>  0:15
>> CLOCK: [2015-02-06 Fr 10:00]--[2015-02-06 Fr 11:00] =>  1:00
>> CLOCK: [2015-01-23 Fr 13:45]--[2015-01-23 Fr 14:00] =>  0:15
>> CLOCK: [2015-01-22 Do 14:30]--[2015-01-22 Do 14:45] =>  0:15
>> CLOCK: [2015-01-22 Do 13:45]--[2015-01-22 Do 14:00] =>  0:15
>> CLOCK: [2015-01-21 Mi 09:45]--[2015-01-21 Mi 10:45] =>  1:00
>> CLOCK: [2015-01-20 Di 09:45]--[2015-01-20 Di 10:00] =>  0:15
>> CLOCK: [2015-01-19 Mo 16:30]--[2015-01-19 Mo 16:45] =>  0:15
>> CLOCK: [2015-01-19 Mo 13:15]--[2015-01-19 Mo 15:00] =>  1:45
>> CLOCK: [2015-01-19 Mo 10:00]--[2015-01-19 Mo 11:15] =>  1:15
>> CLOCK: [2014-12-15 Mo 10:00]--[2014-12-15 Mo 10:30] =>  0:30
>> CLOCK: [2014-12-03 Mi 10:30]--[2014-12-03 Mi 11:15] =>  0:45
>> CLOCK: [2014-12-01 Mo 09:45]--[2014-12-01 Mo 10:45] =>  1:00
>> CLOCK: [2014-11-03 Mo 10:00]--[2014-11-03 Mo 11:00] =>  1:00
>> CLOCK: [2014-11-10 Mo 09:45]--[2014-11-10 Mo 10:45] =>  1:00
>> CLOCK: [2014-11-19 Mi 10:30]--[2014-11-19 Mi 11:15] =>  0:45
>> CLOCK: [2014-11-24 Mo 10:00]--[2014-11-24 Mo 11:00] =>  1:00
>> CLOCK: [2014-11-25 Di 08:00]--[2014-11-25 Di 10:45] =>  2:45
>> :END:
>>
>> - text I would like to see without having to scroll over all the CLOCK lines
> 
> I use two drawers:
> 
> #+DRAWERS: LOGBOOK OLDLOGS
> 
> When the LOGBOOK get a bit long I manually move some the lines to
> OLDLOGS.  Both draws only open when I TAB on them.
> 
> I don't actually use the data in the logs directly, just as a backup for
> my other time-keeping.  This is mainly because the one-minute resolution
> of the clocking is to fine for my needs.
> 
> Have you changed the clocking resolution?  If so, how?  Or are you just
> an amazingly accurate clocker?
> 
> Cheers,
> 
> Loris
> 
Hi Loris,

please check variable org-time-stamp-rounding-minutes in order to round time stamps.

You are right, when I am in an org file the logbook drawers do not open by default when cycling.
My use case: I am jumping to a headline directly from an agenda item. "Tabbing" on that item jumps to the headline and shows the complete contents, including drawers.
Not sure why this is the case. I would like to have the same behavior as when tabbing in the Org file directly. Can you confirm this is the same in your setting?

Regards,
Rainer Stengele

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

* Re: lots of CLOCK lines displayed when opening a TODO
  2015-03-05 15:11 ` Leo Ufimtsev
@ 2015-03-12  5:47   ` Xavier Maillard
  2015-03-12 14:12     ` Leo Ufimtsev
  0 siblings, 1 reply; 14+ messages in thread
From: Xavier Maillard @ 2015-03-12  5:47 UTC (permalink / raw)
  To: Leo Ufimtsev; +Cc: Rainer Stengele, emacs-orgmode

Hello Leo,

Leo Ufimtsev <lufimtse@redhat.com> writes:

> I log everything into the logbook. Clocktimes, state changes, dated notes when I put an item on hold.
> I found it too tedious to move things around.

Would you mind producing a "typical" TODO to see how it looks like ?
This is a topic where I am not (yet) very comfortable with. I tend to
put notes and so on here and there in my TODOs and my todo list is
slowly going crappy :)

> (org-drawers
>    (quote
>     ("FURTHER_READING" "THEORY" "TASKS" "INFO" "TIP" "NOTE" "EG" "LINKS" "APPENDIX" "DETAILS" "PROPERTIES" "CLOCK" "LOGBOOK" "RESULTS" "TASKARCHIVE" "SOURCE" "TROUBLESHOOTING")))

OMG ! All of them are used ?

Regards
-- Xavier.

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

* Re: lots of CLOCK lines displayed when opening a TODO
  2015-03-11 14:58   ` Rainer Stengele
@ 2015-03-12  8:03     ` Loris Bennett
  2015-03-12 12:14       ` Nick Dokos
  2015-03-12 12:59       ` Rainer Stengele
  0 siblings, 2 replies; 14+ messages in thread
From: Loris Bennett @ 2015-03-12  8:03 UTC (permalink / raw)
  To: emacs-orgmode

Rainer Stengele <rainer.stengele@online.de> writes:

> Am 05.03.2015 um 09:02 schrieb Loris Bennett:
>> Rainer Stengele <rainer.stengele@online.de> writes:
>> 
>>> Hi!
>>>
>>> I have lots of weekly reoccuring meetings and do collect the clocked
>>> time for each meeting.  After a while I have lots of CLOCK
>>> lines. Opening the TODO shows all the CLOCK lines shown, but my focus
>>> is on text below the CLOCK lines.  I started to use multiple LOGBOOK
>>> blocks in order to hide older CLOCK lines. Seems to work fine with
>>> clocking etc.  My requirement would be to only open the first LOGBOOK
>>> block when opening the headline (TODO).  That way I could hide older
>>> entries from using screen space and instead see the text below
>>> immediately.
>>>
>>> Anybody else uses multiple LOGBOOK blocks that way? Other ideas how to
>>> work?  Any chance to get this regarded as an enhancement idea?
>>>
>>> Thank you.
>>> Regards, Rainer
>>>
>>>
>>> * TODO [#A] Weekly Services - Action Items
>>> :LOGBOOK:
>>> CLOCK: [2015-03-04 Mi 10:15]--[2015-03-04 Mi 11:30] =>  1:15
>>> CLOCK: [2015-03-02 Mo 11:00]--[2015-03-02 Mo 12:15] =>  1:15
>>> :END:
>>> :LOGBOOK:
>>> CLOCK: [2015-02-25 Mi 10:00]--[2015-02-25 Mi 11:00] =>  1:00
>>> CLOCK: [2015-02-16 Mo 10:00]--[2015-02-16 Mo 11:15] =>  1:15
>>> CLOCK: [2015-02-06 Fr 09:30]--[2015-02-06 Fr 09:45] =>  0:15
>>> CLOCK: [2015-02-06 Fr 10:00]--[2015-02-06 Fr 11:00] =>  1:00
>>> CLOCK: [2015-01-23 Fr 13:45]--[2015-01-23 Fr 14:00] =>  0:15
>>> CLOCK: [2015-01-22 Do 14:30]--[2015-01-22 Do 14:45] =>  0:15
>>> CLOCK: [2015-01-22 Do 13:45]--[2015-01-22 Do 14:00] =>  0:15
>>> CLOCK: [2015-01-21 Mi 09:45]--[2015-01-21 Mi 10:45] =>  1:00
>>> CLOCK: [2015-01-20 Di 09:45]--[2015-01-20 Di 10:00] =>  0:15
>>> CLOCK: [2015-01-19 Mo 16:30]--[2015-01-19 Mo 16:45] =>  0:15
>>> CLOCK: [2015-01-19 Mo 13:15]--[2015-01-19 Mo 15:00] =>  1:45
>>> CLOCK: [2015-01-19 Mo 10:00]--[2015-01-19 Mo 11:15] =>  1:15
>>> CLOCK: [2014-12-15 Mo 10:00]--[2014-12-15 Mo 10:30] =>  0:30
>>> CLOCK: [2014-12-03 Mi 10:30]--[2014-12-03 Mi 11:15] =>  0:45
>>> CLOCK: [2014-12-01 Mo 09:45]--[2014-12-01 Mo 10:45] =>  1:00
>>> CLOCK: [2014-11-03 Mo 10:00]--[2014-11-03 Mo 11:00] =>  1:00
>>> CLOCK: [2014-11-10 Mo 09:45]--[2014-11-10 Mo 10:45] =>  1:00
>>> CLOCK: [2014-11-19 Mi 10:30]--[2014-11-19 Mi 11:15] =>  0:45
>>> CLOCK: [2014-11-24 Mo 10:00]--[2014-11-24 Mo 11:00] =>  1:00
>>> CLOCK: [2014-11-25 Di 08:00]--[2014-11-25 Di 10:45] =>  2:45
>>> :END:
>>>
>>> - text I would like to see without having to scroll over all the CLOCK lines
>> 
>> I use two drawers:
>> 
>> #+DRAWERS: LOGBOOK OLDLOGS
>> 
>> When the LOGBOOK get a bit long I manually move some the lines to
>> OLDLOGS.  Both draws only open when I TAB on them.
>> 
>> I don't actually use the data in the logs directly, just as a backup for
>> my other time-keeping.  This is mainly because the one-minute resolution
>> of the clocking is to fine for my needs.
>> 
>> Have you changed the clocking resolution?  If so, how?  Or are you just
>> an amazingly accurate clocker?
>> 
>> Cheers,
>> 
>> Loris
>> 
> Hi Loris,
>
> please check variable org-time-stamp-rounding-minutes in order to round time stamps.

OK, thanks.  I'll have a look at that.

> You are right, when I am in an org file the logbook drawers do not
> open by default when cycling.  My use case: I am jumping to a headline
> directly from an agenda item. "Tabbing" on that item jumps to the
> headline and shows the complete contents, including drawers.  Not sure
> why this is the case. I would like to have the same behavior as when
> tabbing in the Org file directly. Can you confirm this is the same in
> your setting?

If I jump from the agenda entry 'Fun', I get something like the
following:

* Stuff
** Fun...
** Boring...

If I press 'tab', I get

* Stuff
** Fun
   :LOGBOOK:...
   :OLDLOGS:...
** Boring

If I press 'tab' again, nothing happens.  If I press 'tab' a third time,
the heading fold back and I get

* Stuff
** Fun...
** Boring...

again.  I'm not sure why the second press performs no action.  In any
case, I only see the contents of the LOGBOOK draw if I move onto it and
then press 'tab' again.  So quite different from the behaviour you get.

Regards

Loris

> Regards,
> Rainer Stengele
>
>

-- 
This signature is currently under construction.

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

* Re: lots of CLOCK lines displayed when opening a TODO
  2015-03-12  8:03     ` Loris Bennett
@ 2015-03-12 12:14       ` Nick Dokos
  2015-03-12 14:17         ` Leo Ufimtsev
  2015-03-12 12:59       ` Rainer Stengele
  1 sibling, 1 reply; 14+ messages in thread
From: Nick Dokos @ 2015-03-12 12:14 UTC (permalink / raw)
  To: emacs-orgmode

"Loris Bennett" <loris.bennett@fu-berlin.de> writes:

>
> If I jump from the agenda entry 'Fun', I get something like the
> following:
>
> * Stuff
> ** Fun...
> ** Boring...
>
> If I press 'tab', I get
>
> * Stuff
> ** Fun
>    :LOGBOOK:...
>    :OLDLOGS:...
> ** Boring
>
> If I press 'tab' again, nothing happens.  If I press 'tab' a third time,
> the heading fold back and I get
>
> * Stuff
> ** Fun...
> ** Boring...
>
> again.  I'm not sure why the second press performs no action.

Only because there is no subheading under Fun: if you had one, the
second tab would open it.

> In any
> case, I only see the contents of the LOGBOOK draw if I move onto it and
> then press 'tab' again.  So quite different from the behaviour you get.
>
This is the behaviour I would expect.

-- 
Nick

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

* Re: lots of CLOCK lines displayed when opening a TODO
  2015-03-12  8:03     ` Loris Bennett
  2015-03-12 12:14       ` Nick Dokos
@ 2015-03-12 12:59       ` Rainer Stengele
  2015-03-12 13:39         ` Loris Bennett
  1 sibling, 1 reply; 14+ messages in thread
From: Rainer Stengele @ 2015-03-12 12:59 UTC (permalink / raw)
  To: Loris Bennett, emacs-orgmode

Am 12.03.2015 um 09:03 schrieb Loris Bennett:
> Rainer Stengele <rainer.stengele@online.de> writes:
> 
>> Am 05.03.2015 um 09:02 schrieb Loris Bennett:
>>> Rainer Stengele <rainer.stengele@online.de> writes:
>>>
>>>> Hi!
>>>>
>>>> I have lots of weekly reoccuring meetings and do collect the clocked
>>>> time for each meeting.  After a while I have lots of CLOCK
>>>> lines. Opening the TODO shows all the CLOCK lines shown, but my focus
>>>> is on text below the CLOCK lines.  I started to use multiple LOGBOOK
>>>> blocks in order to hide older CLOCK lines. Seems to work fine with
>>>> clocking etc.  My requirement would be to only open the first LOGBOOK
>>>> block when opening the headline (TODO).  That way I could hide older
>>>> entries from using screen space and instead see the text below
>>>> immediately.
>>>>
>>>> Anybody else uses multiple LOGBOOK blocks that way? Other ideas how to
>>>> work?  Any chance to get this regarded as an enhancement idea?
>>>>
>>>> Thank you.
>>>> Regards, Rainer
>>>>
>>>>
>>>> * TODO [#A] Weekly Services - Action Items
>>>> :LOGBOOK:
>>>> CLOCK: [2015-03-04 Mi 10:15]--[2015-03-04 Mi 11:30] =>  1:15
>>>> CLOCK: [2015-03-02 Mo 11:00]--[2015-03-02 Mo 12:15] =>  1:15
>>>> :END:
>>>> :LOGBOOK:
>>>> CLOCK: [2015-02-25 Mi 10:00]--[2015-02-25 Mi 11:00] =>  1:00
>>>> CLOCK: [2015-02-16 Mo 10:00]--[2015-02-16 Mo 11:15] =>  1:15
>>>> CLOCK: [2015-02-06 Fr 09:30]--[2015-02-06 Fr 09:45] =>  0:15
>>>> CLOCK: [2015-02-06 Fr 10:00]--[2015-02-06 Fr 11:00] =>  1:00
>>>> CLOCK: [2015-01-23 Fr 13:45]--[2015-01-23 Fr 14:00] =>  0:15
>>>> CLOCK: [2015-01-22 Do 14:30]--[2015-01-22 Do 14:45] =>  0:15
>>>> CLOCK: [2015-01-22 Do 13:45]--[2015-01-22 Do 14:00] =>  0:15
>>>> CLOCK: [2015-01-21 Mi 09:45]--[2015-01-21 Mi 10:45] =>  1:00
>>>> CLOCK: [2015-01-20 Di 09:45]--[2015-01-20 Di 10:00] =>  0:15
>>>> CLOCK: [2015-01-19 Mo 16:30]--[2015-01-19 Mo 16:45] =>  0:15
>>>> CLOCK: [2015-01-19 Mo 13:15]--[2015-01-19 Mo 15:00] =>  1:45
>>>> CLOCK: [2015-01-19 Mo 10:00]--[2015-01-19 Mo 11:15] =>  1:15
>>>> CLOCK: [2014-12-15 Mo 10:00]--[2014-12-15 Mo 10:30] =>  0:30
>>>> CLOCK: [2014-12-03 Mi 10:30]--[2014-12-03 Mi 11:15] =>  0:45
>>>> CLOCK: [2014-12-01 Mo 09:45]--[2014-12-01 Mo 10:45] =>  1:00
>>>> CLOCK: [2014-11-03 Mo 10:00]--[2014-11-03 Mo 11:00] =>  1:00
>>>> CLOCK: [2014-11-10 Mo 09:45]--[2014-11-10 Mo 10:45] =>  1:00
>>>> CLOCK: [2014-11-19 Mi 10:30]--[2014-11-19 Mi 11:15] =>  0:45
>>>> CLOCK: [2014-11-24 Mo 10:00]--[2014-11-24 Mo 11:00] =>  1:00
>>>> CLOCK: [2014-11-25 Di 08:00]--[2014-11-25 Di 10:45] =>  2:45
>>>> :END:
>>>>
>>>> - text I would like to see without having to scroll over all the CLOCK lines
>>>
>>> I use two drawers:
>>>
>>> #+DRAWERS: LOGBOOK OLDLOGS
>>>
>>> When the LOGBOOK get a bit long I manually move some the lines to
>>> OLDLOGS.  Both draws only open when I TAB on them.
>>>
>>> I don't actually use the data in the logs directly, just as a backup for
>>> my other time-keeping.  This is mainly because the one-minute resolution
>>> of the clocking is to fine for my needs.
>>>
>>> Have you changed the clocking resolution?  If so, how?  Or are you just
>>> an amazingly accurate clocker?
>>>
>>> Cheers,
>>>
>>> Loris
>>>
>> Hi Loris,
>>
>> please check variable org-time-stamp-rounding-minutes in order to round time stamps.
> 
> OK, thanks.  I'll have a look at that.
> 
>> You are right, when I am in an org file the logbook drawers do not
>> open by default when cycling.  My use case: I am jumping to a headline
>> directly from an agenda item. "Tabbing" on that item jumps to the
>> headline and shows the complete contents, including drawers.  Not sure
>> why this is the case. I would like to have the same behavior as when
>> tabbing in the Org file directly. Can you confirm this is the same in
>> your setting?
> 
> If I jump from the agenda entry 'Fun', I get something like the
> following:
> 
> * Stuff
> ** Fun...
> ** Boring...
> 
> If I press 'tab', I get
> 
> * Stuff
> ** Fun
>    :LOGBOOK:...
>    :OLDLOGS:...
> ** Boring
> 
> If I press 'tab' again, nothing happens.  If I press 'tab' a third time,
> the heading fold back and I get
> 
> * Stuff
> ** Fun...
> ** Boring...
> 
> again.  I'm not sure why the second press performs no action.  In any
> case, I only see the contents of the LOGBOOK draw if I move onto it and
> then press 'tab' again.  So quite different from the behaviour you get.
> 
> Regards
> 
> Loris
> 
>> Regards,
>> Rainer Stengele
>>
>>
> 

Loris,

you do not seem to have CLOCK entries directly under the headline "Stuff", to which you are jumping to from agenda.
Can you add a few CLOCK lines in drawer and simulate this and tell me if these stay closed or not directly after the jump.

Regards,
Rainer Stengele

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

* Re: lots of CLOCK lines displayed when opening a TODO
  2015-03-12 12:59       ` Rainer Stengele
@ 2015-03-12 13:39         ` Loris Bennett
  2015-03-13 12:12           ` Rainer Stengele
  0 siblings, 1 reply; 14+ messages in thread
From: Loris Bennett @ 2015-03-12 13:39 UTC (permalink / raw)
  To: emacs-orgmode

Rainer Stengele <rainer.stengele@online.de> writes:

> Am 12.03.2015 um 09:03 schrieb Loris Bennett:
>> Rainer Stengele <rainer.stengele@online.de> writes:
>> 
>>> Am 05.03.2015 um 09:02 schrieb Loris Bennett:
>>>> Rainer Stengele <rainer.stengele@online.de> writes:
>>>>
>>>>> Hi!
>>>>>
>>>>> I have lots of weekly reoccuring meetings and do collect the clocked
>>>>> time for each meeting.  After a while I have lots of CLOCK
>>>>> lines. Opening the TODO shows all the CLOCK lines shown, but my focus
>>>>> is on text below the CLOCK lines.  I started to use multiple LOGBOOK
>>>>> blocks in order to hide older CLOCK lines. Seems to work fine with
>>>>> clocking etc.  My requirement would be to only open the first LOGBOOK
>>>>> block when opening the headline (TODO).  That way I could hide older
>>>>> entries from using screen space and instead see the text below
>>>>> immediately.
>>>>>
>>>>> Anybody else uses multiple LOGBOOK blocks that way? Other ideas how to
>>>>> work?  Any chance to get this regarded as an enhancement idea?
>>>>>
>>>>> Thank you.
>>>>> Regards, Rainer
>>>>>
>>>>>
>>>>> * TODO [#A] Weekly Services - Action Items
>>>>> :LOGBOOK:
>>>>> CLOCK: [2015-03-04 Mi 10:15]--[2015-03-04 Mi 11:30] =>  1:15
>>>>> CLOCK: [2015-03-02 Mo 11:00]--[2015-03-02 Mo 12:15] =>  1:15
>>>>> :END:
>>>>> :LOGBOOK:
>>>>> CLOCK: [2015-02-25 Mi 10:00]--[2015-02-25 Mi 11:00] =>  1:00
>>>>> CLOCK: [2015-02-16 Mo 10:00]--[2015-02-16 Mo 11:15] =>  1:15
>>>>> CLOCK: [2015-02-06 Fr 09:30]--[2015-02-06 Fr 09:45] =>  0:15
>>>>> CLOCK: [2015-02-06 Fr 10:00]--[2015-02-06 Fr 11:00] =>  1:00
>>>>> CLOCK: [2015-01-23 Fr 13:45]--[2015-01-23 Fr 14:00] =>  0:15
>>>>> CLOCK: [2015-01-22 Do 14:30]--[2015-01-22 Do 14:45] =>  0:15
>>>>> CLOCK: [2015-01-22 Do 13:45]--[2015-01-22 Do 14:00] =>  0:15
>>>>> CLOCK: [2015-01-21 Mi 09:45]--[2015-01-21 Mi 10:45] =>  1:00
>>>>> CLOCK: [2015-01-20 Di 09:45]--[2015-01-20 Di 10:00] =>  0:15
>>>>> CLOCK: [2015-01-19 Mo 16:30]--[2015-01-19 Mo 16:45] =>  0:15
>>>>> CLOCK: [2015-01-19 Mo 13:15]--[2015-01-19 Mo 15:00] =>  1:45
>>>>> CLOCK: [2015-01-19 Mo 10:00]--[2015-01-19 Mo 11:15] =>  1:15
>>>>> CLOCK: [2014-12-15 Mo 10:00]--[2014-12-15 Mo 10:30] =>  0:30
>>>>> CLOCK: [2014-12-03 Mi 10:30]--[2014-12-03 Mi 11:15] =>  0:45
>>>>> CLOCK: [2014-12-01 Mo 09:45]--[2014-12-01 Mo 10:45] =>  1:00
>>>>> CLOCK: [2014-11-03 Mo 10:00]--[2014-11-03 Mo 11:00] =>  1:00
>>>>> CLOCK: [2014-11-10 Mo 09:45]--[2014-11-10 Mo 10:45] =>  1:00
>>>>> CLOCK: [2014-11-19 Mi 10:30]--[2014-11-19 Mi 11:15] =>  0:45
>>>>> CLOCK: [2014-11-24 Mo 10:00]--[2014-11-24 Mo 11:00] =>  1:00
>>>>> CLOCK: [2014-11-25 Di 08:00]--[2014-11-25 Di 10:45] =>  2:45
>>>>> :END:
>>>>>
>>>>> - text I would like to see without having to scroll over all the CLOCK lines
>>>>
>>>> I use two drawers:
>>>>
>>>> #+DRAWERS: LOGBOOK OLDLOGS
>>>>
>>>> When the LOGBOOK get a bit long I manually move some the lines to
>>>> OLDLOGS.  Both draws only open when I TAB on them.
>>>>
>>>> I don't actually use the data in the logs directly, just as a backup for
>>>> my other time-keeping.  This is mainly because the one-minute resolution
>>>> of the clocking is to fine for my needs.
>>>>
>>>> Have you changed the clocking resolution?  If so, how?  Or are you just
>>>> an amazingly accurate clocker?
>>>>
>>>> Cheers,
>>>>
>>>> Loris
>>>>
>>> Hi Loris,
>>>
>>> please check variable org-time-stamp-rounding-minutes in order to round time stamps.
>> 
>> OK, thanks.  I'll have a look at that.
>> 
>>> You are right, when I am in an org file the logbook drawers do not
>>> open by default when cycling.  My use case: I am jumping to a headline
>>> directly from an agenda item. "Tabbing" on that item jumps to the
>>> headline and shows the complete contents, including drawers.  Not sure
>>> why this is the case. I would like to have the same behavior as when
>>> tabbing in the Org file directly. Can you confirm this is the same in
>>> your setting?
>> 
>> If I jump from the agenda entry 'Fun', I get something like the
>> following:
>> 
>> * Stuff
>> ** Fun...
>> ** Boring...
>> 
>> If I press 'tab', I get
>> 
>> * Stuff
>> ** Fun
>>    :LOGBOOK:...
>>    :OLDLOGS:...
>> ** Boring
>> 
>> If I press 'tab' again, nothing happens.  If I press 'tab' a third time,
>> the heading fold back and I get
>> 
>> * Stuff
>> ** Fun...
>> ** Boring...
>> 
>> again.  I'm not sure why the second press performs no action.  In any
>> case, I only see the contents of the LOGBOOK draw if I move onto it and
>> then press 'tab' again.  So quite different from the behaviour you get.
>> 
>> Regards
>> 
>> Loris
>> 
>>> Regards,
>>> Rainer Stengele
>>>
>>>
>> 
>
> Loris,
>
> you do not seem to have CLOCK entries directly under the headline
> "Stuff", to which you are jumping to from agenda.  Can you add a few
> CLOCK lines in drawer and simulate this and tell me if these stay
> closed or not directly after the jump.
>
> Regards,
> Rainer Stengele

I was actually jumping to "Fun" rather that "Stuff".  And "Fun" does
have a draw full of CLOCKs.  What I don't have is a top-level heading in
my agenda and I don't have any top-level heading which I clock into.

I could test this, but I would have to tweak my setup a bit more than I
can do easily at the moment.  Do you think the level of the heading
being jumped to makes a difference?

Cheers,

Loris

-- 
This signature is currently under construction.

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

* Re: lots of CLOCK lines displayed when opening a TODO
  2015-03-12  5:47   ` Xavier Maillard
@ 2015-03-12 14:12     ` Leo Ufimtsev
  2015-03-14  5:49       ` Xavier Maillard
  0 siblings, 1 reply; 14+ messages in thread
From: Leo Ufimtsev @ 2015-03-12 14:12 UTC (permalink / raw)
  To: Xavier Maillard; +Cc: Rainer Stengele, emacs-orgmode

>> (org-drawers
>>    (quote
>>     ("FURTHER_READING" "THEORY" "TASKS" "INFO" "TIP" "NOTE" "EG" "LINKS" "APPENDIX" "DETAILS" "PROPERTIES" "CLOCK" "LOGBOOK" "RESULTS" "TASKARCHIVE" "SOURCE" "TROUBLESHOOTING")))

>OMG ! All of them are used ?
:-D,  I need to consolidate some of those. Many are left overs from the distant past. 


My todo list is publicly viewable:
leoufimtsev.github.io./org/dev.org

But below might be a more "typical" task.  
You might notice that most of my time stamps are ~30mins long. That's because I work in 30 minute time blocks (like pomodoro with 5 mins extra).
I use org-pomodoro with some customizations (e.g notifications upon completion, stop/continue functionality etc..). 


I then have a 'last week' report that shows me what I've done the week before so I can use that to make my weekly reports.
#+BEGIN: clocktable  :tstart "<-6d>" :tend "<now>" :scope agenda-with-archives :narrow 85 :formatter my-org-clocktable-notodo :maxlevel 3 :fileskip0

|---------+---------------------------------------------------------------------------------------+---------+-------+------|
| dev.org | *File time*                                                                           | *15:29* |       |      |
|         | Dev                                                                                   |   12:55 |       |      |
......
#+END:
(the formatter function trims out 'TODO' keywords). 




*** HOLD [[https://bugs.eclipse.org/bugs/show_bug.cgi?id=461616][Bug 461616 – {GTK3} Combo improvements in background/foreground for gtk3]]
SCHEDULED: <2015-03-23 Mon>
:LOGBOOK:  
- Note taken on [2015-03-11 Wed 12:38] \\
  changed bits as per Alex's comments. Awaiting Alex approval.
CLOCK: [2015-03-11 Wed 11:57]--[2015-03-11 Wed 12:27] =>  0:30
CLOCK: [2015-03-11 Wed 11:48]--[2015-03-11 Wed 11:49] =>  0:01
- Note taken on [2015-03-10 Tue 14:25] \\
  awaiting review by alex.
CLOCK: [2015-03-10 Tue 13:45]--[2015-03-10 Tue 14:15] =>  0:30
CLOCK: [2015-03-10 Tue 11:59]--[2015-03-10 Tue 12:29] =>  0:30
CLOCK: [2015-03-10 Tue 11:25]--[2015-03-10 Tue 11:55] =>  0:30
CLOCK: [2015-03-09 Mon 16:52]--[2015-03-09 Mon 17:41] =>  0:49
CLOCK: [2015-03-09 Mon 16:01]--[2015-03-09 Mon 16:35] =>  0:34
CLOCK: [2015-03-09 Mon 15:21]--[2015-03-09 Mon 15:51] =>  0:30
CLOCK: [2015-03-09 Mon 14:33]--[2015-03-09 Mon 15:03] =>  0:30
CLOCK: [2015-03-09 Mon 11:50]--[2015-03-09 Mon 12:52] =>  1:02
CLOCK: [2015-03-09 Mon 11:11]--[2015-03-09 Mon 11:41] =>  0:30
CLOCK: [2015-03-06 Fri 16:31]--[2015-03-06 Fri 17:01] =>  0:30
CLOCK: [2015-03-06 Fri 14:19]--[2015-03-06 Fri 14:49] =>  0:30
CLOCK: [2015-03-06 Fri 13:45]--[2015-03-06 Fri 14:15] =>  0:30
CLOCK: [2015-03-06 Fri 10:53]--[2015-03-06 Fri 12:56] =>  2:03
CLOCK: [2015-03-05 Thu 16:43]--[2015-03-05 Thu 17:30] =>  0:47
CLOCK: [2015-03-05 Thu 16:01]--[2015-03-05 Thu 16:31] =>  0:30
CLOCK: [2015-03-05 Thu 14:25]--[2015-03-05 Thu 15:00] =>  0:35
CLOCK: [2015-03-05 Thu 12:43]--[2015-03-05 Thu 13:13] =>  0:30
CLOCK: [2015-03-05 Thu 12:12]--[2015-03-05 Thu 12:42] =>  0:30
CLOCK: [2015-03-05 Thu 11:56]--[2015-03-05 Thu 12:04] =>  0:08
CLOCK: [2015-03-05 Thu 11:11]--[2015-03-05 Thu 11:41] =>  0:30
CLOCK: [2015-03-04 Wed 16:01]--[2015-03-04 Wed 16:07] =>  0:06
CLOCK: [2015-03-04 Wed 15:35]--[2015-03-04 Wed 15:37] =>  0:02
CLOCK: [2015-03-04 Wed 15:07]--[2015-03-04 Wed 15:35] =>  0:28
CLOCK: [2015-03-04 Wed 13:47]--[2015-03-04 Wed 14:17] =>  0:30
CLOCK: [2015-03-04 Wed 12:35]--[2015-03-04 Wed 13:04] =>  0:29
:END:      
:PROPERTIES:
:Effort:   4:00
:END:      
- [X] Write/find test cases.
  - Info: Test_*Control : test_setForeground... tests bits.
   :DETAILS:
#+BEGIN_SRC java
	Color color = new Color(control.getDisplay(), 255, 0, 0);
	control.setForeground(color);
	assertEquals(color, control.getForeground());
	control.setForeground(null);
	assertTrue(!control.getForeground().equals(color));
	color.dispose();
#+END_SRC 
:END:
- [X] change the setForeground method so that it doesn't use gdkcolor. 
  - [X] either an if/else gtk3 block, or refer to widget's implementation.
- [X] Add color test cases to combo's junit test suite.
- [-] fix background color error on Junit on GTK3.
  - [-] Looks on gtk3:
    - [X] Before my change:
      - [X] SWT.NONE   [[./img/img_2015_03_05__16_17_00.png]] (entries are not colored) Backgrounds don't match. 
      - [X] SWT.READ_ONLY   [[./img/img_2015_03_05__16_19_45.png]] (entries not coloured) Backgrounds match.
    - [ ] After my fix:
      ....

- [X] Try to make all g_object_set functinos dynamic. 
  - [X] Try to find other dynamic functions that are overloaded. 
  - [X] overload all g_object_set. *didn't work*
    - [X] inspect os.c

- Investigate if backgruonds match in GTK2 before my fix.

- [X] Add custom g_object_set_gtk3 Function to os_custom.h and os_custom.c that translates to GdkRGBA
  - [X] Added swt_custom_leo_function to os_custom.c and os_custom.h
        that works differently depending on os. 
  - [X] Write custom g_object_set_gtk3 function that does translation.


 
- [X] investigate pre-launch warning messages?
  - [X] Seem to occur. Try running snippet without printing messages.

- [X] pass criteria:
  - [X] All text is red on gtk2/gtk3. 

- [ ] weed out PRE_GTK3 and styleIsReadOnly








Let me know if you have any questions.


Leo Ufimtsev | Intern Software Engineer @ Eclipse Team

----- Original Message -----
From: "Xavier Maillard" <xavier@maillard.im>
To: "Leo Ufimtsev" <lufimtse@redhat.com>
Cc: "Rainer Stengele" <rainer.stengele@online.de>, emacs-orgmode@gnu.org
Sent: Thursday, March 12, 2015 1:47:32 AM
Subject: Re: [O] lots of CLOCK lines displayed when opening a TODO

Hello Leo,

Leo Ufimtsev <lufimtse@redhat.com> writes:

> I log everything into the logbook. Clocktimes, state changes, dated notes when I put an item on hold.
> I found it too tedious to move things around.

Would you mind producing a "typical" TODO to see how it looks like ?
This is a topic where I am not (yet) very comfortable with. I tend to
put notes and so on here and there in my TODOs and my todo list is
slowly going crappy :)

> (org-drawers
>    (quote
>     ("FURTHER_READING" "THEORY" "TASKS" "INFO" "TIP" "NOTE" "EG" "LINKS" "APPENDIX" "DETAILS" "PROPERTIES" "CLOCK" "LOGBOOK" "RESULTS" "TASKARCHIVE" "SOURCE" "TROUBLESHOOTING")))

OMG ! All of them are used ?

Regards
-- Xavier.

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

* Re: lots of CLOCK lines displayed when opening a TODO
  2015-03-12 12:14       ` Nick Dokos
@ 2015-03-12 14:17         ` Leo Ufimtsev
  0 siblings, 0 replies; 14+ messages in thread
From: Leo Ufimtsev @ 2015-03-12 14:17 UTC (permalink / raw)
  To: Nick Dokos; +Cc: emacs-orgmode

I've been down this road before,

I tried to add a hook to org-cycle to make it expand log-book drawers, but wasn't very successful in the past:
http://emacs.stackexchange.com/questions/9743/expand-logbook-on-2nd-tab-press-hook-for-2nd-org-cycle

If anyone has working hack for this, it'd be cool :-)

Leo Ufimtsev | Intern Software Engineer @ Eclipse Team

----- Original Message -----
From: "Nick Dokos" <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Sent: Thursday, March 12, 2015 8:14:09 AM
Subject: Re: [O] lots of CLOCK lines displayed when opening a TODO

"Loris Bennett" <loris.bennett@fu-berlin.de> writes:

>
> If I jump from the agenda entry 'Fun', I get something like the
> following:
>
> * Stuff
> ** Fun...
> ** Boring...
>
> If I press 'tab', I get
>
> * Stuff
> ** Fun
>    :LOGBOOK:...
>    :OLDLOGS:...
> ** Boring
>
> If I press 'tab' again, nothing happens.  If I press 'tab' a third time,
> the heading fold back and I get
>
> * Stuff
> ** Fun...
> ** Boring...
>
> again.  I'm not sure why the second press performs no action.

Only because there is no subheading under Fun: if you had one, the
second tab would open it.

> In any
> case, I only see the contents of the LOGBOOK draw if I move onto it and
> then press 'tab' again.  So quite different from the behaviour you get.
>
This is the behaviour I would expect.

-- 
Nick

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

* Re: lots of CLOCK lines displayed when opening a TODO
  2015-03-12 13:39         ` Loris Bennett
@ 2015-03-13 12:12           ` Rainer Stengele
  0 siblings, 0 replies; 14+ messages in thread
From: Rainer Stengele @ 2015-03-13 12:12 UTC (permalink / raw)
  To: emacs-orgmode

Am 12.03.2015 um 14:39 schrieb Loris Bennett:
> Rainer Stengele <rainer.stengele@online.de> writes:
> 
>> Am 12.03.2015 um 09:03 schrieb Loris Bennett:
>>> Rainer Stengele <rainer.stengele@online.de> writes:
>>>
>>>> Am 05.03.2015 um 09:02 schrieb Loris Bennett:
>>>>> Rainer Stengele <rainer.stengele@online.de> writes:
>>>>>
>>>>>> Hi!
>>>>>>
>>>>>> I have lots of weekly reoccuring meetings and do collect the clocked
>>>>>> time for each meeting.  After a while I have lots of CLOCK
>>>>>> lines. Opening the TODO shows all the CLOCK lines shown, but my focus
>>>>>> is on text below the CLOCK lines.  I started to use multiple LOGBOOK
>>>>>> blocks in order to hide older CLOCK lines. Seems to work fine with
>>>>>> clocking etc.  My requirement would be to only open the first LOGBOOK
>>>>>> block when opening the headline (TODO).  That way I could hide older
>>>>>> entries from using screen space and instead see the text below
>>>>>> immediately.
>>>>>>
>>>>>> Anybody else uses multiple LOGBOOK blocks that way? Other ideas how to
>>>>>> work?  Any chance to get this regarded as an enhancement idea?
>>>>>>
>>>>>> Thank you.
>>>>>> Regards, Rainer
>>>>>>
>>>>>>
>>>>>> * TODO [#A] Weekly Services - Action Items
>>>>>> :LOGBOOK:
>>>>>> CLOCK: [2015-03-04 Mi 10:15]--[2015-03-04 Mi 11:30] =>  1:15
>>>>>> CLOCK: [2015-03-02 Mo 11:00]--[2015-03-02 Mo 12:15] =>  1:15
>>>>>> :END:
>>>>>> :LOGBOOK:
>>>>>> CLOCK: [2015-02-25 Mi 10:00]--[2015-02-25 Mi 11:00] =>  1:00
>>>>>> CLOCK: [2015-02-16 Mo 10:00]--[2015-02-16 Mo 11:15] =>  1:15
>>>>>> CLOCK: [2015-02-06 Fr 09:30]--[2015-02-06 Fr 09:45] =>  0:15
>>>>>> CLOCK: [2015-02-06 Fr 10:00]--[2015-02-06 Fr 11:00] =>  1:00
>>>>>> CLOCK: [2015-01-23 Fr 13:45]--[2015-01-23 Fr 14:00] =>  0:15
>>>>>> CLOCK: [2015-01-22 Do 14:30]--[2015-01-22 Do 14:45] =>  0:15
>>>>>> CLOCK: [2015-01-22 Do 13:45]--[2015-01-22 Do 14:00] =>  0:15
>>>>>> CLOCK: [2015-01-21 Mi 09:45]--[2015-01-21 Mi 10:45] =>  1:00
>>>>>> CLOCK: [2015-01-20 Di 09:45]--[2015-01-20 Di 10:00] =>  0:15
>>>>>> CLOCK: [2015-01-19 Mo 16:30]--[2015-01-19 Mo 16:45] =>  0:15
>>>>>> CLOCK: [2015-01-19 Mo 13:15]--[2015-01-19 Mo 15:00] =>  1:45
>>>>>> CLOCK: [2015-01-19 Mo 10:00]--[2015-01-19 Mo 11:15] =>  1:15
>>>>>> CLOCK: [2014-12-15 Mo 10:00]--[2014-12-15 Mo 10:30] =>  0:30
>>>>>> CLOCK: [2014-12-03 Mi 10:30]--[2014-12-03 Mi 11:15] =>  0:45
>>>>>> CLOCK: [2014-12-01 Mo 09:45]--[2014-12-01 Mo 10:45] =>  1:00
>>>>>> CLOCK: [2014-11-03 Mo 10:00]--[2014-11-03 Mo 11:00] =>  1:00
>>>>>> CLOCK: [2014-11-10 Mo 09:45]--[2014-11-10 Mo 10:45] =>  1:00
>>>>>> CLOCK: [2014-11-19 Mi 10:30]--[2014-11-19 Mi 11:15] =>  0:45
>>>>>> CLOCK: [2014-11-24 Mo 10:00]--[2014-11-24 Mo 11:00] =>  1:00
>>>>>> CLOCK: [2014-11-25 Di 08:00]--[2014-11-25 Di 10:45] =>  2:45
>>>>>> :END:
>>>>>>
>>>>>> - text I would like to see without having to scroll over all the CLOCK lines
>>>>>
>>>>> I use two drawers:
>>>>>
>>>>> #+DRAWERS: LOGBOOK OLDLOGS
>>>>>
>>>>> When the LOGBOOK get a bit long I manually move some the lines to
>>>>> OLDLOGS.  Both draws only open when I TAB on them.
>>>>>
>>>>> I don't actually use the data in the logs directly, just as a backup for
>>>>> my other time-keeping.  This is mainly because the one-minute resolution
>>>>> of the clocking is to fine for my needs.
>>>>>
>>>>> Have you changed the clocking resolution?  If so, how?  Or are you just
>>>>> an amazingly accurate clocker?
>>>>>
>>>>> Cheers,
>>>>>
>>>>> Loris
>>>>>
>>>> Hi Loris,
>>>>
>>>> please check variable org-time-stamp-rounding-minutes in order to round time stamps.
>>>
>>> OK, thanks.  I'll have a look at that.
>>>
>>>> You are right, when I am in an org file the logbook drawers do not
>>>> open by default when cycling.  My use case: I am jumping to a headline
>>>> directly from an agenda item. "Tabbing" on that item jumps to the
>>>> headline and shows the complete contents, including drawers.  Not sure
>>>> why this is the case. I would like to have the same behavior as when
>>>> tabbing in the Org file directly. Can you confirm this is the same in
>>>> your setting?
>>>
>>> If I jump from the agenda entry 'Fun', I get something like the
>>> following:
>>>
>>> * Stuff
>>> ** Fun...
>>> ** Boring...
>>>
>>> If I press 'tab', I get
>>>
>>> * Stuff
>>> ** Fun
>>>    :LOGBOOK:...
>>>    :OLDLOGS:...
>>> ** Boring
>>>
>>> If I press 'tab' again, nothing happens.  If I press 'tab' a third time,
>>> the heading fold back and I get
>>>
>>> * Stuff
>>> ** Fun...
>>> ** Boring...
>>>
>>> again.  I'm not sure why the second press performs no action.  In any
>>> case, I only see the contents of the LOGBOOK draw if I move onto it and
>>> then press 'tab' again.  So quite different from the behaviour you get.
>>>
>>> Regards
>>>
>>> Loris
>>>
>>>> Regards,
>>>> Rainer Stengele
>>>>
>>>>
>>>
>>
>> Loris,
>>
>> you do not seem to have CLOCK entries directly under the headline
>> "Stuff", to which you are jumping to from agenda.  Can you add a few
>> CLOCK lines in drawer and simulate this and tell me if these stay
>> closed or not directly after the jump.
>>
>> Regards,
>> Rainer Stengele
> 
> I was actually jumping to "Fun" rather that "Stuff".  And "Fun" does
> have a draw full of CLOCKs.  What I don't have is a top-level heading in
> my agenda and I don't have any top-level heading which I clock into.
> 
> I could test this, but I would have to tweak my setup a bit more than I
> can do easily at the moment.  Do you think the level of the heading
> being jumped to makes a difference?
> 
> Cheers,
> 
> Loris
> 

I do not think the headline level makes a difference.
So I do take this as with our settings the CLOCK lines drawer is not opened when jumping from agenda to it.
I will need to recheck all my settings why this is the case here.
Thank you.
Regards, Rainer

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

* Re: lots of CLOCK lines displayed when opening a TODO
  2015-03-12 14:12     ` Leo Ufimtsev
@ 2015-03-14  5:49       ` Xavier Maillard
  0 siblings, 0 replies; 14+ messages in thread
From: Xavier Maillard @ 2015-03-14  5:49 UTC (permalink / raw)
  To: Leo Ufimtsev; +Cc: Rainer Stengele, emacs-orgmode


Leo Ufimtsev <lufimtse@redhat.com> writes:

>>> (org-drawers
>>>    (quote
>>>     ("FURTHER_READING" "THEORY" "TASKS" "INFO" "TIP" "NOTE" "EG" "LINKS" "APPENDIX" "DETAILS" "PROPERTIES" "CLOCK" "LOGBOOK" "RESULTS" "TASKARCHIVE" "SOURCE" "TROUBLESHOOTING")))
>
>>OMG ! All of them are used ?
> :-D,  I need to consolidate some of those. Many are left overs from the distant past.

Copy that ! :)

> My todo list is publicly viewable:
> leoufimtsev.github.io./org/dev.org

Thank you for sharing.

> But below might be a more "typical" task.
> You might notice that most of my time stamps are ~30mins
> long. That's because I work in 30 minute time blocks (like pomodoro
> with 5 mins extra).

Interesting approach. Kind of /off topic/ but can you tell me in what
pomodoro is doing for you ? Are you the kind of person (like me) who
loves to have many topic/items and gets quickly bored when spending
too much time on each of them ?

> I use org-pomodoro with some customizations (e.g notifications upon completion, stop/continue functionality etc..).

I need to learn that !

> I then have a 'last week' report that shows me what I've done the
> week before so I can use that to make my weekly reports.

This is something I'd like to produce too in order to fill my
activity report for my boss.

> *** HOLD [[https://bugs.eclipse.org/bugs/show_bug.cgi?id=461616][Bug 461616 – {GTK3} Combo improvements in background/foreground for gtk3]]

[ quite long todo ]

> Let me know if you have any questions.

As I see it, you write down and clock things as much as possible. My
sole question currently is: how do you think to clock things
permanently ? If I look at how I do this, I kind of miss my
clock-in/clock-out :)

Regards
-- Xavier.

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

end of thread, other threads:[~2015-03-14  5:49 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-04 15:46 lots of CLOCK lines displayed when opening a TODO Rainer Stengele
2015-03-05  5:14 ` Richard Lawrence
2015-03-05  8:02 ` Loris Bennett
2015-03-11 14:58   ` Rainer Stengele
2015-03-12  8:03     ` Loris Bennett
2015-03-12 12:14       ` Nick Dokos
2015-03-12 14:17         ` Leo Ufimtsev
2015-03-12 12:59       ` Rainer Stengele
2015-03-12 13:39         ` Loris Bennett
2015-03-13 12:12           ` Rainer Stengele
2015-03-05 15:11 ` Leo Ufimtsev
2015-03-12  5:47   ` Xavier Maillard
2015-03-12 14:12     ` Leo Ufimtsev
2015-03-14  5:49       ` Xavier Maillard

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