emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Indentation of org-mode code


From: Bernt Hansen
Subject: Re: [O] Indentation of org-mode code
Date: Wed, 20 Apr 2011 11:45:53 -0400
User-agent: Gnus/5.110015 (No Gnus v0.15) Emacs/23.2 (gnu/linux)

Manuel Giraud <address@hidden> writes:

> Bernt Hansen <address@hidden> 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



reply via email to

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