From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Fantin Subject: Indentation of src blocks with org-adapt-indentation Date: Mon, 12 Jul 2010 00:25:20 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from [140.186.70.92] (port=35896 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OY4y2-0004fy-4c for emacs-orgmode@gnu.org; Sun, 11 Jul 2010 18:25:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OY4y0-0008VY-VZ for emacs-orgmode@gnu.org; Sun, 11 Jul 2010 18:25:45 -0400 Received: from mail-ey0-f169.google.com ([209.85.215.169]:33986) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OY4y0-0008VJ-Pr for emacs-orgmode@gnu.org; Sun, 11 Jul 2010 18:25:44 -0400 Received: by eydd26 with SMTP id d26so535489eyd.0 for ; Sun, 11 Jul 2010 15:25:43 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org I've reverted back from using fake indetation provided by org-indent-mode, to regular indentation, since the latest git pull fixed some issues that makes it much more usable (so thanks for that !). However src blocks only behave properly if starting on column 0, otherwise, editing it with C-' will include the headline level's indentation added to the code's own indentation. Wouldn't it make more sense, to have blocks stick to the regular indentation level, while org-edit-special would strip the meaningless spaces that result from the headline level ? Cheers