--text follows this line--
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
The indentation of the src block is OK, but it is relative to the
second-level headline ("**search"), rather than the list "- example".
In this way, I can not create another list item ("- test") at the point
(illustrated by <point>) by Alt+Enter.
I tried the variable org-indent-indentation-per-level,
org-adapt-indentation and so on, but failed to indent the src block
relative to the list item. So anyone please give me some hint.