emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Miguel Ruiz <rbenit68@inbox.com>
To: orgmode mailing list <emacs-orgmode@gnu.org>
Subject: Re: Bug: org-master (release_8.3beta-56-gdb0130) ascii exporter ignores org-export-preserve-breaks
Date: Thu, 24 Jul 2014 23:53:57 -0800	[thread overview]
Message-ID: <5B1AAFD1F0B.0000044Arbenit68@inbox.com> (raw)
In-Reply-To: <4E6B6C9D1F3.0000000Crbenit68@inbox.com>

After more detailed review I have figure out that the problem more generic and the opposite of the exposed in my previous message: 

- org-maint ascii exporter takes org-export-preserve-breaks into account (default is nil; it works as expected, both nil and t)

- org-master ascii exporter doesn't take org-export-preserve-breaks into account (default is nil, it always preserves breaks)

- Minimal example:

#8<----------------------------->8

hello
bye

#8<----------------------------->8

and M-x org-ascii-export-as-ascii.

- Org-maint (org-export-preserve-breaks nil) output:

hello bye

- Org-maint (org-export-preserve-breaks nil) output:

hello
bye


HTH

Miguel.


> -----Original Message-----
> From: rbenit68@inbox.com
> Sent: Wed, 23 Jul 2014 23:41:09 -0800
> To: emacs-orgmode@gnu.org
> Subject: [O] org-maint exporting ignores \n in python babel output ascii
> export; org-master doesn't though
> 
> #+BEGIN_SRC python :exports results :results raw
> return "Hello\nBye"
> #+END_SRC
> 
> exports as:
> 
> Hello Bye
> 
> with org-ascii-export-as/to-ascii (Org-mode version 8.2.7b
> (release_8.2.7b-5-gc9613c))
> 
> But it exports correctly with Org-mode version 8.3beta
> (release_8.3beta-56-gdb0130)
> 
> 
> 
> Miguel.
> 
> ____________________________________________________________
> Protect your computer files with professional cloud backup.
> Get PCRx Backup and upload unlimited files automatically.
> Learn more at http://backup.pcrx.com/mail

____________________________________________________________
FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!
Check it out at http://www.inbox.com/earth

  reply	other threads:[~2014-07-25  7:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-24  7:41 org-maint exporting ignores \n in python babel output ascii export; org-master doesn't though Miguel Ruiz
2014-07-25  7:53 ` Miguel Ruiz [this message]
2014-07-25  7:58   ` Bug: org-master (release_8.3beta-56-gdb0130) ascii exporter ignores org-export-preserve-breaks Miguel Ruiz
2014-07-25 12:07   ` Nicolas Goaziou
2014-09-05 21:09   ` Yijun Yuan
2014-09-06  8:36     ` Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5B1AAFD1F0B.0000044Arbenit68@inbox.com \
    --to=rbenit68@inbox.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).