From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: org-clock-report to insert a :scope sutree report when called from within a subtree? Date: Wed, 23 Mar 2011 15:15:29 +0100 Message-ID: <87zkolgby6.fsf@gnu.org> References: <874o72koig.fsf@altern.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=56432 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q2Oqm-0002c7-7F for emacs-orgmode@gnu.org; Wed, 23 Mar 2011 10:15:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q2Oqj-0005dX-Cq for emacs-orgmode@gnu.org; Wed, 23 Mar 2011 10:15:51 -0400 Received: from mail-ww0-f49.google.com ([74.125.82.49]:54462) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q2Oqj-0005dL-8U for emacs-orgmode@gnu.org; Wed, 23 Mar 2011 10:15:49 -0400 Received: by wwc33 with SMTP id 33so8884869wwc.30 for ; Wed, 23 Mar 2011 07:15:48 -0700 (PDT) In-Reply-To: <874o72koig.fsf@altern.org> (Bastien's message of "Thu, 17 Mar 2011 11:52:23 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Bastien writes: > The default when creating a clock report is to use :scope file. I find > it not practical for big files, where the report can take long to build. > > I'm thinking of applying this change: when called from within a subtree, > `C-c C-x C-r' will insert a clock report with ":scope subtree", and use > ":scope subtree" elsewhere. > > Please let me know if you think that's a bad idea. I have now applied this: now `C-c C-x C-r' will change the scope depending on where the point is: if it's within a subtree, the scope will be "subtree" -- otherwise it will be file. -- Bastien