Variable: icalendar-uid-format

icalendar-uid-format is a customizable variable defined in icalendar.el.gz.

Value

"%h"

Documentation

Format string for unique ID (UID) values for iCalendar components.

This string is used by icalendar-make-uid to generate UID values when creating iCalendar components.

The following specifiers are available:
%c COUNTER, an integer value that is increased each time a uid is
   generated. This may be necessary for systems which do not
   provide time-resolution finer than a second.
%h HASH, a hash value of the component's contents or system information,
%t TIMESTAMP, a unique creation timestamp,
%u USERNAME, the value of user-login-name(var)/user-login-name(fun).
%s (obsolete, ignored)

For example, a value of "%h%t@mydomain.com" will generate a UID code for each entry composed of a hash of the event data, a creation timestamp, and your personal domain name.

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

Source Code

;; Defined in /usr/src/emacs/lisp/calendar/icalendar.el.gz