1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-06-05 12:04:03 -07:00
emacs/test/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
..
diary-icalendar-resources Add full support for iCalendar (RFC5545) data 2025-12-20 13:38:02 -05:00
icalendar-resources Add full support for iCalendar (RFC5545) data 2025-12-20 13:38:02 -05:00
todo-mode-resources Prevent spurious tabs by RET in todo-edit-mode (bug#43068) 2020-08-27 13:53:22 +02:00
cal-bahai-tests.el ; calendar-bahai: Move tests and convert to ERT 2026-01-24 13:25:14 +02:00
cal-french-tests.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
cal-julian-tests.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
calendar-tests.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
diary-icalendar-tests.el Rename `icalendar-recur' type and related functions 2026-05-23 13:25:19 +03:00
holidays-tests.el Support displaying more months in the calendar 2026-02-22 16:21:13 +02:00
icalendar-ast-tests.el iCalendar code improvements 2025-12-29 14:11:17 -05:00
icalendar-parser-tests.el Rename `icalendar-recur' type and related functions 2026-05-23 13:25:19 +03:00
icalendar-recur-tests.el Rename `icalendar-recur' type and related functions 2026-05-23 13:25:19 +03:00
icalendar-tests.el Merge branch 'main' into icalendar 2026-02-08 16:05:31 -05:00
iso8601-tests.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
lunar-tests.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
parse-time-tests.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
solar-tests.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
time-date-tests.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
todo-mode-tests.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00