From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Indentation of code blocks within lists Date: Sat, 25 May 2013 14:39:40 +0200 Message-ID: <87zjvj5j3n.fsf@gmail.com> References: <87ehdb13lo.fsf@somewhere.org> <874ndwg2os.fsf@somewhere.org> <86txlt8hkf.fsf@somewhere.org> <87sj1c7e60.fsf@gmail.com> <86zjvk134j.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:49731) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UgDlM-0000nl-DG for emacs-orgmode@gnu.org; Sat, 25 May 2013 08:40:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UgDlK-00067J-FP for emacs-orgmode@gnu.org; Sat, 25 May 2013 08:39:56 -0400 Received: from plane.gmane.org ([80.91.229.3]:47285) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UgDlK-00067B-8E for emacs-orgmode@gnu.org; Sat, 25 May 2013 08:39:54 -0400 Received: from public by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UgDlI-00043b-9D for emacs-orgmode@gnu.org; Sat, 25 May 2013 14:39:52 +0200 In-Reply-To: <86zjvk134j.fsf@somewhere.org> (Sebastien Vauban's message of "Fri, 24 May 2013 23:26:04 +0200") 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@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Sebastien Vauban Cc: public-emacs-orgmode-mXXj517/zsQ@plane.gmane.org Hello, "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? Regards, -- Nicolas Goaziou