Re: [O] Indentation of org-mode code

2011-04-20 Thread Bernt Hansen
Manuel Giraud writes: > Bernt Hansen writes: > >> For indenting lisp code I highlight the region to indent and C-M-\ >> (which is M-x indent-region) > > Yes I know (and do). But if you try this on org-html.el, for example, > big chunks of code are indented differently than they are now. So I > t

Re: [O] Indentation of org-mode code

2011-04-20 Thread Manuel Giraud
Bernt Hansen writes: > For indenting lisp code I highlight the region to indent and C-M-\ > (which is M-x indent-region) Yes I know (and do). But if you try this on org-html.el, for example, big chunks of code are indented differently than they are now. So I thought that there was some conventio

Re: [O] Indentation of org-mode code

2011-04-20 Thread Bernt Hansen
Manuel Giraud writes: > Hi, > > What are the good settings to indent the org-mode code? I have searched > through the mailing list and worg but can't find an answer. > > I'm asking because while working on org-html.el at one point I reindent > the whole buffer and end up with a mess (indenting wi

[O] Indentation of org-mode code

2011-04-20 Thread Manuel Giraud
Hi, What are the good settings to indent the org-mode code? I have searched through the mailing list and worg but can't find an answer. I'm asking because while working on org-html.el at one point I reindent the whole buffer and end up with a mess (indenting with "emacs -Q" can't fix this). Bes