emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* indent levels in dynamic block clock?
@ 2010-07-21 22:36 jeff stern
  2010-07-22  8:16 ` Carsten Dominik
  0 siblings, 1 reply; 2+ messages in thread
From: jeff stern @ 2010-07-21 22:36 UTC (permalink / raw)
  To: emacs-orgmode

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!

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

* Re: indent levels in dynamic block clock?
  2010-07-21 22:36 indent levels in dynamic block clock? jeff stern
@ 2010-07-22  8:16 ` Carsten Dominik
  0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2010-07-22  8:16 UTC (permalink / raw)
  To: jeff stern; +Cc: emacs-orgmode


On Jul 22, 2010, at 12:36 AM, jeff stern wrote:

> 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


No, this is not possible, because every re-align of the
table will destroy this indentation.

- Carsten

>
> 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!
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

- Carsten

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

end of thread, other threads:[~2010-07-22  8:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-21 22:36 indent levels in dynamic block clock? jeff stern
2010-07-22  8:16 ` Carsten Dominik

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