From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ken Mankoff Subject: 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: Thu, 25 Jan 2018 19:46:59 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55300) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eemYE-0006J3-Mo for emacs-orgmode@gnu.org; Thu, 25 Jan 2018 13:47:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eemYB-0000nR-Ke for emacs-orgmode@gnu.org; Thu, 25 Jan 2018 13:47:06 -0500 Received: from mail-lf0-x22b.google.com ([2a00:1450:4010:c07::22b]:43960) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eemYB-0000nF-DS for emacs-orgmode@gnu.org; Thu, 25 Jan 2018 13:47:03 -0500 Received: by mail-lf0-x22b.google.com with SMTP id o89so11065080lfg.10 for ; Thu, 25 Jan 2018 10:47:03 -0800 (PST) Received: from GEUS2690macwsm.local (0x3e2c87fc.mobile.telia.dk. [62.44.135.252]) by smtp.gmail.com with ESMTPSA id p14sm579335ljp.80.2018.01.25.10.47.00 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 25 Jan 2018 10:47:00 -0800 (PST) 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: emacs-orgmode@gnu.org Package: Org mode version 9.1.6 (9.1.6-31-gffa5f3-elpa @ /Users/kdm/.emacs.d/elpa/org-20180122/) I thought :noexport: tags should be respected on export, but that does not seem to be the case for iCal export. I'm using this minimum DEBUG.el and test.org loaded (on OS X) with: open --new -a EmacsMac.app --args -Q --load ~/.emacs.d/DEBUG.el ~/.emacs.d/test.org Where DEBUG.el is: (add-to-list 'load-path "~/.emacs.d/elpa/org-20180122") (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)) And test.org is: #+BEGIN_SRC emacs-lisp :results value (setq org-confirm-babel-evaluate nil) (org-version nil t) #+END_SRC #+RESULTS: : Org mode version 9.1.6 (9.1.6-31-gffa5f3-elpa @ /Users/kdm/.emacs.d/elpa/org-20180122/) #+NAME: ical-export #+BEGIN_SRC emacs-lisp :results value (org-babel-do-load-languages 'org-babel-load-languages '((shell . t))) (org-icalendar-export-to-ics) #+END_SRC #+RESULTS: ical-export : test.ics #+BEGIN_SRC sh :results verbatim :var file=ical-export cat $file # echo $file #+END_SRC #+RESULTS: #+begin_example BEGIN:VCALENDAR VERSION:2.0 X-WR-CALNAME:test PRODID:-//Ken Mankoff//Emacs with Org mode//EN X-WR-TIMEZONE:CET X-WR-CALDESC: CALSCALE:GREGORIAN BEGIN:VEVENT DTSTAMP:20180125T184234Z UID:SC-C43D126E-7D91-4998-8340-4CCC8ECA6CCD DTSTART;VALUE=DATE:20180128 DTEND;VALUE=DATE:20180129 SUMMARY:S: iCal Test Export CATEGORIES:test END:VEVENT BEGIN:VEVENT DTSTAMP:20180125T184234Z UID:SC-0B6FE94D-6167-4455-9FA3-3AD7F8AF7176 DTSTART;VALUE=DATE:20180128 DTEND;VALUE=DATE:20180129 SUMMARY:S: iCal Test NoExport CATEGORIES:noexport,test END:VEVENT END:VCALENDAR #+end_example * iCal Test Export SCHEDULED: <2018-01-28 Sun> * iCal Test NoExport :noexport: SCHEDULED: <2018-01-28 Sun>