Manuel Giraud <manuel.gir...@univ-nantes.fr> writes: > Bernt Hansen <be...@norang.ca> 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 convention for indenting org-mode code.
Not that I'm aware of - but you should refrain from making unnecessary whitespace changes to the code base even if the existing code is incorrectly formatted. Reformat the stuff you touch but don't make copious whitespace changes - that just hides what you changed. Regards, Bernt