From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike McLean Subject: Re: Org Clock Table / Subtree Export subtle bug Date: Sun, 29 Apr 2012 08:25:15 -0400 Message-ID: References: <87aa1vwik7.fsf@gnu.org> <0EC5228B-BB10-4B5F-B450-D06E2F374096@pobox.com> Mime-Version: 1.0 (Apple Message framework v1257) Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:52025) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SOTBv-0006No-Cb for emacs-orgmode@gnu.org; Sun, 29 Apr 2012 08:25:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SOTBt-0002je-Ve for emacs-orgmode@gnu.org; Sun, 29 Apr 2012 08:25:26 -0400 In-Reply-To: <0EC5228B-BB10-4B5F-B450-D06E2F374096@pobox.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bastien Cc: emacs-orgmode On Apr 29, 2012, at 7:49 AM, Mike McLean wrote: >=20 > On Apr 28, 2012, at 7:19 PM, Bastien wrote: >=20 >> The trick is to use (let ((delete-active-region nil)) ...) so that=20 >> the active region is not deleted by such adjustments. >=20 > Interesting, I was going to play a bit today and try things like = (save-excursion (deactivate-mark) =85 ) but didn't know if that was the = right approach or not. The delete-active-region sure seems simpler :) >=20 >> I pushed a fix. >=20 > 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).=