[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] How to call org-agenda with the parameter
From: |
Rasmus |
Subject: |
Re: [O] How to call org-agenda with the parameter |
Date: |
Mon, 19 Jan 2015 23:00:26 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Hi Chao,
Chao Lu <address@hidden> writes:
> I defined a few org-agenda custom set, where I could M-x org-agenda RET
> then press "1" to list all my active TODOs. And I'm trying to write a
> function when I could pop-up a buffer and show me all the active TODOs. I
> tried (org-agenda "1"), and it does not work, then what should be the
> right
> way to do that?
Did you check the docstring of org-agenda? I.e.:
C-h f org-agenda RET
If I read your message correctly, the docstring suggests two ways to solve
your problem:
1. call (org-todo-list) directly
2. or (org-agenda nil "t")
Hope it helps,
Rasmus
--
This space is left intentionally blank