Planning¶
Plan, the arrow in the top bar, gives each open task times in which it is to be worked on and writes them to calendar.txt next to the todo.txt file.
The todo.txt file leads: the plan is computed from it, and planning does not change it.
- A task with a higher priority is planned first, and every task gets the earliest free times, so that tasks without dates are planned soon as well.
- A task that would be done after its due date is planned before the tasks with a higher priority, the one that is due first first. The file keeps its priority.
- A task takes its duration (
dur:), half an hour without one, and is not planned before its start date (t:). A free time that is too short takes a part of the task, but no part is shorter than an hour, the block; a task that is shorter is not cut. - A task follows the task before it without a gap; after an event of a calendar, it starts on a quarter of an hour.
- A task that waits for others is planned after them:
Send the paper id:1waits forWrite the paper p:1. The tasks it waits for come as early as the task itself would. - A time map names times of the week:
General = Mon-Fri 08:00-12:00 13:00-18:00. A map that starts with the name of another one is restricted to its times:Morning-Focus = General 08:00-11:00. The first map is for tasks whose contexts name none. Dates after the name give the map on these dates, for a vacation or holidays:General 2026-12-24..2027-01-06 = 10:00-12:00, ornonefor no time; the later line wins. Add holidays adds the public holidays of a German state to the first map. - A context gets a time map:
@research = Morning-Focus. It holds for the contexts below it, such as@research>reading, unless they name their own. - A task names a time map of its own with
map:, such asRead the survey @research map:Evenings; it comes before the map of its contexts. - A barrier is the day behind which a task is not planned:
week,month,quarter(the default),yearor a date. It is set in general (default = year), for a project (+Thesis = 2027-03-31) or for a context (@research = year); the earliest barrier of a task counts. A barrier for a project or a context holds for those below it, such as+Thesis>chapter1. A task that does not fit before its barrier is listed after planning instead of being planned later. A task whose start date lies behind its barrier is not due yet: it is neither planned nor listed. - A limit states how much is planned for a project or a context, the contexts below it included, as rules separated by commas:
| Rule | Effect |
|---|---|
@chores = max 90m/day, max 5h/week |
Budget: not more is planned on a day or in a week, which starts on Monday. |
@paper = min 1h/week |
Minimum: this much is planned in each week before the tasks with a higher priority get their times. |
+Thesis = block 2h |
The shortest part its tasks are cut into; of several, the longest counts. |
default = block 30m, max 6h/day |
For the tasks without a block of their own, and a budget for all tasks together. |
A paper that is finished one day is a project below a project that stays, +papers>FirstPaper: a limit of +papers then holds for every paper, and +papers>FirstPaper gets its barrier.
After the first plan, each open task carries a calendar icon: green if its plan ends before its due date or it has none, yellow if it ends on the due date, red if it ends later or the task is not planned.
For a task that is due at a time of the day, such as due:2026-11-16 dueby:14:00, red also tells that the plan ends on that day after that time.
The pointer on the icon shows the start of the plan.
calendar.txt has the format of calendar.txt, one line per day:
2026-11-16 w47 Mon 08:00-09:00 Read the survey @research>reading. 09:00-09:30 Call the landlord @phone
The lines of past days stay; the lines from today on are written anew by every plan, so what is written there by hand is lost.
Open tasks with the same text are told apart in the plan by their due date, as Prepare the lecture @home (due 2026-11-16), and by a number if that is the same as well, as Water the plants @home (2); the todo.txt file does not hold these additions.
In a git repository, each plan is one commit (decision 0019).
The plan is also written to calendar.ics, with tentative events, for import into a calendar program.
Fixed times¶
A task with the tag at: is not moved by planning: it takes the time it states, for its duration, and the other tasks are planned around it.
Use it for what has its time, such as lunch, a training or an appointment, so that the todo.txt file is the one place where it is written.
| Line | Where | Planned |
|---|---|---|
Dentist at:14:00 dur:1h due:2026-11-20 |
todo.txt |
on 20 November from 14:00 to 15:00 |
Call the tax office at:9:30 |
todo.txt |
today from 9:30 to 10:00 |
weekly ; day Monday, Tuesday, Wednesday, Thursday, Friday - Lunch at:12:00 dur:45m |
ice_recur.txt |
on every working day from 12:00 to 12:45 |
weekly ; day Tuesday - Training @sport at:18:30 dur:1h30m |
ice_recur.txt |
on every Tuesday from 18:30 to 20:00 |
- The day is the due date, else the start date, else today.
- The time holds whatever the time maps and the calendars say: a training in the evening needs no time map for the evening.
- For an entry of
ice_recur.txt, the plan has the time on the later days as well, before the task of the day is added: for as long as tasks are planned, and for four weeks at least. - The task of the day is completed like any other task, which takes its block from the next plan.
- A time that is over is not planned any more.
- The time counts for a budget of the project and the contexts of the task.
A task with at:end takes the end of the green times of its time map on its day instead of a time (decision 0062): the last free time that is as long as the task, before a meeting at the end of the day.
It gets that time before the other tasks are planned, so a full day pushes them into the yellow times, not the task.
Only if the green times leave no room for it, it takes the end of the yellow times, and then of the red ones.
weekly ; day Monday, Tuesday, Wednesday, Thursday, Friday - Prepare the next day at:end dur:15m in ice_recur.txt makes it the last task of each working day.
Time spent¶
A task with the tag spent: was worked on already: the plan gives it the rest of its duration, and the estimate stays in dur:.
| Line | Planned |
|---|---|
Write the report dur:4h spent:2h30m |
1 hour and 30 minutes |
Review the paper dur:1h spent:1h15m |
30 minutes: the time is used up and the task is open, so it counts as a task without duration |
- In the agenda, each block of today has a button such as +45m spent, which adds the length of the block to the tag.
- The field Time spent of the edit dialog holds the sum and corrects it.
- A completed task keeps both tags and tells what it was estimated at and what it took; the next occurrence of a recurring task starts without time spent.
Start beside a task of today in the agenda and in Today starts its clock, and writes the start into the task, such as started:2026-11-19T16:50.
A bar above every view then shows the task, the start and the time since it.
Stop there or beside the task adds that time to spent: and removes the start; starting another task stops the clock that runs, and completing the task stops its own (decision 0044).
Each stopped clock also adds a line to timelog.txt next to todo.txt, such as 2026-11-21 16:50-17:20 Write the report +Work, so that the file tells on which day and at which time the task was worked on (decision 0050).
Away, in the bar of the clock or at the top of Today, stops the clock that runs and writes 2026-11-21 17:20- Away; a bar above every view shows the time away, and Back or starting a task completes the line, such as 2026-11-21 17:20-18:05 Away.
Travel time¶
A task with the tag tt: takes place somewhere else: the plan keeps the stated time free before and after it, for the way there and the way back.
| Line | Planned |
|---|---|
Dentist at:15:00 dur:1h tt:30m due:2026-11-20 |
the way from 14:30, the dentist from 15:00 to 16:00, the way back until 16:30 |
Fetch the parcel @errands dur:30m tt:20m |
a free time of 70 minutes: 20 minutes for the way, 30 for the parcel, 20 for the way back |
Workshop at:9:00 dur:2h tt:1h30m/0 |
the way from 7:30, the workshop from 9:00 to 11:00, no way back |
Seminar at:13:00 dur:1h tt:0/1h30m |
no way there, the seminar from 13:00 to 14:00, the way back until 15:30 |
- Two tasks at one place on one day state the way there on the first and the way back on the last, with
0for the way that is not taken. - The ways are blocks of their own, which the plan shows as
Travel:followed by the task. - A task with a travel time is not cut into parts, so it needs a free time that holds it with both ways.
- The ways do not count for a budget of the project and the contexts of the task.
Agenda and week¶
Agenda above the tasks shows the blocks of today and of the six days after it, each with its task, which is completed and opened there as in the list. Below the blocks of today are the tasks that are due today or overdue and have no block today.

Week shows the blocks of a week as a calendar; a click on a block opens its task. On a phone, it opens with today in view, after yesterday, and comes back to the week and the place where it was left.

Today shows the agenda of today beside the day as a calendar, with a line at the current time, and the sum of the time planned for today. On a narrow screen, it shows the agenda of today only.

Both show what calendar.txt says: after tasks changed, Plan brings it up to date.
A block whose task was completed, deleted or edited since shows the text it was planned with.
Notifications on Android¶
When a block of the plan starts, the Android application shows a notification with the task and the times of the block. Start, Postpone and Not today in the notification start the clock of the task, plan it after the block and leave it for today; a tap opens the application. The notification leaves when the block ends.
The block of a task with the priority A rings like an alarm clock instead: on time, also during Do Not Disturb, and again until the notification is looked at.
Its notification has Snooze in place of Postpone: a menu that rings it again in 15 minutes, 30 minutes or an hour, plans the task after the block, or dismisses it.
koppter.yml sets the priorities that ring; an empty value lets none ring:
alarm:
priorities: "A B"
- A watch that is connected to the phone shows the notification as well, with its actions.
- Travel time gets no notification, nor does a block whose task was completed, deleted or edited since.
- The notification of a block that does not ring may come some minutes after the block started, as Android delivers it when that saves energy.
- From Android 13 on, the application asks for the permission to notify when it starts and the file has a plan.
Calendars¶
Calendars with busy times in the plan dialog takes the addresses at which calendar services publish a calendar as an iCalendar file, one per line. Nothing is planned into the times of their events; events of whole days, canceled events and events marked as free do not count.
- Outlook on the web: Settings → Calendar → Shared calendars → Publish a calendar, then the ICS link.
- Google Calendar: Settings → the calendar → Integrate calendar → Secret address in iCal format.
Such an address lets everyone who has it read the calendar.
It is therefore kept in the settings of the device and not in koppter.yml; each device needs it entered once.
The application only reads the calendars and writes nothing to them.
Week and Today show the events of these calendars with a bar on their left. A click on an event, or a click with the right mouse button, opens a menu:
- Sideline this event: its time counts as free puts the event, for a repeating event all its occurrences, on the sideline: it stays in the calendar, drawn pale and struck through, but the next plan puts tasks into its time.
The event is kept by its UID in
calendar-sideline.txtnext to thetodo.txtfile (decision 0059); Take this event off the sideline removes it. - Sideline everything titled "…" adds the title of the event to Sideline in the plan dialog, so that every event and appointment whose title contains it is on the sideline. For an entry that a word puts on the sideline, the item removes that word instead.
Calendar of Outlook¶
On Windows with the classic Outlook and AnchorHub, planning also works with the main calendar of an Outlook account (decision 0041):
- Its appointments are busy times, as those of the calendars above; whole-day appointments and those marked as free do not count.
- Week and Today show its appointments next to the blocks of the plan, in the colors of their categories in Outlook; whole-day appointments are not shown.
A click on an appointment, or a click with the right mouse button, opens it in Outlook or puts it on the sideline: it stays in the calendar, but tasks are planned into its time, as with a word of Sideline in the plan dialog.
The menu also has Sideline everything titled "…", as for the events of the calendars above.
The sideline is the category
Sidelineof the appointment in Outlook, for a recurring appointment of its whole series, so it can also be set in Outlook itself. - The plan of the next three weeks goes into it as appointments that are private and tentative, without reminder, whose subject ends with
[koppter]. Colleagues see the time as tentatively taken, not the task. - Each plan replaces the appointments that koppter wrote before; a block that is still in the plan stays as it is.
- Account of the calendar in the settings names the account as Outlook shows it, such as its email address; empty for the default account. Weeks of the plan in Outlook sets the three weeks; 0 writes nothing.
- Remove koppter's blocks from Outlook in the settings shows the number of the appointments that koppter wrote and deletes them after a confirmation. They go to the deleted items of Outlook.
An appointment counts as koppter's only if AnchorHub created it: it carries a hidden property and the category koppter, which AnchorHub sets.
An appointment of the user is never changed or deleted, whatever its subject says, and neither is a recurring appointment or a meeting.
Do not enter the published address of the same calendar under Calendars with busy times: the published file has the blocks without their marks, so that the next plan would avoid them as busy times.
Limits of planning¶
- A budget counts what is planned from now on: what was planned earlier in the running week is not counted.
- A minimum is planned in the weeks up to the day on which the tasks of its context would be done without it; a week in which they have no time left gets nothing.
- A due date moves a task before the higher priorities only if its plan would end after that date; such a task then gets the earliest free times, not the latest that still keep the date. A task that ends late even so keeps these times, and its icon tells that the plan ends too late. A task with a fixed time is not moved.
- The list marks a task as overdue from the day after its due date on, not from the time by which it was due.
- The travel time is one flat value per task: two tasks at the same place after each other each get both ways, and a way that is longer in one direction cannot be stated.
- A task with a fixed time and without a date counts for today as long as it is open: a training of Tuesday that was not completed is planned again on Wednesday. Complete or delete it when its day is over.
- A task with
rec:and a fixed time takes its time on its current due date only; the later ones follow when it is completed. What recurs at a fixed time belongs inice_recur.txt. - A fixed time is planned also where a calendar has an event or another task has a fixed time; nothing reports the overlap.
-
The task list does not tell which tasks wait for others, and it shows them all the same; the tags
id:andp:are typed, and their values chosen, by hand. -
In the last days of a quarter, little fits before the default barrier, and most tasks count as not planned.
default = yearor a date moves the barrier. - A block refers to its task by the text of the task. After the text, a project or a context of a task is edited, the task counts as not planned until the next plan.
- A time zone that the platform does not know by its name, as Outlook writes them (
W. Europe Standard Time), counts as the time zone of the device. Events of a calendar that is kept in another time zone than that of the device are then read at the wrong time. - An occurrence of a repeating event that was moved counts as busy at its old and at its new time.
- Whether a calendar program replaces the events of an earlier import of
calendar.icsor adds them again has not been tried. The events carry the same id in every export, and the application leaves its own events out when it reads a calendar they were imported into. - The events of the calendars are not shown in the agenda and the week: only their times are read, when planning. A task is not coupled to an event either.
- Reading calendars and the import of
calendar.icshave been tried with files written for the tests, not with the calendars of Outlook or Google.