From mboxrd@z Thu Jan  1 00:00:00 1970
From: Bastien <bzg@altern.org>
Subject: Re: Status google calendar sync
Date: Thu, 30 Jun 2011 18:14:25 +0200
Message-ID: <87zkkzxpni.fsf@gnu.org>
References: <AANLkTinuPKdCcCLw5vPtv8UD4RHNh7rQ2SNhtE0u0iTn@mail.gmail.com>
	<8762t3idd3.fsf@gmx.ch> <4D48E887.20900@gmail.com>
	<5E7BEB01-1411-4BF4-A36B-C4FF43E55CF6@fastmail.net>
	<AANLkTimonL4vzW_PATw1yV7Uq+hfGzpOSmA_imFLRwcu@mail.gmail.com>
	<6843D3C6-E3B7-4D31-9F4C-163FA3770D71@fastmail.net>
	<t5x39jhhbdd.fsf@rgc.damtp.cam.ac.uk> <4DF24E8E.5010200@lbl.gov>
	<t5xsjrhfsci.fsf@rgc.damtp.cam.ac.uk>
	<BANLkTi=f9dHCzZbJt0AW0n3PVh+b5bf7uA@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain
Return-path: <emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org>
Received: from eggs.gnu.org ([140.186.70.92]:52036)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bastienguerry@googlemail.com>) 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 <bastienguerry@googlemail.com>) 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 <bastienguerry@googlemail.com>) 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 <emacs-orgmode@gnu.org>; Thu, 30 Jun 2011 09:13:55 -0700 (PDT)
In-Reply-To: <BANLkTi=f9dHCzZbJt0AW0n3PVh+b5bf7uA@mail.gmail.com> (Niels
	Giesen's message of "Sat, 11 Jun 2011 19:32:58 +0200")
List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>,
	<mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe>
List-Archive: </archive/html/emacs-orgmode>
List-Post: <mailto:emacs-orgmode@gnu.org>
List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
	<mailto:emacs-orgmode-request@gnu.org?subject=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 <niels.giesen@gmail.com>
Cc: emacs-orgmode@gnu.org, Stephen Eglen <S.J.Eglen@damtp.cam.ac.uk>

Niels Giesen <niels.giesen@gmail.com> 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