[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: icalendar.el bug fix patch
From: |
Eli Zaretskii |
Subject: |
Re: icalendar.el bug fix patch |
Date: |
Fri, 01 Nov 2019 11:40:04 +0200 |
> Date: Wed, 23 Oct 2019 09:33:52 -0400
> From: Rajeev Narang via "Emacs development discussions." <address@hidden>
>
> icalendar-export-region does not export multi-line Desc as it is imported by
> icalendar-import-file. The following patch fixes the issue. If acceptable,
> please commit. Thanks.
>
> 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)
> "\\'"))
Thanks, but is [^a-z] correct? Do you want to reject only lower-case
ASCII characters? What about non-ASCII?
- Re: icalendar.el bug fix patch,
Eli Zaretskii <=
- Re: icalendar.el bug fix patch, Mattias Engdegård, 2019/11/01
- Re: icalendar.el bug fix patch, Rajeev Narang, 2019/11/01
- Re: icalendar.el bug fix patch, Eli Zaretskii, 2019/11/01
- Re: icalendar.el bug fix patch, Mattias Engdegård, 2019/11/01
- Re: icalendar.el bug fix patch, Eli Zaretskii, 2019/11/01
- Re: icalendar.el bug fix patch, Paul Eggert, 2019/11/01
- Re: icalendar.el bug fix patch, Mattias Engdegård, 2019/11/01
- Re: icalendar.el bug fix patch, Juri Linkov, 2019/11/02
- Re: icalendar.el bug fix patch, Richard Stallman, 2019/11/03