Re: [O] Date-centric Clocktable

2011-10-21 Thread Bastien
Hi Rasmus, Rasmus writes: > Is is possible to have a clocktabke with times in the left-most column? > The people I am doing some work for now prefer it that way for unknown > reasons. > > This is an example > > | date | Headline| total | > |

Re: [O] Date-centric Clocktable

2011-09-08 Thread A. Ryan Reynolds
On Sep 7, 2011, at 5:53 PM, Rasmus wrote: > In my experience this is the kind of table most working class heroes > will need to hand in. At my last job this was the sort of table I needed to produce, too. -- A. Ryan Reynolds

Re: [O] Date-centric Clocktable

2011-09-07 Thread Rasmus
> ---8<--- cut here --- > (defun collect-clock-lines () > (let ((re (concat "^[ \t]*" org-clock-string "[ \t]+\\(.+?\\)[ \t]+=>[ > \t]+\\(.+\\)")) > (headline (nth 4 (org-heading-components))) > clocks) > (org-narrow-to-subtree) > (while (re-search-forward re nil t) > (

Re: [O] Date-centric Clocktable

2011-09-07 Thread Rasmus
Olaf Dietsche writes: >>> ---8<--- cut here --- > [snip] >>> --- cut here --->8--- >> >> this is great! > > Thank you :-) It is. > I don't know, wether adding small special purpose functions adds real > value, since we already have "org-map-entries". Maybe adding generic > functions to org or

Re: [O] Date-centric Clocktable

2011-09-07 Thread Olaf Dietsche
Carsten Dominik writes: > On Sep 7, 2011, at 12:16 PM, Olaf Dietsche wrote: > >> Rasmus writes: >> Why don't you just use a simple (perl/python/...) script to collect your data? Here's a quick hack in perl: >>> >>> That was my plan if I was not able to do from within Org. To me it wo

Re: [O] Date-centric Clocktable

2011-09-07 Thread Olaf Dietsche
Olaf Dietsche writes: > Rasmus writes: > >> That was my plan if I was not able to do from within Org. To me it would >> be a lot faster than hacking something together in emacs-lisp, >> unfortunately. > > If you insist on elisp, maybe something along these (untested) lines > might work: > > ---

Re: [O] Date-centric Clocktable

2011-09-07 Thread Giovanni Ridolfi
Carsten Dominik writes: Hi, Rasmus ! > On Sep 7, 2011, at 10:07 AM, Rasmus wrote: > >> >> Hi Carsten, >> >> This is an example >> >> | date | Headline| >> total | >> |+--

Re: [O] Date-centric Clocktable

2011-09-07 Thread Olaf Dietsche
Rasmus writes: > Olaf Dietsche writes: >> If you insist on elisp, maybe something along these (untested) lines >> might work: > > It just nicer to do text stuff from within Emacs but my personal Lisp > skill are surpassed by my Python skills. That is not to say that any of > the skill sets are

Re: [O] Date-centric Clocktable

2011-09-07 Thread Rasmus
Olaf Dietsche writes: > If you insist on elisp, maybe something along these (untested) lines > might work: It just nicer to do text stuff from within Emacs but my personal Lisp skill are surpassed by my Python skills. That is not to say that any of the skill sets are high. . . The function did

Re: [O] Date-centric Clocktable

2011-09-07 Thread Carsten Dominik
On Sep 7, 2011, at 12:16 PM, Olaf Dietsche wrote: > Rasmus writes: > >>> Why don't you just use a simple (perl/python/...) script to collect your >>> data? Here's a quick hack in perl: >> >> That was my plan if I was not able to do from within Org. To me it would >> be a lot faster than hackin

Re: [O] Date-centric Clocktable

2011-09-07 Thread Olaf Dietsche
Rasmus writes: >> Why don't you just use a simple (perl/python/...) script to collect your >> data? Here's a quick hack in perl: > > That was my plan if I was not able to do from within Org. To me it would > be a lot faster than hacking something together in emacs-lisp, > unfortunately. If you

Re: [O] Date-centric Clocktable

2011-09-07 Thread Rasmus
Hi Olaf, > Why don't you just use a simple (perl/python/...) script to collect your > data? Here's a quick hack in perl: That was my plan if I was not able to do from within Org. To me it would be a lot faster than hacking something together in emacs-lisp, unfortunately. Thanks for the link to

Re: [O] Date-centric Clocktable

2011-09-07 Thread Olaf Dietsche
Rasmus writes: > Is is possible to have a clocktabke with times in the left-most column? > The people I am doing some work for now prefer it that way for unknown > reasons. > > This is an example > > | date | Headline| total | > |

Re: [O] Date-centric Clocktable

2011-09-07 Thread Carsten Dominik
On Sep 7, 2011, at 10:07 AM, Rasmus wrote: > > Hi Carsten, > > This is an example > > | date | Headline| > total | > |+-+---| > | [2011-08-19 Fri 00:2

Re: [O] Date-centric Clocktable

2011-09-07 Thread Rasmus
Hi Bernt, > As Carsten mentioned, the agenda view with logging enabled (and > appropriate tag filters) may get you closer to what you are looking > for. I use a combination of that and C-u R in the daily / weekly agenda > to get a summary of clock detail lines. I am impressed with the possibilit

Re: [O] Date-centric Clocktable

2011-09-07 Thread Rasmus
Hi Carsten, This is an example | date | Headline| total | |+-+---| | [2011-08-19 Fri 00:28]--[2011-08-19 Fri 00:51] | Writing mails | 0:23 >>>

Re: [O] Date-centric Clocktable

2011-09-06 Thread Bernt Hansen
Rasmus writes: > Bernt Hansen writes: > >> Rasmus writes: >> >>> Hi, >>> >>> Is is possible to have a clocktabke with times in the left-most column? >>> The people I am doing some work for now prefer it that way for unknown >>> reasons. >>> >>> This is an example >>> >>> | date

Re: [O] Date-centric Clocktable

2011-09-06 Thread Carsten Dominik
On 6.9.2011, at 23:36, Rasmus wrote: > Bernt Hansen writes: > >> Rasmus writes: >> >>> Hi, >>> >>> Is is possible to have a clocktabke with times in the left-most column? >>> The people I am doing some work for now prefer it that way for unknown >>> reasons. >>> >>> This is an example >>>

Re: [O] Date-centric Clocktable

2011-09-06 Thread Rasmus
Bernt Hansen writes: > Rasmus writes: > >> Hi, >> >> Is is possible to have a clocktabke with times in the left-most column? >> The people I am doing some work for now prefer it that way for unknown >> reasons. >> >> This is an example >> >> | date | H

Re: [O] Date-centric Clocktable

2011-09-06 Thread Bernt Hansen
Rasmus writes: > Hi, > > Is is possible to have a clocktabke with times in the left-most column? > The people I am doing some work for now prefer it that way for unknown > reasons. > > This is an example > > | date | Headline| total | > |---

[O] Date-centric Clocktable

2011-08-31 Thread Rasmus
Hi, Is is possible to have a clocktabke with times in the left-most column? The people I am doing some work for now prefer it that way for unknown reasons. This is an example | date | Headline| total | |-