"Iris Jackson" <[EMAIL PROTECTED]> writes:

> 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!

You can highlight the region you want to export then

M-x narrow-to-region

Do your export and then

M-x widen

to restrict what is included in the export.

Hope that helps.

-Bernt


_______________________________________________
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

Reply via email to