Hi, list,
I'm trying to customize 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

Reply via email to