* Re: iCal export & skipping entries
[not found] <m2d11zaf0x.fsf@gmail.com>
@ 2018-01-24 18:21 ` Ken Mankoff
0 siblings, 0 replies; only message in thread
From: Ken Mankoff @ 2018-01-24 18:21 UTC (permalink / raw)
To: emacs-orgmode
Hi,
Following up on this, I've been looking in the source code. It seems that both :noexport: tags and ~org-icalendar-exclude-tags~ should be excluded from export according to ox-icalendar.el: https://github.com/emacsmirror/org/blob/master/lisp/ox-icalendar.el#L77
And more on line 258
However, with "emacs -Q" and then evaluating these 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))
(org-icalendar-combine-agenda-files)
(setq org-icalendar-exclude-tags "noicalexport")
And then this simple Org file:
* Foo :noexport:noicalexport:
SCHEDULED: <2018-01-24 Wed>
And then exporting with C-e c f it creates an ics file with
CATEGORIES:noicalexport,noexport,???
instead of skipping the entry.
-k.
On 2018-01-24 at 07:31, Ken Mankoff <mankoff@gmail.com> wrote:
> I've set up iCal export to export everything:
>
> (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))
>
> There are some daily repeating habits (and TODOs) that I would like to
> NOT export. Is there a way to tell the exporter to skip habits, or a
> PROPERTY I can set? I've looked into :noexport: tag and the
> EXPORT_OPTIONS property, but cannot find a way to skip something.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-01-24 18:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <m2d11zaf0x.fsf@gmail.com>
2018-01-24 18:21 ` iCal export & skipping entries Ken Mankoff
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.