Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

emacs org-mode, can't set custom TODO sequence

I want to define a custom sequence for the TODO feature of org-mode.

So I added this to the very top of the file (first column):

#+SEQ_TODO: TODO TEST DONE

Finally, when I pressed C-c C-t, the sequence wasnt appearing, it was just the normal TODO-->Done--->blank sequence.

Why wasn't my custom sequence used?

My org-agenda-files is set to:

(setq org-agenda-files '("~/Documents/org"))

Further tries:

  1. I tried to run C-c \, this gave my the "Match:" prompt at the bottom, but didn't return any matched results.

    C-c \ runs the command org-match-sparse-tree, which is an interactive compiled Lisp function in org.el'.

    I have a feeiling that C-c \ not returning any matches might indicate some underlying problem. A problem that might cause the "sequence instruction" on top not to be parsed?

  2. Then I run C-c [ which is mapped to:

    C-c [ runs the command org-agenda-file-to-front, which is an interactive compiled Lisp function in org.el'.

    This re-parses the .org file. Didn't change anything.

So again, how can I defined a custom TODO-sequence?

And also as a secondary question, why isn't C-c \ working?

I can run C-c a, which is agenda-mode, from which I can do what C-c \does, but I'm curious to know.

Thanks in advance for your time and kind concern.

Jenia

like image 886
Jenia Ivanov Avatar asked Nov 07 '25 11:11

Jenia Ivanov


1 Answers

This might be too obvious to need saying, but have you tried C-c C-c with point on the #+SEQ_TODO line?

like image 61
Phil Hudson Avatar answered Nov 09 '25 08:11

Phil Hudson