I'm using GNU Emacs 27.2 on Mac with org-mode version 9.2.6. On top of my .org file, I added the following line and pressec C-c C-c to activate the new TODO states:


After pressing the C-c C-c keys, I get the following message: Symbol's function definition is void: org-outline-overlay-data. I am not able to use the new TODO states without restartng emacs.

I found about the C-c C-c keystroke on org-mode tutorials, and emacs documentation (see the keystroke for org-babel-execute-src-block). Am I doing something wrong, or should I be looking at some files to get this working? Thanks for any help!

Edit following @NickD's comment.

I turned on debug-on-error (with M-x toggle-debug-on-error) and repeated the C-c C-c keystroke. Here's the backtrace:

Debugger entered--Lisp error: (void-function org-outline-overlay-data)
  funcall-interactively(org-ctrl-c-ctrl-c nil)
  call-interactively(org-ctrl-c-ctrl-c nil nil)
  • What you are doing should work. I suggest you turn on debug-on-error (e.g. with M-x toggle-debug-on-error), repeat the C-c C-c experiment and (assuming you get a backtrace) edit your question and add the backtrace. AFAICT, there is indeed no function called org-outline-overlay-data: the backtrace will tell us who is trying to call this non-existent function.
    – NickD
    Oct 13 at 19:22
  • One thing that you might want to do is separate the TODO states from the DONE states with a | (do C-h i g(org)Setting up keywords for individual files to see the doc). That might or might not resolve the problem, but if it does, it will indicate an Org mode bug in the handling of this construct.
    – NickD
    Oct 13 at 19:26
  • 1
    This seems to be caused by the third-party add-on org-jira: are you using that package? If so, you might want to read this and maybe try some of the things suggested there (one of which is to recompile your .el files and restart emacs).
    – NickD
    Oct 14 at 1:30
  • 1
    Thanks @NickD! When grepping for 'org-outline-overlay-data,' org-jira didn't match but the following files did: org.elc, ob-core.elc, org-drill.elc, and ORG-NEWS. Nevertheless, I deleted all .elc files as suggested in the webpage you linked to, and this solved the problem. Thank you! Off-topic: Please let me know if there's a quick way to verify from inside Emacs if a package is installed. I don't think I ever installed org-jira. I searched the output of M-x list-packages and didn't find it, but I think there has to be a better way to check this directly.
    – vpk
    Oct 14 at 16:40
  • 1
    C-h v package-selected-packages variable shows what packages are installed. Oct 20 at 1:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.