Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [org-clock]

is for the Org mode feature for clocking work time by specific tasks in a project. Org clock records time spent on tasks, maintains a history time spent on tasks, and computes total time spent.

0
votes
2answers
16 views

How to change to evil-insert mode when there is no hook?

I'm trying to change evil-org to evil-insert-state when I add a note to my org files. I've tried to look it up, but can't figure it out. I've configured org-mode to always query me for a note after ...
0
votes
0answers
11 views

Close org-clock clock at point?

I'm using org-clock a little, and I forget to clock out sometimes. I'd like a quick way to extend a timestamp at point by say one hour, so I can go from say: CLOCK: [2018-12-05 Wed 08:11] to: ...
1
vote
2answers
58 views

Save an org-mode buffer when I clock in/out of a task

I'm using the clocking functionality quite extensively, and I built a number of tools (outside of Emacs) that will look for clocked-in tasks. The problem is that these tools will parse the file on ...
2
votes
2answers
70 views

Reminds to clock out or just clock out when there has a clock running

Sometimes when we use "clock in" command in org mode and forget to clock out before exit emacs. When we open emacs again and try to "clock in" with the same entry. There always popup with something ...
1
vote
1answer
119 views

org-mode Modeline total for 'today' 'incorrect'?

I have set the org-clock-mode-line-total to be 'today as shown in the line from my custom.el '(org-clock-mode-line-total (quote today)) When I have a task where I had some spent some time yesterday (...
0
votes
0answers
60 views

org-mode: How to show %age of clocked time for each org file?

I make use of clock reports in my org agenda. Tasks are split across a number of org files (e.g. personal, work). I also use :formula % to include a column showing percentage of time spent on each ...
0
votes
1answer
42 views

Count down timer whenever file is opened

C-C C-x ; can start count down timer. But I want to start the timer whenever I open any org file. I want to set it default for 10 minute. Kindly help
2
votes
1answer
210 views

Org: including clock-out timestamp in clock table report

I'd like to have a clock table report include the date in which each task was completed. Is it possible to have a column for the last clock-out date? Using :timestamp t only works for the scheduled or ...
1
vote
1answer
254 views

Rounding time up to multiple of x in when using org-clock

I use org-mode to do time registration. Is there a way to round time register using clock-in / clock-out up to a multiple of a user defined value for instance 5 mins when generating a org-clock-table ...
5
votes
1answer
2k views

org-mode: how to generate clock report for hours worked each day?

org-clock-report is awesome; however, it reports time spent on each task. Is there any custom command that you use to generate a clock report showing hours worked, across tasks, for each day? The ...
3
votes
1answer
400 views

Before first headline at position XX in buffer - Unable to update org-clock-table

I'm using emacs on Windows 7. I have this file called temp.org, where I log all my project information. I have clock entries project wise and I also had the clock table report. After the update that ...
1
vote
3answers
225 views

How to clock offline hours quickly?

Sometimes I prefer to do some work offline. I can time it and write it down and avoid starting up my computer. I like to use a table and org-update-all-dblocks to calculate my hours for the day. It's ...
2
votes
2answers
106 views

How to get an audible feedback when the current task is overrun?

In org-mode when a task is overrun - when the clocked time is bigger than the effort, there is a visual feedback in the mode-line. I am looking for a way to get an audible one as well. I couldn't ...
0
votes
1answer
164 views

How to clock-out current org-task before exit from Emacs?

How to clock-out current org-task before exit from Emacs? I tried (add-hook 'kill-emacs-hook #'org-clock-out) But if there is no current active tasks, Emacs says "No active clock" instead of exit. ...
3
votes
1answer
109 views

How to track spent time to other task?

Usually when I start to do something, then call org-clock-in on task in Org Mode. Sometimes when changing tasks I forget to call org-clock-in. How can I make org-clock-out for the current task and org-...
1
vote
1answer
62 views

How to write a complex function for binding on a global hotkey?

I would like to set a global hotkey in Emacs to perform a org-clock-in for a defined task in a defined file. This means that I have to open the file ~/org/main.org, then go to the beginning of the ...
3
votes
1answer
363 views

How to create table of time distribution by tags in Org Mode?

My .org-file contains tasks tagged as: a, b, c, d, e, f, g. I want to create table of time distribution by tags a, b, c, d. | Tag | Time Spent | % | |-----+------------+----| | a | ...
2
votes
0answers
69 views

Merge org-clock entries

I wonder if there's an easy way to merge adjacent clock entries if they are within X minutes range? for example :LOGBOOK: CLOCK: [2015-06-28 Sun 11:54]--[2015-06-28 Sun 12:12] => 0:18 CLOCK: [...
1
vote
0answers
39 views

Remove recent clock entry if it is less than X minutes

I'd like to keep the clock entries simple and clean. I am thinking of defining an function to remove the most recent entry if it is less then 3 minutes when I clock out. There's an similar function ...
5
votes
2answers
288 views

How to conveniently insert a clock entry?

Sometimes I want to add a clock entry for something I did after it was already done. For example I may want to add an entry CLOCK: [2017-01-28 Sa 09:35]--[2017-01-28 Sa 10:12] => 0:37 at 10:30. ...
3
votes
0answers
34 views

Fulfil task if clocked more than X amount of time

I want to spend 1hr per day, totalling 21hr per week, doing each of my types of homework. (note: +6d/1w is there to give me a day of lee-way a week). Ideally I'd like to use org-clock to record how ...
3
votes
0answers
372 views

Tracking effort and time spent on task for project management

I would like to use org-mode for project management. With the :Effort: property, I can already track estimates of how much time a certain task will take, and displaying an %Effort{:} column is a great ...
5
votes
2answers
338 views

Org-clock-report sort by time

I've got some org-clock-tables created with the following #+BEGIN: clocktable :maxlevel 2 :block thisweek :link t :formula % :scope agenda-with-archives :step day :fileskip0 | File | ...
2
votes
0answers
102 views

org-pomodoro - extending its function: popup windows and pomo logging

I'm using pomodoro method of focus-enhanced time allocation when I work in my tasks. In Emacs (I'm using Windows 10), here comes the org-pomodoro package for org-mode, where I can 'clock-in' an item ...
4
votes
1answer
185 views

Matching tasks in org-agenda by effort

I have several tasks in an org file, some of which which have an Effort property and some of which which don't. ** Example Task 1, with effort :PROPERTIES: :Effort: 1:30 :END: ** Example ...
3
votes
1answer
592 views

Resuming org-mode clocking

I use org-mode since 2012. I recently adopted the org-mode clocking work time capabilities and thus have created the following org-capture-template: (setq org-capture-templates '("j" "Journal" entry (...
3
votes
1answer
664 views

Time tracking and reporting with cross-cutting concerns in org-mode

I've been tracking my work time in org-mode for several years. My normal practice is to use clocktable mode in the agenda for daily tracking, and a clocktable block in my main projects file for ...
3
votes
1answer
288 views

Function of org-clock-save.el file and Git related question

I'm asking this question because I'm personally confused on how org-clock works in general. My org-clock-save.el file only has one line, ;; org-persist.el - PCNAMEHERE at <2016-04-24 Sun 11:16&...
3
votes
2answers
121 views

Can I use ido-mode for org-clock-select-task?

Is there a way to use ido to select tasks from the org-clock-select-task list? Having to read through the list to find the right task and then look at the number makes me lose my flow :)
5
votes
2answers
2k views

Add “created” timestamp to LOGBOOK

I would like to change the behavior of C-c C-x i so that it creates a "date created" timestamp i.e. ** TODO New Task :LOGBOOK: CREATED: [2016-03-29 Tue 11:41] :END: I basically want to log ...
2
votes
1answer
528 views

Sum efforts in org-mode agenda, excluding specific tags

I use org-mode agendas to sum effort for a given day, so I know how much slack time I have in my schedule. However, I often have sub-trees in tasks that have been assigned to assistants (with the ...
7
votes
2answers
1k views

Org: Show Clocked Time hour-by-hour

We have a new manager at work and he wants us to timesheet. No problem, I have org-mode. Except, he wants time reported like this: 0900-1000 Customer Project xMinutes 0900-1000 Customer2 Project2 ...
0
votes
1answer
52 views

Org-timer slows down Emacs?

It seems that org-timer (org-clock) slows down Emacs when I display it in the mode line. Is there a way for it to not affect the speed while I keep it running and visible in the mode line? e.g. by ...
3
votes
2answers
432 views

How can I get a plain string with the clocked time and the estimate effort for the current task clocked-in?

I'm drowning in parenthesis here. I want to write a function which returns in a string the time and the effort estimate of the current clocked task. I first looked in org-mode checking I wasn't re-...
7
votes
1answer
2k views

Get a timeline of clocked time in org-mode

In an attempt to figure out how I've been spending my time, I've started logging my time spent on different tasks with org-clock-in and org-clock-out. I often find myself editing clock entries by ...
2
votes
0answers
132 views

How to keep current time balance in org-mode's clock table

I currently have my clocktable defined as #+BEGIN: clocktable :maxlevel 4 :scope file :tags "RESIM|DOAS|GENIUP|NOIUP" :block 2016 :step week :stepskip0 :emphasize nil The output looks like this: | ...
1
vote
1answer
139 views

how to expand the range of org-clock-display

Recently I upgraded my emacs from 24 to 25 and now when I do a org-clock-display command in one of my org files it only shows me the total for the current year, not previous years. Is it possible to ...
1
vote
0answers
50 views

org-shift[up/right/left/down] gives error on Org Clock Table pattern `yyyy-mm-dd`

I am having an issue viewing my time logged for individual days. I want to easily traverse through each day, and view the Org Clock Table for that day. When my pointer is on the clock table's config ...
1
vote
1answer
238 views

Combine fileskip0 and stepskip0 in org mode clock tables

Is it possible to combine :stepskip0 and :fileskip0 in org mode clock tables? I can skip files with :fileskip0: #+BEGIN: clocktable :maxlevel 2 :scope agenda :block thisweek :step day :fileskip0 ...
6
votes
1answer
252 views

persistent org-mode clock-in history

Is there a way to make the list of recently clocked-in tasks in org-mode persistent across Emacs restarts and (more importantly) closed buffers? It's annoying having to find the previous task just ...
4
votes
0answers
198 views

org-mode report with start and end time for each day of the week

I'm starting to use (a total newbie, actually) org-mode clocking commands to track time spent during the job day. I need to fill some reports on daily start and end time of my work day. This is just:...
7
votes
0answers
311 views

How to indicate the currently clocked-in task?

I'm using org-mode's clocking functions to track the hours I spend on projects. Since my main org file is rather large and I scroll through it a lot, it would be great to have a visual cue of the task ...
0
votes
1answer
87 views

Jump to an org agenda clock from an org agenda clock report

Here's an example Org clock table in Emacs: #+BEGIN: clocktable :maxlevel 1 :scope file :tcolumns 1 :formula % #+CAPTION: Clock summary at [2014-03-30 Sun 22:47] | Headline | Time | % | |---...
0
votes
1answer
243 views

Why can't 'org-clock-goto' find most recently clocked task in a fresh session?

If I open emacs and do a C-c C-x C-k I get the message, No active or recent clock task. In such a case, where I have not yet clocked a task since I started emacs, can I instead get org-clock-goto to ...
0
votes
1answer
69 views

Org clock quarterly report doesn't work anymore

In order to summarise my work for certain projects I use Org's clock tables: #+BEGIN: clocktable :maxlevel 2 :scope agenda-with-archives :block 2015-Q1 :tags "ProjectA" :fileskip0 #+END: This ...
2
votes
1answer
134 views

How can I append a note to the current currently clocked in task

I would like to quickly append a note to the currently clocked in task - something like a capture. I don't believe there is anything out of the box to do this, but it seems it must be possible. Any ...
4
votes
1answer
471 views

How to limit exported column view to a filtered subset of your headings?

I have a big org-mode file using tags and TODO keywords and properties. I would like to display a summary of "Effort" estimates on subsets of the headings with sums as we go up in the section ...
1
vote
0answers
74 views

Close clocked-in org task and clock-in next leaf task

When I am moving through a TODO list, I often want to complete the current task and clock into the next leaf node. In other words, I am performing a depth-first traversal of the task list. Before * ...