1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00
Commit graph

1311 commits

Author SHA1 Message Date
Glenn Morris
b3103ae991 (calendar-nongregorian-visible-p): New function. 2008-04-01 02:55:03 +00:00
Glenn Morris
589117b4df (holiday-julian): Use calendar-nongregorian-visible-p. 2008-04-01 02:54:50 +00:00
Glenn Morris
2f264ff695 (calendar-hebrew-date-is-visible-p): Use calendar-nongregorian-visible-p. 2008-04-01 02:54:29 +00:00
Glenn Morris
d600b86560 (Commentary): Point to calendar.el.
(calendar-holiday-list, holiday-easter-etc): Simplify by using mapcar.
(calendar-list-holidays): Return holiday-list.
(list-holidays): Use let rather than let*.  Remove un-needed locals
`d', `never'.
(calendar-check-holidays): Return result from dolist.
(holiday-float): Use a single let*.  Simplify if-and to and.
(holiday-sexp, holiday-advent, holiday-greek-orthodox-easter): Use a
single let*.
2008-04-01 02:47:40 +00:00
Glenn Morris
bf276a50b3 Comments. 2008-04-01 02:47:05 +00:00
Glenn Morris
aea566be0f (calendar-mode-map): Use calendar-mark-holidays rather than obsolete alias.
(mark-visible-calendar-date): Also use overlay for mark characters.
(calendar-unmark): Unmark by removing all overlays, rather than redrawing.
(calendar-starred-day): Remove.
(calendar-mode): Disable undo.  Don't make calendar-starred-day local.
(calendar-cursor-to-date): No need for special star handling now using overlays.
(calendar-star-date): Use overlays.
2008-04-01 02:46:29 +00:00
Glenn Morris
6b789b4b03 (hebrew-calendar-elapsed-days): Dox fix.
(calendar-hebrew-date-is-visible-p): Extract some common code into
separate function.
(holiday-hebrew, mark-hebrew-calendar-date-pattern): Use it.
(calendar-hebrew-from-absolute, holiday-hanukkah)
(mark-hebrew-calendar-date-pattern): Reduce nesting of some lets.
2008-04-01 02:45:47 +00:00
Glenn Morris
f1e3fbeb91 (Commentary): Point to calendar.el.
(solar-equinoxes-solstices): Reduce nesting of some lets.
2008-04-01 02:44:52 +00:00
Glenn Morris
4bd7ad5f76 (Commentary): Point to calendar.el.
(lunar-phase-list, lunar-new-moon-on-or-after): Reduce nesting of some lets.
2008-04-01 02:44:23 +00:00
Glenn Morris
c7af68bcfc (cal-tex-cursor-month-landscape)
(cal-tex-cursor-month, cal-tex-LaTeXify-string): Reduce nesting of some lets.
2008-04-01 02:43:57 +00:00
Glenn Morris
e5e9977663 (Commentary): Point to calendar.el.
(calendar-persian-date-string): Reduce nesting of some lets.
2008-04-01 02:43:30 +00:00
Glenn Morris
b36e906dd0 (Commentary): Point to calendar.el.
(calendar-forward-month, calendar-end-of-month): Reduce nesting of some lets.
2008-04-01 02:43:05 +00:00
Glenn Morris
714b503452 (Commentary): Point to calendar.el.
(cal-menu-holidays-menu):  Use calendar-mark-holidays rather than
obsolete alias.
2008-04-01 02:42:35 +00:00
Glenn Morris
4ab3241e9b (Commentary): Point to calendar.el.
(calendar-string-to-mayan-long-count, calendar-goto-mayan-long-count-date):
Simplify.
2008-04-01 02:42:05 +00:00
Glenn Morris
551c8f1ac7 (Commentary): Point to calendar.el. 2008-04-01 02:41:15 +00:00
Glenn Morris
eaf7038ffa (Commentary): Point to calendar.el.
(calendar-goto-french-date): Reduce nesting of some lets.
2008-04-01 02:40:36 +00:00
Glenn Morris
b1c57079fc (Commentary): Point to calendar.el. 2008-04-01 02:39:52 +00:00
Glenn Morris
bf694ab92f (mark-islamic-diary-entries): Fix argument order in call to
diary-mark-entries-1.
2008-03-31 16:25:18 +00:00
Glenn Morris
5882b6bbf6 (diary-bahai-mark-entries): Fix argument order in call to diary-mark-entries-1. 2008-03-31 16:24:12 +00:00
Glenn Morris
618c03c1ba (Commentary): Replace with pointer to calendar.el.
(mark-hebrew-diary-entries): Fix argument order in call to diary-mark-entries-1.
2008-03-31 16:23:52 +00:00
Glenn Morris
cca1ce4cd7 (holiday-bahai): Use an algorithm actually relevant to this calendar
system.
2008-03-31 16:12:53 +00:00
Glenn Morris
a8ee33abbf (increment-calendar-month): Optionally handle systems without 12
months per year.
2008-03-31 16:00:05 +00:00
Glenn Morris
7bead204f1 (Commentary): Replace with reference to calendar.el.
(holiday-islamic): Comments.  Remove un-needed let.  Use and.
2008-03-31 15:39:20 +00:00
Glenn Morris
fb9e0d3494 (calendar-bahai-date-string): Make previous change more explicit. 2008-03-31 07:51:16 +00:00
Glenn Morris
c8b69b0ac8 Fix typo in previous change. 2008-03-31 07:41:01 +00:00
Glenn Morris
0d16be53d1 (holiday-chinese-new-year): Doc fix and comment. 2008-03-31 07:40:11 +00:00
Glenn Morris
f6c762dde1 (increment-calendar-month): Doc fix.
(calendar-date-is-visible-p): Doc fix.  Simplify.
2008-03-31 07:11:00 +00:00
Glenn Morris
1d2a9d53ab Comment. 2008-03-31 07:08:38 +00:00
Glenn Morris
a3886890a2 (holiday-julian): Fix a a problem with holidays in the last fortnight
in Julian October.
2008-03-31 01:59:33 +00:00
Glenn Morris
34ee3257bd (calendar-bahai-date-string): Avoid an error for pre-Bahai dates. 2008-03-31 01:47:29 +00:00
Glenn Morris
c8a54cf1aa (holiday-fixed): Comment.
(holiday-filter-visible-calendar): Return result from dolist.
2008-03-31 01:36:40 +00:00
Glenn Morris
b54eb5847e (list-holidays): Use or. 2008-03-29 23:26:17 +00:00
Glenn Morris
d53e3af1d4 (holiday-julian): Simplify. 2008-03-29 23:24:35 +00:00
Glenn Morris
2ed33c407c (holiday-hebrew): Simplify. 2008-03-29 23:23:20 +00:00
Glenn Morris
f2b4643502 Autoload diary-insert-entry-1.
(insert-hebrew-diary-entry, insert-monthly-hebrew-diary-entry)
(insert-yearly-hebrew-diary-entry): Use diary-insert-entry-1.
(diary-make-date): Autoload it.
(diary-yahrzeit): Doc fix.  Use diary-make-date.
2008-03-29 02:46:54 +00:00
Glenn Morris
f905ff0d8f (icalendar--datetime-to-american-date): New name for
icalendar--datetime-to-noneuropean-date.  Make old name obsolete alias.
(icalendar--datetime-to-iso-date): New function.
(icalendar--datetime-to-diary-date): Doc fix.  Respect
calendar-date-style if bound.
2008-03-29 02:44:44 +00:00
Glenn Morris
cc4b5cd31c (number): Move declaration where needed.
(diary-mail-entries, list-sexp-diary-entries): Doc fixes.
(diary-make-date): New function.
(diary-date, diary-block, diary-anniversary, diary-cyclic): Doc fix.
Use diary-make-date.
(diary-date-display-form, diary-insert-entry-1): New functions.
(insert-monthly-diary-entry, insert-yearly-diary-entry):
Use diary-insert-entry-1.
(insert-anniversary-diary-entry, insert-block-diary-entry)
(insert-cyclic-diary-entry): Use diary-date-display-form.
2008-03-29 02:44:24 +00:00
Glenn Morris
8266a036d7 (diary-file, american-date-diary-pattern)
(european-date-diary-pattern,european-calendar-display-form)
(american-calendar-display-form, diary-display-hook): Doc fixes.
(european-calendar-style): Doc fix.  Use calendar-set-date-style for
custom :set.  Mark as obsolete.
(calendar-date-style, iso-date-diary-pattern)
(iso-calendar-display-form): New user variables.
(diary-date-forms, calendar-date-display-form): Set using
calendar-date-style.  Doc fix.
(calendar-set-date-style): New command.
(european-calendar, american-calendar): Use calendar-set-date-style.
Mark as obsolete.
2008-03-29 02:44:03 +00:00
Glenn Morris
41099a1bea Autoload diary-insert-entry-1.
(insert-islamic-diary-entry, insert-monthly-islamic-diary-entry)
(insert-yearly-islamic-diary-entry): Use diary-insert-entry-1.
2008-03-29 02:43:32 +00:00
Glenn Morris
8743fe88ed Autoload diary-insert-entry-1.
(diary-bahai-insert-entry, diary-bahai-insert-monthly-entry)
(diary-bahai-insert-yearly-entry): Use diary-insert-entry-1.
2008-03-29 02:42:52 +00:00
Glenn Morris
1baf9da41e (print-diary-entries-hook, diary-list-entries): Doc fixes.
(abbreviated-calendar-year): Move here from calendar.el.  Doc fix.
(diary-header-line-flag, diary-header-line-format): Declare.
(diary-pull-attrs): Check for multiple matches.
(diary-list-entries-2): Simplify finding start of date.
(diary-show-all-entries, make-diary-entry): Respect non-nil values of
pop-up-frames.
(diary-mark-entries-1): Re-use offset in abbreviated-year case.
(mark-sexp-diary-entries): Remove superfluous call to diary-pull-attrs.
2008-03-28 02:47:59 +00:00
Glenn Morris
db257f5684 (abbreviated-calendar-year): Move to diary-lib. 2008-03-28 02:46:13 +00:00
Glenn Morris
3e0e034bb5 (calendar-cursor-to-nearest-date): Remove un-needed local `date'.
(calendar-cursor-to-visible-date): Use let rather than let*.
Remove un-needed local `first-of-month-weekday'.
2008-03-28 02:45:58 +00:00
Glenn Morris
fdbe82c9af (cal-menu-holidays-menu, cal-menu-list-holidays-year)
(cal-menu-list-holidays-following-year, cal-menu-list-holidays-previous-year):
Simplify now that 2nd arg of holiday-list is optional.
(calendar-mouse-holidays): Remove un-needed local `l'.
2008-03-28 02:45:39 +00:00
Glenn Morris
8b00ec890c (diary-mail-entries): Doc fix. 2008-03-27 08:26:17 +00:00
Glenn Morris
f97492e58e (list-holidays): Doc fix. 2008-03-27 07:59:33 +00:00
Glenn Morris
54f638111e (list-sexp-diary-entries): Doc fix. 2008-03-27 07:58:31 +00:00
Glenn Morris
739d627a47 (diary-file): Doc fix. 2008-03-27 07:28:24 +00:00
Glenn Morris
566f5ae682 (diary-mark-entries-1): Fix position offsets in non-gregorian case. 2008-03-27 06:19:47 +00:00
Glenn Morris
78d2cbe156 (diary-face-attrs): Revert previous change to `weight' type. Fix
`height' regexp.
2008-03-27 06:12:25 +00:00