[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] iCal export & skipping entries
From: |
Ken Mankoff |
Subject: |
Re: [O] iCal export & skipping entries |
Date: |
Wed, 24 Jan 2018 19:21:53 +0100 |
User-agent: |
mu4e 0.9.18; emacs 25.3.1 |
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 <address@hidden> 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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [O] iCal export & skipping entries,
Ken Mankoff <=