emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: jeff stern <jas.61803@gmail.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: indent levels in dynamic block clock?
Date: Wed, 21 Jul 2010 15:36:23 -0700	[thread overview]
Message-ID: <AANLkTi=_J4JYYuYXwOUrH8SGfNhrhJ3fi2q+rvyZ45Ht@mail.gmail.com> (raw)

hi, please forgive me if this is a FAQ. i could not find it in the
manual nor by searching the list archives.

i love the dynamic block clock feature (C-c C-x C-r) and love that i
can set certain paramters
(http://orgmode.org/manual/Clocking-work-time.html).

i was wondering if it is already possible to indent the 2nd column by
the level? or whether this would require new coding?

for instance, suppose my dynamic block has :scope 3, then

i'd like all level 1 items to have no indentation
level 2 items would appear, say, 2 spaces in
level 3 items would appear, say, 3 spaces in

so that instead of this:

| L | Headline                                 |   Time |      |      |
|---+------------------------------------------+--------+------+------|
|   | *Total time*                             | *4:00* |      |      |
|---+------------------------------------------+--------+------+------|
|   | *File time*                              | *3:57* |      |      |
| 1 | email communication                      |   0:15 |      |      |
| 1 | Case management/documenting/organization |   0:25 |      |      |
| 1 | training                                 |   0:08 |      |      |
| 2 | contact John Doe                         |        | 0:08 |      |
| 1 | well-being                               |   2:03 |      |      |
| 2 | warts                                    |        | 2:03 |      |
| 3 | DONE find books on warts                 |        |      | 2:03 |

it might appear more like this:

| L | Headline                                 |   Time |      |      |
|---+------------------------------------------+--------+------+------|
|   | *Total time*                             | *4:00* |      |      |
|---+------------------------------------------+--------+------+------|
|   | *File time*                              | *3:57* |      |      |
| 1 | email communication                      |   0:15 |      |      |
| 1 | Case management/documenting/organization |   0:25 |      |      |
| 1 | training                                 |   0:08 |      |      |
| 2 |   contact John Doe                       |        | 0:08 |      |
| 1 | well-being                               |   2:03 |      |      |
| 2 |   warts                                  |        | 2:03 |      |
| 3 |     DONE find books on warts             |        |      | 2:03 |


has this been done already and i'm just missing something obvious?

if not, does anyone have any ideas where i'd start to write the code
to implement this? (i'm a newbie at lisp)

thanks!

             reply	other threads:[~2010-07-21 22:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-21 22:36 jeff stern [this message]
2010-07-22  8:16 ` indent levels in dynamic block clock? Carsten Dominik

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='AANLkTi=_J4JYYuYXwOUrH8SGfNhrhJ3fi2q+rvyZ45Ht@mail.gmail.com' \
    --to=jas.61803@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).