From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel P Gomez Subject: Re: Bug: Weird interaction between ox-extra and include :minlevel Date: Thu, 12 Apr 2018 16:38:03 +0200 Message-ID: References: <87in8wy2nm.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38498) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f6dMY-0000zw-9Q for emacs-orgmode@gnu.org; Thu, 12 Apr 2018 10:38:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f6dMS-0008GX-K9 for emacs-orgmode@gnu.org; Thu, 12 Apr 2018 10:38:10 -0400 Received: from mail-qk0-x229.google.com ([2607:f8b0:400d:c09::229]:44190) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f6dMS-0008G2-GZ for emacs-orgmode@gnu.org; Thu, 12 Apr 2018 10:38:04 -0400 Received: by mail-qk0-x229.google.com with SMTP id n139so6253963qke.11 for ; Thu, 12 Apr 2018 07:38:04 -0700 (PDT) In-Reply-To: <87in8wy2nm.fsf@nicolasgoaziou.fr> 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: Nicolas Goaziou Cc: emacs-orgmode@gnu.org I was thinking of #+ignore_tags. as an analog of #+exclude_tags. While #+exclude_tags removes a complete subtree from export, #+ignore_tags would only ignore headlines and insert the contents. When used in combination, subtree would be excluded no matter what. #+IGNORE_TAGS: ignore bar #+EXLUDE_TAGS: noexport foo The idea of ignore_tags, for me, would to allow grouping content within the Org file in a manner that differs from the grouping of content upon export - without having to resort to filter-hooks. Not that hooks are bad, but they are harder to construct without proper elisp skills and require knowledge about the Org API. Furthermore, tags are excellent because they're easy to manipulate and search for. On Thu, Apr 12, 2018 at 3:28 PM, Nicolas Goaziou wrote: > Hello, > > "Daniel P. Gomez" writes: > >> Is there any intention of bringing ox-extra functionality into main >> Org? Something like #+ignore_tags would be a powerful addition for >> fine grained export control, in my opinion. > > IIRC, "ox-extra" was written because we could not agree on a definition > and an implementation of the ignore headline feature. > > I don't know what you do mean by "something like #+ignore_tags", but you > could discuss it on this ML. > > Regards, > > -- > Nicolas Goaziou