From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anders Johansson Subject: Icalendar-export, priorities missing, possible bug Date: Sun, 10 Feb 2013 19:01:17 +0100 Message-ID: <5117E06D.1030902@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:53253) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4bER-0005I1-G5 for emacs-orgmode@gnu.org; Sun, 10 Feb 2013 13:03:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U4bDM-0002JT-7K for emacs-orgmode@gnu.org; Sun, 10 Feb 2013 13:02:27 -0500 Received: from lyra.its.uu.se ([130.238.7.73]:52443) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4bDM-0002JL-0O for emacs-orgmode@gnu.org; Sun, 10 Feb 2013 13:01:20 -0500 Received: from [192.168.1.2] (nl118-173-63.student.uu.se [130.243.173.63]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by lyra.its.uu.se (Postfix) with ESMTPSA id B5714E824A for ; Sun, 10 Feb 2013 19:01:17 +0100 (CET) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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