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: Nicolas Goaziou
Subject: Re: [O] [PATCH] org.el: Preserve indentation of manually indented lines in example blocks.
Date: Tue, 09 Aug 2011 15:21:05 +0200

Valentin Wüstholz <address@hidden> writes:

> At least that's my understanding of what /literal/ examples should
> give you. Besides, you don't need to fix each line separately: simply
> removing the indentation and auto-indenting the block will get you the
> desired results.

Ah, true. I hadn't thought about that. I guess it's not that bad then.

> I would love to hear how other people feel about this.

Same here. I don't use such blocks very often after all.

Meanwhile, could you please reformat a bit your patch (no more than 80
columns, no parents on their own line), add a commit message followed
by TINYCHANGE (unless you have signed FSF papers already) and use git
format-patch for the output?

>> To sum it up, in the first case, you only loose the ability to indent
>> the whole buffer in one go (which isn't as bad as it sounds, since you
>> can achieve that differently).
>
> How else would you be able to achieve that?

You may still indent regions without examples blocks, you can also
indent automatically each line you're writing.

I rarely indent globally buffers I wrote.

> I might be wrong, but I believe that at least in LaTeX indentation in
> verse blocks is not taken into account. This seems reasonable since
> they are not typeset in a monospaced font.

Actually indentation is partially taken into account. Some \hspace*{1cm}
are added. On the other hand, HTML enforces indentation with the help of
&nbsp;.

Regards,

-- 
Nicolas Goaziou



reply via email to

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