emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Strange behavior of C-c C-x C-d
@ 2015-08-29  6:58 Marcin Borkowski
  2015-08-29 11:31 ` Nicolas Goaziou
  0 siblings, 1 reply; 4+ messages in thread
From: Marcin Borkowski @ 2015-08-29  6:58 UTC (permalink / raw)
  To: Org-Mode mailing list

Hi all,

I have this:

--8<---------------cut here---------------start------------->8---
* TODO Some task
:LOGBOOK:
CLOCK: [2015-08-29 sob 08:45]--[2015-08-29 sob 08:50] =>  0:05
CLOCK: [2014-11-06 czw 01:41]--[2014-11-06 czw 01:53] =>  0:12
:END:
--8<---------------cut here---------------end--------------->8---

and pressing C-c C-x C-d reveals that the 12 minutes of last year are
not counted.  The problem disappears with emacs -Q.  Before I bisect my
long-ish init.el: does anyone know what might be the cause for that?

TIA,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University

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

* Re: Strange behavior of C-c C-x C-d
  2015-08-29  6:58 Strange behavior of C-c C-x C-d Marcin Borkowski
@ 2015-08-29 11:31 ` Nicolas Goaziou
  2015-08-29 14:40   ` Marcin Borkowski
  0 siblings, 1 reply; 4+ messages in thread
From: Nicolas Goaziou @ 2015-08-29 11:31 UTC (permalink / raw)
  To: Marcin Borkowski; +Cc: Org-Mode mailing list

Hello,

Marcin Borkowski <mbork@mbork.pl> writes:

> I have this:
>
> * TODO Some task
> :LOGBOOK:
> CLOCK: [2015-08-29 sob 08:45]--[2015-08-29 sob 08:50] =>  0:05
> CLOCK: [2014-11-06 czw 01:41]--[2014-11-06 czw 01:53] =>  0:12
> :END:
>
> and pressing C-c C-x C-d reveals that the 12 minutes of last year are
> not counted.  The problem disappears with emacs -Q.  Before I bisect my
> long-ish init.el: does anyone know what might be the cause for that?

You probably need to tweak `org-clock-display-default-range'.

Regards,

-- 
Nicolas Goaziou

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

* Re: Strange behavior of C-c C-x C-d
  2015-08-29 11:31 ` Nicolas Goaziou
@ 2015-08-29 14:40   ` Marcin Borkowski
  2015-08-29 16:31     ` Nicolas Goaziou
  0 siblings, 1 reply; 4+ messages in thread
From: Marcin Borkowski @ 2015-08-29 14:40 UTC (permalink / raw)
  To: Org-Mode mailing list


On 2015-08-29, at 13:31, Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:

> Hello,
>
> Marcin Borkowski <mbork@mbork.pl> writes:
>
>> I have this:
>>
>> * TODO Some task
>> :LOGBOOK:
>> CLOCK: [2015-08-29 sob 08:45]--[2015-08-29 sob 08:50] =>  0:05
>> CLOCK: [2014-11-06 czw 01:41]--[2014-11-06 czw 01:53] =>  0:12
>> :END:
>>
>> and pressing C-c C-x C-d reveals that the 12 minutes of last year are
>> not counted.  The problem disappears with emacs -Q.  Before I bisect my
>> long-ish init.el: does anyone know what might be the cause for that?
>
> You probably need to tweak `org-clock-display-default-range'.

Ah, thanks!  (It's not mentioned in the docs, and C-h v'ing it says:

--8<---------------cut here---------------start------------->8---
org-clock-display-default-range is a variable defined in `org-clock.el'.
Its value is thisyear

Documentation:
Default range when displaying clocks with `org-clock-display'.
--8<---------------cut here---------------end--------------->8---

I skimmed through the definition of `org-clock-special-range', and I'm
not sure whether there is a setting for
`org-clock-display-default-range' like 'all, so that everything is
summed up?  (I have projects that last more than one year, and sometimes
I'd like to be able to see at a glance how long they took.)

(I guess that introducing 'thiscentury would be enough. ;-) )

> Regards,

Thanks again,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University

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

* Re: Strange behavior of C-c C-x C-d
  2015-08-29 14:40   ` Marcin Borkowski
@ 2015-08-29 16:31     ` Nicolas Goaziou
  0 siblings, 0 replies; 4+ messages in thread
From: Nicolas Goaziou @ 2015-08-29 16:31 UTC (permalink / raw)
  To: Marcin Borkowski; +Cc: Org-Mode mailing list

Marcin Borkowski <mbork@mbork.pl> writes:

> org-clock-display-default-range is a variable defined in `org-clock.el'.
> Its value is thisyear
>
> Documentation:
> Default range when displaying clocks with `org-clock-display'.
>
> I skimmed through the definition of `org-clock-special-range', and I'm
> not sure whether there is a setting for
> `org-clock-display-default-range' like 'all, so that everything is
> summed up?  (I have projects that last more than one year, and sometimes
> I'd like to be able to see at a glance how long they took.)

The docstring and the manual could be improved, indeed. Do you want to
provide a patch for that?

> (I guess that introducing 'thiscentury would be enough. ;-) )

I introduced `untilnow' recently.


Regards,

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

end of thread, other threads:[~2015-08-29 16:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-29  6:58 Strange behavior of C-c C-x C-d Marcin Borkowski
2015-08-29 11:31 ` Nicolas Goaziou
2015-08-29 14:40   ` Marcin Borkowski
2015-08-29 16:31     ` Nicolas Goaziou

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