On Apr 29, 2012, at 7:49 AM, Mike McLean wrote: > > On Apr 28, 2012, at 7:19 PM, Bastien wrote: > >> The trick is to use (let ((delete-active-region nil)) ...) so that >> the active region is not deleted by such adjustments. > > Interesting, I was going to play a bit today and try things like > (save-excursion (deactivate-mark) … ) but didn't know if that was the right > approach or not. The delete-active-region sure seems simpler :) > >> I pushed a fix. > > Thank you
I can confirm that the single-tree-export no longer corrupts the Org file and works with the EMF file. Strange though that now in my full setup the generated export does not include the Clock Report table. (This works fine with the test file in ~emacs -q~ so this is my issue).