all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Summary Blocks Time
@ 2013-10-01 19:09 Esben Stien
  2013-10-01 19:20 ` Esben Stien
  0 siblings, 1 reply; 6+ messages in thread
From: Esben Stien @ 2013-10-01 19:09 UTC (permalink / raw)
  To: emacs-orgmode


After updating org-mode, the summary blocks has started giving time as
days + hours

Looking in the manual, I can't see how I can have it just give me hours.

Any pointers as to how I can do this?

-- 
Esben Stien is b0ef@e     s      a             
         http://www. s     t    n m
          irc://irc.  b  -  i  .   e/%23contact
           sip:b0ef@   e     e 
           jid:b0ef@    n     n

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

* Re: Summary Blocks Time
  2013-10-01 19:09 Summary Blocks Time Esben Stien
@ 2013-10-01 19:20 ` Esben Stien
  0 siblings, 0 replies; 6+ messages in thread
From: Esben Stien @ 2013-10-01 19:20 UTC (permalink / raw)
  To: emacs-orgmode

Esben Stien <b0ef@esben-stien.name> writes:

> Any pointers as to how I can do this?

Got it;)

(setq org-time-clocksum-format '(:hours "%d" :require-hours t
	 :minutes ":%02d" :require-minutes t))

-- 
Esben Stien is b0ef@e     s      a             
         http://www. s     t    n m
          irc://irc.  b  -  i  .   e/%23contact
           sip:b0ef@   e     e 
           jid:b0ef@    n     n

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

* Re: Summary Blocks Time
@ 2013-10-01 21:59 Gustav Wikström
  2013-10-02 12:52 ` Eric S Fraga
  0 siblings, 1 reply; 6+ messages in thread
From: Gustav Wikström @ 2013-10-01 21:59 UTC (permalink / raw)
  To: Org Mode List

[-- Attachment #1: Type: text/plain, Size: 561 bytes --]

> Esben Stien <address@hidden> writes:
>
> > Any pointers as to how I can do this?
>
> Got it;)
>
> (setq org-time-clocksum-format '(:hours "%d" :require-hours t
>          :minutes ":%02d" :require-minutes t))

Good find Esben!

Actually, this recent change to how clocksum is formated also brings
another problem. And that is when doing calculations with time. We have the
flags "t" and "T" to be able to do calculations in tables on times, but
with the new format presenting days calculations are no longer returning
the correct values.

Best regards
Gustav

[-- Attachment #2: Type: text/html, Size: 830 bytes --]

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

* Re: Summary Blocks Time
  2013-10-01 21:59 Gustav Wikström
@ 2013-10-02 12:52 ` Eric S Fraga
  2013-10-02 13:02   ` Carsten Dominik
  0 siblings, 1 reply; 6+ messages in thread
From: Eric S Fraga @ 2013-10-02 12:52 UTC (permalink / raw)
  To: Gustav Wikström; +Cc: Org Mode List

Gustav Wikström <gustav.erik@gmail.com> writes:

>> Esben Stien <address@hidden> writes:
>>
>> > Any pointers as to how I can do this?
>>
>> Got it;)
>>
>> (setq org-time-clocksum-format '(:hours "%d" :require-hours t
>>          :minutes ":%02d" :require-minutes t))
>
> Good find Esben!
>
> Actually, this recent change to how clocksum is formated also brings
> another problem. And that is when doing calculations with time. We have the
> flags "t" and "T" to be able to do calculations in tables on times, but
> with the new format presenting days calculations are no longer returning
> the correct values.
>
> Best regards
> Gustav

This got me last week as well for clock reports.  Carsten's response was
to set

(setq org-time-clocksum-format "%d:%02d")


-- 
: Eric S Fraga (0xFFFCF67D), Emacs 24.3.50.1, Org release_8.2-20-gc5f370

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

* Re: Summary Blocks Time
  2013-10-02 12:52 ` Eric S Fraga
@ 2013-10-02 13:02   ` Carsten Dominik
  2013-10-02 16:45     ` Eric S Fraga
  0 siblings, 1 reply; 6+ messages in thread
From: Carsten Dominik @ 2013-10-02 13:02 UTC (permalink / raw)
  To: Eric S Fraga; +Cc: Gustav Wikström, Org Mode List

[-- Attachment #1: Type: text/plain, Size: 1107 bytes --]


On Oct 2, 2013, at 2:52 PM, Eric S Fraga <e.fraga@ucl.ac.uk> wrote:

> Gustav Wikström <gustav.erik@gmail.com> writes:
> 
>>> Esben Stien <address@hidden> writes:
>>> 
>>>> Any pointers as to how I can do this?
>>> 
>>> Got it;)
>>> 
>>> (setq org-time-clocksum-format '(:hours "%d" :require-hours t
>>>         :minutes ":%02d" :require-minutes t))
>> 
>> Good find Esben!
>> 
>> Actually, this recent change to how clocksum is formated also brings
>> another problem. And that is when doing calculations with time. We have the
>> flags "t" and "T" to be able to do calculations in tables on times, but
>> with the new format presenting days calculations are no longer returning
>> the correct values.
>> 
>> Best regards
>> Gustav
> 
> This got me last week as well for clock reports.  Carsten's response was
> to set
> 
> (setq org-time-clocksum-format "%d:%02d")

So this is new behavior that broke with an earlier setting?  When did it change, with 8.0?

- Carsten

> 
> 
> -- 
> : Eric S Fraga (0xFFFCF67D), Emacs 24.3.50.1, Org release_8.2-20-gc5f370
> 
> 


[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 455 bytes --]

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

* Re: Summary Blocks Time
  2013-10-02 13:02   ` Carsten Dominik
@ 2013-10-02 16:45     ` Eric S Fraga
  0 siblings, 0 replies; 6+ messages in thread
From: Eric S Fraga @ 2013-10-02 16:45 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: Org Mode List

Carsten Dominik <carsten.dominik@gmail.com> writes:

[...]

>> This got me last week as well for clock reports.  Carsten's response was
>> to set
>> 
>> (setq org-time-clocksum-format "%d:%02d")
>
> So this is new behavior that broke with an earlier setting?  When did it change, with 8.0?

Carsten,

I have no idea.  The last time I used clocking was probably two years
ago now...  and I don't use time in any of my non-clocking tables.

normally, I don't have to keep track of time but every now and again we
have to give a breakdown of how we spend our time at our
university... and org is ideal for that!

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 24.3.50.1, Org release_8.2-20-gc5f370

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

end of thread, other threads:[~2013-10-02 16:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-01 19:09 Summary Blocks Time Esben Stien
2013-10-01 19:20 ` Esben Stien
  -- strict thread matches above, loose matches on Subject: below --
2013-10-01 21:59 Gustav Wikström
2013-10-02 12:52 ` Eric S Fraga
2013-10-02 13:02   ` Carsten Dominik
2013-10-02 16:45     ` Eric S Fraga

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.