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

2008-09-13 Thread Carsten Dominik
Hi Tseng, thank you, I am accepting the patch. - Carsten On Sep 8, 2008, at 2:46 PM, S.P.Tseng wrote: 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

[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