emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Deriving mode from org-mode
@ 2011-02-13 21:23 Anders Waldenborg
  2011-02-15  4:11 ` Bastien
  0 siblings, 1 reply; 8+ messages in thread
From: Anders Waldenborg @ 2011-02-13 21:23 UTC (permalink / raw)
  To: emacs-orgmode


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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-07-15 19:54 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-13 21:23 Deriving mode from org-mode Anders Waldenborg
2011-02-15  4:11 ` Bastien
2011-02-22  9:17   ` Anders Waldenborg
2011-02-22  9:21     ` Carsten Dominik
2011-02-22  9:34       ` Carsten Dominik
2011-02-22 21:31         ` Anders Waldenborg
2011-02-22 11:52     ` Bastien
2011-07-15 19:50       ` [Orgmode] " Anders Waldenborg

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).