From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Rogers Subject: Re: [new exporter] ASCII export, single newline Date: Thu, 13 Dec 2012 12:17:50 -0800 Message-ID: <86hanpln9t.fsf@gmail.com> References: <868v935dpl.fsf@gmail.com> <87ehiurkhh.fsf@gmail.com> <86mwxil88v.fsf@davidrogersmusic.ca> <87d2yep0zt.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:42009) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TjFEB-0003GW-Mi for emacs-orgmode@gnu.org; Thu, 13 Dec 2012 15:17:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TjFEA-00072a-26 for emacs-orgmode@gnu.org; Thu, 13 Dec 2012 15:17:55 -0500 Received: from mail-pa0-f41.google.com ([209.85.220.41]:55233) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TjFE9-00072D-RD for emacs-orgmode@gnu.org; Thu, 13 Dec 2012 15:17:53 -0500 Received: by mail-pa0-f41.google.com with SMTP id bj3so1717755pad.0 for ; Thu, 13 Dec 2012 12:17:52 -0800 (PST) In-Reply-To: <87d2yep0zt.fsf@gmail.com> (Nicolas Goaziou's message of "Thu, 13 Dec 2012 13:53:10 +0100") 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 Nicolas Goaziou writes: > David Rogers writes: > >>> David Rogers writes: >>> >>>> My plain-text notes, however, often contain single newlines, which I'd >>>> like to retain. The new ASCII exporter converts them to spaces. If I put >>>> double newlines in the original, then the exporter doesn't convert >>>> anything, and leaves them double. I'm glad to format my originals in any >>>> way that works - my aim is only to get single newlines into the finished >>>> export. Is there an easy way to do that? >>> >>> IIUC, you want line breaks. I.e: >>> >>> Some line \\ >>> Some other line. >> >> Exporting the double backslash adds an extra blank line, which I don't >> want. > > You have to update Org. I fixed it yesterday (shortly before answering > your message) Thank you! You (and many who work on Org) have this very nice habit - when you see that something in Org is broken, you mostly just go and fix it. I appreciate the work that all of you do. > >>> If you want a line break on every line, use #+OPTIONS: \n:t >> >> This gave me exactly what I was looking for, thank you. My line breaks are >> preserved, but no new ones are added. >> >> (The old ASCII exporter preserved line breaks, without using any OPTIONS.) > > The old ASCII exporter didn't format paragraphs properly. So now I know about #+OPTIONS: \n:t , and also the new exporter should just do it correctly anyway, since you fixed it? Perfect. Thanks again for your help. -- David