From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steinar Bang Subject: Re: Collapsing tracked time? Date: Sat, 17 Sep 2011 10:36:10 +0200 Message-ID: <87pqiz8t1h.fsf@dod.no> References: <8762ksi7dk.fsf@dod.no> <4E73AFAE.9070106@hickinbottom.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:55428) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R4qNw-00018W-U8 for emacs-orgmode@gnu.org; Sat, 17 Sep 2011 04:36:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R4qNv-0005q5-Fa for emacs-orgmode@gnu.org; Sat, 17 Sep 2011 04:36:28 -0400 Received: from lo.gmane.org ([80.91.229.12]:52662) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R4qNv-0005pv-AS for emacs-orgmode@gnu.org; Sat, 17 Sep 2011 04:36:27 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1R4qNt-0001Gh-R7 for emacs-orgmode@gnu.org; Sat, 17 Sep 2011 10:36:25 +0200 Received: from cm-84.208.226.30.getinternet.no ([84.208.226.30]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 17 Sep 2011 10:36:25 +0200 Received: from sb by cm-84.208.226.30.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 17 Sep 2011 10:36:25 +0200 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: emacs-orgmode@gnu.org >>>>> Stuart Hickinbottom : > Take a look at the org-clock-into-drawer and org-log-into-drawer > variables: > http://orgmode.org/manual/Clocking-commands.html > http://orgmode.org/manual/Tracking-TODO-state-changes.html > Does this do what you want? The first URL does, or almost. Clocking into a :LOGBOOK: drawer is what I want. Or, at least: it's what I want for long running tasks with a lot of clocking in and out. I am not sure I want this behaviour across all clockings and all org files...? After testing I have found out that: - default behaviour on an emacs23 org-mode is to clock into a :LOGBOOK: drawer if it exists - I can set the org-clock-into-drawer variable to t, and then it will create a :LOGBOOK: drawer when clocking in, and I can move the rest of the timestamps into i - My emacs23 org-mode doesn't have the CLOCK_INTO_DRAWER property, and setting the LOG_INTO_DRAWER property on a subtree to t and always (the values I tried) didn't have any effect on clocking If there had been a quick way to add a :LOGBOOK: drawer to a TODO item, I would have just used the current behaviour and inserted :LOGBOOK: drawers at need. Hm... I think the simplest way is to set org-clock-into-drawer to t in .emacs, and see how that behaviour suits me. Thanks! - Steinar