Hello,

Luke <mideniko1234-...@yahoo.co.uk> writes:

> The face of the clocked time does not seem to change when the clock
> overruns (typically it changes to a red background).
>
> I'm no lisp expert, but after digging around in the code it looks like
> the problem is in org-clock-get-clock-string():
>
>     662 (defun org-clock-get-clock-string ()
>     663   "Form a clock-string, that will be shown in the mode line.
>     664 If an effort estimate was defined for the current item, use
>     665 01:30/01:50 format (clocked/estimated).
>     666 If not, show simply the clocked time like 01:50."
>     667   (let ((clocked-time (org-clock-get-clocked-time)))
>     668     (propertize
>     669      (if org-clock-effort
>
>     ...
>
>     683      'face 'org-mode-line-clock)))
>
> It seems like the call to propertize (on line #668) is overwriting the
> face ('org-mode-line-clock-overrun) of the resulting string with
> 'org-mode-line-clock. I think this change was introduced in commit
> 6655429b8d.

Fixed. Thank you.

Regards,

-- 
Nicolas Goaziou

Reply via email to