emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] About indentation when the src block is under a list


From: zwz
Subject: Re: [O] About indentation when the src block is under a list
Date: Tue, 30 Apr 2013 20:48:04 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Thanks! :)
 
Charles Berry <address@hidden> writes:

> zwz <zhangweize <at> 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<n; ++i) if(scores[i]==score) return i;
>>     return -1;
>>   }
>>   #+END_SRC
>> 
>>   <point>
>>    - test
>> 
>
> If you want a manual fix, put point in the begin_src line then use 
>
>       <M-right>  <down> C-c ' C-c '
>
> that's org-metaright, next-line, org-edit-special, org-edit-src-exit
>
> HTH,




reply via email to

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