From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Vorobiev Subject: Klipse change removed line breaks in html export of code blocks Date: Fri, 15 Sep 2017 00:04:44 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a1141673c9fe5770559335660" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41601) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dsioY-0001K2-9c for emacs-orgmode@gnu.org; Fri, 15 Sep 2017 01:05:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dsioX-0003Zd-CU for emacs-orgmode@gnu.org; Fri, 15 Sep 2017 01:05:18 -0400 Received: from mail-vk0-x236.google.com ([2607:f8b0:400c:c05::236]:46171) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dsioX-0003TX-6h for emacs-orgmode@gnu.org; Fri, 15 Sep 2017 01:05:17 -0400 Received: by mail-vk0-x236.google.com with SMTP id v203so599445vkv.3 for ; Thu, 14 Sep 2017 22:05:15 -0700 (PDT) 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" To: emacs-orgmode --001a1141673c9fe5770559335660 Content-Type: text/plain; charset="UTF-8" Hi, I noticed that at some point source code blocks lost the line breaks in the html export. Closer investigation revealed that the reason was the change ( https://www.mail-archive.com/emacs-orgmode@gnu.org/msg113099.html) which started using
 html tags instead of 
 so setting
(setq org-html-keep-old-src t) fixed the issue for me.

My question is why is this behavior not the default? It looks like Klipse
supports very few languages (of which I use none) but the change affects
every single language supported by Org mode.

Thanks,
Alex

--001a1141673c9fe5770559335660
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi,

I noticed that at some point source= code blocks lost the line breaks in the html export. Closer investigation = revealed that the reason was the change (https://www.mail-archive.com/em= acs-orgmode@gnu.org/msg113099.html) which started using=C2=A0
<pre><code class =3D ...> html tags instead of <pre class = =3D ...> so setting (setq org-html-keep-old-src t) fixed the issue for m= e.=C2=A0

My question is why is this behavior not t= he default? It looks like Klipse supports very few languages (of which I us= e none) but the change affects every single language supported by Org mode.=

Thanks,
Alex
--001a1141673c9fe5770559335660-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Klipse change removed line breaks in html export of code blocks Date: Sat, 16 Sep 2017 17:27:14 +0200 Message-ID: <87ingiackt.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33448) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dtF07-0003Uk-SI for emacs-orgmode@gnu.org; Sat, 16 Sep 2017 11:27:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dtF03-0000d2-3t for emacs-orgmode@gnu.org; Sat, 16 Sep 2017 11:27:23 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:55963) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dtF02-0000cc-Tq for emacs-orgmode@gnu.org; Sat, 16 Sep 2017 11:27:19 -0400 In-Reply-To: (Alexander Vorobiev's message of "Fri, 15 Sep 2017 00:04:44 -0500") 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" To: Alexander Vorobiev Cc: emacs-orgmode Hello, Alexander Vorobiev writes: > I noticed that at some point source code blocks lost the line breaks in the > html export. Closer investigation revealed that the reason was the change ( > https://www.mail-archive.com/emacs-orgmode@gnu.org/msg113099.html) which > started using >
 html tags instead of 
 so setting
> (setq org-html-keep-old-src t) fixed the issue for me.
>
> My question is why is this behavior not the default? It looks like Klipse
> supports very few languages (of which I use none) but the change affects
> every single language supported by Org mode.

I'm Cc'ing Matt, as the author of klipse integration, for some insight.

Regards,

-- 
Nicolas Goaziou

From mboxrd@z Thu Jan  1 00:00:00 1970
From: "N. Raghavendra" 
Subject: Re: Klipse change removed line breaks in html export of code blocks
Date: Tue, 19 Sep 2017 06:28:19 +0530
Message-ID: <87mv5rec7o.fsf@gmail.com>
References: 
	<87ingiackt.fsf@nicolasgoaziou.fr>
Reply-To: "N. Raghavendra" 
Mime-Version: 1.0
Content-Type: text/plain
Return-path: 
Received: from eggs.gnu.org ([2001:4830:134:3::10]:48898)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from ) id 1du6rr-0006b3-8b
	for emacs-orgmode@gnu.org; Mon, 18 Sep 2017 20:58:28 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from ) id 1du6ro-0003Mv-6w
	for emacs-orgmode@gnu.org; Mon, 18 Sep 2017 20:58:27 -0400
Received: from mail-pf0-x22d.google.com ([2607:f8b0:400e:c00::22d]:51704)
	by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from )
	id 1du6ro-0003MH-0Z
	for emacs-orgmode@gnu.org; Mon, 18 Sep 2017 20:58:24 -0400
Received: by mail-pf0-x22d.google.com with SMTP id b70so1122912pfl.8
	for ; Mon, 18 Sep 2017 17:58:23 -0700 (PDT)
Received: from ailuros (www.hri.res.in. [220.227.103.137])
	by smtp.gmail.com with ESMTPSA id d69sm685503pfl.50.2017.09.18.17.58.21
	for 
	(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
	Mon, 18 Sep 2017 17:58:22 -0700 (PDT)
In-Reply-To: <87ingiackt.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of
	"Sat, 16 Sep 2017 17:27:14 +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"
	
To: emacs-orgmode@gnu.org

At 2017-09-16T17:27:14+02:00, Nicolas Goaziou wrote:

> I'm Cc'ing Matt, as the author of klipse integration, for some insight.

I've submitted a new patch with some explanation in a separate message.
I hope you will review it.

Cheers,
Raghu.

-- 
N. Raghavendra , http://www.retrotexts.net/
Harish-Chandra Research Institute, http://www.hri.res.in/