From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Babel code indentation problem Date: Thu, 3 Mar 2016 10:14:25 +0000 Message-ID: <8737s7dg1q.fsf@pinto.chemeng.ucl.ac.uk> References: <87mvqgouqy.fsf@iki.fi> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55248) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1abQHE-0004rO-Sa for emacs-orgmode@gnu.org; Thu, 03 Mar 2016 05:14:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1abQH9-0005wu-KI for emacs-orgmode@gnu.org; Thu, 03 Mar 2016 05:14:36 -0500 Received: from mail-am1on0133.outbound.protection.outlook.com ([157.56.112.133]:2513 helo=emea01-am1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1abQH9-0005wo-CV for emacs-orgmode@gnu.org; Thu, 03 Mar 2016 05:14:31 -0500 In-Reply-To: <87mvqgouqy.fsf@iki.fi> (Jarmo Hurri's message of "Thu, 3 Mar 2016 10:01:25 +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: Jarmo Hurri Cc: emacs-orgmode@gnu.org On Thursday, 3 Mar 2016 at 10:01, Jarmo Hurri wrote: [...] > So the problem is not in indentation in Processing mode itself, but the > error appears upon return from editing. This suggests that the issue > is in the communication between the editing mode and Org mode. As you > can see, I have different indentation settings for C and Processing, so > that might be one thing that makes the difference appear. I think it is because you are using TABs to indent instead of spaces and therefore the indentation doesn't look right in the org mode view. You can tell emacs to not use tabs to indent and I think this will sort your problem out. -- : Eric S Fraga (0xFFFCF67D), Emacs 25.0.91.1, Org release_8.3.3-456-g164555