Re: [O] lots of CLOCK lines displayed when opening a TODO

2015-03-13 Thread Xavier Maillard

Leo Ufimtsev lufim...@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.



Re: [O] lots of CLOCK lines displayed when opening a TODO

2015-03-13 Thread Rainer Stengele
Am 12.03.2015 um 14:39 schrieb Loris Bennett:
 Rainer Stengele rainer.steng...@online.de writes:
 
 Am 12.03.2015 um 09:03 schrieb Loris Bennett:
 Rainer Stengele rainer.steng...@online.de writes:

 Am 05.03.2015 um 09:02 schrieb Loris Bennett:
 Rainer Stengele rainer.steng...@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 

Re: [O] lots of CLOCK lines displayed when opening a TODO

2015-03-12 Thread Loris Bennett
Rainer Stengele rainer.steng...@online.de writes:

 Am 05.03.2015 um 09:02 schrieb Loris Bennett:
 Rainer Stengele rainer.steng...@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.




Re: [O] lots of CLOCK lines displayed when opening a TODO

2015-03-12 Thread Leo Ufimtsev
.


 
- [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 xav...@maillard.im
To: Leo Ufimtsev lufim...@redhat.com
Cc: Rainer Stengele rainer.steng...@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 lufim...@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.



Re: [O] lots of CLOCK lines displayed when opening a TODO

2015-03-12 Thread Leo Ufimtsev
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 ndo...@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.benn...@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





Re: [O] lots of CLOCK lines displayed when opening a TODO

2015-03-12 Thread Loris Bennett
Rainer Stengele rainer.steng...@online.de writes:

 Am 12.03.2015 um 09:03 schrieb Loris Bennett:
 Rainer Stengele rainer.steng...@online.de writes:
 
 Am 05.03.2015 um 09:02 schrieb Loris Bennett:
 Rainer Stengele rainer.steng...@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.




Re: [O] lots of CLOCK lines displayed when opening a TODO

2015-03-12 Thread Rainer Stengele
Am 12.03.2015 um 09:03 schrieb Loris Bennett:
 Rainer Stengele rainer.steng...@online.de writes:
 
 Am 05.03.2015 um 09:02 schrieb Loris Bennett:
 Rainer Stengele rainer.steng...@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



Re: [O] lots of CLOCK lines displayed when opening a TODO

2015-03-12 Thread Nick Dokos
Loris Bennett loris.benn...@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




Re: [O] lots of CLOCK lines displayed when opening a TODO

2015-03-11 Thread Rainer Stengele
Am 05.03.2015 um 09:02 schrieb Loris Bennett:
 Rainer Stengele rainer.steng...@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



Re: [O] lots of CLOCK lines displayed when opening a TODO

2015-03-11 Thread Xavier Maillard
Hello Leo,

Leo Ufimtsev lufim...@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.



Re: [O] lots of CLOCK lines displayed when opening a TODO

2015-03-05 Thread Loris Bennett
Rainer Stengele rainer.steng...@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.




Re: [O] lots of CLOCK lines displayed when opening a TODO

2015-03-05 Thread Leo Ufimtsev
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.steng...@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




[O] lots of CLOCK lines displayed when opening a TODO

2015-03-04 Thread Rainer Stengele
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




Re: [O] lots of CLOCK lines displayed when opening a TODO

2015-03-04 Thread Richard Lawrence
Hi Rainer,

Rainer Stengele rainer.steng...@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