[Orgmode] [bug]x2 #+BEGIN_EXAMPLE can not work and #+BEGIN_SRC indent error

2008-07-31 Thread S . P . Tseng
1. As follow example, [[.xx][]] will be subjected to markup. , | #+BEGIN_EXAMPLE | [[.xx][]] | #+END_EXAMPLE ` However start the example lines with a colon works fine. 2. Press tab at the line "Exclusive or.", indent error. #+BEGIN_SRC emacs-lisp (defun org-xor (a b) "

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

2008-08-03 Thread S . P . Tseng
Bernt Hansen <[EMAIL PROTECTED]> writes: > 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

Fwd: [Orgmode] Re: [bug]x2 #+BEGIN_EXAMPLE can not work and #+BEGIN_SRC indent error

2008-09-07 Thread S . P . Tseng
-- Forwarded message -- From: S. P. Tseng <[EMAIL PROTECTED]> Date: Sun, Sep 7, 2008 at 8:32 PM Subject: Re: [Orgmode] Re: [bug]x2 #+BEGIN_EXAMPLE can not work and #+BEGIN_SRC indent error To: Carsten Dominik <[EMAIL PROTECTED]> I think you misunderstand me. I never

Fwd: [Orgmode] Re: [bug]x2 #+BEGIN_EXAMPLE can not work and #+BEGIN_SRC indent error

2008-09-07 Thread S . P . Tseng
-- Forwarded message -- From: S. P. Tseng <[EMAIL PROTECTED]> Date: Mon, Sep 8, 2008 at 8:53 AM Subject: Re: [Orgmode] Re: [bug]x2 #+BEGIN_EXAMPLE can not work and #+BEGIN_SRC indent error To: Carsten Dominik <[EMAIL PROTECTED]> Carsten Dominik <[EMAIL PROTECTED]&g

[Orgmode] Patch to fix indent error when current line is in SRC block

2008-09-08 Thread S . P . Tseng
I add function 'org-edit-src-find-region-and-lang' to the begin of the 'org-indent-line-function'. When current line is in SRC block do nothing. So, you can use below code to indent the whole buffer. , | (defun my-iwb () | "indent whole buffer" | (interactive) | (delete-trailing-whitesp

[Orgmode] Re: Using other modes in org-mode

2008-09-10 Thread S . P . Tseng
That will be very cool, if this feature will be part of org-mode. It can correctly indent, font-lock and easy edit source code in native org-mode. By the way, I can not stop special mark "[[xxx][xx]] **" to be explain with SRC block, however ":" can do that. ___

[Orgmode] Re: BUG - RELEASE: Org-mode version 6.07

2008-09-19 Thread S . P . Tseng
Carsten Dominik <[EMAIL PROTECTED]> writes: > Hi Bernt, > > I have reverted the change. In fact, I had expected that it would slow down > things, but I did > not realize it would be this bad, which is not acceptable. > > So until we find a better solution, I am going back. Sorry, Tseng. That'