From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>
Received: from mp10.migadu.com ([2001:41d0:306:2d92::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms9.migadu.com with LMTPS
	id IJ1TK3zOBmU1VAAAG6o9tA:P1
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Sun, 17 Sep 2023 12:01:32 +0200
Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp10.migadu.com with LMTPS
	id IJ1TK3zOBmU1VAAAG6o9tA
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Sun, 17 Sep 2023 12:01:32 +0200
Received: from lists.gnu.org (lists.gnu.org [209.51.188.17])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by aspmx1.migadu.com (Postfix) with ESMTPS id 7CDDB5B1A4
	for <larch@yhetil.org>; Sun, 17 Sep 2023 12:01:32 +0200 (CEST)
Authentication-Results: aspmx1.migadu.com;
	dkim=pass header.d=posteo.net header.s=2017 header.b=FwORbyQl;
	spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org";
	dmarc=pass (policy=none) header.from=posteo.net
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1694944892; a=rsa-sha256; cv=none;
	b=qvAjPSCpHncFo7D0jeotMR7yjTMNFhvk2/W1uf8Ro3nb9+Sz3wDdfhPjfwx961ySRgBPpf
	yDXwsn2L3J85zj22bpwmr7NjKDJ+IyCebURU08j7T5jS0ommdCGPbyltokZgPvGJKUA9da
	/kLHlbAd1fTtvYCtvuIzOpJPbcK0vMQNz1zUt2dKSnLU9gYQSuEbjLsGBjUm5IbzXHH+oP
	+hKUPWq2VjfHCqlSTIqsxENejPJoPXKLzaRv/qZYSLzeqvXPXKqLBZNNPf2VH7dttkCV6M
	z9Kp6pwWZsgrvkeziRQPm1J8+wvCGTew3aMMjER1Jc1NR4hRZIdJ8K3uNYuQYg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
	s=key1; t=1694944892;
	h=from:from:sender:sender:reply-to:subject:subject:date:date:
	 message-id:message-id:to:to:cc:cc:mime-version:mime-version:
	 content-type:content-type:in-reply-to:in-reply-to:
	 references:references:list-id:list-help:list-unsubscribe:
	 list-subscribe:list-post:dkim-signature;
	bh=hKIEbpVdc5+rX9ORmNaVSTxntOw+eP2z9X9bXyiai9Q=;
	b=C6cWaX1FYhGo2ylYSKn3X6GlrDpXjgG6V1j7PMN8LA+4wG+V0pNpa2PYSrEDldlljmpWMA
	/3ZE0y7g3h9caq5tg3aksw0L6cAfBjH7g+MwMvvtWjko4+D+zVcV0ea8YrF7CTXrTaGEtr
	J5PYVsuQukJFZMjBla9zAAd1GICswOLznmarMv2aa7EHakHOun7PU9ocfXL2UCc7pNb7CW
	MnA1s1Vj6n94KyF+19dMAQ6k0Dgai12RKDvMFRs90a/MuTCnTdMxkJi3pXQDjqh7tjDnhX
	FEr07aveY3tDa4rzktPBbytrs+5EeugUFAyqhQXoc77SlUx5d6gqxW75dYBlBQ==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=pass header.d=posteo.net header.s=2017 header.b=FwORbyQl;
	spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org";
	dmarc=pass (policy=none) header.from=posteo.net
Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <emacs-orgmode-bounces@gnu.org>)
	id 1qhoPE-0000oi-M1; Sun, 17 Sep 2023 05:49:32 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <yantar92@posteo.net>)
 id 1qhoPD-0000oJ-DP
 for emacs-orgmode@gnu.org; Sun, 17 Sep 2023 05:49:31 -0400
Received: from mout01.posteo.de ([185.67.36.65])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <yantar92@posteo.net>)
 id 1qhoPB-0000Li-Rd
 for emacs-orgmode@gnu.org; Sun, 17 Sep 2023 05:49:31 -0400
Received: from submission (posteo.de [185.67.36.169]) 
 by mout01.posteo.de (Postfix) with ESMTPS id 08D19240028
 for <emacs-orgmode@gnu.org>; Sun, 17 Sep 2023 11:49:27 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1694944168; bh=rXxybfOJPVDvDgJ1G5K/k8UTgL4sHzMiMXqq6o7G1EY=;
 h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From;
 b=FwORbyQlP4EFnsWGmFCZ97VQKJRpcKoJqx4bGkEhFtFK+6tyu+qWwB4Hgje8NxF5U
 +Eq39v+g04lfQRSHn8w7f13lze6JULJNt0wdDbp8cbg0hYIxHF6aRsJIsfyGtUERDr
 fWLCRYt17UaZrgSWK75P1OTckqfT5Ue4hrN/9g1cUJCshZJLAN/Lr3nT0kU3qDXa3m
 xAn3kFtiSU3SZE4PP6Ul8ECntRDubrkvck4HJxgJ74YKZeK9iR9BO0fit7QEztdV+b
 tMDKPOySS1bj508SJk0ttveOnE5OzfC99dMARf4pJYgM9myyeOi70cJPXDwjNufavP
 OHgglBq/V/XJg==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4RpNS73dHyz9rxN;
 Sun, 17 Sep 2023 11:49:27 +0200 (CEST)
From: Ihor Radchenko <yantar92@posteo.net>
To: Jack Kamm <jackkamm@gmail.com>
Cc: Henrik Frisk <frisk.h@gmail.com>, org-mode-email <emacs-orgmode@gnu.org>
Subject: Re: ICalendar export
In-Reply-To: <87cyyhspcl.fsf@gmail.com>
References: <CAO0LSb4aQhUMny4xr=1LB3t5F-K-WnjK1zc+qR7Jy+69vr2wpw@mail.gmail.com>
 <87pm2mh597.fsf@localhost> <87cyyhspcl.fsf@gmail.com>
Date: Sun, 17 Sep 2023 09:50:45 +0000
Message-ID: <87cyyhqgay.fsf@localhost>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net;
 helo=mout01.posteo.de
X-Spam_score_int: -43
X-Spam_score: -4.4
X-Spam_bar: ----
X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-BeenThere: emacs-orgmode@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
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: <https://lists.gnu.org/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+larch=yhetil.org@gnu.org
Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org
X-Migadu-Flow: FLOW_IN
X-Migadu-Country: US
X-Migadu-Spam-Score: -9.38
X-Spam-Score: -9.38
X-Migadu-Queue-Id: 7CDDB5B1A4
X-Migadu-Scanner: mx2.migadu.com
X-TUID: FpHLct2ODjqb

Jack Kamm <jackkamm@gmail.com> writes:

>> Does the attached patch fix the problem for you?
>
> I can reproduce the bug by calling `org-icalendar-export-current-agenda'
> in my agenda buffer. It seems to mainly happen when subsequent agenda
> entries originate from different files.
>
> Ihor's patch fixes the problem on my end.

Thanks for testing!
Applied, onto main.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=14bde5aba
Fixed.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>