Function: diary-icalendar-format-attendee
diary-icalendar-format-attendee is a byte-compiled function defined in
diary-icalendar.el.gz.
Signature
(diary-icalendar-format-attendee ATTENDEE)
Documentation
Format ATTENDEE for the diary.
ATTENDEE should be an icalendar-attendee or icalendar-organizer
property node. Returns a string representing an entry for the attendee,
formatted by diary-icalendar-attendee-format-function, unless the
attendee's address matches the regexp in
diary-icalendar-skip-addresses-regexp; in that case, nil is returned.
Source Code
;; Defined in /usr/src/emacs/lisp/calendar/diary-icalendar.el.gz
(defun di:format-attendee (attendee)
"Format ATTENDEE for the diary.
ATTENDEE should be an `icalendar-attendee' or `icalendar-organizer'
property node. Returns a string representing an entry for the attendee,
formatted by `diary-icalendar-attendee-format-function', unless the
attendee's address matches the regexp in
`diary-icalendar-skip-addresses-regexp'; in that case, nil is returned."
(ical:with-property attendee
((ical:cutypeparam :value cutype)
(ical:cnparam :value cn)
(ical:roleparam :value role)
(ical:partstatparam :value partstat)
(ical:rsvpparam :value rsvp))
(unless (and di:skip-addresses-regexp
(string-match-p di:skip-addresses-regexp value))
(dlet ((attendee-address (ical:strip-mailto value))
(attendee-cn (when cn (string-trim cn)))
(attendee-cutype cutype)
(attendee-role role)
(attendee-partstat partstat)
(attendee-rsvp rsvp))
(with-temp-buffer
(funcall di:attendee-format-function attendee)
(buffer-string))))))