From: Ken Mankoff <mankoff@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: iCal export & skipping entries
Date: Wed, 24 Jan 2018 19:21:53 +0100 [thread overview]
Message-ID: <m2shavunge.fsf@gmail.com> (raw)
In-Reply-To: <m2d11zaf0x.fsf@gmail.com>
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.
parent reply other threads:[~2018-01-24 18:22 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <m2d11zaf0x.fsf@gmail.com>]
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=m2shavunge.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.