emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Anders Johansson <mejlaandersj@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Icalendar-export, priorities missing, possible bug
Date: Sun, 10 Feb 2013 19:01:17 +0100	[thread overview]
Message-ID: <5117E06D.1030902@gmail.com> (raw)

Hi,
When I'm exporting to icalendar, the priorities of todo items (or 
perhaps any items) don't get carried through correctly. It always falls 
back to priority 5 (the default).

After doing some edebugging I found that

     (string-match org-priority-regexp hd)   [org-icalendar.el:539]

never seems to match.

This might be because 'hd' is group 4 "True headline" from the matching 
done with 'org-complex-heading-regexp' whereas group 3 according to this 
variable's docstring should hold the "Priority cookie".

I guess someone who has greater knowledge of the code could see if this 
is really the case and fix it.

I can provide more debugging output and examples if needed and if others 
can't reproduce this.

Greetings,
Anders Johansson

             reply	other threads:[~2013-02-10 18:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-10 18:01 Anders Johansson [this message]
2013-02-10 19:31 ` Icalendar-export, priorities missing, possible bug Nicolas Goaziou
2013-02-10 21:56   ` Anders Johansson

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=5117E06D.1030902@gmail.com \
    --to=mejlaandersj@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 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).