In Org mode, when attempting to edit an elisp source block such as the following:
#+BEGIN_SRC emacs-lisp
(setq trees '(pine fir oak maple)
herbivores '(gazelle antelope zebra))
#+END_SRC
Using the key-chord C-c ' loads the source block in a new window. Though org-src-mode is not loaded in the new buffer. So I get the message C-c ' is undefined when attempting to close the buffer and move back to Org mode. I am able to manually load org-src-mode, which works, though it would be nice for it to be loaded automatically.
I am using emacs 25.1 with no special emacs-lisp-mode or org-mode configuration.
Plus to ensure the issue was not caused by some other part of my configuration, I load the file in emacs without my init file emacs -Q and still had the issue.
With (setq debug-on-error t) the following error is shown in the debugger:
Debugger entered--Lisp error: (wrong-type-argument listp t)
delete((org-filtered) t)
remove((org-filtered) t)
org-move-to-column(0)
org-edit-src-code()
org-edit-special(nil)
funcall-interactively(org-edit-special nil)
call-interactively(org-edit-special nil nil)
command-execute(org-edit-special)
Any suggestions on how to resolve the issue?
*Messages*buffer:remove: Wrong type argument: listp, t(setq debug-on-error t)you will receive a bigger debugging message (in a separate buffer/window) that will be more helpful.