From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Re: what happened to the #+OPTIONS: \n:t ? Date: Mon, 04 Apr 2011 13:57:09 -0400 Message-ID: <4967.1301939829@alphaville.usa.hp.com> References: <4D99D8E1.4060406@gmail.com> <874o6doqn3.fsf@norang.ca> Reply-To: nicholas.dokos@hp.com Return-path: Received: from [140.186.70.92] (port=60394 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q6o1Z-00065a-CH for emacs-orgmode@gnu.org; Mon, 04 Apr 2011 13:57:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q6o1Y-0005s0-3G for emacs-orgmode@gnu.org; Mon, 04 Apr 2011 13:57:13 -0400 Received: from g4t0017.houston.hp.com ([15.201.24.20]:5421) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q6o1X-0005rQ-Mx for emacs-orgmode@gnu.org; Mon, 04 Apr 2011 13:57:12 -0400 In-Reply-To: Message from Bernt Hansen of "Mon, 04 Apr 2011 13:47:12 EDT." <874o6doqn3.fsf@norang.ca> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bernt Hansen Cc: emacs-orgmode@gnu.org, nicholas.dokos@hp.com, katepano Bernt Hansen wrote: > katepano writes: > > > what happen to the #+OPTIONS: \n:t ? we need it back please!!! why it > > does not work???? > > Something happened to it? This feature was not removed intentionally. > I don't use this feature so I can't verify if it works or not without > more information. It's marked "DOES NOT WORK" in the manual. And git blame found this. Nick ,---- | commit 0776eab890a7352144dd6c56523dbf3ab3f1b71d | Author: Carsten Dominik | Date: Wed Dec 9 22:27:38 2009 +0100 | | Preserving line breaks for export no longer works | | ASCII export always preserves them - no other export format does. | | diff --git a/doc/org.texi b/doc/org.texi | index 1ba4352..8866704 100644 | --- a/doc/org.texi | +++ b/doc/org.texi | @@ -8926,7 +8926,7 @@ you can: | H: @r{set the number of headline levels for export} | num: @r{turn on/off section-numbers} | toc: @r{turn on/off table of contents, or set level limit (integer)} | -\n: @r{turn on/off line-break-preservation} | +\n: @r{turn on/off line-break-preservation (DOES NOT WORK)} | @@: @r{turn on/off quoted HTML tags} | :: @r{turn on/off fixed-width sections} | |: @r{turn on/off tables} | diff --git a/lisp/ChangeLog b/lisp/ChangeLog | index 025079e..0f23b9a 100755 | --- a/lisp/ChangeLog | +++ b/lisp/ChangeLog | @@ -1,5 +1,7 @@ | 2009-12-09 Carsten Dominik | | + * org-latex.el (org-export-latex-make-header): Remove \obeylines. | + | * org.el (org-make-link-regexps): Use John Gruber's regexp for | urls. | | diff --git a/lisp/org-latex.el b/lisp/org-latex.el | index ce697a3..62f9a80 100644 | --- a/lisp/org-latex.el | +++ b/lisp/org-latex.el | @@ -1027,9 +1027,7 @@ OPT-PLIST is the options plist for current buffer." | (format "\\setcounter{tocdepth}{%s}\n\\tableofcontents\n\\vspace*{1cm}\n" | (min toc (plist-get opt-plist :headline-levels)))) | (toc (format "\\setcounter{tocdepth}{%s}\n\\tableofcontents\n\\vspace*{1cm}\n" | - (plist-get opt-plist :headline-levels))))) | - (when (plist-get opt-plist :preserve-breaks) | - "\\obeylines\n")))) | + (plist-get opt-plist :headline-levels)))))))) | | (defun org-export-latex-first-lines (opt-plist &optional beg end) | "Export the first lines before first headline. `----