emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: james@jamestechnotes.com
To: emacs-orgmode@gnu.org
Subject:  Bug: doc string incorrect in org-icalendar-exclude-tags [8.3.2 (release_8.3.2-1-g115c4b @ /home/james/src/org-mode/lisp/)]
Date: Wed, 30 Sep 2015 23:58:08 -0400 (EDT)	[thread overview]
Message-ID: <1443671888.477326460@apps.rackspace.com> (raw)



I've been trying to sort out the icalendar export bits. I've noticed the
docstring of (org-icalendar-exclude-tags) states that the tag can be set
with the ICAL_EXCLUDE_TAGS keyword. (it doesn't work). However in the
code of (org-export-define-derived-backend), the :exclude-tags of
:options-alist uses "ICALENDAR_EXCLUDE_TAGS". The does work as a file
level keyword.

In an org file:

#+ICAL_EXCLUDE_TAGS: NOICAL


* Headline to not export                 :NOICAL:

(org-icalendar-combine-agenda-files) any dates in the headline are
exported to the ics file.

But instead:

#+ICALENDAR_EXCLUDE_TAGS: NOICAL

* Headline to not export                   :NOICAL:

(org-icalendar-combine-agenda-files) does not export any dates in the
headline to the ics file.

Could the docstring be updated to say "ICALENDAR_EXCLUDE_TAGS"? It may
save confusion for the next person looking at this.

Thanks.

Oh, and I realize I'm not on the HEAD, but

~/src/org-mode (stable) $ git diff origin/HEAD -- lisp/ox-icalendar.el 
~/src/org-mode (stable) $ 


Emacs  : GNU Emacs 24.5.1 (x86_64-pc-linux-gnu, GTK+ Version 3.16.4)
 of 2015-06-28 on trouble, modified by Debian
Package: Org-mode version 8.3.2 (release_8.3.2-1-g115c4b @ /home/james/src/org-mode/lisp/)
Sent with my mu4e


             reply	other threads:[~2015-10-01  3:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-01  3:58 james [this message]
2015-10-01 11:52 ` Bug: doc string incorrect in org-icalendar-exclude-tags [8.3.2 (release_8.3.2-1-g115c4b @ /home/james/src/org-mode/lisp/)] Nicolas Goaziou

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=1443671888.477326460@apps.rackspace.com \
    --to=james@jamestechnotes.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 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).