emacs/lisp/calendar
Richard Lawrence 70b79b3ed8 Rename `icalendar-recur' type and related functions
More context in Bug#80786 and:
https://lists.gnu.org/archive/html/emacs-orgmode/2026-03/msg00286.html

`icalendar-recur' as a type name for RRULE values was confusing and made
the accessors for this type difficult to discover, because `icalendar-recur-'
is also used as a prefix in icalendar-recur.el.  This change renames the
`icalendar-recur' type to `icalendar-rrule-value' and renames the
accessor functions for these values appropriately.

* lisp/calendar/icalendar-parser.el:  Rename symbols as follows:
(icalendar-recur): `icalendar-rrule-value'
(icalendar-read-recur-rule-part): `icalendar-read-rrule-part'
(icalendar-print-recur-rule-part): `icalendar-print-rrule-part'
(icalendar-recur-rule-part): `icalendar-rrule-part'
(icalendar-read-recur): `icalendar-read-rrule-value'
(icalendar-print-recur): `icalendar-print-rrule-value'
(icalendar--recur-value-types): `icalendar--rrule-value-types'
(icalendar-recur-value-p): `icalendar-rrule-value-p'
(icalendar-recur-freq): `icalendar-rrule-freq'
(icalendar-recur-interval-size): `icalendar-rrule-interval-size'
(icalendar-recur-until): `icalendar-rrule-until'
(icalendar-recur-count): `icalendar-rrule-count'
(icalendar-recur-weekstart): `icalendar-rrule-weekstart'
(icalendar-recur-by*): `icalendar-rrule-by*'.
(icalendar-rrule):
(icalendar-index-insert):
(icalendar-index-get): Update references.
* lisp/calendar/icalendar-recur.el (icalendar-recur-find-interval):
(icalendar-recur-nth-interval):
(icalendar-recur-next-interval):
(icalendar-recur-previous-interval):
(icalendar-recur-refine-from-clauses):
(icalendar-recur-recurrences-in-interval):
(icalendar-recur-recurrences-in-window):
(icalendar-recur-recurrences-to-count):
(icalendar-recur-tz-observance-on): Update references.
* lisp/calendar/diary-icalendar.el: Update references.
* lisp/calendar/icalendar-shortdoc.el (icalendar): Update shortdoc examples.
* lisp/gnus/gnus-icalendar.el: Update references.
* test/lisp/calendar/diary-icalendar-tests.el:
* test/lisp/calendar/icalendar-parser-tests.el:
* test/lisp/calendar/icalendar-recur-tests.el: Update references in tests.
2026-05-23 13:25:19 +03:00
..
appt.el Use single-arg form of signal to re-throw an error 2026-03-10 10:48:22 -04:00
cal-bahai.el Support displaying more months in the calendar 2026-02-22 16:21:13 +02:00
cal-china.el Support displaying more months in the calendar 2026-02-22 16:21:13 +02:00
cal-coptic.el lisp/calendar: Style changes 2026-02-08 23:39:13 -05:00
cal-dst.el lisp/calendar: Style changes 2026-02-08 23:39:13 -05:00
cal-french.el lisp/calendar: Style changes 2026-02-08 23:39:13 -05:00
cal-hebrew.el Support displaying more months in the calendar 2026-02-22 16:21:13 +02:00
cal-html.el lisp/calendar: Style changes 2026-02-08 23:39:13 -05:00
cal-islam.el Support displaying more months in the calendar 2026-02-22 16:21:13 +02:00
cal-iso.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
cal-julian.el Support displaying more months in the calendar 2026-02-22 16:21:13 +02:00
cal-mayan.el lisp/calendar: Style changes 2026-02-08 23:39:13 -05:00
cal-menu.el Support displaying more months in the calendar 2026-02-22 16:21:13 +02:00
cal-move.el Support displaying more months in the calendar 2026-02-22 16:21:13 +02:00
cal-persia.el lisp/calendar: Style changes 2026-02-08 23:39:13 -05:00
cal-tex.el lisp/calendar: Style changes 2026-02-08 23:39:13 -05:00
cal-x.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
calendar.el Support displaying more months in the calendar 2026-02-22 16:21:13 +02:00
diary-icalendar.el Rename `icalendar-recur' type and related functions 2026-05-23 13:25:19 +03:00
diary-lib.el Support displaying more months in the calendar 2026-02-22 16:21:13 +02:00
holidays.el calendar-check-holidays: Call calendar-increment-month 2026-02-25 14:06:53 +00:00
icalendar-ast.el ; Spelling fixes. 2026-04-29 22:45:51 -07:00
icalendar-macs.el Add short documentation group for iCalendar lib 2026-04-12 12:17:33 +03:00
icalendar-mode.el Some minor code improvements in iCalendar library 2026-01-03 15:31:01 -05:00
icalendar-parser.el Rename `icalendar-recur' type and related functions 2026-05-23 13:25:19 +03:00
icalendar-recur.el Rename `icalendar-recur' type and related functions 2026-05-23 13:25:19 +03:00
icalendar-shortdoc.el Rename `icalendar-recur' type and related functions 2026-05-23 13:25:19 +03:00
icalendar-utils.el Add short documentation group for iCalendar lib 2026-04-12 12:17:33 +03:00
icalendar.el Add short documentation group for iCalendar lib 2026-04-12 12:17:33 +03:00
iso8601.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
lunar.el Support displaying more months in the calendar 2026-02-22 16:21:13 +02:00
parse-time.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
solar.el Support displaying more months in the calendar 2026-02-22 16:21:13 +02:00
time-date.el Use single-arg form of signal to re-throw an error 2026-03-10 10:48:22 -04:00
timeclock.el lisp/calendar: Style changes 2026-02-08 23:39:13 -05:00
todo-mode.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00