From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug: iCal export does not respect :noexport: tag [9.1.6 (9.1.6-31-gffa5f3-elpa @ /Users/kdm/.emacs.d/elpa/org-20180122/)] Date: Mon, 29 Jan 2018 00:48:41 +0100 Message-ID: <87h8r5r1d2.fsf@nicolasgoaziou.fr> References: <878tclu22d.fsf@nicolasgoaziou.fr> <871sibt9ts.fsf@nicolasgoaziou.fr> <87fu6qrw6s.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59921) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1efwgm-0003ND-Vs for emacs-orgmode@gnu.org; Sun, 28 Jan 2018 18:48:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1efwgl-0002YM-U5 for emacs-orgmode@gnu.org; Sun, 28 Jan 2018 18:48:45 -0500 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:39432) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1efwgl-0002Wx-N7 for emacs-orgmode@gnu.org; Sun, 28 Jan 2018 18:48:43 -0500 In-Reply-To: (Ken Mankoff's message of "Sun, 28 Jan 2018 15:09:48 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Ken Mankoff Cc: Org-mode Hello, Ken Mankoff writes: > 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 cannot reproduce it. My minimal config is: (require 'ox-icalendar) (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")) (setq org-agenda-files '("/tmp/bug-ical.org")) (setq org-export-async-init-file "~/dev/mini-init.el") (org-icalendar-combine-agenda-files t) where "/tmp/bug-ical.org" is your initial Org document and "~/dev/mini-init.el" is the minimal config file. Then generated ics file does not contain the entry with the "noicalexport" tag. Regards, -- Nicolas Goaziou