From mboxrd@z Thu Jan 1 00:00:00 1970 From: Noorul Islam Subject: Re: [Babel][BUG] Executing python code fails due to indentation error Date: Wed, 8 Sep 2010 03:55:41 +0530 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=45180 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ot6bp-0001da-AM for Emacs-orgmode@gnu.org; Tue, 07 Sep 2010 18:25:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ot6bm-0003rh-Kf for Emacs-orgmode@gnu.org; Tue, 07 Sep 2010 18:25:43 -0400 Received: from mail-gw0-f41.google.com ([74.125.83.41]:60729) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ot6bm-0003rb-HK for Emacs-orgmode@gnu.org; Tue, 07 Sep 2010 18:25:42 -0400 Received: by gwj16 with SMTP id 16so2807972gwj.0 for ; Tue, 07 Sep 2010 15:25:41 -0700 (PDT) In-Reply-To: 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: Seth Burleigh Cc: Emacs-orgmode@gnu.org On Tue, Sep 7, 2010 at 4:36 AM, Seth Burleigh wrote: > #+begin_src python > def add(a,b): > =A0=A0 return a+b > def sub(a,b): > =A0=A0 return a-b > #+end_src > Fails to execute due to 'unexpected indentation' in general, this is a > problem for copy/pasting into any emacs python shell, it wont work. I copy pasted everything above and I did C-c C-c @ #+begin and it worked. Am I not getting you? Thanks and Regards Noorul