S.P.Tseng <[EMAIL PROTECTED]> writes: > 2. Press tab at the line "Exclusive or.", indent error. > #+BEGIN_SRC emacs-lisp > (defun org-xor (a b) > "Exclusive or." > (if a (not b) b)) > #+END_SRC
Switch to the appropriate mode first with C-c ' anywhere inside the SRC block and then indent works fine. You switch back to org-mode with another C-c ' I don't think it's reasonable that org-mode should know all of the indentation requirements for all other modes. -Bernt _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode