From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: DOS (CRLF) EOL in org-ascii-export-to-ascii Date: Mon, 14 Oct 2013 16:24:40 +0200 Message-ID: <87eh7o6ic7.fsf@gmail.com> References: <1381748904.34409.YahooMailNeo@web172805.mail.ir2.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34451) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVj4P-0000I1-13 for emacs-orgmode@gnu.org; Mon, 14 Oct 2013 10:24:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VVj4K-0000c4-Ao for emacs-orgmode@gnu.org; Mon, 14 Oct 2013 10:24:28 -0400 Received: from mail-wi0-x231.google.com ([2a00:1450:400c:c05::231]:57348) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVj4K-0000by-2t for emacs-orgmode@gnu.org; Mon, 14 Oct 2013 10:24:24 -0400 Received: by mail-wi0-f177.google.com with SMTP id ey11so1824625wid.4 for ; Mon, 14 Oct 2013 07:24:23 -0700 (PDT) In-Reply-To: <1381748904.34409.YahooMailNeo@web172805.mail.ir2.yahoo.com> (Miguel Ruiz's message of "Mon, 14 Oct 2013 12:08:24 +0100 (BST)") 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: Miguel Ruiz Cc: "emacs-orgmode@gnu.org" Hello, Miguel Ruiz writes: > I have the following working script in a windows box (emacs 24.3, org-ver= sion 7.9.3f-17) to produce an ascii file: > > emacs.exe -Q -batch --load=3Dreport.el --visit=3Dfile.org =C2=A0--funcall= org-babel-execute-buffer --funcall org-export-as-latin1 You don't need to call `org-babel-execute-buffer' since the export process already takes care of that. [...] > Now I want to upgrade to the new Org 8.x, and I substitute org-export-as-= latin1 with org-ascii-export-to-ascii: I get the same output content, but w= ith unix EOL > > > I would appreciate any hint to get the desired output, i.e., CRLF EOL. > In my box, emacs.exe -Q saves new files with CRLF EOL. What happens if you set `org-export-coding-system' to `utf-8-dos'? Regards, --=20 Nicolas Goaziou