From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ken Mankoff 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: Sun, 28 Jan 2018 15:09:48 +0100 Message-ID: References: <878tclu22d.fsf@nicolasgoaziou.fr> <871sibt9ts.fsf@nicolasgoaziou.fr> <87fu6qrw6s.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a113a7dd01a82130563d6b107" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56119) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1efnfD-0008SW-Be for emacs-orgmode@gnu.org; Sun, 28 Jan 2018 09:10:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1efnfC-0002RN-0l for emacs-orgmode@gnu.org; Sun, 28 Jan 2018 09:10:31 -0500 Received: from mail-qt0-x230.google.com ([2607:f8b0:400d:c0d::230]:44167) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1efnfB-0002Qb-On for emacs-orgmode@gnu.org; Sun, 28 Jan 2018 09:10:29 -0500 Received: by mail-qt0-x230.google.com with SMTP id l20so9652606qtj.11 for ; Sun, 28 Jan 2018 06:10:29 -0800 (PST) In-Reply-To: <87fu6qrw6s.fsf@nicolasgoaziou.fr> 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: Nicolas Goaziou Cc: Org-mode --001a113a7dd01a82130563d6b107 Content-Type: text/plain; charset="UTF-8" On Sun, Jan 28, 2018 at 1:42 PM, Nicolas Goaziou 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. --001a113a7dd01a82130563d6b107 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


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

=C2=A0 (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-ica= lendar-use-deadline '(event-if-todo event-if-not-todo todo-due))
<= div class=3D"gmail_extra">(setq org-icalendar-use-scheduled '(event-if-= todo event-if-not-todo todo-start))
(setq o= rg-icalendar-exclude-tags '("noicalexport"))

If I then put the poi= nter after:
(org-icalendar-combine-ag= enda-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 conta= ins items tagged "noexport".

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

Thanks,

=C2=A0 -k.
--001a113a7dd01a82130563d6b107--