emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nathan Neff <nathan.neff@gmail.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Agenda: Display timeline for today
Date: Mon, 30 Dec 2019 19:50:16 -0600	[thread overview]
Message-ID: <CAC=HedA3mi1a_X23y6eUy9To0GX_HZv08qSMFjfx_3nNwFapsw@mail.gmail.com> (raw)

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

Hello all,

I was searching for a way to display today's clocked items in
a timeline style view e.g.:

10:00 - 10:15  foo
11:00 - 11:15 bar

I found this Stack Overflow thread:
https://emacs.stackexchange.com/questions/19746/get-a-timeline-of-clocked-time-in-org-mode

One of the replies says to "Look into org-agenda-prefix-format to show
start and end time" but doesn't specify how to do this.

Any ideas?  Looking at org-agenda-prefix-format I don't see anything
regarding
a start time or end time.  I'm guessing I could code a function to get a
start and end time.  I looked around and found some code in org-element.el
and I think that org-element-timestamp-parser may be what I need, but wanted
to see if anyone has done something similar.

Thanks,
--Nate

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

                 reply	other threads:[~2019-12-31  1:49 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAC=HedA3mi1a_X23y6eUy9To0GX_HZv08qSMFjfx_3nNwFapsw@mail.gmail.com' \
    --to=nathan.neff@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).