* problem in custom org-agenda-custom-commands
@ 2016-03-13 3:00 Zhongwei Yao
0 siblings, 0 replies; only message in thread
From: Zhongwei Yao @ 2016-03-13 3:00 UTC (permalink / raw)
To: help-gnu-emacs
Hi, list,
I'm trying to custom org-agenda-custom-commands like following:
(setq org-agenda-custom-commands
`(("rm" "Week in review"
agenda ""
((org-agenda-span 'week)
(org-agenda-start-on-weekday 0)
(org-agenda-overriding-header "Week in Review"))
)
,(concat "~/wiki/review/" (format-time-string "%Y-week-%W"
(current-time)) ".html")
))
I want to save my store agenda file to file with dynamic filename in
format: ~/wiki/review/year#-week-week#.html. (e.g. when on week 10, the
filename should be ~/wiki/review/2016-week-10.html. when on week 11, it
is ~/wiki/review/2016-week-11.html)
But above command will only set the file name to a fix date, which is the
date when above command evaluated. How can I solve it?
Thanks,
Zhongwei
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-03-13 3:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-13 3:00 problem in custom org-agenda-custom-commands Zhongwei Yao
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.