emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Bug: iCal export does not respect :noexport: tag [9.1.6 (9.1.6-31-gf


From: Ken Mankoff
Subject: [O] 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
User-agent: mu4e 0.9.18; emacs 25.3.1

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>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]