On Sun, Jan 28, 2018 at 1:42 PM, Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:
Where did you put

  (setq org-icalendar-exclude-tags '("noexport"))

?

Is it accessible from `org-export-async-init-file'?

Yes. I'm in my emacs.org config file (or *scratch* buffer). I have the following settings:

(setq org-icalendar-include-todo "all")
(setq org-icalendar-use-deadline '(event-if-todo event-if-not-todo todo-due))
(setq org-icalendar-use-scheduled '(event-if-todo event-if-not-todo todo-start))
(setq org-icalendar-exclude-tags '("noicalexport"))

If I then put the pointer after:
(org-icalendar-combine-agenda-files nil)

And C-x C-e and look at ~/org.ical, it is what I expect. If I change "nil" to "t" and re-execute that line, it contains items tagged "noexport".

I tried to give an MWE, but perhaps it wasn't well prepared. I'm happy to debug this via email (I'm pretty sure we're making progress). But if I can provide a better MWE org file I am happy to do so. Please let me know how to improve the provided bug report.

Thanks,

  -k.