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: Mon, 27 May 2013 16:46:16 +0200
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3 (windows-nt)

Nicolas,

"Sebastien Vauban" wrote:
> Nicolas Goaziou wrote:
>> "Sebastien Vauban" writes:
>>
>>> 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 ').
>>
>> I have pushed a fix on maint (at least for the export part, the source
>> editing one is another story). Could you confirm it behaves as expected?
>
> I confirm that the export is respecting the indentation up to the virtual
> margin (represented by the # character). Excellentissimo!

I wanted to add that I tested your patch against my LP'ed .emacs file
(~10K lines)... which was then some sort of baptism of fire for it...

Best regards,
  Seb

-- 
Sebastien Vauban




reply via email to

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