From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: proposal to have ignoreheading tags/properties Date: Mon, 28 Jul 2014 21:43:49 +0200 Message-ID: <878und1d6y.fsf@nicolasgoaziou.fr> 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> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59612) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBqpQ-0002nF-KH for emacs-orgmode@gnu.org; Mon, 28 Jul 2014 15:43:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XBqpJ-0005wZ-20 for emacs-orgmode@gnu.org; Mon, 28 Jul 2014 15:43:24 -0400 In-Reply-To: <87a97t9z1f.fsf@bzg.ath.cx> (Bastien's message of "Sun, 27 Jul 2014 19:21:30 +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: Bastien Cc: Mark Edgington , emacs-orgmode , Eric Schulte , Nicolas Girard 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. Regards, -- Nicolas Goaziou