From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Iris Jackson" Subject: Top-level headers in org-sparse-tree Date: Tue, 9 Sep 2008 10:06:01 -0400 Message-ID: <4faa54dc0809090706o7d756aa9n4b718967c9f26605@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1493275597==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kd3r4-0003Zd-Cd for emacs-orgmode@gnu.org; Tue, 09 Sep 2008 10:06:06 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kd3r3-0003ZQ-R8 for emacs-orgmode@gnu.org; Tue, 09 Sep 2008 10:06:06 -0400 Received: from [199.232.76.173] (port=54503 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kd3r3-0003ZN-Ng for emacs-orgmode@gnu.org; Tue, 09 Sep 2008 10:06:05 -0400 Received: from qb-out-1314.google.com ([72.14.204.173]:54362) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kd3r3-0004b5-Dh for emacs-orgmode@gnu.org; Tue, 09 Sep 2008 10:06:05 -0400 Received: by qb-out-1314.google.com with SMTP id d2so3303300qbc.30 for ; Tue, 09 Sep 2008 07:06:04 -0700 (PDT) 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: emacs-orgmode@gnu.org --===============1493275597== Content-Type: multipart/alternative; boundary="----=_Part_3201_28519069.1220969162721" ------=_Part_3201_28519069.1220969162721 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I recently started using org mode and I really like it. I have a single file that contains all information about a project like TODOs, project specs, user documentation, development notes, etc. For example, the way I generate the project specs is to first create a sparse tree matching on the tag I assigned to the specs, then HTML exporting it. The problem I encountered is that org-tags-sparse-tree shows top-level headers even if they don't contain the selected tag. Is there a simple way to turn that off? For example, if I have a top level section called "Bugs", and it does not contain the "project spec" tag, then I don't want it to show up in the result :-) I think this functionality is controlled by org-make-tags-matcher on line 9382 of org.el (version 6.06b), but this function is too intimidating for me to try to change it. Please advise. Thanks! ------=_Part_3201_28519069.1220969162721 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Hi,

I recently started using org mode and I really like it.  I have a single file that contains all information about a project like TODOs, project specs, user documentation, development notes, etc.  For example, the way I generate the project specs is to first create a sparse tree matching on the tag I assigned to the specs, then HTML exporting it.

The problem I encountered is that org-tags-sparse-tree shows top-level headers even if they don't contain the selected tag.  Is there a simple way to turn that off?  For example, if I have a top level section called "Bugs", and it does not contain the "project spec" tag, then I don't want it to show up in the result :-)

I think this functionality is controlled by org-make-tags-matcher on line 9382 of org.el (version 6.06b), but this function is too intimidating for me to try to change it.

Please advise.  Thanks!
------=_Part_3201_28519069.1220969162721-- --===============1493275597== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============1493275597==--