org-clock: Add `untilnow' time block
commitc76fef6b9df3ffbb6a1cf4047f391721c4076caa
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Fri, 20 Feb 2015 10:35:16 +0000 (20 11:35 +0100)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Sat, 4 Jul 2015 12:31:34 +0000 (4 14:31 +0200)
tree13f206531761fb91e1e4951488549f5d1db2a1e8
parent5a3ab2a7fd32af3fbfcfd0353c39a28b9646827d
org-clock: Add `untilnow' time block

* lisp/org-clock.el (org-clock-special-range): Handle `untilnow'
  range.
(org-clock--oldest-date): New variable.
(org-clock-display-default-range): Add `untilnow' as valid range.  Use
new variable.
(org-clock-display): Offer `untilnow' as a possible range.

* doc/org.texi (The clock table): Document `untilnow'

* testing/lisp/test-org-clock.el (test-org-clock-clocktable-contents-at-point): Fix test
when called interactively.
(test-org-clock/clocktable):
(test-org-clock/clocktable1): Update tests.
(test-org-clock/clocktable-until-now): New test.

* etc/ORG-NEWS (title): Document new feature.

Suggested-by: Sébastien Vauban
doc/org.texi
etc/ORG-NEWS
lisp/org-clock.el
testing/lisp/test-org-clock.el