emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Icalendar-export, priorities missing, possible bug
@ 2013-02-10 18:01 Anders Johansson
  2013-02-10 19:31 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Anders Johansson @ 2013-02-10 18:01 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-02-10 21:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-10 18:01 Icalendar-export, priorities missing, possible bug Anders Johansson
2013-02-10 19:31 ` Nicolas Goaziou
2013-02-10 21:56   ` Anders Johansson

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).