On Sep 8, 2009, at 8:58 AM, PT wrote:
If I open the builtin agenda view with a M-1 prefix I see the
entries for the current day. When I press "g" then the view is
refreshed properly.
If I define a custom agenda
(setq org-agenda-custom-commands
'(("h" "Agenda and todo"
((agenda "")
(alltodo "")))))
and invoke it with a M-1 prefix then it shows my daily agenda
entries and the global todo items under it. If I press "g" here then
the view is refreshed, but the agenda view forgets I invoked it with
a prefix and shows a weekly agenda above the todo list, instead of a
daily one.
Hi PT,
yes, the prefix argument is not preserved in his case.
You can add a setting for org-agenda-ndays to the option settings
for the agenda command (untested):
(setq org-agenda-custom-commands
'(("h" "Agenda and todo"
((agenda "" ((org-agenda-ndays 1)))
(alltodo "")))))
HTH
- Carsten
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-orgmode