From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Re: what happened to the #+OPTIONS: \n:t ? Date: Mon, 4 Apr 2011 20:44:19 +0200 Message-ID: <3EBA3DED-841E-4433-A892-1209BAB38D09@gmail.com> References: <4D99D8E1.4060406@gmail.com> <874o6doqn3.fsf@norang.ca> <4967.1301939829@alphaville.usa.hp.com> Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=56750 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q6olG-0007f2-9V for emacs-orgmode@gnu.org; Mon, 04 Apr 2011 14:44:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q6olE-0008Qi-Rf for emacs-orgmode@gnu.org; Mon, 04 Apr 2011 14:44:26 -0400 Received: from mail-ey0-f169.google.com ([209.85.215.169]:36620) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q6olE-0008Qa-NH for emacs-orgmode@gnu.org; Mon, 04 Apr 2011 14:44:24 -0400 Received: by eyd9 with SMTP id 9so1790348eyd.0 for ; Mon, 04 Apr 2011 11:44:23 -0700 (PDT) In-Reply-To: <4967.1301939829@alphaville.usa.hp.com> 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: nicholas.dokos@hp.com Cc: Bernt Hansen , katepano , emacs-orgmode@gnu.org On 4.4.2011, at 19:57, Nick Dokos wrote: > Bernt Hansen wrote: >=20 >> katepano writes: >>=20 >>> what happen to the #+OPTIONS: \n:t ? we need it back please!!! why = it >>> does not work???? >>=20 >> 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. >=20 > It's marked "DOES NOT WORK" in the manual. And git blame found this. Also, some information about the reasoning behind this decision is in this thread: http://thread.gmane.org/gmane.emacs.orgmode/20636 - Carsten >=20 > Nick >=20 > ,---- > | commit 0776eab890a7352144dd6c56523dbf3ab3f1b71d > | Author: Carsten Dominik > | Date: Wed Dec 9 22:27:38 2009 +0100 > |=20 > | Preserving line breaks for export no longer works > | =20 > | ASCII export always preserves them - no other export format = does. > |=20 > | 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 > | =20 > | + * org-latex.el (org-export-latex-make-header): Remove = \obeylines. > | + > | * org.el (org-make-link-regexps): Use John Gruber's regexp for > | urls. > | =20 > | 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)))))))) > | =20 > | (defun org-export-latex-first-lines (opt-plist &optional beg end) > | "Export the first lines before first headline. > `---- >=20