emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: [bug]x2 #+BEGIN_EXAMPLE can not work and #+BEGIN_SRC inden


From: Bernt Hansen
Subject: [Orgmode] Re: [bug]x2 #+BEGIN_EXAMPLE can not work and #+BEGIN_SRC indent error
Date: Thu, 31 Jul 2008 08:00:15 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

S.P.Tseng <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]