From unknown Mon Aug 18 11:22:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#37887: 27.0.50; icalendar-export-region: multiline Desc not handled Resent-From: Rajeev Narang Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 23 Oct 2019 14:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 37887 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 37887@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15718398472115 (code B ref -1); Wed, 23 Oct 2019 14:11:02 +0000 Received: (at submit) by debbugs.gnu.org; 23 Oct 2019 14:10:47 +0000 Received: from localhost ([127.0.0.1]:34735 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iNHLb-0000Y2-6v for submit@debbugs.gnu.org; Wed, 23 Oct 2019 10:10:47 -0400 Received: from lists.gnu.org ([209.51.188.17]:33548) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iNH9d-0000Dn-HA for submit@debbugs.gnu.org; Wed, 23 Oct 2019 09:58:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51473) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iNH9b-0001wj-Em for bug-gnu-emacs@gnu.org; Wed, 23 Oct 2019 09:58:25 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.2 required=5.0 tests=BAYES_50,KHOP_HELO_FCRDNS, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iNH9Z-00031U-JA for bug-gnu-emacs@gnu.org; Wed, 23 Oct 2019 09:58:23 -0400 Received: from vr0.sivalik.com ([104.238.130.12]:55500 helo=smtp.sivalik.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iNH9Z-0002vI-DG for bug-gnu-emacs@gnu.org; Wed, 23 Oct 2019 09:58:21 -0400 Received: from hp (unknown [IPv6:2001:470:1f07:199:100b:811e:2a63:eebc]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: rajeev@sivalik.com) by smtp.sivalik.com (Postfix) with ESMTPSA id 3ABA85DC10; Wed, 23 Oct 2019 09:58:14 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=sivalik.com; s=svlk; t=1571839094; bh=b1EpPySNmVE1fuAIlTjdcN4zLxGT8th2qfiEvC80vX8=; h=From:To:Subject:Date:From; b=heyPIP4UDNrJzhYiz+DZPndpZrRiwxjxx9e2vU6Z9XR9lwM4NqNPLjnMs1yDqYQNv dLsWQIV/qUlJrPIEfchQkrADHBIeHZadTim1SPJ/7MRU7ldZo4WmU+vEsRZqRKIOdU NgqgS8fGMMl6jGXdLUkkElUgGTGuCrN4dQp7uiNE= Autocrypt: addr=rajeev@sivalik.com; prefer-encrypt=mutual; keydata= mDMEXY/p8RYJKwYBBAHaRw8BAQdAlFYwkqD8/0y1MdafU4WTVvICG8LZQYu1vV/Dn3VSGma0IlJh amVldiBOYXJhbmcgPHJhamVldkBzaXZhbGlrLmNvbT6IkAQTFggAOBYhBOwUZZj+t/w2sUew/gG0 SjjfOwhuBQJdj+nxAhsDBQsJCAcCBhUKCQgLAgQWAgMBAh4BAheAAAoJEAG0SjjfOwhuUhoBAN5B NNRLuwLW8bVHtg3oeTOnriCshGVuw/fLJ/kvSBk2AQD18Ka0p4xvS0Mkbjk5Bh5jodSsJF1mn2Dn eTV0tZZtC7g4BF2P6fESCisGAQQBl1UBBQEBB0C6GxvZvUHywnRGwBcUKpknKK7K90iCcY8Zh9cP zxekagMBCAeIeAQYFggAIBYhBOwUZZj+t/w2sUew/gG0SjjfOwhuBQJdj+nxAhsMAAoJEAG0Sjjf Owhu1AUA/3IEIOwvwC815T7X05NpAZ1ThN+lx7iXC9SYl2ZlXvevAP9b0y80MEQ+MPX/PmVZRWM4 sisOHz/ecKYEDvcTGP3bBQ== From: Rajeev Narang Date: Wed, 23 Oct 2019 09:58:13 -0400 Message-ID: <87ftjjbm2y.fsf@hm.sivalik.com> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 104.238.130.12 X-Spam-Score: -1.4 (-) X-Mailman-Approved-At: Wed, 23 Oct 2019 10:10:45 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) icalendar-export-region does not export multi-line Desc as it is imported by icalendar-import-file. The following patch fixes the issue. diff --git a/lisp/calendar/icalendar.el b/lisp/calendar/icalendar.el index 1186ced3fb..1f4e582aa5 100644 --- a/lisp/calendar/icalendar.el +++ b/lisp/calendar/icalendar.el @@ -1244,7 +1244,7 @@ icalendar--parse-summary-and-rest (concat "\\(" icalendar-import-format-uid "\\)??")))) ;; Need the \' regexp in order to detect multi-line items (setq s (concat "\\`" - (replace-regexp-in-string "%s" "\\(.*?\\)" s nil t) + (replace-regexp-in-string "%s" "\\([^z-a]*?\\)" s nil t) "\\'")) (if (string-match s summary-and-rest) (let (cla des loc org sta url uid) ;; sum In GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.5, cairo version 1.16.0) of 2019-10-20 built on hp Repository revision: 30deac84c4168a6315a08a0dd85f6dde9b9df439 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12004000 System Description: Debian GNU/Linux 10 (buster) Recent messages: nnimap read 0k from imap.sivalik.com Exiting summary buffer and applying spam rules Expiring articles...done Saving /home/rajeev/.newsrc.eld... Saving file /home/rajeev/.newsrc.eld... Wrote /home/rajeev/.newsrc.eld Saving /home/rajeev/.newsrc.eld...done Mark set [2 times] next-line: End of buffer [5 times] Making completion list... [3 times] Configured using: 'configure --with-cairo --prefix=/mnt/j0/home/rajeev/tmp/build/emacs 'LDFLAGS= -L/usr/local/lib' 'CPPFLAGS= -I/usr/local/include -I/usr/include/dvdnav'' Configured features: XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LIBSYSTEMD JSON PDUMPER LCMS2 GMP Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Shell Minor modes in effect: icomplete-mode: t global-so-long-mode: t global-auto-revert-mode: t shell-dirtrack-mode: t display-time-mode: t jabber-activity-mode: t dirtrack-mode: t tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow emacsbug bug-reference dired-aux two-column iso-transl warnings term/xterm xterm tabify man sh-script make-mode gnus-delay gnus-draft org-table ob-ditaa ob-plantuml org-archive org-clock org-colview org-habit ess-tracebug ess-utils ido ess-custom executable compile mhtml-mode css-mode smie eww mm-url url-queue color gnus-cite gnus-async gnus-bcklg gnus-ml disp-table smtpmail sort smerge-mode diff mm-archive url-http url-gw url-cache url-auth cus-edit cus-start cus-load cl-print rx eieio-opt speedbar sb-image ezimage dframe thingatpt help-fns radix-tree cal-move misearch multi-isearch org-duration view mule-util vc-bzr vc-src vc-sccs vc-svn vc-cvs vc-rcs vc-dir vc vc-dispatcher mailalias bbdb-message mail-extr edmacro kmacro jabber-keepalive jabber-ping cl-extra help-mode sasl-scram-rfc sasl-scram-sha-1 rfc2104 hex-util server cursor-sensor utf-7 nnml network-stream nsm nndraft nnmh time-stamp bbdb-gnus nnfolder gnus-agent gnus-srvr gnus-score score-mode nnvirtual nntp gnus-cache xt-mouse face-remap adoc-mode tempo markup-faces which-func timeclock spam spam-stat gnus-uu yenc gnus-msg semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw mode-local cedet yaml-mode m4-mode js imenu cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs icomplete so-long autorevert filenotify bbdb-anniv vc-git diff-mode org-indent org-rmail org-mhe org-irc org-info org-gnus nnir org-docview doc-view jka-compr image-mode exif org-bibtex bibtex org-bbdb org-w3m cal-iso tramp tramp-loaddefs trampver tramp-integration files-x tramp-compat shell ls-lisp printing ps-print ps-print-loaddefs ps-def lpr web-server web-server-status-codes el/web midnight el/av el/loc el/wthr el/hass el/cron el/fin org-agenda org-id lunar solar cal-dst holidays hol-loaddefs el/calc el/diary el/remote el/script bbdb-mua bbdb-com crm qp pp gnus-icalendar org-capture gnus-art mm-uu mml2015 mm-view mml-smime smime dig icalendar sendmail time jabber jabber-notifications notifications jabber-libnotify dbus jabber-awesome jabber-osd jabber-wmii jabber-xmessage jabber-festival jabber-sawfish jabber-ratpoison jabber-tmux jabber-screen jabber-socks5 jabber-ft-server jabber-si-server jabber-ft-client jabber-ft-common jabber-si-client jabber-si-common jabber-feature-neg jabber-truncate jabber-time jabber-autoaway jabber-vcard-avatars jabber-chatstates jabber-events jabber-vcard jabber-avatar jabber-activity jabber-watch jabber-modeline jabber-ahc-presence jabber-ahc jabber-version jabber-ourversion jabber-muc-nick-completion hippie-exp jabber-browse jabber-search jabber-register jabber-roster jabber-presence jabber-muc jabber-bookmarks jabber-private jabber-muc-nick-coloring hexrgb jabber-widget jabber-disco jabber-chat jabber-history jabber-chatbuffer jabber-alert jabber-iq jabber-core jabber-console sgml-mode ewoc jabber-keymap jabber-sasl sasl sasl-anonymous sasl-login sasl-plain fsm jabber-logon jabber-conn srv dns starttls tls gnutls jabber-xml jabber-menu jabber-util el/xmpp org-crypt org-element avl-tree generator org advice org-macro org-footnote org-pcomplete pcomplete org-list org-faces org-entities noutline outline easy-mmode org-version ob-emacs-lisp ob ob-tangle org-src ob-ref ob-lob ob-table ob-keys ob-exp ob-comint comint ansi-color ring ob-core ob-eval org-compat org-macs org-loaddefs find-func gnus-sum url url-proxy url-privacy url-expand url-methods url-history mailcap shr url-cookie url-domsuf url-util svg dom gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo parse-time iso8601 gnus-spec gnus-int gnus-range message rmc puny dired dired-loaddefs format-spec rfc822 mml mml-sec epa derived epg epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader gnus-win gnus nnheader gnus-util rmail rmail-loaddefs rfc2047 rfc2045 ietf-drums text-property-search time-date mail-utils mm-util mail-prsvr wid-edit el/org dirtrack el/shell el/doc el/mail el/tools timer-list el/timer el/util bbdb bbdb-site timezone el/bbdb esxml pcase xml cl appt diary-lib diary-loaddefs cal-menu calendar cal-loaddefs el/init wombat-theme ess-generics info package easymenu browse-url url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 723818 229036) (symbols 48 42887 5) (strings 32 198931 17077) (string-bytes 1 6801608) (vectors 16 79589) (vector-slots 8 1728593 96076) (floats 8 1467 2155) (intervals 56 25052 2513) (buffers 1000 255)) From unknown Mon Aug 18 11:22:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#37887: 27.0.50; icalendar-export-region: multiline Desc not handled Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 01 Nov 2019 09:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37887 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Rajeev Narang Cc: 37887@debbugs.gnu.org Received: via spool by 37887-submit@debbugs.gnu.org id=B37887.15726012544032 (code B ref 37887); Fri, 01 Nov 2019 09:41:01 +0000 Received: (at 37887) by debbugs.gnu.org; 1 Nov 2019 09:40:54 +0000 Received: from localhost ([127.0.0.1]:55049 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iQTQM-00012y-Fo for submit@debbugs.gnu.org; Fri, 01 Nov 2019 05:40:54 -0400 Received: from eggs.gnu.org ([209.51.188.92]:56246) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iQTQL-00012k-1Y for 37887@debbugs.gnu.org; Fri, 01 Nov 2019 05:40:53 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:45050) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iQTQE-0006ZZ-Q9; Fri, 01 Nov 2019 05:40:46 -0400 Received: from [176.228.60.248] (port=4903 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iQTQE-0003j9-3m; Fri, 01 Nov 2019 05:40:46 -0400 Date: Fri, 01 Nov 2019 11:40:50 +0200 Message-Id: <83d0eclysd.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <87ftjjbm2y.fsf@hm.sivalik.com> (bug-gnu-emacs@gnu.org) References: <87ftjjbm2y.fsf@hm.sivalik.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Wed, 23 Oct 2019 09:58:13 -0400 > From: Rajeev Narang via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > > icalendar-export-region does not export multi-line Desc as it is imported by icalendar-import-file. The following patch fixes the issue. > > diff --git a/lisp/calendar/icalendar.el b/lisp/calendar/icalendar.el > index 1186ced3fb..1f4e582aa5 100644 > --- a/lisp/calendar/icalendar.el > +++ b/lisp/calendar/icalendar.el > @@ -1244,7 +1244,7 @@ icalendar--parse-summary-and-rest > (concat "\\(" icalendar-import-format-uid "\\)??")))) > ;; Need the \' regexp in order to detect multi-line items > (setq s (concat "\\`" > - (replace-regexp-in-string "%s" "\\(.*?\\)" s nil t) > + (replace-regexp-in-string "%s" "\\([^z-a]*?\\)" s nil t) > "\\'")) > (if (string-match s summary-and-rest) > (let (cla des loc org sta url uid) ;; sum Is [^a-z] really correct here? From unknown Mon Aug 18 11:22:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#37887: 27.0.50; icalendar-export-region: multiline Desc not handled Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 25 Aug 2020 23:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37887 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Rajeev Narang Cc: 37887@debbugs.gnu.org Received: via spool by 37887-submit@debbugs.gnu.org id=B37887.15983990207453 (code B ref 37887); Tue, 25 Aug 2020 23:44:02 +0000 Received: (at 37887) by debbugs.gnu.org; 25 Aug 2020 23:43:40 +0000 Received: from localhost ([127.0.0.1]:36563 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAibM-0001w8-HQ for submit@debbugs.gnu.org; Tue, 25 Aug 2020 19:43:40 -0400 Received: from mail-yb1-f177.google.com ([209.85.219.177]:35942) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAibG-0001vf-Bv for 37887@debbugs.gnu.org; Tue, 25 Aug 2020 19:43:34 -0400 Received: by mail-yb1-f177.google.com with SMTP id g3so217986ybc.3 for <37887@debbugs.gnu.org>; Tue, 25 Aug 2020 16:43:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:user-agent :mime-version:date:message-id:subject:to:cc; bh=kMkTN6GCGKtB5oMnKWEn5SLX1jsLTOm3DS4iVOII+8E=; b=BroB05H5spKcBoHwikpiCHGuY3qhF0gwe8ojAKLH2PQGQtNwRdgWxtuIm12e9kQGvU Qa16Sq+TIxOO540fsUx3bBtUqeqtJpswISIjUmhhdjHzyjJg2zSkjEESn6yOp4LrwAXa fJKh+BgYajj4N6yFxrHxhP5XbPwUPyst4+oJ9SYRCMJOb9JmoCIAc3U4SoQOm09op1/a KLb9mhSkE2T9nfI+FMmLBG7vuSFyQnJXAqrKYUoJDkmymWPW7eM5AbL0GYj/eUQ/m3I1 UirjlqQsDFk3Yo9176CFXj2XgMys3HcZQXbEyXWS4s/yj/rKDmbf6IImOiq1QX6mRwwG cAhg== X-Gm-Message-State: AOAM530xOVoW4NogHCi/LcDjxC884Nxw7xn/epmLaAXq7RyConecL+ER 2/qLPpkegnr/nZ0Kw4s7Ht+OakuEhBFnFDX7QEBlwK2IZjE= X-Google-Smtp-Source: ABdhPJx2PVM4bvrMHMux9gXtIlBxoISGQiaI1OOVAvbcVmHd3eAb0bcGM5O0+tkVZ0IaQQKgIWOTmZRzzFu7juouyNA= X-Received: by 2002:a25:7007:: with SMTP id l7mr17317111ybc.85.1598399008924; Tue, 25 Aug 2020 16:43:28 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Tue, 25 Aug 2020 16:43:28 -0700 From: Stefan Kangas In-Reply-To: <87ftjjbm2y.fsf@hm.sivalik.com> (Rajeev Narang's message of "Wed, 23 Oct 2019 09:58:13 -0400") References: <87ftjjbm2y.fsf@hm.sivalik.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Date: Tue, 25 Aug 2020 16:43:28 -0700 Message-ID: Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) Rajeev Narang writes: > icalendar-export-region does not export multi-line Desc as it is imported by icalendar-import-file. The following patch fixes the issue. > > diff --git a/lisp/calendar/icalendar.el b/lisp/calendar/icalendar.el > index 1186ced3fb..1f4e582aa5 100644 > --- a/lisp/calendar/icalendar.el > +++ b/lisp/calendar/icalendar.el > @@ -1244,7 +1244,7 @@ icalendar--parse-summary-and-rest > (concat "\\(" icalendar-import-format-uid "\\)??")))) > ;; Need the \' regexp in order to detect multi-line items > (setq s (concat "\\`" > - (replace-regexp-in-string "%s" "\\(.*?\\)" s nil t) > + (replace-regexp-in-string "%s" "\\([^z-a]*?\\)" s nil t) > "\\'")) > (if (string-match s summary-and-rest) > (let (cla des loc org sta url uid) ;; sum Could you please provide an example of how to reproduce this bug? Best regards, Stefan Kangas From unknown Mon Aug 18 11:22:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#37887: 27.0.50; icalendar-export-region: multiline Desc not handled Resent-From: Rajeev Narang Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 26 Aug 2020 01:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37887 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Kangas Cc: 37887@debbugs.gnu.org Received: via spool by 37887-submit@debbugs.gnu.org id=B37887.159840441117974 (code B ref 37887); Wed, 26 Aug 2020 01:14:02 +0000 Received: (at 37887) by debbugs.gnu.org; 26 Aug 2020 01:13:31 +0000 Received: from localhost ([127.0.0.1]:36757 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAk0I-0004fq-LF for submit@debbugs.gnu.org; Tue, 25 Aug 2020 21:13:30 -0400 Received: from vr0.sivalik.com ([104.238.130.12]:39484 helo=smtp.sivalik.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAk0G-0004fb-9d for 37887@debbugs.gnu.org; Tue, 25 Aug 2020 21:13:28 -0400 Received: from hp (pool-96-242-220-230.nwrknj.fios.verizon.net [96.242.220.230]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: rajeev@sivalik.com) by smtp.sivalik.com (Postfix) with ESMTPSA id 6E6E75ED93; Tue, 25 Aug 2020 21:13:19 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=sivalik.com; s=svlk; t=1598404399; bh=gFwSzKTc1D3NeFAVnA3al48j4GgVQZJl0ZVBI3nQKG8=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=YBC5BB83YGO/u/12XVotpS3YntUbz9iGZYkQtw6ZFKg4+w7RNxV5rEt1HeqtMUdxL n7j/ZsKu5wparOooCx1DyCk8cdXfR0LsI08ZiBlbVoQ2QCbxqetd/GKWi53qAWG8Re 8ZgdwZ5n2hV/2JuQNMate/SvS3GucQlpO4z8x2F4= X-No-Archive: yes From: Rajeev Narang References: <87ftjjbm2y.fsf@hm.sivalik.com> Date: Tue, 25 Aug 2020 21:13:16 -0400 In-Reply-To: (Stefan Kangas's message of "Tue, 25 Aug 2020 16:43:28 -0700") Message-ID: <87lfi2ky4z.fsf@hm.sivalik.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Content-Disposition: inline If you import the attached file (icalendar-import-file) and then export it back (icalendar-export-file) you will see that the Desc is lost in the re-export. --=-=-= Content-Type: text/calendar Content-Disposition: inline; filename=t0.ics BEGIN:VCALENDAR PRODID:-//Google Inc//Google Calendar 70.9054//EN VERSION:2.0 BEGIN:VEVENT DTSTART:20200822T180000Z DTEND:20200822T190000Z DTSTAMP:20200825T203517Z CREATED:20200822T180043Z DESCRIPTION:To see detailed information for automatically created events li ke this one\, use the official Google Calendar app. https://g.co/calendar\n \nThis event was created from an email you received in Gmail. https://mail. google.com/mail?extsrc=cal&plid=ACUX6DPSxIW80hA4eZMPB6pDuC8RNU1IYLQ\n LAST-MODIFIED:20200822T180043Z SEQUENCE:0 SUMMARY:Reservation at Place END:VEVENT END:VCALENDAR --=-=-=-- From unknown Mon Aug 18 11:22:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#37887: 27.0.50; icalendar-export-region: multiline Desc not handled Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 11 Aug 2021 12:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37887 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Rajeev Narang Cc: 37887@debbugs.gnu.org Received: via spool by 37887-submit@debbugs.gnu.org id=B37887.162868670430628 (code B ref 37887); Wed, 11 Aug 2021 12:59:02 +0000 Received: (at 37887) by debbugs.gnu.org; 11 Aug 2021 12:58:24 +0000 Received: from localhost ([127.0.0.1]:33841 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDnoN-0007xw-Uu for submit@debbugs.gnu.org; Wed, 11 Aug 2021 08:58:24 -0400 Received: from quimby.gnus.org ([95.216.78.240]:58152) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDnoM-0007xh-19 for 37887@debbugs.gnu.org; Wed, 11 Aug 2021 08:58:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=iK+/X3G8seELC9hleK2MHMl5m62JE4v1eIk4cQIbBY8=; b=X9u6+Rqdk69wO3fv5RG3yg8jHX QxlOBhOn3a9v3A4yfF9N4jjNbyfvyAnQorg52DfQrpN/dXC3jC92Wre5oMgGVt9NHUKz1JQde/iac 1xS8MIBuFXR/Htv3qHZNhAhwNd5lQSG0gGoKkRQF2CbLgUM6jvC1PNHPyP/hXFYHGe14=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mDnoB-0008Ak-Nr; Wed, 11 Aug 2021 14:58:15 +0200 From: Lars Ingebrigtsen References: <87ftjjbm2y.fsf@hm.sivalik.com> Date: Wed, 11 Aug 2021 14:58:11 +0200 In-Reply-To: <87ftjjbm2y.fsf@hm.sivalik.com> (Rajeev Narang's message of "Wed, 23 Oct 2019 09:58:13 -0400") Message-ID: <87o8a4qgt8.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Rajeev Narang writes: > icalendar-export-region does not export multi-line Desc as it is imported by icalendar-import-file. The following patch fixes the issue. Thanks; applied to Emacs 28. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Rajeev Narang writes: > icalendar-export-region does not export multi-line Desc as it is imported by icalendar-import-file. The following patch fixes the issue. Thanks; applied to Emacs 28. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 11 08:58:28 2021 Received: (at control) by debbugs.gnu.org; 11 Aug 2021 12:58:28 +0000 Received: from localhost ([127.0.0.1]:33844 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDnoS-0007yC-4g for submit@debbugs.gnu.org; Wed, 11 Aug 2021 08:58:28 -0400 Received: from quimby.gnus.org ([95.216.78.240]:58166) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDnoQ-0007xm-8T for control@debbugs.gnu.org; Wed, 11 Aug 2021 08:58:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=PdNajWoSKT2y+Fs6zdIQPfKWh0eWl0yDvYSQ/xQwD7Y=; b=GXulufYIe4hxzin5dNZISM+PJY E2XBs9gey2wR7XpIhBKdrwkcVw0phHfFp7kNY1x0unU3U6jmrt/LMDAdNStpBTprRYoN7S6Px53wv DB2/5Ld+D3cxshTExvKqKih9HggsKE8KaP0a7x25kcVIT2YCCd7uSJUS677k4q/l2ugM=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mDnoI-0008Av-90 for control@debbugs.gnu.org; Wed, 11 Aug 2021 14:58:20 +0200 Date: Wed, 11 Aug 2021 14:58:17 +0200 Message-Id: <87mtpoqgt2.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #37887 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 37887 28.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 37887 28.1 quit