emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Indentation of code blocks within lists


From: Sebastien Vauban
Subject: Re: [O] Indentation of code blocks within lists
Date: Fri, 24 May 2013 23:26:04 +0200
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3 (windows-nt)

Hello Nicolas,

Nicolas Goaziou wrote:
> "Sebastien Vauban" <address@hidden> writes:
>
>> That won't help you, but I've already sent questions on this problem, last
>> year (Org < 8). See my post on
>> http://lists.gnu.org/archive/html/emacs-orgmode/2012-02/msg00247.html.
>>
>> Though, it's (for me) still unfixed as of today.
>>
>> The good news is that Nicolas seemed OK to look at it, and find a solution 
>> for
>> it...
>
> AFAICS, your problem was solved. Could you point to what is still wrong?
>
> I also cannot reproduce OP's problem. It may be related to
> `org-src-preserve-indentation' value.

Indeed. I have as well `org-src-preserve-indentation' set to `t', for the same
reason as pointed out: if I don't use it that way, then my code blocks which
have different relative depths are exported (in HTML) on the same level, as if
there was no indentation to respect.

So, yes, it does work if you don't need to preserve indentation, you're well
right. But, if not, the indentation is lost on export (and on source editing
with C-c ').

Best regards,
  Seb

-- 
Sebastien Vauban




reply via email to

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