From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Icalendar-export, priorities missing, possible bug Date: Sun, 10 Feb 2013 20:31:47 +0100 Message-ID: <8738x4ezj0.fsf@gmail.com> References: <5117E06D.1030902@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:41174) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4cdE-0002EM-F9 for emacs-orgmode@gnu.org; Sun, 10 Feb 2013 14:32:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U4cdB-0006dg-MS for emacs-orgmode@gnu.org; Sun, 10 Feb 2013 14:32:08 -0500 Received: from mail-we0-x22d.google.com ([2a00:1450:400c:c03::22d]:55074) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4cdB-0006d9-69 for emacs-orgmode@gnu.org; Sun, 10 Feb 2013 14:32:05 -0500 Received: by mail-we0-f173.google.com with SMTP id r5so4316402wey.32 for ; Sun, 10 Feb 2013 11:32:02 -0800 (PST) In-Reply-To: <5117E06D.1030902@gmail.com> (Anders Johansson's message of "Sun, 10 Feb 2013 19:01:17 +0100") 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: Anders Johansson Cc: emacs-orgmode@gnu.org Hello, Anders Johansson writes: > 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. iCalendar export back-end has been rewritten. It is accessible from the git distribution of Org. I didn't check if that bug is still present though. Regards, -- Nicolas Goaziou