diff options
| author | Glenn Morris | 2004-10-19 09:57:49 +0000 |
|---|---|---|
| committer | Glenn Morris | 2004-10-19 09:57:49 +0000 |
| commit | 962e4ccf7f4013eced0eb7367371a18f54686349 (patch) | |
| tree | 3127ae49a6a43025dabc706e46359f46d810485f | |
| parent | e0cd68ee54b633980f85970591282caf848f7201 (diff) | |
| download | emacs-962e4ccf7f4013eced0eb7367371a18f54686349.tar.gz emacs-962e4ccf7f4013eced0eb7367371a18f54686349.zip | |
From Ulf Jasper <ulf.jasper@web.de>:
(iCalendar): Update for package changes.
| -rw-r--r-- | man/calendar.texi | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/man/calendar.texi b/man/calendar.texi index 45b3ed318b3..8ebe7c4b3d7 100644 --- a/man/calendar.texi +++ b/man/calendar.texi | |||
| @@ -1402,21 +1402,19 @@ progress, so usage may evolve in future. | |||
| 1402 | 1402 | ||
| 1403 | To activate the package, use @code{(require 'icalendar)}. | 1403 | To activate the package, use @code{(require 'icalendar)}. |
| 1404 | 1404 | ||
| 1405 | @findex icalendar-extract-ical-from-buffer | 1405 | @findex icalendar-import-buffer |
| 1406 | The command @code{icalendar-extract-ical-from-buffer} extracts | 1406 | The command @code{icalendar-import-buffer} extracts |
| 1407 | iCalendar data from the current buffer and adds it to your (default) | 1407 | iCalendar data from the current buffer and adds it to your (default) |
| 1408 | diary file. This function is also suitable for automatic extraction of | 1408 | diary file. This function is also suitable for automatic extraction of |
| 1409 | iCalendar data; for example with the Rmail mail client one could use: | 1409 | iCalendar data; for example with the Rmail mail client one could use: |
| 1410 | 1410 | ||
| 1411 | @example | 1411 | @example |
| 1412 | (add-hook 'rmail-show-message-hook 'icalendar-extract-ical-from-buffer) | 1412 | (add-hook 'rmail-show-message-hook 'icalendar-import-buffer) |
| 1413 | @end example | 1413 | @end example |
| 1414 | 1414 | ||
| 1415 | @findex icalendar-import-file | 1415 | @findex icalendar-import-file |
| 1416 | The command @code{icalendar-import-file} imports an iCalendar file. | 1416 | The command @code{icalendar-import-file} imports an iCalendar file |
| 1417 | @strong{Caution:} the contents of the target diary file are | 1417 | and adds the results to an Emacs diary file. For example: |
| 1418 | @emph{deleted} by default! It is highly recommended to use a dedicated | ||
| 1419 | diary file for importing. For example: | ||
| 1420 | 1418 | ||
| 1421 | @example | 1419 | @example |
| 1422 | (icalendar-import-file "/here/is/calendar.ics" "/there/goes/ical-diary") | 1420 | (icalendar-import-file "/here/is/calendar.ics" "/there/goes/ical-diary") |
| @@ -1424,13 +1422,14 @@ diary file for importing. For example: | |||
| 1424 | 1422 | ||
| 1425 | @noindent | 1423 | @noindent |
| 1426 | You can use an @code{#include} directive to add the import file contents | 1424 | You can use an @code{#include} directive to add the import file contents |
| 1427 | to the diary. @xref{Fancy Diary Display,,, elisp, The Emacs Lisp | 1425 | to the main diary file, if these are distinct. @xref{Fancy Diary |
| 1428 | Reference Manual}. | 1426 | Display,,, elisp, The Emacs Lisp Reference Manual}. |
| 1429 | 1427 | ||
| 1430 | @findex icalendar-convert-diary-to-ical | 1428 | @findex icalendar-export-file, icalendar-export-region |
| 1431 | The command @code{icalendar-convert-diary-to-ical} exports an Emacs | 1429 | Use @code{icalendar-export-file} to interactively export an entire |
| 1432 | diary file to iCalendar format. @strong{Caution:} the contents of the | 1430 | Emacs diary file to iCalendar format. To export only a part of a diary |
| 1433 | target file are @emph{deleted} by default! | 1431 | file, mark the relevant area, and call @code{icalendar-export-region}. |
| 1432 | In both cases the result is appended to the target file. | ||
| 1434 | 1433 | ||
| 1435 | 1434 | ||
| 1436 | @node Daylight Savings | 1435 | @node Daylight Savings |