emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Absolute timestamps in timer list
@ 2016-06-14 14:40 Robert Moore
  2016-06-14 15:22 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Robert Moore @ 2016-06-14 14:40 UTC (permalink / raw)
  To: emacs-orgmode

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

Hi All,

Does anybody know of a way to use absolute timestamps instead of relative
timestamps in a timer list?

For example:
pressing C-c C-x - starts a list with a relative timestamp like so:

- 0:00:00 :: First item

Pressing M-<RET> adds more items to the list with the corresponding
relative timestamp like so:

- 0:00:00 :: First item
- 0:00:05 :: Second item
- 0:00:12 :: Third item

I think this really cool but i'm also looking to have the option to use
absolute timestamps like so:

- <2016-06-14 Tue 10:34> :: First item
- <2016-06-14 Tue 10:39> :: Second item
- <2016-06-14 Tue 10:48> :: Third item

Not sure if this has been raised before. I did have look around but didn't
find anything. Any pointers would be great!

Regards,
Rob

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

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

* Re: Absolute timestamps in timer list
  2016-06-14 14:40 Absolute timestamps in timer list Robert Moore
@ 2016-06-14 15:22 ` Nicolas Goaziou
  2016-06-14 17:37   ` Robert Moore
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2016-06-14 15:22 UTC (permalink / raw)
  To: Robert Moore; +Cc: emacs-orgmode

Hello,

Robert Moore <treboreroom@gmail.com> writes:

> I think this really cool but i'm also looking to have the option to use
> absolute timestamps like so:
>
> - <2016-06-14 Tue 10:34> :: First item
> - <2016-06-14 Tue 10:39> :: Second item
> - <2016-06-14 Tue 10:48> :: Third item
>
> Not sure if this has been raised before. I did have look around but didn't
> find anything. Any pointers would be great!

I don't think an option is needed here. It's just M-RET followed by "C-u
C-c . RET". You can automate the process with a macro or some Lisp.


Regards,

-- 
Nicolas Goaziou

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

* Re: Absolute timestamps in timer list
  2016-06-14 15:22 ` Nicolas Goaziou
@ 2016-06-14 17:37   ` Robert Moore
  0 siblings, 0 replies; 3+ messages in thread
From: Robert Moore @ 2016-06-14 17:37 UTC (permalink / raw)
  To: Robert Moore, emacs-orgmode

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

Hmm, good point...

I'm new to Emacs and Lisp so this might be a good exercise for me.

Thanks for the direction!

Regards,
Rob

On Tue, Jun 14, 2016 at 11:22 AM, Nicolas Goaziou <mail@nicolasgoaziou.fr>
wrote:

> Hello,
>
> Robert Moore <treboreroom@gmail.com> writes:
>
> > I think this really cool but i'm also looking to have the option to use
> > absolute timestamps like so:
> >
> > - <2016-06-14 Tue 10:34> :: First item
> > - <2016-06-14 Tue 10:39> :: Second item
> > - <2016-06-14 Tue 10:48> :: Third item
> >
> > Not sure if this has been raised before. I did have look around but
> didn't
> > find anything. Any pointers would be great!
>
> I don't think an option is needed here. It's just M-RET followed by "C-u
> C-c . RET". You can automate the process with a macro or some Lisp.
>
>
> Regards,
>
> --
> Nicolas Goaziou
>

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

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

end of thread, other threads:[~2016-06-14 17:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-14 14:40 Absolute timestamps in timer list Robert Moore
2016-06-14 15:22 ` Nicolas Goaziou
2016-06-14 17:37   ` Robert Moore

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