From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Jolitz Subject: Lots of \n in ox-html output Date: Thu, 26 Sep 2013 22:41:33 +0200 Message-ID: <87txh7fh8i.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52354) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VPINk-000662-My for emacs-orgmode@gnu.org; Thu, 26 Sep 2013 16:41:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VPINd-0002ze-VP for emacs-orgmode@gnu.org; Thu, 26 Sep 2013 16:41:52 -0400 Received: from plane.gmane.org ([80.91.229.3]:48104) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VPINd-0002y2-NY for emacs-orgmode@gnu.org; Thu, 26 Sep 2013 16:41:45 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VPINb-0008Qo-Un for emacs-orgmode@gnu.org; Thu, 26 Sep 2013 22:41:43 +0200 Received: from g231225012.adsl.alicedsl.de ([92.231.225.12]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 26 Sep 2013 22:41:43 +0200 Received: from tjolitz by g231225012.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 26 Sep 2013 22:41:43 +0200 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 Hi List, although I did not update recently, html-export of this test org-file suddenly includes lots of \n in the html output. ,----------------------------------------------------------------------- | * Org-mode Markup Syntax | | Org-mode Markup has a relatively simple syntax. Some of its most basic | elements are listed below, for an in-debt coverage please consult the | manuals. | | These and quite a lot other markup types are supported: | | # Levels 1 .. 8 are allowed | ** Heading # Heading (level 3) | | Some /italic/ words mixed with *bold* words look nice, while | _underlined_ text is a bit overkill sometimes. An unordered list like | | # Unordered list | - List item 1 # List items | - List item 2 | | or an ordered list like | | # Ordered list | 1. List item 1 # List items | 2. List item 2 | | look nice too. | | There is much more information available at the | [[http://orgmode.org/][Orgmode]] website. `----------------------------------------------------------------------- here is an excerpt ,------------------------------------------------------------------------- | \n
\n

\n\n

\nThere is much more information available at the Orgmode website.\n

\n\n

\nWhat | happens to export - where do all the \\n come | from?

\n

\n\n\n"

`------------------------------------------------------------------------- an it look ugly in the browser too: ,------------------------------------------------------------------------ | | \n\n | \nThese and quite a lot other markup types are supported:\n | | \n | \n | \n | 1.1 Heading # Heading (level 3) | | \n | \n | | \nSome italic words mixed with bold words look nice, while | underlined\ntext is a bit overkill sometimes. An unordered list like\n | | \n\n | \n | List item 1 # List items\n | \n | List item 2\n | \n | \n\n `------------------------------------------------------------------------ I actually do the export with emacs -Q and load only the necessary files like ox-html.el. Is this related to ox-html? Has somebody seen something like this before? Any hints would be appreciated. -- cheers, Thorsten From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Lots of \n in ox-html output Date: Fri, 27 Sep 2013 10:07:31 +0200 Message-ID: <87ioxm1yd8.fsf@gmail.com> References: <87txh7fh8i.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56477) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VPT5E-00062Y-A7 for emacs-orgmode@gnu.org; Fri, 27 Sep 2013 04:07:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VPT55-0008Cn-CR for emacs-orgmode@gnu.org; Fri, 27 Sep 2013 04:07:28 -0400 Received: from mail-we0-x22d.google.com ([2a00:1450:400c:c03::22d]:49903) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VPT55-0008CR-5Y for emacs-orgmode@gnu.org; Fri, 27 Sep 2013 04:07:19 -0400 Received: by mail-we0-f173.google.com with SMTP id w62so2258809wes.4 for ; Fri, 27 Sep 2013 01:07:18 -0700 (PDT) In-Reply-To: <87txh7fh8i.fsf@gmail.com> (Thorsten Jolitz's message of "Thu, 26 Sep 2013 22:41:33 +0200") 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: Thorsten Jolitz Cc: emacs-orgmode@gnu.org Hello, Thorsten Jolitz writes: > although I did not update recently, html-export of this test org-file > suddenly includes lots of \n in the html output. I cannot reproduce it. Does it also happen with a minimal configuration file? Regards, -- Nicolas Goaziou From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Jolitz Subject: Re: Lots of \n in ox-html output Date: Fri, 27 Sep 2013 11:29:57 +0200 Message-ID: <87d2nud33e.fsf@gmail.com> References: <87txh7fh8i.fsf@gmail.com> <87ioxm1yd8.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50923) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VPUNQ-0005Bx-OJ for emacs-orgmode@gnu.org; Fri, 27 Sep 2013 05:30:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VPUNJ-0000Sp-Eg for emacs-orgmode@gnu.org; Fri, 27 Sep 2013 05:30:20 -0400 Received: from plane.gmane.org ([80.91.229.3]:43724) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VPUNJ-0000Rb-8D for emacs-orgmode@gnu.org; Fri, 27 Sep 2013 05:30:13 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VPUNE-0006No-J7 for emacs-orgmode@gnu.org; Fri, 27 Sep 2013 11:30:08 +0200 Received: from e178055081.adsl.alicedsl.de ([85.178.55.81]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 27 Sep 2013 11:30:08 +0200 Received: from tjolitz by e178055081.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 27 Sep 2013 11:30:08 +0200 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: Hello, > Thorsten Jolitz writes: > >> although I did not update recently, html-export of this test org-file >> suddenly includes lots of \n in the html output. > > I cannot reproduce it. Does it also happen with a minimal configuration > file? It must be something emacsclient/server related, since it does not happen when I call (pseudocode): ,--------------------------------------- | emacs -Q -l init.el -e org-export- ... `--------------------------------------- but does happen with ,-------------------------------------- | emacs -Q --daemon=myserver -l init.el | emacsclient -e org-export-... `-------------------------------------- where init.el does _nothing_ but setting load-path and requiring the necessary libs. Does emacsclient behave different w.r.t to encoding line-endings or so? -- cheers, Thorsten From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suvayu Ali Subject: Re: Lots of \n in ox-html output Date: Fri, 27 Sep 2013 11:55:06 +0200 Message-ID: <20130927095506.GB10343@kuru.dyndns-at-home.com> References: <87txh7fh8i.fsf@gmail.com> <87ioxm1yd8.fsf@gmail.com> <87d2nud33e.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57603) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VPUlV-0007oX-8C for emacs-orgmode@gnu.org; Fri, 27 Sep 2013 05:55:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VPUlU-00006e-2f for emacs-orgmode@gnu.org; Fri, 27 Sep 2013 05:55:13 -0400 Received: from mail-ee0-x232.google.com ([2a00:1450:4013:c00::232]:61983) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VPUlT-00006Y-S8 for emacs-orgmode@gnu.org; Fri, 27 Sep 2013 05:55:11 -0400 Received: by mail-ee0-f50.google.com with SMTP id d51so1071210eek.23 for ; Fri, 27 Sep 2013 02:55:10 -0700 (PDT) Content-Disposition: inline In-Reply-To: <87d2nud33e.fsf@gmail.com> 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 On Fri, Sep 27, 2013 at 11:29:57AM +0200, Thorsten Jolitz wrote: > Nicolas Goaziou writes: > > Hello, > > > Thorsten Jolitz writes: > > > >> although I did not update recently, html-export of this test org-file > >> suddenly includes lots of \n in the html output. > > > > I cannot reproduce it. Does it also happen with a minimal configuration > > file? > > It must be something emacsclient/server related, since it does not > happen when I call (pseudocode): > > ,--------------------------------------- > | emacs -Q -l init.el -e org-export- ... > `--------------------------------------- > > but does happen with > > ,-------------------------------------- > | emacs -Q --daemon=myserver -l init.el > | emacsclient -e org-export-... > `-------------------------------------- > > where init.el does _nothing_ but setting load-path and requiring the > necessary libs. Can you try emacs -Q -l init.el where you start the server with server-start in init.el? -- Suvayu Open source is the future. It sets us free. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Jolitz Subject: Re: Lots of \n in ox-html output Date: Fri, 27 Sep 2013 14:27:12 +0200 Message-ID: <87eh8azbz3.fsf@gmail.com> References: <87txh7fh8i.fsf@gmail.com> <87ioxm1yd8.fsf@gmail.com> <87d2nud33e.fsf@gmail.com> <20130927095506.GB10343@kuru.dyndns-at-home.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35491) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VPX93-0002LY-CZ for emacs-orgmode@gnu.org; Fri, 27 Sep 2013 08:27:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VPX8s-00057n-Ag for emacs-orgmode@gnu.org; Fri, 27 Sep 2013 08:27:41 -0400 Received: from plane.gmane.org ([80.91.229.3]:48524) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VPX8s-00056s-4f for emacs-orgmode@gnu.org; Fri, 27 Sep 2013 08:27:30 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VPX8q-0008DR-MX for emacs-orgmode@gnu.org; Fri, 27 Sep 2013 14:27:28 +0200 Received: from e178055081.adsl.alicedsl.de ([85.178.55.81]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 27 Sep 2013 14:27:28 +0200 Received: from tjolitz by e178055081.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 27 Sep 2013 14:27:28 +0200 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 Suvayu Ali writes: > On Fri, Sep 27, 2013 at 11:29:57AM +0200, Thorsten Jolitz wrote: >> Nicolas Goaziou writes: >> >> Hello, >> >> > Thorsten Jolitz writes: >> > >> >> although I did not update recently, html-export of this test org-file >> >> suddenly includes lots of \n in the html output. >> > >> > I cannot reproduce it. Does it also happen with a minimal configuration >> > file? >> >> It must be something emacsclient/server related, since it does not >> happen when I call (pseudocode): >> >> ,--------------------------------------- >> | emacs -Q -l init.el -e org-export- ... >> `--------------------------------------- >> >> but does happen with >> >> ,-------------------------------------- >> | emacs -Q --daemon=myserver -l init.el >> | emacsclient -e org-export-... >> `-------------------------------------- >> >> where init.el does _nothing_ but setting load-path and requiring the >> necessary libs. > > Can you try emacs -Q -l init.el where you start the server with > server-start in init.el? I tried, but to no avail. Seems like emacsclient somehow fiddles with the linefeed encoding ... -- cheers, Thorsten