* Clocktable Naming
@ 2017-10-09 12:25 Shawn Way
2017-10-09 13:27 ` Dave Marquardt
2017-10-10 7:17 ` Nicolas Goaziou
0 siblings, 2 replies; 5+ messages in thread
From: Shawn Way @ 2017-10-09 12:25 UTC (permalink / raw)
To: emacs-orgmode@gnu.org
Is there a method for automatically naming a timeclock? For example,
:name table1
to be used in the #+BEGIN line?
This would allow the clocktable to be post processed using something like perl or python for in depth analysis.
SHAWN WAY, P.E.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Clocktable Naming
2017-10-09 12:25 Clocktable Naming Shawn Way
@ 2017-10-09 13:27 ` Dave Marquardt
2018-05-01 13:34 ` stardiviner
2017-10-10 7:17 ` Nicolas Goaziou
1 sibling, 1 reply; 5+ messages in thread
From: Dave Marquardt @ 2017-10-09 13:27 UTC (permalink / raw)
To: Shawn Way; +Cc: emacs-orgmode@gnu.org
I wanted to add a #+PLOT to the clock table header, and used the
advice mechanism to do it. E.g.
(defadvice org-clock-report (after insert-plot-line
activate)
"Add #+PLOT: line appropriate for clock table."
(insert
"#+PLOT: ind:1 deps:(4) type:2d with:histograms set:\"style fill solid\"
"))
You might be able to do something similar for your purpose.
You might also check to see if there's some sort of hook to use when
inserting clock tables.
-----------------------
On Mon, Oct 09 2017, Shawn Way wrote:
Is there a method for automatically naming a timeclock? For example,
:name table1
to be used in the #+BEGIN line?
This would allow the clocktable to be post processed using something like perl or python for in depth analysis.
SHAWN WAY, P.E.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Clocktable Naming
2017-10-09 12:25 Clocktable Naming Shawn Way
2017-10-09 13:27 ` Dave Marquardt
@ 2017-10-10 7:17 ` Nicolas Goaziou
2017-10-10 19:28 ` Shawn Way
1 sibling, 1 reply; 5+ messages in thread
From: Nicolas Goaziou @ 2017-10-10 7:17 UTC (permalink / raw)
To: Shawn Way; +Cc: emacs-orgmode@gnu.org
Hello,
Shawn Way <SWay@meco.com> writes:
> Is there a method for automatically naming a timeclock? For example,
>
> :name table1
>
> to be used in the #+BEGIN line?
There is a way, albeit no very user-friendly. You can use :header
parameter, e.g.,
#+begin: clocktable :header "#+name: foo\n#+caption: bar\n"
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Clocktable Naming
2017-10-10 7:17 ` Nicolas Goaziou
@ 2017-10-10 19:28 ` Shawn Way
0 siblings, 0 replies; 5+ messages in thread
From: Shawn Way @ 2017-10-10 19:28 UTC (permalink / raw)
Cc: emacs-orgmode@gnu.org
I found out that :step day trips this up. No worries.
Shawn Way, PE
-----Original Message-----
From: Nicolas Goaziou [mailto:mail@nicolasgoaziou.fr]
Sent: Tuesday, October 10, 2017 2:18 AM
To: Shawn Way <SWay@meco.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Clocktable Naming
Hello,
Shawn Way <SWay@meco.com> writes:
> Is there a method for automatically naming a timeclock? For example,
>
> :name table1
>
> to be used in the #+BEGIN line?
There is a way, albeit no very user-friendly. You can use :header parameter, e.g.,
#+begin: clocktable :header "#+name: foo\n#+caption: bar\n"
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Clocktable Naming
2017-10-09 13:27 ` Dave Marquardt
@ 2018-05-01 13:34 ` stardiviner
0 siblings, 0 replies; 5+ messages in thread
From: stardiviner @ 2018-05-01 13:34 UTC (permalink / raw)
To: Dave Marquardt; +Cc: emacs-orgmode@gnu.org, Shawn Way
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Dave Marquardt <davemarq@linux.vnet.ibm.com> writes:
> I wanted to add a #+PLOT to the clock table header, and used the
> advice mechanism to do it. E.g.
>
> (defadvice org-clock-report (after insert-plot-line
> activate)
> "Add #+PLOT: line appropriate for clock table."
> (insert
> "#+PLOT: ind:1 deps:(4) type:2d with:histograms set:\"style fill solid\"
> "))
>
> You might be able to do something similar for your purpose.
>
> You might also check to see if there's some sort of hook to use when
> inserting clock tables.
>
> -----------------------
> On Mon, Oct 09 2017, Shawn Way wrote:
>
> Is there a method for automatically naming a timeclock? For example,
>
> :name table1
>
> to be used in the #+BEGIN line?
>
> This would allow the clocktable to be post processed using something like perl or python for in depth analysis.
>
> SHAWN WAY, P.E.
Hi, Dave. How do you implement this right now?
I'm interested in this plotting org-clock dynamic block. Can you show me
an Org example?
Thanks in advance.
- --
[ stardiviner ] don't need to convince with trends.
Blog: https://stardiviner.github.io/
IRC(freenode): stardiviner
GPG: F09F650D7D674819892591401B5DF1C95AE89AC3
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCAAdFiEE8J9lDX1nSBmJJZFAG13xyVromsMFAlrobPcACgkQG13xyVro
msMWtAf+OwuxRolP4tXYkf9llunX9xOYOkNrhKh8yEGEgNRfWPGFwgA7cP/IU4ZQ
SoNW33NlehAY6kMw+0Rn2qJWUfJE01G03+hTnHrRiWYXTTfFOjq5Q8RBNUJgDN1u
mOqLQH/Xw7rCIJuNnu9QXLmvqA4JTIi6kNwAgQ/Te6BaA+LgGuYpw2+ZF40YtQSI
VYIAscFKBW4CJp0fJ2C7ZbkQNNNF3zq7GOlL4PbaY9bjA0smfOzt7Sum+b4TtYsZ
ZsHu8ZVsMKdSLxV6r4rQnstBvEcmT5XxfN8W21zHEhFNUiG7LuFI7bxY5UvNJl5q
1RpI5m+MK6aodpyw3E5PEgxEmt7+eA==
=lHBw
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2018-05-01 13:35 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-09 12:25 Clocktable Naming Shawn Way
2017-10-09 13:27 ` Dave Marquardt
2018-05-01 13:34 ` stardiviner
2017-10-10 7:17 ` Nicolas Goaziou
2017-10-10 19:28 ` Shawn Way
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).