From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabrice Popineau Subject: Re: Problem with some src blocks Date: Sat, 27 Oct 2012 12:00:25 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:50080) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TS3CC-000222-U2 for emacs-orgmode@gnu.org; Sat, 27 Oct 2012 06:00:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TS3CB-00055N-9h for emacs-orgmode@gnu.org; Sat, 27 Oct 2012 06:00:48 -0400 Received: from mail-wg0-f49.google.com ([74.125.82.49]:42279) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TS3CA-00055C-O2 for emacs-orgmode@gnu.org; Sat, 27 Oct 2012 06:00:46 -0400 Received: by mail-wg0-f49.google.com with SMTP id gg4so1947459wgb.30 for ; Sat, 27 Oct 2012 03:00:46 -0700 (PDT) In-Reply-To: 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: emacs-orgmode@gnu.org Well ... this bothered me for a couple of days, and the reason is easy: the lf encoding of the file does not match the one of the buffer where it gets included. I switched the lf encoding of the java file and it gets incl= uded correctly. So: is it possible to add something to make sure that the file is included with the right lf encoding? Fabrice 2012/10/27 Fabrice Popineau : > Hi, > > I have these lines : > > Bla bla bla > > #+INCLUDE: "../java/Power2/Power2.java" src java > > Bla bla bla > > that get exported this way : > >

> Bla bla bla >

> >

> #+BEGIN_SRC java > public class Power2 > ... > > How is it possible that the src block be exported literally ? > I tried a couple of other java files but it happends only with this one. > (I will look into it but if in the mean time someone has an explanation > and better: a fix !) > > Best regards, > > -- > Fabrice --=20 Fabrice Popineau ----------------------------- SUPELEC D=E9partement Informatique 3, rue Joliot Curie 91192 Gif/Yvette Cedex Tel direct : +33 (0) 169851950 Standard : +33 (0) 169851212 ------------------------------