[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] bug in org-icalendar--combine-files?
From: |
Nicolas Goaziou |
Subject: |
Re: [O] bug in org-icalendar--combine-files? |
Date: |
Sat, 07 Jun 2014 22:13:56 +0200 |
Hello,
Chris Poole <address@hidden> writes:
> I wrote a function to export scheduled, done tasks to iCalendar[1].
>
> All works well, but I noticed that before the function is run, my agenda
> views only show upcoming scheduled tasks (I globally have agendas not show
> done scheduled or deadline items).
>
> After org-icalendar--combine-files does its stuff, and works correctly, but
> my agendas suddenly have items such as "Sched.11x: DONE do something",
> despite it being a DONE task that I marked as complete over a week ago.
>
> Any idea why org-agenda-skip-scheduled-if-done is seemingly being
> overridden to nil?
> I have tried explicitly setting this value to true for the custom agenda
> view, but it doesn't help.
>
> Any idea what's going on here?
"ox-icalendar" ignores "org-agenda" functions. I think a better way to
achieve what you want would be to
1. generate an agenda view with exactly the tasks you want,
2. call `org-icalendar-export-current-agenda' on this buffer.
Regards,
--
Nicolas Goaziou