From mboxrd@z Thu Jan 1 00:00:00 1970 From: Charles Berry Subject: Re: About indentation when the src block is under a list Date: Sun, 28 Apr 2013 15:49:16 +0000 (UTC) Message-ID: References: <87zjwix6ns.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:33159) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UWTqz-0006kp-G8 for emacs-orgmode@gnu.org; Sun, 28 Apr 2013 11:49:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UWTqy-0002Z3-NE for emacs-orgmode@gnu.org; Sun, 28 Apr 2013 11:49:29 -0400 Received: from plane.gmane.org ([80.91.229.3]:34182) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UWTqy-0002Yz-GP for emacs-orgmode@gnu.org; Sun, 28 Apr 2013 11:49:28 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UWTqw-0007TD-EI for emacs-orgmode@gnu.org; Sun, 28 Apr 2013 17:49:26 +0200 Received: from 137.110.34.176 ([137.110.34.176]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 28 Apr 2013 17:49:26 +0200 Received: from ccberry by 137.110.34.176 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 28 Apr 2013 17:49:26 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org zwz gmail.com> writes: > Here is an example: > > * array > ** search > - example > #+BEGIN_SRC c > /* find score in scores > ,* return the index if found or -1 */ > int search(int scores[], int n, int score){ > int i = 0; > for(; i return -1; > } > #+END_SRC > > > - test > If you want a manual fix, put point in the begin_src line then use C-c ' C-c ' that's org-metaright, next-line, org-edit-special, org-edit-src-exit HTH,