emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] [PATCH] org.el: Preserve indentation of manually indented lines


From: Valentin Wüstholz
Subject: Re: [O] [PATCH] org.el: Preserve indentation of manually indented lines in example blocks.
Date: Mon, 8 Aug 2011 23:04:58 +0200

Hi Nicolas.


 On Mon, Aug 8, 2011 at 10:40 PM, Nicolas Goaziou <address@hidden> wrote:
 > Hello,
 >
 > Valentin Wüstholz <address@hidden> writes:
 >
 >> lines in example blocks are currently indented like the surrounding
 >> begin and end delimiters. ¨This works fine unless, you want to indent
 >> some lines manually;
 >
 > You may use colons instead. They are meant for this task. I.e.:
 >
 > : some text
 > :     ^


Colons are great for short snippets. However, blocks are far more
convenient for longer passages.


 >> in this case, auto-indenting the buffer reverts the manual
 >> indentation. This patch should prevent this from happening.
 >
 > I don't think we should prevent that as it would be more hassle to cope
 > with the new behaviour than doing it with colons.


I don't think that the behaviour is fundamentally different. Blocks
that were indented using the old behaviour will still be indented in
the same way. The new behaviour is mainly more flexible. What
potential hassle were you thinking of?

Best regards,

Valentin



reply via email to

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