Re: [O] total time spent on a task

2014-04-17 Thread Bastien
Hi Christoph,

Christoph Groth christ...@grothesque.org writes:

 In fact, times were shown for the other headlines as well, but
 white-on-yellow!  I've modified the org-clock-overlay so the problem is
 now fixed for me.

 Is this a bug?  (It appears for me in bleeding edge orgmode.)  The
 original org-clock-overlay only specifies the background color as yellow.
 How to find out from which face the white foreground was inherited?  The
 command describe-face does not seem to help for this.

I can't reproduce the problem here, it probably depends on the Emacs
version you use.  Can you tell more about your setup?

-- 
 Bastien



Re: [O] total time spent on a task

2014-04-17 Thread Christoph Groth

Hi Bastien,

Thank you for looking into this.

Bastien b...@gnu.org writes:


In fact, times were shown for the other headlines as well, but
white-on-yellow!  I've modified the org-clock-overlay so the 
problem

is now fixed for me.

Is this a bug?  (It appears for me in bleeding edge orgmode.) 
The
original org-clock-overlay only specifies the background color 
as
yellow.  How to find out from which face the white foreground 
was
inherited?  The command describe-face does not seem to help for 
this.


I can't reproduce the problem here, it probably depends on the 
Emacs

version you use.  Can you tell more about your setup?


I'm running Emacs 24.3.1 and org-mode 8.2.4, both from Debian 
testing.
By bisecting my Emacs configuration I've found out that the 
culprit is


(setq org-startup-indented t)

When indented mode is disabled, the overlays appear with brown 
text on

yellow background.  Can you reproduce this?

Christoph




Re: [O] total time spent on a task

2014-04-17 Thread Bastien
Hi Christoph,

Christoph Groth christ...@grothesque.org writes:

 (setq org-startup-indented t)

Good hint, this is now fixed, thanks!

-- 
 Bastien



Re: [O] total time spent on a task

2014-04-15 Thread Christoph Groth
Sacha Chua sa...@sachachua.com writes:

 Hmm, mine shows clock overlays for all headings with clock entries,
 including TODO headings. I'm on Org 8.2.5h. By any chance, could those
 overlays have invisible text? You can customize-face
 org-clock-overlay.  I remember that had been a problem for some people
 before.

In fact, times were shown for the other headlines as well, but
white-on-yellow!  I've modified the org-clock-overlay so the problem is
now fixed for me.

Is this a bug?  (It appears for me in bleeding edge orgmode.)  The
original org-clock-overlay only specifies the background color as yellow.
How to find out from which face the white foreground was inherited?  The
command describe-face does not seem to help for this.

Christoph




Re: [O] total time spent on a task

2014-04-14 Thread Sacha Chua
Christoph Groth christ...@grothesque.org writes:

Hello, Christoph!

 I’m looking for a quick way to check the total time spent on a task.  I
 bet I’m missing something obvious.  (I have set
 org-clock-mode-line-total to today, so I do not see the total time of a
 clocked-in task in the mode line.)

C-c C-x C-d (org-clock-display) will show the task times as overlays on
the headings. If you want something exportable, you can use C-c C-x C-r
(org-clock-report) - see the info page for The clock table for lots of
options. If you want the number of minutes in Emacs Lisp, use
(org-clock-sum-current-item) for the current item or (org-clock-sum) to
add totals to all, then go to the heading and get the :org-clock-minutes
property.

Hope that helps!

Sacha




Re: [O] total time spent on a task

2014-04-14 Thread Christoph Groth
Hello Sacha,

Thanks for your quick reply.

Sacha Chua sa...@sachachua.com writes:

 C-c C-x C-d (org-clock-display) will show the task times as overlays
 on the headings.

That seems to be exactly what I need.  It works, but only shows times
for top-level headings (i.e. for example miscellaneous but not the
TODO items underneath).  Is this the way this is supposed to work?

I can see that overlays are added for all the headings that were clocked
on lower levels as well, but that overlays contain only spaces.

Best,
Christoph




Re: [O] total time spent on a task

2014-04-14 Thread Sacha Chua
Christoph Groth christ...@grothesque.org writes:

Hello, Christoph!

 C-c C-x C-d (org-clock-display) will show the task times as overlays
 on the headings.
 That seems to be exactly what I need.  It works, but only shows times
 for top-level headings (i.e. for example miscellaneous but not the
 TODO items underneath).  Is this the way this is supposed to work?
 I can see that overlays are added for all the headings that were clocked
 on lower levels as well, but that overlays contain only spaces.

Hmm, mine shows clock overlays for all headings with clock entries,
including TODO headings. I'm on Org 8.2.5h. By any chance, could those
overlays have invisible text? You can customize-face org-clock-overlay.
I remember that had been a problem for some people before.

Sacha