Hi,

isn't creating a new major mode derived from org-mode supported?

I guess that part of the problem is that org-mode-p doesn't use derived-mode-p.


For example:
(define-derived-mode org-derived-mode org-mode "Org-Derived")

and then create a new buffer using org-derived-mode and enter a source block, like this:

#+BEGIN_SRC emacs-lisp
#+END_SRC

and do org-edit-special (C-c ') in that buffer. When finishing editing one gets this message:
"org-edit-src-exit: This is not a sub-editing buffer, something is wrong"

 anders


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to