From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: proposal to have ignoreheading tags/properties Date: Tue, 29 Jul 2014 00:01:28 +0200 Message-ID: <87iomh87nr.fsf@gmx.us> References: <87tx7qxahl.fsf@gmail.com> <87ppie2c2h.fsf@gmail.com> <871tutx4t4.fsf@gmail.com> <87mwdfzmox.fsf@nicolasgoaziou.fr> <87zjhdk63p.fsf@gmail.com> <87oaxtmg36.fsf@nicolasgoaziou.fr> <87y4wxvv61.fsf@gmail.com> <87k389bsza.fsf@gmail.com> <877g48jyd2.fsf@gmail.com> <87a97t9z1f.fsf@bzg.ath.cx> <878und1d6y.fsf@nicolasgoaziou.fr> 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]:56013) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBss7-0007GV-NX for emacs-orgmode@gnu.org; Mon, 28 Jul 2014 17:54:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XBsry-0005sy-Q7 for emacs-orgmode@gnu.org; Mon, 28 Jul 2014 17:54:19 -0400 Received: from plane.gmane.org ([80.91.229.3]:39222) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBsry-0005sq-If for emacs-orgmode@gnu.org; Mon, 28 Jul 2014 17:54:10 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XBsrv-0000mL-42 for emacs-orgmode@gnu.org; Mon, 28 Jul 2014 23:54:07 +0200 Received: from 109.201.154.150 ([109.201.154.150]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 28 Jul 2014 23:54:07 +0200 Received: from rasmus by 109.201.154.150 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 28 Jul 2014 23:54:07 +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, > > Bastien writes: > >> I suggest renaming ox-extra.el to ox-filters-extra.el and to have >> org-mode/lisp/ox-filters.el for filters that are important enough >> to be in core. >> >> I think Eric's filter is important enough to be in core, together >> with an option to let users decide what tag should be used instead >> of "ignore" (with "ignore" as a default). >> >> Filters are nice and not used enough, having some filters in core >> can help teaching people how to use them. >> >> What do you all think? > > Filters are _not_ meant to be in core since they are hardly a generic > solution for a class of problem. They are entry points for user-level > hacking. Generic patches should operate at the parse tree level, not > using regexps. > > Eric's filter, like any other filter, has flaws that cannot be fixed. > Useful filters ought to be published in Worg, not included in core. I agree with Nicolas, though I thought the inclusion was settled by now. Repeating myself upon the announcement of ox-extra.el¹: If it's helpful (enough) it should be ox.el, I guess, or ox-ENGINGE.el. . . Parallel, semi-official extension to ox itself doesn't sound nice. Worg → ox-filters is better IMO. This would only become more true (in my mind) if that — again IMO, horrendous — idea of splitting off contrib is made into reality. Cheers, Rasmus Footnotes: ¹ http://lists.gnu.org/archive/html/emacs-orgmode/2014-06/msg00813.html -- I feel emotional landscapes they puzzle me