From: Ken Mankoff <mankoff@gmail.com>
To: emacs-orgmode@gnu.org
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 [thread overview]
Message-ID: <m2a7x1vkrg.fsf@gmail.com> (raw)
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>
next reply other threads:[~2018-01-25 18:47 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-25 18:46 Ken Mankoff [this message]
2018-01-25 20:16 ` Bug: iCal export does not respect :noexport: tag [9.1.6 (9.1.6-31-gffa5f3-elpa @ /Users/kdm/.emacs.d/elpa/org-20180122/)] Nicolas Goaziou
2018-01-25 21:05 ` Ken Mankoff
2018-01-27 18:50 ` Nicolas Goaziou
2018-01-28 5:41 ` Ken Mankoff
2018-01-28 5:46 ` Ken Mankoff
2018-01-28 12:42 ` Nicolas Goaziou
2018-01-28 14:09 ` Ken Mankoff
2018-01-28 23:48 ` Nicolas Goaziou
2018-01-29 8:48 ` Ken Mankoff
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2a7x1vkrg.fsf@gmail.com \
--to=mankoff@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.