> 2. Write a function to look up the tree from point and export the first> subtree with a certain property.I thought about implementing the second approach. I have slides forseveral talks in the same org file. Since I mostly need thisfunctionality when I'm developing slides, just going up from point untilreaching the desired heading is easy to implement.
(fset 'export-last-subtree"\C-u\C-c\C-e")
(eval-after-load "org"'(progn(define-key org-mode-map (kbd "<f5>") 'export-last-subtree)))