emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: iCal export does not respect :noexport: tag [9.1.6 (9.1.6-31-gffa5f3-elpa @ /Users/kdm/.emacs.d/elpa/org-20180122/)]
@ 2018-01-25 18:46 Ken Mankoff
  2018-01-25 20:16 ` Nicolas Goaziou
  0 siblings, 1 reply; 10+ messages in thread
From: Ken Mankoff @ 2018-01-25 18:46 UTC (permalink / raw)
  To: emacs-orgmode


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>

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2018-01-29  8:49 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-25 18:46 Bug: iCal export does not respect :noexport: tag [9.1.6 (9.1.6-31-gffa5f3-elpa @ /Users/kdm/.emacs.d/elpa/org-20180122/)] Ken Mankoff
2018-01-25 20:16 ` 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

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).