Analyze Your Time with Org Mode - Org Mode Clocktables - Straightforward Emacs

  Рет қаралды 7,284

Jake B

11 ай бұрын

In this video I go over Org Mode's clocktable feature, a useful way of compiling clocked times on todo items. Feel free to leave a comment with any questions or comments, I try to reply to all of them!
orgmode.org/manual/The-clock-table.html
Table of Contents:
0:00​ - Introduction
0:59​ - Clocking
1:43 - org-clock-report
2:30 - File-scoped clocktable
3:44 - Subtree clocktable
4:06 - Modifying maxlevel
4:54 - Other clocktable options
6:22 - Time blocks
7:55 - Multiple files in a clock
9:08 - Manual way
9:33 - Elisp way
11:24 - Conclusion

Пікірлер: 36
@fabianyanez4105
@fabianyanez4105 11 ай бұрын
I used to have a feeble understanding of time. Yet, through this video. I am able to analyze and understand time differently. There is no past, present and future. There is just org mode. Org is life. Org could help the avengers defeat Thanos.
@weavermarquez1271
@weavermarquez1271 11 ай бұрын
Looove these straightforward emacs videos. While I have used only the most basic org features for it's awesome exporting experience, I've always been curious about these features beyond the agenda. Integration!
@JakeBox0
@JakeBox0 11 ай бұрын
Glad to hear it! Let me know if you have any other curiosities that can become videos.
@mbarton98
@mbarton98 11 ай бұрын
Nice video, I have been using clock tables for a couple years, but learned about tags today. I found that to find the time I work for a two week sprint to enter the time in Jira at work, required using :tstart and :tend rather than block to specify the date range. I also find it useful to have a second clock report that splits it up by day, just add :step day. This is useful to catch when you forgot to clock something on a day by day basis or help balance the time worked during a day. If you want to see time as a percentage column, add :formula % Another tip is add :link t which will make the headlines in the report links back to the actual headline. Handy if you notice you forgot to refile a task. Often I clock tasks in my INBOX heading and then file it under the appropriate project heading. Now I need to see how I will integrate this tags feature I learned about.
@JakeBox0
@JakeBox0 11 ай бұрын
Glad to hear I was helpful! :tstart and :tend are really useful, didn’t want to get into that in this video. You might be able to use a block if you set the starting day of the week, however? Could be nice. Check the clock table docs if you’re curious. Thanks for all those extra notes, I’m sure people will find those useful! I’ll pin this comment.
@bayleybasson5923
@bayleybasson5923 11 ай бұрын
You have changed my entire emacs perspective #forevergrateful
@dpassen1
@dpassen1 11 ай бұрын
Glad to see a new video. Hope this is the first of many
@JakeBox0
@JakeBox0 11 ай бұрын
Thanks for the comment. Hope so too, only issue is I run out of ideas! Let me know if you have anyway.
@maxreuv
@maxreuv 11 ай бұрын
excellent, thank you very much!
@JakeBox0
@JakeBox0 11 ай бұрын
You're welcome.
@karatasfurkan
@karatasfurkan 11 ай бұрын
Great video, thanks a lot!
@JakeBox0
@JakeBox0 11 ай бұрын
Thanks for the comment, you’re welcome.
@danielkrajnik3817
@danielkrajnik3817 10 ай бұрын
8:20 yes, please let's have a video on that. There shouldn't be any debate though - splitting files is just plain better ;)
@notisn
@notisn 11 ай бұрын
Hello Jake Nice video, we need an emacs basic intro and installation guide if possible
@arvydasgasparavicius7231
@arvydasgasparavicius7231 11 ай бұрын
8:21 - there is interest :)
@JakeBox0
@JakeBox0 11 ай бұрын
Noted!
@danielkrajnik3817
@danielkrajnik3817 10 ай бұрын
this is cool
@sanketss84
@sanketss84 6 ай бұрын
1:09 how did you clock in and clock out , what keys did you press here , I did not see any keys getting triggered in bottom row. are you using a macro pad or stream deck to issue commands ? 1:20 what keys did you press to manually adjust the clocked timestamp as for me the interval does not auto update ? EDIT : SHIFT up / down , worked for me for adjusting the timestamp.
@JakeBox0
@JakeBox0 6 ай бұрын
I have my own keybindings, I use ,ci for clock-in and ,co for clock-out. Adjusting timestamp is indeed shift up and down.
@KT-dj4iy
@KT-dj4iy 10 ай бұрын
11:47 Concerning tags. So, the basic clocktable seems to report on *_time by Heading_* (i.e. by subtree). And that does map nicely to a Project-based structuring of work, allowing me to see how much time I spent on ProjectA, versus ProjectB, versus ProjectC, and so on. But is it possible to generate a report of *_time by tag_* ? For example, I might want to see the total time I spent across *all* Projects, on tasks tagged _:finance:._ Or a report of all work this week, but split by tag and not by Project. Can that be done?
@JakeBox0
@JakeBox0 10 ай бұрын
Does using :match "finance" do what you want?
@KT-dj4iy
@KT-dj4iy 10 ай бұрын
@@JakeBox0 not really. My use case is slightly more complex than I mentioned. I gave a single tag -- :finance: -- for simplicity, but really what I want is to be able to see clocked time arranged by tag, for *all* tags, and rolled up into each tag if possible. So I'd end up with a report that showed me I spent 15 hours on :finance: work, 20 hours on :planning:, 3 hours on :email:, and so on. And in this form of report, I wouldn't care that those 15 :finance: hours (say) were split up into 5 on ProjectA, 9 on ProjectB and 1 on ProjectC. I'd use the default clock table if I wanted that Project-oriented view of things. In coding terms, I guess that when it comes to clock tables, I want to have tags handled a bit like cross-cutting concerns in aspect-oriented programming.
@JakeBox0
@JakeBox0 10 ай бұрын
@@KT-dj4iy I think you might need to use multiple clocktables from the sound of it?
@justbored5222
@justbored5222 9 ай бұрын
Looking forward to more videos soon if time permits.
@JakeBox0
@JakeBox0 9 ай бұрын
Thanks for the comment, same. Open to video suggestions as well, one of my issues is coming up with ideas I like!
@abdullah6569
@abdullah6569 11 ай бұрын
what do you use in order to get better looking headings?
@JakeBox0
@JakeBox0 11 ай бұрын
I use org-modern, I used to use org-superstar-mode. You can check out my Emacs config if you want, I have a video about it and the config is linked in the description.
@ste_ph_en9018
@ste_ph_en9018 11 ай бұрын
My timecard is about to become a whole lot more descriptive
@JakeBox0
@JakeBox0 11 ай бұрын
Ha ha glad to hear it
@cattom7288
@cattom7288 5 ай бұрын
in the video, i see some quick time add/substract operation, how to do that? seems there are some shortcuts? anyone can tell me? thanks a lot :)
@JakeBox0
@JakeBox0 5 ай бұрын
Shift + / !
@cattom7288
@cattom7288 5 ай бұрын
thank you, love from China!@@JakeBox0
@PavelAnatolich
@PavelAnatolich 10 ай бұрын
Thank you. But if I want to see my time in HH.HH format? Not in HH:MM.
@JakeBox0
@JakeBox0 10 ай бұрын
Try looking at the variable `org-duration-format'.
@md.shafiqurrahman3479
@md.shafiqurrahman3479 11 ай бұрын
Please tell me what is the name of your theme.
@JakeBox0
@JakeBox0 11 ай бұрын
I think it’s doom-xcode