From mboxrd@z Thu Jan 1 00:00:00 1970 From: tsd@tsdye.com (Thomas S. Dye) Subject: Re: [RFC] Make QUOTE an export keyword instead of an element type Date: Sun, 26 Jan 2014 05:41:08 -1000 Message-ID: References: <87zjmiyhfd.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41074) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7Rpx-0006Ha-8Z for emacs-orgmode@gnu.org; Sun, 26 Jan 2014 10:41:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W7Rpq-0003lV-AP for emacs-orgmode@gnu.org; Sun, 26 Jan 2014 10:41:29 -0500 Received: from alt-proxy1.mail.unifiedlayer.com ([70.40.203.67]:45040) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1W7Rpq-0003ku-1s for emacs-orgmode@gnu.org; Sun, 26 Jan 2014 10:41:22 -0500 In-Reply-To: <87zjmiyhfd.fsf@gmail.com> (Nicolas Goaziou's message of "Sun, 26 Jan 2014 14:57:26 +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: Nicolas Goaziou Cc: Org Mode List Aloha Nicolas, Nicolas Goaziou writes: > At the moment, they are parsed specially by Org Elements, but I think it > is a mistake. Like "COMMENT" keyword in headlines, "QUOTE" is more an > instruction for the export framework. Therefore, they should be parsed > as regular sections, and treated specially during export. The following > patches permit it, in 3 steps: > > 1. Remove special parsing from "org-element.el", > 2. Turn section contents into a big example block. > 3. Remove quote section translators from export back-ends (contrib > directory handled separately) > > This change implies that any quote-section translator and filter is > ignored (but it will not generate an error if present). It also means > that an export back-end cannot tell the difference between an example > block and a quote section. > > Since quote sections were treated as example blocks (except in > ox-ascii.el), the export behaviour will remain unchanged (except in > ox-ascii.el). > > Alternatives: > > - Treat their contents as `quote-blocks' instead of `example-block' > - Remove them altogether, since they don't bring anything new. I didn't know about this undocumented feature. Since it doesn't bring anything new, I'm fine with removing it altogether. All the best, Tom -- Thomas S. Dye http://www.tsdye.com