Function: gnus-icalendar-event-reply-from-buffer

gnus-icalendar-event-reply-from-buffer is a byte-compiled function defined in gnus-icalendar.el.gz.

Signature

(gnus-icalendar-event-reply-from-buffer BUF STATUS IDS &optional COMMENT)

Documentation

Build a calendar event reply for request contained in BUF.

The reply will have STATUS (accepted, tentative or declined). The reply will be composed for attendees matching any entry in the IDS list. Optional argument COMMENT will be placed in the comment field of the reply.

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/gnus-icalendar.el.gz
(defun gnus-icalendar-event-reply-from-buffer (buf status ids
                                                   &optional comment)
  "Build a calendar event reply for request contained in BUF.
The reply will have STATUS (`accepted', `tentative' or `declined').  The
reply will be composed for attendees matching any entry in the
IDS list.  Optional argument COMMENT will be placed in the
comment field of the reply."
  (let (vcalendar reply)
    (with-current-buffer (ical:unfolded-buffer-from-buffer (get-buffer buf))
      (setq vcalendar (ical:parse))
      (unless vcalendar
        (error "Could not parse invitation; see buffer %s"
               (buffer-name (ical:error-buffer))))
      (setq reply
            (gnus-icalendar-event--build-reply vcalendar status ids comment))
      (ical:print-calendar-node reply))))