[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] DOS (CRLF) EOL in org-ascii-export-to-ascii
From: |
Nicolas Goaziou |
Subject: |
Re: [O] DOS (CRLF) EOL in org-ascii-export-to-ascii |
Date: |
Mon, 14 Oct 2013 16:24:40 +0200 |
Hello,
Miguel Ruiz <address@hidden> writes:
> I have the following working script in a windows box (emacs 24.3, org-version
> 7.9.3f-17) to produce an ascii file:
>
> emacs.exe -Q -batch --load=report.el --visit=file.org --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 with 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,
--
Nicolas Goaziou