From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: Re: Indentation of code blocks within lists Date: Mon, 27 May 2013 16:15:53 +0200 Message-ID: <86bo7wse3q.fsf@somewhere.org> References: <87ehdb13lo.fsf@somewhere.org> <874ndwg2os.fsf@somewhere.org> <86txlt8hkf.fsf@somewhere.org> <87sj1c7e60.fsf@gmail.com> <86zjvk134j.fsf@somewhere.org> <87zjvj5j3n.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hello Nicolas, 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! Thank you ve-ry much... Best regards, Seb -- Sebastien Vauban