From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Lundin Subject: Re: "Tag hierarchy" idea Date: Mon, 21 Mar 2011 20:57:04 -0400 Message-ID: <874o6wotun.fsf@fastmail.fm> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=43137 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q1puF-0007yV-QT for emacs-orgmode@gnu.org; Mon, 21 Mar 2011 20:57:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q1puE-000415-QI for emacs-orgmode@gnu.org; Mon, 21 Mar 2011 20:57:07 -0400 Received: from out3.smtp.messagingengine.com ([66.111.4.27]:45858) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q1puE-00040q-J9 for emacs-orgmode@gnu.org; Mon, 21 Mar 2011 20:57:06 -0400 In-Reply-To: (John Tait's message of "Mon, 21 Mar 2011 23:09:21 +0000") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: John Tait Cc: emacs-orgmode@gnu.org John Tait writes: > > While I am here (sorry), I couldn't get #+FILETAGS: to work in org-version > 7.4. > > For example, if I export a file (to html) File1.org with > "#+EXPORT_EXCLUDE_TAGS: john", and then I include File2.org, I can see > File2.org included as part the export of File1 as expected. If I then set > "#+FILETAGS: :john:" in File2, I'd expect File2 to now be excluded, but it > still appears. If I then tag a File2 heading as say "* Heading :john:", then > it won't appear in the File1 export, as expected. Am I missing something? Alas, I believe exclude tags only work with trees (not filetags). According to the docstring of org-export-handle-export-tags, "If any of SELECT-TAGS is found, all *trees* not marked by a SELECT-TAG will be removed (emph. mine)." Best, Matt