From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: [PATCH] Introduce CLOCK_INTO_DRAWER property like the existing LOG_INTO_DRAWER Date: Mon, 27 Jun 2011 21:52:56 +0200 Message-ID: <87boxj59wn.fsf@Rainer.invalid> References: <87sjr470yn.fsf@Rainer.invalid> <875E1ACA-B404-4783-95B3-3EAE52759E0C@gmail.com> <87r56gwp37.fsf_-_@Rainer.invalid> <87aad3shs4.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([140.186.70.92]:59022) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QbHry-0000rf-QH for emacs-orgmode@gnu.org; Mon, 27 Jun 2011 15:53:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QbHrw-0002vR-IN for emacs-orgmode@gnu.org; Mon, 27 Jun 2011 15:53:18 -0400 Received: from lo.gmane.org ([80.91.229.12]:42815) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QbHrw-0002vN-29 for emacs-orgmode@gnu.org; Mon, 27 Jun 2011 15:53:16 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QbHrp-0008UL-8o for emacs-orgmode@gnu.org; Mon, 27 Jun 2011 21:53:09 +0200 Received: from p57aac74d.dip.t-dialin.net ([87.170.199.77]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 27 Jun 2011 21:53:09 +0200 Received: from Stromeko by p57aac74d.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 27 Jun 2011 21:53:09 +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 Bastien writes: > Applied, thanks a lot. Let take at least one day to let people test > this patch -- feedback welcome. Here's a template I've been using for testing. Try it with different settings for both global and file local variables. --8<---------------cut here---------------start------------->8--- #+DRAWERS: LOGBOOK GLOBLOG GLOBCLOCK FILELOG FILECLOCK FANCYLOG FANCYCLOCK PROPERTIES #+STARTUP: lognotestate #+SEQ_TODO: TODO(t) INPROGRESS(i) WAITING(w@) | DONE(d) CANCELED(c@) * Example Project Log Try state changes and clocking into the two different project trees. Project 1 has properties overriding logging and clocking, both with fallback and explicit configuration (subproject 1.1), inherited along the hierarchy. ** Project 1 :PROPERTIES: :LOG_INTO_DRAWER: FANCYLOG :END: *** Subproject 1.1 :PROPERTIES: :CLOCK_INTO_DRAWER: FANCYCLOCK :END: **** Subproject 1.1.1 Inherits two properties. ** Project 2 No inheritance, using either global scope or file local variables, depending on how you load the file. * Global variables Try with different customizations for these variables (apply "for this session only"): - org-log-into-drawer: "GLOBALLOG" - org-clock-into-drawer: "GLOBALCLOCK" ### Local Variables: ### org-log-into-drawer: "FILELOG" ### org-clock-into-drawer: "FILECLOCK" ### End: --8<---------------cut here---------------end--------------->8--- Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ DIY Stuff: http://Synth.Stromeko.net/DIY.html