Variable: diary-icalendar-attendee-format-function

diary-icalendar-attendee-format-function is a customizable variable defined in diary-icalendar.el.gz.

Value

diary-icalendar-attendee-skeleton

Documentation

Function to format ATTENDEE properties during diary import.

This should be a function which inserts information about an icalendar-attendee into the current buffer. It is convenient to express such a function as a skeleton; see define-skeleton and skeleton-insert for more information.

The function will be called with one argument, ATTENDEE, which will be an icalendar-attendee syntax node. It should insert information about the attendee into the current buffer. See icalendar-with-property for a convenient way to bind the data in ATTENDEE.

For convenience when writing this function as a skeleton, the following variables will also be (dynamically) bound when the function is called. All values will be strings (unless another type is noted), or nil:

attendee-address - address, with "mailto:" removed attendee-cn - common name (icalendar-cnparam) attendee-cutype - calendar user type (icalendar-cutypeparam) attendee-role - role in the event (icalendar-roleparam) attendee-partstat - participation status (icalendar-partstatparam) attendee-rsvp - whether an RSVP is requested (icalendar-rsvpparam)

This variable was added, or its default value changed, in Emacs 31.1.

Source Code

;; Defined in /usr/src/emacs/lisp/calendar/diary-icalendar.el.gz
(defcustom di:attendee-format-function #'di:attendee-skeleton
  "Function to format ATTENDEE properties during diary import.

This should be a function which inserts information about an
`icalendar-attendee' into the current buffer.  It is convenient to
express such a function as a skeleton; see `define-skeleton' and
`skeleton-insert' for more information.

The function will be called with one argument, ATTENDEE, which will be
an `icalendar-attendee' syntax node.  It should insert information about
the attendee into the current buffer.  See `icalendar-with-property' for
a convenient way to bind the data in ATTENDEE.

For convenience when writing this function as a skeleton, the following
variables will also be (dynamically) bound when the function is called.
All values will be strings (unless another type is noted), or nil:

`attendee-address' - address, with \"mailto:\" removed
`attendee-cn' - common name (`icalendar-cnparam')
`attendee-cutype' - calendar user type (`icalendar-cutypeparam')
`attendee-role' - role in the event (`icalendar-roleparam')
`attendee-partstat' - participation status (`icalendar-partstatparam')
`attendee-rsvp' - whether an RSVP is requested (`icalendar-rsvpparam')"
  :version "31.1"
  :type '(radio (function-item di:attendee-skeleton)
                (function :tag "Other function")))