From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: [patch][ox-html] Support for level based containers Date: Tue, 18 Mar 2014 04:31:32 +0100 Message-ID: <878us82ne3.fsf@gmx.us> References: <87ha6z3vbi.fsf@gmx.us> <87vbveqofg.fsf@gmail.com> <87iordk1t5.fsf@bzg.ath.cx> <20140317173158.GB75979@eyeBook> <87d2hk31ij.fsf@gmx.us> <20140318003339.GA92601@eyeBook> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37786) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPkkr-0005wU-3c for emacs-orgmode@gnu.org; Mon, 17 Mar 2014 23:31:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WPkkh-00039A-ND for emacs-orgmode@gnu.org; Mon, 17 Mar 2014 23:31:53 -0400 Received: from plane.gmane.org ([80.91.229.3]:60139) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPkkh-00038x-Gd for emacs-orgmode@gnu.org; Mon, 17 Mar 2014 23:31:43 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WPkkg-00085v-GG for emacs-orgmode@gnu.org; Tue, 18 Mar 2014 04:31:42 +0100 Received: from dynamic-adsl-94-34-191-91.clienti.tiscali.it ([94.34.191.91]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 18 Mar 2014 04:31:42 +0100 Received: from rasmus by dynamic-adsl-94-34-191-91.clienti.tiscali.it with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 18 Mar 2014 04:31:42 +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 Rick Frankel writes: > On Mon, Mar 17, 2014 at 11:26:28PM +0100, Rasmus wrote: >> Rick Frankel writes: >> > >> > On Mon, Mar 17, 2014 at 03:15:50AM +0100, Bastien wrote: >> >> Hi Rasmus and Nicolas, >> >> >> > >> >> Nicolas Goaziou writes: >> >> >> >> >> Let me know if you find you'd be willing to merge something like this >> >> > >> >> > I don't know enough HTML to have an opinion here. >> >> >> > >> > I don't think it's a bad change, but i have a couple of concerns: >> > >> > 1. It's a breaking change. >> > 2. The default should mimic the current functionality: >> > ='((div . div))= >> > 3. The customization should be more structured, not just a >> > string (see e.g., =org-html-text-markup-alist=.) >> > >> > Attached is a modification of the patch which fixes 2 & 3. #1 is a >> > question more for Nicolas & Bastien... >> >> It seems you modified v1 rather than v2 that I send last night¹? I'm >> not sure if point 1 holds in the second revision as it explicitly >> allows for a string as now. I think I disagree with your point 2 as it >> only shows up when you use HTML5-fancy. On point 3, > > But not everyone using html5-fancy would agree with your choice of > hierarchy, and it should be up to indvidual users to add additional > semantic structure to the output. It's a variable that you can set in your project or in your Org file or in your init file. I don't see why div × 3 is better than section article div or something else conditional on two variables being explicitly set to get fancy HTML5. . . In any case, I don't have strong—if any—preferences on this. >> org-html-text-markup-alist is nice. What do you want to see in >> addition to the current structure (in patch v2)? > > Somehow I never saw the original thread, only the email cc'ing me > directly. I went to gmane to find the patch, and obviously grabbed the > wrong one. > > Could you please send me the (new) patch so that i can review it? Here's the Gmane link. I believe it's different than what you reviewed before, but perhaps I'm wrong. . . >> Footnotes: >> ¹ http://permalink.gmane.org/gmane.emacs.orgmode/83635 —Rasmus -- ツ