From mboxrd@z Thu Jan 1 00:00:00 1970 From: Noah Slater Subject: Re: Filtering org-clock-display Date: Tue, 5 Aug 2014 16:51:38 +0200 Message-ID: References: <871twsjnzz.fsf@bzg.ath.cx> <87eh0si1gb.fsf@bzg.ath.cx> <87vbsutone.fsf@bzg.ath.cx> <87oayl3yvo.fsf@bzg.ath.cx> <87ioonmpiv.fsf@bzg.ath.cx> <871tvat363.fsf@bzg.ath.cx> <87ppgpv1j9.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=20cf301b69cf2803e104ffe2fefc Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55839) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XEg5Z-0007Jv-7I for emacs-orgmode@gnu.org; Tue, 05 Aug 2014 10:51:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XEg5U-0007g8-11 for emacs-orgmode@gnu.org; Tue, 05 Aug 2014 10:51:45 -0400 Received: from mail-yh0-x22d.google.com ([2607:f8b0:4002:c01::22d]:45292) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XEg5T-0007fo-TO for emacs-orgmode@gnu.org; Tue, 05 Aug 2014 10:51:39 -0400 Received: by mail-yh0-f45.google.com with SMTP id 29so699475yhl.18 for ; Tue, 05 Aug 2014 07:51:38 -0700 (PDT) In-Reply-To: <87ppgpv1j9.fsf@bzg.ath.cx> 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@gnu.org --20cf301b69cf2803e104ffe2fefc Content-Type: text/plain; charset=UTF-8 Hello Bastien, I can't get this to work. (org-clock-display '(16)) -- this works fine! (let ((org-clock-display-default-range 'thisweek)) (org-clock-display)) ^ This however just runs org-clock-display for all time without a prompt. I have updated to HEAD and ran `make`. On 28 July 2014 17:45, Bastien wrote: > Hi Noah, > > Noah Slater writes: > > > Can I pass in the range when calling it from a function? > > Not directly. > > (org-clock-display '(16)) will interactively prompt for a range. > > (let ((org-clock-display-default-range 'thisweek)) > (org-clock-display)) > > will display the clock with the new option > `org-clock-display-default-range' set to thisweek. > > HTH, > > -- > Bastien > --20cf301b69cf2803e104ffe2fefc Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello Bastien,

I can't get this to = work.

(org-clock-display '(16)) -- this works = fine!

(let ((org-clock-display-default-ra= nge 'thisweek))
=C2=A0 (org-clock-display))

^ This howe= ver just runs org-clock-display for all time without a prompt.
I have updated to HEAD and ran `make`.


On 28 July 2014 17:45, Bastien <bzg@gnu.org> wrote:
> Can I pass in the range when calling it from a f= unction?

Not directly.

(org-clock-display '(16)) will interactively prompt for a range.

(let ((org-clock-display-default-range 'thisweek))
=C2=A0 (org-clock-display))

will display the clock with the new option
`org-clock-display-default-range' set to thisweek.

HTH,

--
=C2=A0Bastien

--20cf301b69cf2803e104ffe2fefc--