emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Ken Mankoff <mankoff@gmail.com>
Cc: Org-mode <emacs-orgmode@gnu.org>
Subject: Re: 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: Mon, 29 Jan 2018 00:48:41 +0100	[thread overview]
Message-ID: <87h8r5r1d2.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <CAFdBzEo9mOx8VpjYde-8N9Qe_0thi12G4MGfs53kSnZ7+s5b2w@mail.gmail.com> (Ken Mankoff's message of "Sun, 28 Jan 2018 15:09:48 +0100")

Hello,

Ken Mankoff <mankoff@gmail.com> writes:

> Yes. I'm in my emacs.org config file (or *scratch* buffer). I have the
> following 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))
> (setq org-icalendar-exclude-tags '("noicalexport"))
>
> If I then put the pointer after:
> (org-icalendar-combine-agenda-files nil)
>
> And C-x C-e and look at ~/org.ical, it is what I expect. If I change "nil"
> to "t" and re-execute that line, it contains items tagged "noexport".

I cannot reproduce it. My minimal config is:

  (require 'ox-icalendar)

  (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))
  (setq org-icalendar-exclude-tags '("noicalexport"))
  (setq org-agenda-files '("/tmp/bug-ical.org"))
  (setq org-export-async-init-file "~/dev/mini-init.el")

  (org-icalendar-combine-agenda-files t)

where "/tmp/bug-ical.org" is your initial Org document and
"~/dev/mini-init.el" is the minimal config file.

Then generated ics file does not contain the entry with the
"noicalexport" tag.

Regards,

-- 
Nicolas Goaziou

  reply	other threads:[~2018-01-28 23:48 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87h8r5r1d2.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=mankoff@gmail.com \
    /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 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).