emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Export to ics file with retaining spaces
@ 2022-02-08 12:31 Dieter Faulbaum
  0 siblings, 0 replies; only message in thread
From: Dieter Faulbaum @ 2022-02-08 12:31 UTC (permalink / raw)
  To: emacs-orgmode


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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-02-08 14:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-08 12:31 Export to ics file with retaining spaces Dieter Faulbaum

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).