From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Status google calendar sync Date: Thu, 30 Jun 2011 18:14:25 +0200 Message-ID: <87zkkzxpni.fsf@gnu.org> References: <8762t3idd3.fsf@gmx.ch> <4D48E887.20900@gmail.com> <5E7BEB01-1411-4BF4-A36B-C4FF43E55CF6@fastmail.net> <6843D3C6-E3B7-4D31-9F4C-163FA3770D71@fastmail.net> <4DF24E8E.5010200@lbl.gov> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:52036) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QcJsN-0005I9-1a for emacs-orgmode@gnu.org; Thu, 30 Jun 2011 12:14:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QcJsK-00030X-Vv for emacs-orgmode@gnu.org; Thu, 30 Jun 2011 12:13:58 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:51266) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QcJsK-00030O-BU for emacs-orgmode@gnu.org; Thu, 30 Jun 2011 12:13:56 -0400 Received: by wyg36 with SMTP id 36so2051549wyg.0 for ; Thu, 30 Jun 2011 09:13:55 -0700 (PDT) In-Reply-To: (Niels Giesen's message of "Sat, 11 Jun 2011 19:32:58 +0200") 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: Niels Giesen Cc: emacs-orgmode@gnu.org, Stephen Eglen Niels Giesen writes: > --- a/lisp/org-icalendar.el > +++ b/lisp/org-icalendar.el > @@ -412,7 +412,10 @@ When COMBINE is non nil, add the category to each line." > (if scheduledp (setq summary (concat "S: " summary))) > (if (string-match "\\`<%%" ts) > (with-current-buffer sexp-buffer > - (insert (substring ts 1 -1) " " summary "\n")) > + (let ((entry (substring ts 1 -1))) > + (put-text-property 0 1 'uid > + (concat " " prefix uid) entry) > + (insert entry " " summary "\n"))) > (princ (format "BEGIN:VEVENT > UID: %s > %s (Note that this has been applied.) -- Bastien