[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Export to ics file with retaining spaces

From: Dieter Faulbaum
Subject: Export to ics file with retaining spaces
Date: Tue, 08 Feb 2022 13:31:51 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)

I normally use this hook:
before-save-hook (delete-trailing-whitespace time-stamp copyright-update)

But this is not a good idea, if I use org-icalendar-export-to-ics,
because the spaces at line ends are significant in an ics file.

There is only a org-icalendar-after-save-hook
(and not a org-icalendar-before-save-hook).

Any elegant idea to retain the spaces
(without customizing the before-save-hook for this)?

Thanks for any help

reply via email to

[Prev in Thread] Current Thread [Next in Thread]