From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id KCnxKw4zBmVwMwEA9RJhRA:P1 (envelope-from ) for ; Sun, 17 Sep 2023 00:58:22 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id KCnxKw4zBmVwMwEA9RJhRA (envelope-from ) for ; Sun, 17 Sep 2023 00:58:22 +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 5F5A8633BC for ; Sun, 17 Sep 2023 00:58:22 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=gJTaeM+j; 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=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1694905102; 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=F5B7FYat142AsSeanbiSNPslePo1/jhm4xtOp24Bjk4=; b=PzqaAcDFD+lM/fHo1Qb7ghG1bnoUuGp63UfDBJef+M2Vb5v4/UjjW8NFENUVeykqft4Pn6 AHE0FuFo2yv8fP+OKuTwM8DQwd5SuCsC0jTrTc21/J9N8/JNyJYY1P1OElC/bEUSlABGlZ IBYqTIMVVzUkxeLFwmF8bLgCGvlLxQEiAPXVB0uL08GfSo7bDA+pLxkZSpVJYNtvyuKKvM g5mIFP56jn//9LZWjkSXcgVjsTt4L+M9toqG3qQptCX4TbdDM+I0WlbA6xVuZbvtdhriwx ru90J7e227rWXYr4JMcmlY8xBEhvRVi8yN01Z1ddzHzayKMzb+ICymGnynJFxA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=gJTaeM+j; 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=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1694905102; a=rsa-sha256; cv=none; b=GqjNp/VOJvHeHwoChOf8oWv8UD80oG3kdeT+4P9xp7kyZ7631TnrtZOOSSbBeptZRee8iR BMokrQtT4JlQL9i9CbE2wRrj4L5GVk1tiOiBe2kk20tZAJ91x1lJ4bholmoW0TewK4HBGF X15tJ2X4K+qF2xB/4bzLiLxSi5L6YieVhbL4EnntTvbiPdxFcjoZdLqXdihh92jidTV753 zWn5mvUtb/8Dh4IhA1dgPIjnJsXmAJCcZ9s+4TZ25HI3dx54qLkb4sk+8rA6aE8zi1dxSV SQYvjwsKoQqQifmWqKOikgUpqpI9N31RwRvwH3VYxJX5QO5JdySyJ5Hh/aYgBA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qhe9S-0000cf-Em; Sat, 16 Sep 2023 18:52:35 -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 ) id 1qhe9Q-0000cB-0D for emacs-orgmode@gnu.org; Sat, 16 Sep 2023 18:52:32 -0400 Received: from mail-pl1-x631.google.com ([2607:f8b0:4864:20::631]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qhe9O-0005Vw-FB for emacs-orgmode@gnu.org; Sat, 16 Sep 2023 18:52:31 -0400 Received: by mail-pl1-x631.google.com with SMTP id d9443c01a7336-1c3cbfa40d6so30338245ad.1 for ; Sat, 16 Sep 2023 15:52:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1694904748; x=1695509548; darn=gnu.org; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=F5B7FYat142AsSeanbiSNPslePo1/jhm4xtOp24Bjk4=; b=gJTaeM+jeCbAjAg1UZkIY2EXmk6xVat27XHg6sGUnWPdcEznJ1/M3xA2aMHNVvestQ XqW2XUMNioXyA6J6jXmHZN+XKMPXStzS7I6Jm+W80YKjBWPEmxXQlzSv9nabCQ0jFVpE NsU/Dcr6oInTe811Y3GExroOKuzfHXicsriC/FIZZyRs7bHYY+Qv24OfRrTbPMD2P3IN A/PNFn44ndBWpD4fKR1GhZEviNTdo5Ag5fSlIFBfzpzK7sbr/tTOZXUeXXzwKxp8/18s zu16uGREQ8pAxbr2UGoNBJNj3Dy5ieMT7qlaKYZFrmQLNuackJIMn2MUgjor8ONX56gC ML9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694904748; x=1695509548; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=F5B7FYat142AsSeanbiSNPslePo1/jhm4xtOp24Bjk4=; b=IwR7/hAZHLYukmzZVRfQTw90fvm08CYl1NkzsV6RCKk68ERaUNhYXZeVWzfMOknnxU 87y8fGE32BMpDJIrBhVkMgU/RKdSnuViG9JCvy/LIUuigU/frid2YGFuSIkL0OFNnus4 eOiEdhH+JxCBvDe8FmW0AnbGitlU8crVI+zvb2szq7r4wtMNXNopVUpZQJG9vKuJvdt0 bB5ScznAwUv6BsVFXxeVB9rCLLSBa5jErMPBoMfPbmrpZ/sZk1kIEiwZS7GThDz0qP0D 2IN533HtFSFnHN3e2qszRh8OPCskP1hstUS9bxfZE6qAJtQ2GBYPWPyj1TZGdRFwHtq0 HacA== X-Gm-Message-State: AOJu0YxcWWHZV+vmMb3jfAFTzLtT3NtN2/xGWw4B+laarUj8z/W5RZQX C7l1OKQBEyw373M5hVjBoG8= X-Google-Smtp-Source: AGHT+IEPH0QNopfJbwwTT7iVf0I+MseyYq3724Vc1TBdG7PJCL/VLn6EGXQFoSNJWfJP/XL3spmoqg== X-Received: by 2002:a17:902:7081:b0:1b7:fd82:973c with SMTP id z1-20020a170902708100b001b7fd82973cmr5443121plk.39.1694904748472; Sat, 16 Sep 2023 15:52:28 -0700 (PDT) Received: from localhost (157-131-78-143.fiber.dynamic.sonic.net. [157.131.78.143]) by smtp.gmail.com with ESMTPSA id a5-20020a1709027d8500b001bba1475c92sm5675994plm.113.2023.09.16.15.52.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Sep 2023 15:52:27 -0700 (PDT) From: Jack Kamm To: Ihor Radchenko , Henrik Frisk Cc: org-mode-email Subject: Re: ICalendar export In-Reply-To: <87pm2mh597.fsf@localhost> References: <87pm2mh597.fsf@localhost> Date: Sat, 16 Sep 2023 15:52:26 -0700 Message-ID: <87cyyhspcl.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::631; envelope-from=jackkamm@gmail.com; helo=mail-pl1-x631.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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-Scanner: mx1.migadu.com X-Migadu-Spam-Score: -2.61 X-Spam-Score: -2.61 X-Migadu-Queue-Id: 5F5A8633BC X-TUID: hrSHrhPB+mJ/ Ihor Radchenko writes: > Henrik Frisk writes: > >> Recently (not sure when) the ics output came out malformed and a newline is >> omitted between the end of one event and the beginning of another: >> >> END:VEVENT >> BEGIN:VEVENT >> >> is now >> >> END:VEVENTBEGIN:VEVENT >> >> I can't figure out wha the pattern is, for some events the output is >> correct. >> >> This is on Org mode version 9.7-pre release_9.6.8-719-gf299fb and emacs 29.1 > > We recently did some major changes to comply better to the icalendar > specs and introduced new feature. As it usually goes, major changes can > easily introduce new bugs. > > 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. Bisecting, the bug was introduced in f4446ce79.