10 votes
Accepted

changing todo state of multiple headings at once

The Org documentation says Many commands in Org work on the region if the region is active. And indeed defining a region followed by C-c C-t acts on all headlines in that region. Note that ...
Marco Wahl's user avatar
  • 2,876
10 votes
Accepted

All todos: how to set different colors for different categories?

I prefer to use sub todos inside of a larger parent todo, instead of using categories. E.g: * TODO Write Tutorial [0/2] ** TODO Create Outline ** TODO Collect Data Then as I complete them I can see ...
cstls's user avatar
  • 176
8 votes

Org mode: Using todo-items or checkboxes in tables

Org mode is so flexible that you have, in addition to the previous answer, a bunch of additional possibilities, if you don't file like coding. This requires a little modification of your setup, but ...
J C Gonzalez's user avatar
6 votes

Org mode: Using todo-items or checkboxes in tables

The functions org-element-parse and org-element-map make this task relatively easy. org-element-parse generates an abstract syntax tree of the org buffer. You can iterate over the headlines of the ...
Tobias's user avatar
  • 33.2k
5 votes
Accepted

Agenda to do list sorting

Looks to me like that is ordering by just priority-desc. I can infer from that snippet that you've set your org-default-priority to B, so the todo item with no explicit priority has defaulted to B ...
Matt Innes's user avatar
5 votes
Accepted

Org-mode as a Get-Things-Done (GTD) system

Rather than Googling for information, you can find up-to-date (usually) documentation for org-mode in the manual that ships with org-mode. Regarding remember.el, the manual notes: As of version 8.0,...
Tyler's user avatar
  • 22.3k
4 votes

Org: have multiple TODO sequences that terminate with DONE

I think the closest you can get here is to have three lists in org-todo-keywords like this: (setq org-todo-keywords '((sequence "TODO" "|") (sequence "RESEARCHING" "WORKING" "FINISHING" ...
John Kitchin's user avatar
  • 11.9k
4 votes
Accepted

How to start emacs with a custom agenda view?

You can start it with (org-agenda nil "z") Read more about this function by M-x describe-function, org-agenda (org-agenda &optional ARG ORG-KEYS RESTRICTION)
Cauchy Cai's user avatar
3 votes

Org agenda remove todo in bulk

After a glance at the code I think the 'fast-todo-selection' does not go together with agenda bulk marked items, yet. Possibly you want to file a report on the org mode mailing list so the issue ...
Marco Wahl's user avatar
  • 2,876
3 votes
Accepted

How do you make org-todo apply todo state change logging to all headings, when called from a function?

You do it by customizing org-log-into-drawer which you have presumably done. The problem is that your function has a bug: it contains two calls to org-map-entries. Try the following function instead: ...
NickD's user avatar
  • 29.8k
3 votes

All todos: how to set different colors for different categories?

Org does not have built-in support for assigning faces (colors, etc) to specific categories. You can assign colors to specific TODO keywords (org-todo-keyword-faces) or to specific tags (org-tag-faces)...
glucas's user avatar
  • 20.6k
3 votes

Convert outline into todos/checkboxes

I don't think there's a built-in function for that, but you can create one and bind it yourself. I wrote this one, that will replace all outlines in region with - [ ]. If no region is active, replace ...
Jesse's user avatar
  • 1,994
3 votes

Workflow to collect TODO notes from various files into an org agenda

Don't nest Org syntax inside your LaTeX files. Do it the other way around instead: nest LaTeX syntax in code blocks inside Org files, add each of those Org files to org-agenda-files, and tangle (...
Phil Hudson's user avatar
  • 1,741
3 votes
Accepted

Multiple timestamps for various states in TODO lists

Instead of just rely on the done/not done state, you can specify for each task if you should record a timestamp on entering/leaving it. The relevant bit from C-h v org-todo-keywords is Each keyword ...
erikstokes's user avatar
  • 12.9k
3 votes
Accepted

Automatically clock in when I switch task mode to "in progress"

Figured it out. Much simpler than the linked solution. (add-hook 'org-after-todo-state-change-hook 'org-clock-todo-change) (defun org-clock-todo-change () (if (string= ...
ChasingUG's user avatar
2 votes
Accepted

How does (org-agenda-todo arg) work? What does the argument mean?

org-agenda-todo calls the org-todo function interactively and in doing so, the it passes its own argument as it is to org-todo1. From C-h f org-todo, you will get a complete understanding of what the ...
Kaushal Modi's user avatar
  • 25.7k
2 votes

How to postpone (skip) an org-mode repeated task by a cycle or two?

Here is what I have come up with. Pretty simple. (setq org-todo-keywords '((sequence "TODO(t)" "|" "DONE(d!)" "SKIP(k!)" "CNCL(c@)"))) (define-key org-agenda-mode-map "K" (lambda () ...
Alexander Shcheblikin's user avatar
2 votes

How to postpone (skip) an org-mode repeated task by a cycle or two?

Something like this should do: (defun yashi/org-timestamp-cycle-up (arg) (interactive "p") (yashi/org-timestamp-cycle (prefix-numeric-value arg))) (defun yashi/org-timestamp-cycle-down (arg) (...
Yasushi Shoji's user avatar
2 votes

Org mode export: exclude sections with todo keyword

Or if you want to export DONE items but not TODO items, set it (tasks) to done.
Wallace Cheng's user avatar
2 votes

Convert outline into todos/checkboxes

Let's discuss low-level command that you need. org-todo cycles the headline your cursor is on through TODO states. org-toggle-item turns headlines into lists, org-toggle-heading turns lists into ...
Mirzhan Irkegulov's user avatar
2 votes

Make all done org-mode items invisible (collapsed)

You can archive all items you want folded. Archived items (i.e. items marked with the ARCHIVE tag) will always remain folded unless explicitly unfolded via org-force-cycle-archived (C-TAB). If you ...
Juancho's user avatar
  • 5,455
2 votes

It is possible to generate daily checklist from org todo list?

I've been following https://www.youtube.com/watch?v=sQS06Qjnkcc&list=PLVtKhBrRV_ZkPnBtt_TD1Cs9PJlU0IIdE and he also mentions a daily checklist like this, but he doesn't seem to be automating this. ...
Toon Claes's user avatar
2 votes

changing todo state of multiple headings at once

If you want to change them all to the same state with a single command you can use a function like this that works on a region or the buffer. (defun j-change-todo (start end state) "Change heading ...
John Kitchin's user avatar
  • 11.9k
2 votes
Accepted

ignore dependencies when setting CANCELED todo-state

It is actually explained in the docs that it is possible to simply override the enforcement of todo dependencies by using the C-c C-t command with triple prefix argument: C-u C-u C-u. Also, there is ...
Daniel Dinnyes's user avatar
2 votes

ignore dependencies when setting CANCELED todo-state

I have not found a builtin way to accomplish this "easily", so I wrote the following two functions which can manually be invoked to change the status of all todo states in a subtree to CANCELLED and ...
Melkor333's user avatar
2 votes
Accepted

I have to enable `hl-todo-mode` in LaTeX-mode?

I had a similar problem with AUCTeX and fic-mode. It's caused by the style-hooks executed by AUCTeX after loading the file. You can enable your minor mode in the TeX-update-style-hook, see. this TeX ...
matteol's user avatar
  • 1,998
2 votes
Accepted

What is the difference between Workflow states vs Types in org-mode?

The doc says: The second possibility is to use TODO keywords to indicate different types of action items. For example, you might want to indicate that items are for “work” or “home”. Or, when you ...
NickD's user avatar
  • 29.8k
2 votes
Accepted

Add a blank line between headings in the Global TODO list

You can insert blank lines, or make other modifications, using the org-agenda-finalize-hook hook. (defun my/org-agenda-insert-blank-lines () (save-excursion (goto-char (point-min)) (when (re-...
jagrg's user avatar
  • 3,914
1 vote
Accepted

Org mode table- make entire column to contain checkbox

To insert a column on the left, start with the cursor on the first column, then press M-S-right (followed by M-left depending on the version you're using). AFAIK there's no checkbox support in ...
jagrg's user avatar
  • 3,914
1 vote

changing todo state of multiple headings at once

If you like helm, here is an approach where you can choose the headings in helm, mark them, and the change the state on all of them. (require 'helm-org) (defun j-helm-org-todo (candidate) (let ((...
John Kitchin's user avatar
  • 11.9k

Only top scored, non community-wiki answers of a minimum length are eligible