From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 6IpQI1aBO2Rt5AAASxT56A (envelope-from ) for ; Sun, 16 Apr 2023 07:02:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id WJc9I1aBO2R0VAAA9RJhRA (envelope-from ) for ; Sun, 16 Apr 2023 07:02:14 +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 1EDF84E77 for ; Sun, 16 Apr 2023 07:02:14 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pnuVx-000342-HN; Sun, 16 Apr 2023 01:01:25 -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 1pnuVv-00033Y-3L for emacs-orgmode@gnu.org; Sun, 16 Apr 2023 01:01:23 -0400 Received: from mail-pf1-x42a.google.com ([2607:f8b0:4864:20::42a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pnuVt-000433-9f for emacs-orgmode@gnu.org; Sun, 16 Apr 2023 01:01:22 -0400 Received: by mail-pf1-x42a.google.com with SMTP id d2e1a72fcca58-63b509fe13eso751382b3a.1 for ; Sat, 15 Apr 2023 22:01:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681621279; x=1684213279; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=rhC/IwACmzrq1nO+2tPtCAon95Y8SSVsd6pFQG+w7co=; b=HyvYz3YRCO1iK+Wj8mPqCQSrop/s/XfNKhiEGEuy5K9Xm6ofGYRThgp6X7nHWErKHS OPf5m0wrG6ISECM2kViNCEE6ilSZCTPlBJ1D3w5OmxBOPzopUZ6OGIVvA5Q+vi2FbBUq B8wfyCQcF7b4B85CDUE5SYAHIzUg21S689juqobdOXiS5wrMoErJx0kvBV2hOpwdnVg8 Ul444zduJBh7XrsPEOdlBApcQwroa9VCz3CsPcFAlGmll8M30PhsJThtwe+KR2cZMdQ3 03Gme4AKk9C8vnzRlGjtI61mcJggx9ijrD9wFxZID5JrvPOI+r42CJCMp+iRntOiLAWN mMEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681621279; x=1684213279; 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=rhC/IwACmzrq1nO+2tPtCAon95Y8SSVsd6pFQG+w7co=; b=iNegs6xJ3wbOLLmfh/0a2GYuKAirrkGMclW4AWaA5AqXHy0JaAF6rT45bXpaSTzSt9 jPIaEGWs/fpIVLn7UP4369F3TJzfLz7d8yq4oFWtMhrOHjRSetnlngIp+qwYRjDL/vf/ RMtBsnFMN2/H9OxsQNStIWTit4ttLcsyXwQRwCPjOxgx5kKhPhKU0YAwPZ+zFP6BfsJw nw0oq2s9G6ViPb11B3blIPsXc+Exf32kTN68DgWtYKqaELh0Iu/ib3Tyg27kwVnBPe8z wLIKbhDNe2w6Bxxfjx/l4e6HZH2tUQAaM9ev+ocm60+g7elKUjcICFHIGgiY21d7Ylg3 xtnw== X-Gm-Message-State: AAQBX9eiRDWMpDi0PagCIrNoe1TfV8LCLLiJ+sdCJPwN4ZXmo5q0S+0c SldB3Gu5Qoh1kuhVAR8elZA= X-Google-Smtp-Source: AKy350ZOqt3gfUuCc+ybQW+/+Rcm4DvBvqXrKAESvtG7l7WA5WChv2732nYRbrleijeukmfsu6qcyA== X-Received: by 2002:a05:6a00:181f:b0:63b:7280:8a98 with SMTP id y31-20020a056a00181f00b0063b72808a98mr9052201pfa.17.1681621278720; Sat, 15 Apr 2023 22:01:18 -0700 (PDT) Received: from localhost (157-131-78-143.fiber.dynamic.sonic.net. [157.131.78.143]) by smtp.gmail.com with ESMTPSA id d8-20020aa78e48000000b006352a6d56ebsm5378574pfr.119.2023.04.15.22.01.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 Apr 2023 22:01:17 -0700 (PDT) From: Jack Kamm To: tomas@tuxteam.de, Ihor Radchenko Cc: "Stephen J. Eglen" , emacs-orgmode@gnu.org, mail@nicolasgoaziou.fr, steuer@hsu-hh.de Subject: Re: Bug report for ox-icalendar: newlines should be CRLF In-Reply-To: <87ildyberp.fsf@gmail.com> References: <87ilgljv6i.fsf@localhost> <875yaej9sa.fsf@gmail.com> <87wn2en543.fsf@localhost> <87ildyberp.fsf@gmail.com> Date: Sat, 15 Apr 2023 22:01:16 -0700 Message-ID: <87cz44beub.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::42a; envelope-from=jackkamm@gmail.com; helo=mail-pf1-x42a.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-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1681621334; a=rsa-sha256; cv=none; b=atxXTWwwP7YTVdcx688IPEElNPGyD+Cx7GqFRO2QIj+ydK6EW2wrNN8mUmwXyzVoTKeJJM uaOa9ZBNwt/2SAKreoSln9YlvC/nivwe0EcHOrm/KFeS5RyHDec5fHgAyUf4SdFYrtbwo+ 0RLs4+F4NFsyYOs9o+lFW+zD//PgwhzzQfjJ8RHh4sar+bk+X+xIRvvEamY4hKcEUqITb8 ipSFThf+BBQnFsrRu4BJ2ib056RHbRxVAgRFS2eaUwAUYsIzVxVj1Uex7Uc/3C7Q4Cvb34 3B1HFMilPy4GT5e6BkT3OUUBUQKfbovDgQr7RdP8kYkdEeig8CwjteGYPNJ8uQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=HyvYz3YR; 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=1681621334; 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=rhC/IwACmzrq1nO+2tPtCAon95Y8SSVsd6pFQG+w7co=; b=XEH46poD9MLO5YMK/aR/y8GX3qn2U141RkXlQ092KzpxR2+bl40/n67NUeDwkSpy0n4yje 0BRV+myVw+IzoMgWCQzthj/kDAPFyFVtbmTG+S3PaZAjH0YjimOMMdNt1T8WAhokyP9WsW 1hU+/49Z3CpyohWSffQFPtFVDA6EVnd6o15OADN8Jy0p6tNK66yyCIdun3on7X+m3sLHsr KxkN6IQAi6IPjytE2GUf/B0e1OkSgWxfzqE1uNq8XqOQlqaxxhK8QL7dELzZVPB2Qk60dU rUEzNM7/9XnCoJJ93QoU2o7Pf1OKWORgAjXRVfnT52Rl3nPQBRG6G7JkY9A/LQ== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -6.45 X-Spam-Score: -6.45 X-Migadu-Queue-Id: 1EDF84E77 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=HyvYz3YR; 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 X-TUID: I/VehLHTWhYQ Jack Kamm writes: > writes: > >>> > There is a related issue about EOLs, not just \r\n -- each line should >>> > be a maximum of 75 characters; this is handled by >>> > org-icalendar-fold-string >>> >>> May you please provide a link to the iCalendar spec document section >>> describing this requirement? >> >> It's in rfc5545 [1], referenced to from rfc7986 [2]. > > Since VEVENT and VTODO are wrapped in `org-icalendar-fold-string', I > think the only place this error may occur is in the preamble created by > `org-icalendar--vcalendar', e.g. in PRODID, X-WR-CALDESC, etc. > > The fix is to move the call to `org-icalendar-fold-string' out of > org-icalendar--vevent/vtodo, and instead put it in > `org-icalendar--vcalendar'. Then the line folding will apply to the > whole VCALENDAR instead of just the VTODO and VEVENT. An earlier version > of my CRLF patch actually did something like this. > > I can push such a fix over the weekend. Let me know if you'd rather I > send the patch for review here first. I've pushed this change now: https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=f4446ce795c924a1e115e360d3674f6ad89be845