From: Noah Slater <nslater@tumbolia.org>
To: Bastien <bzg@gnu.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: Filtering org-clock-display
Date: Tue, 5 Aug 2014 16:51:38 +0200 [thread overview]
Message-ID: <CA+Y+447xt38nm79JQC7azCGwj6VazfkQiGGx9Q7crU1WSVO+Gw@mail.gmail.com> (raw)
In-Reply-To: <87ppgpv1j9.fsf@bzg.ath.cx>
[-- Attachment #1: Type: text/plain, Size: 751 bytes --]
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 <bzg@gnu.org> wrote:
> Hi Noah,
>
> Noah Slater <nslater@tumbolia.org> 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
>
[-- Attachment #2: Type: text/html, Size: 1432 bytes --]
prev parent reply other threads:[~2014-08-05 14:51 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-20 9:25 Filtering org-clock-display Noah Slater
2014-04-20 10:26 ` Bastien
2014-04-20 10:52 ` Noah Slater
2014-04-20 13:18 ` Bastien
2014-05-24 18:25 ` Noah Slater
2014-05-25 5:26 ` Bastien
2014-05-25 19:47 ` Noah Slater
2014-05-26 5:14 ` Bastien
2014-05-26 15:35 ` Noah Slater
2014-05-30 12:15 ` Bastien
2014-05-31 13:36 ` Noah Slater
2014-05-31 14:48 ` Bastien
2014-05-31 21:36 ` Noah Slater
2014-07-28 15:45 ` Bastien
2014-08-05 14:51 ` Noah Slater [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CA+Y+447xt38nm79JQC7azCGwj6VazfkQiGGx9Q7crU1WSVO+Gw@mail.gmail.com \
--to=nslater@tumbolia.org \
--cc=bzg@gnu.org \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).