1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-05 08:53:45 +00:00
Commit Graph

1444 Commits

Author SHA1 Message Date
Glenn Morris
c4d6826bd8 (diary-list-sexp-entries): Doc update. 2008-06-27 00:35:08 +00:00
Glenn Morris
77bc20eec6 (calendar-mode-map): Update for name change. 2008-06-27 00:33:42 +00:00
Glenn Morris
273fcc9bb0 (calendar-lunar-phases): Rename from calendar-phases-of-moon. Keep
old name as alias, update callers.
(lunar-phases): Rename from phases-of-moon.  Keep old name as alias.
(diary-lunar-phases): Rename from diary-phases-of-moon.  Keep old name as alias.
2008-06-27 00:33:29 +00:00
Glenn Morris
6e73a6a2c1 (solar-sunrises-buffer): New constant.
(calendar-mode-map): Use cal-menu-sunmoon-menu.
(calendar-buffer-list): Add solar-sunrises-buffer.
2008-06-26 22:30:01 +00:00
Glenn Morris
70e420e303 (cal-menu-sunmoon-menu): Rename from cal-menu-moon-menu. Add
calendar-sunrise-sunset-month.
(cal-menu-global-mouse-menu): Add calendar-sunrise-sunset-month.

(cal-menu-goto-menu): Tweak menu name.
2008-06-26 22:29:15 +00:00
Glenn Morris
5c4e164108 (solar-sunrise-sunset-string): Add optional argument `nolocation'.
(calendar-sunrise-sunset-month): New function.
2008-06-26 22:28:24 +00:00
Glenn Morris
7ec4149077 (calendar-check-holidays): Declare rather than autoloading.
(diary-show-holidays-flag): Remove unneeded declaration.
2008-06-26 07:16:38 +00:00
Glenn Morris
2b11fcd531 (calendar-cursor-to-date): Handle case where event-start is nil. 2008-06-26 07:08:01 +00:00
Glenn Morris
2eff62d6fa (cal-menu-moon-menu): Add sunrise/sunset. 2008-06-26 07:06:27 +00:00
Glenn Morris
5cbaccfe92 (calendar-intermonth-header, calendar-intermonth-text): Move earlier in file.
(calendar-print-other-dates): Store result of calendar-other-dates.
2008-06-26 06:57:29 +00:00
Glenn Morris
8da2243fe5 (cal-menu-context-mouse-menu): Add some :keys. 2008-06-26 05:02:04 +00:00
Glenn Morris
3b7de42e67 (calendar-cursor-holidays): Handle mouse events. 2008-06-26 04:54:37 +00:00
Glenn Morris
cb9069371d (calendar-mouse-holidays): Remove function.
(cal-menu-context-mouse-menu): Use calendar-cursor-holidays.
2008-06-26 04:54:12 +00:00
Glenn Morris
e889393b2e (calendar-iso-from-absolute): Add autoload cookie. 2008-06-26 03:43:18 +00:00
Glenn Morris
0fa9d7e26c (cal-menu-moon-menu, cal-menu-diary-menu, cal-menu-holidays-menu)
(cal-menu-goto-menu, cal-menu-scroll-menu): Add doc strings.

(calendar-mouse-print-dates): Remove function.
(cal-menu-context-mouse-menu): Use calendar-print-other-dates.
2008-06-26 03:42:12 +00:00
Glenn Morris
fb6be44abc (calendar-cursor-to-nearest-date): Use calendar-column-to-segment,
calendar-month-edges, and the 'date property to handle intermonth text.
2008-06-26 03:41:38 +00:00
Glenn Morris
b1c172fe60 (calendar-date-echo-text): Doc fix. Add default :value for sexp type.
(calendar-month-edges): New variable.
(calendar-month-edges): New function.
(calendar-recompute-layout-variables): Set calendar-month-edges.
(calendar-intermonth-header, calendar-intermonth-text): New options.
(calendar-insert-at-column): New function.
(calendar-generate-month): Use calendar-insert-at-column.
Handle intermonth text.  Add 'date property.
(calendar-column-to-month): Remove function.
(calendar-column-to-segment): New function.
(calendar-cursor-to-date): Use calendar-column-to-segment. Check 'date property.

(calendar-print-other-dates): Handle mouse events.
2008-06-26 03:41:20 +00:00
Glenn Morris
3eee90de6e (calendar-forward-day): Scroll in one month increments.
(calendar-cursor-to-nearest-date): Use layout variables.
Use calendar-column-to-month.
(calendar-cursor-to-visible-date): Use layout variables.
2008-06-21 19:28:58 +00:00
Glenn Morris
0c74d40b02 Factor out the magic numbers controlling the calendar layout.
(calendar-month-digit-width, calendar-month-width)
(calendar-right-margin): New variables.
(calendar-recompute-layout-variables, calendar-set-layout-variable):
New functions.
(calendar-left-margin, calendar-intermonth-spacing)
(calendar-column-width, calendar-day-header-width)
(calendar-day-digit-width): New options.
(calendar-first-date-row): New constant.
(calendar-move-to-column, calendar-ensure-newline): New functions,
replacing calendar-insert-indented.
(calendar-insert-indented): Remove function.
(calendar-generate-month): Use calendar-move-to-column and
calendar-ensure-newline.  Use layout variables.
(calendar-generate, calendar-update-mode-line)
(calendar-font-lock-keywords): Use layout variables.
(calendar-column-to-month): New function.
(calendar-cursor-to-date): Use calendar-column-to-month.
Use layout variables.
2008-06-21 19:28:09 +00:00
Glenn Morris
df59aa7bc8 (cal-menu-holidays-menu): Use calendar-cursor-holidays rather than
cal-menu-today-holidays.
(cal-menu-today-holidays): Remove function.

(cal-menu-holiday-window-suffix): Simplify.
(cal-menu-list-holidays-year, cal-menu-list-holidays-following-year)
(cal-menu-list-holidays-previous-year, calendar-mouse-goto-date):
Remove unused functions.
(calendar-mouse-view-diary-entries): Use format rather than concat.

(cal-menu-x-popup-menu): Turn it into a macro.
(calendar-mouse-holidays, calendar-mouse-view-diary-entries)
(calendar-mouse-print-dates): Adapt for cal-menu-x-popup-menu change.

(cal-menu-event-to-date): Remove function.
(calendar-mouse-holidays, calendar-mouse-view-diary-entries)
(calendar-mouse-view-other-diary-entries, calendar-mouse-print-dates)
(cal-menu-set-date-title): Use calendar-cursor-to-date rather than
cal-menu-event-to-date.

(calendar-mouse-tex-day, calendar-mouse-tex-week, calendar-mouse-tex-week2)
(calendar-mouse-tex-week-iso, calendar-mouse-tex-week-monday)
(calendar-mouse-tex-filofax-daily, calendar-mouse-tex-filofax-2week)
(calendar-mouse-tex-filofax-week, calendar-mouse-tex-month)
(calendar-mouse-tex-month-landscape, calendar-mouse-tex-year)
(calendar-mouse-tex-filofax-year, calendar-mouse-tex-year-landscape):
Remove functions.
(cal-menu-context-mouse-menu): Replace the above functions with the
cal-tex versions.  Add HTML submenu.
2008-06-18 02:56:39 +00:00
Glenn Morris
f1eb28f2ab (calendar-cursor-holidays): Accept optional date. 2008-06-18 02:55:32 +00:00
Glenn Morris
ed6c573784 (cal-tex-cursor-year)
(cal-tex-cursor-year-landscape, cal-tex-cursor-filofax-year)
(cal-tex-cursor-month-landscape, cal-tex-cursor-month)
(cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
(cal-tex-cursor-week-monday, cal-tex-cursor-filofax-2week)
(cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily)
(cal-tex-cursor-day): Handle mouse events.  Rename ARG to N.
(cal-tex-cursor-month): Mark N as optional.
2008-06-18 02:55:13 +00:00
Glenn Morris
b40f3832e9 (cal-html-cursor-month, cal-html-cursor-year): Handle mouse events. 2008-06-18 02:54:40 +00:00
Stefan Monnier
10979c7466 * calendar/calendar.el (calendar-cursor-to-date): Add argument `event'.
(calendar-set-mark):
* calendar/diary-lib.el (diary-insert-entry):
* calendar/solar.el (calendar-sunrise-sunset): Use it.
* calendar/cal-menu.el (calendar-mouse-sunrise/sunset)
(calendar-mouse-insert-diary-entry, calendar-mouse-set-mark): Delete.
(cal-menu-context-mouse-menu): Use calendar-set-mark, diary-insert-entry,
and calendar-sunrise-sunset instead, to get proper key-shortcuts.
2008-06-17 15:42:19 +00:00
Glenn Morris
bb715837d8 (calendar-move-hook):Add calendar-update-mode-line as an option.
(calendar-date-echo-text): New user option.
(calendar-generate-month): Set `day'.  Use calendar-date-echo-text.
(calendar-insert-indented): Simplify newline insertion.
(calendar-describe-mode): Remove unused function.
(calendar-mode-line-entry): New function.
(calendar-mode-line-format): Doc fix.  Use calendar-mode-line-entry.
Mark as risky.
(calendar-mouse-other-month): Remove function.
(calendar-other-month): Handle mouse events.
(calendar-goto-info-node): Call fit-window-to-buffer.
(calendar-mode): Use define-derived-mode.  Doc fix.
(calendar-update-mode-line): Tweak whitespace.
2008-06-17 05:56:48 +00:00
Glenn Morris
ac14560041 (diary-list-entries-2): Accept optional Gregorian date, and add it,
not the local date, to diary-entries-list.
(diary-list-entries-1): Pass Gregorian date to diary-list-entries-2.
2008-06-11 02:57:35 +00:00
Glenn Morris
20246a8587 Fix commentary typo. 2008-06-10 03:12:26 +00:00
Glenn Morris
a02717ccd4 (calendar-mouse-view-diary-entries): Use LIST-ONLY argument of
diary-list-entries rather than setting diary-display-hook.
2008-05-30 02:59:21 +00:00
Glenn Morris
75c7218046 (cal-tex-list-diary-entries): Use LIST-ONLY argument of
diary-list-entries rather than setting diary-display-hook.
2008-05-30 02:58:50 +00:00
Glenn Morris
fb696168dc (cal-html-list-diary-entries): Use LIST-ONLY argument of
diary-list-entries rather than setting diary-display-hook.
2008-05-30 02:58:33 +00:00
Glenn Morris
f082900a2b (calendar-dedicate-diary): Update for diary-display-function replacing
diary-display-hook.
2008-05-30 02:58:01 +00:00
Glenn Morris
0f9aa26a45 (appt-check): Use diary-display-function rather than diary-display-hook. 2008-05-30 02:57:43 +00:00
Glenn Morris
f8c8f32b3d (diary-display-function): New name for diary-display-hook. Keep old
name as obsolete alias.  Doc fix.  Change custom type and version.
(diary-list-entries-hook, diary-list-entries, diary-simple-display)
(diary-fancy-display): Doc fixes.
(diary-list-entries, diary-include-other-diary-files, diary-mail-entries):
Use diary-display-function rather than diary-display-hook.
2008-05-30 02:57:27 +00:00
Chong Yidong
3b738106ab (parse-time-months, parse-time-weekdays): Add long-form month and day names. 2008-05-27 03:47:27 +00:00
Glenn Morris
b4cb42a4d8 (diary-ordinal-suffix): Declare for compiler. 2008-05-26 01:27:45 +00:00
Glenn Morris
4980d28f5a Ed Reingold <reingold at emr.cs.iit.edu>
(diary-hebrew-yahrzeit): Use diary-ordinal-suffix.
2008-05-25 20:09:23 +00:00
Glenn Morris
0fc438b827 Ulf Jasper <ulf.jasper at web.de>
(icalendar-version): Increase to "0.19".
(icalendar--date-style): New function.
(icalendar--datetime-to-diary-date): Doc fix.  Use icalendar--date-style.
(icalendar--datestring-to-isodate): Doc fix.  Handle iso date style.
(icalendar--convert-yearly-to-ical):
(icalendar--convert-recurring-to-diary): Handle iso date style,
use icalendar-date-style.
2008-05-24 02:26:06 +00:00
Glenn Morris
2ed665755b Switch to recommended form of GPLv3 permissions notice. 2008-05-06 03:07:58 +00:00
Glenn Morris
5d595461b4 (holiday-float): Doc fix. 2008-04-29 03:35:08 +00:00
Glenn Morris
a478b7bc2f (diary-list-sexp-entries, diary-float): Doc fix. 2008-04-29 03:34:40 +00:00
Glenn Morris
e705756857 (calendar-nth-named-absday, calendar-nth-named-day): Doc fix. 2008-04-29 03:34:17 +00:00
Glenn Morris
378d60452f (cal-menu-diary-menu): Fix typo.
(cal-menu-scroll-menu): Use commands rather than key macros, which don't
work with easymenu.  Add :keys where needed.
2008-04-24 05:44:38 +00:00
Glenn Morris
b2cbe2af53 (calendar-scroll-left): Handle case when event-start is nil. 2008-04-24 05:43:27 +00:00
Glenn Morris
f971f8bc3a (calendar-mode-map): Fix typo. 2008-04-24 05:42:47 +00:00
Miles Bader
9268294b0f Add .arch-inventory files in lisp/calc and lisp/calendar
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1123
2008-04-23 08:54:31 +00:00
Glenn Morris
32b3f9e3b8 (calendar-other-dates): Revert previous change; absolute-date was
already there (as "RD" date).
2008-04-23 03:27:13 +00:00
Glenn Morris
968560df8d (diary-list-sexp-entries): Doc fix.
(diary-remind): Allow negative DAYS to represent a range 1:DAYS.
Suggested by Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>.
2008-04-23 03:06:11 +00:00
Glenn Morris
418c2f01e1 (holiday-chinese-qingming, holiday-chinese-winter-solstice)
(holiday-chinese): New functions.
2008-04-23 03:03:43 +00:00
Glenn Morris
43c783b89a (holiday-oriental-holidays): Add more holidays. 2008-04-23 03:00:29 +00:00
Glenn Morris
7717093cb5 (calendar-chinese-all-holidays-flag): New.
(calendar-other-dates): Add absolute date.
2008-04-23 02:59:47 +00:00
Glenn Morris
b36917033f (holiday-islamic): Doc fix. 2008-04-23 02:59:15 +00:00
Glenn Morris
a588d34915 (diary-remind): Don't clobber `date' passed by diary-sexp-entry. 2008-04-16 03:24:06 +00:00
Glenn Morris
1a9f2b775e Move non-autoloaded define-obsolete-variable-alias calls for
defcustoms not in dumped files before the associated defcustom.
2008-04-12 03:12:29 +00:00
Glenn Morris
6a979a50dc (diary-face, diary-anniversary, diary-time, diary-button): Doc fix.
Move to calendar-faces group.
Move non-autoloaded define-obsolete-variable-alias calls for
defcustoms not in dumped files before the associated defcustom.
2008-04-12 03:11:49 +00:00
Glenn Morris
1f1e454ef7 (calendar-faces): New custom group.
(calendar-today, diary, holiday): Doc fix.  Move to calendar-faces group.
Move non-autoloaded define-obsolete-variable-alias calls for
defcustoms not in dumped files before the associated defcustom.
2008-04-12 03:11:03 +00:00
Glenn Morris
8474aac189 (chinese-calendar-time-zone): Mark obsolete name as risky too.
Move non-autoloaded define-obsolete-variable-alias calls for
defcustoms not in dumped files before the associated defcustom.
2008-04-12 03:10:37 +00:00
Glenn Morris
d463476b15 (holidays): Move custom groups here from calendar.el.
(holiday-general-holidays, holiday-oriental-holidays)
(holiday-local-holidays, holiday-other-holidays, hebrew-holidays-1)
(hebrew-holidays-2, hebrew-holidays-3, hebrew-holidays-4)
(holiday-hebrew-holidays, holiday-christian-holidays)
(holiday-islamic-holidays, holiday-bahai-holidays)
(holiday-solar-holidays, calendar-holidays): Move here from calendar.el.
2008-04-11 03:49:39 +00:00
Glenn Morris
b106af42c3 (diary, holidays): Move custom groups to other files.
(holiday-general-holidays, holiday-oriental-holidays)
(holiday-local-holidays, holiday-other-holidays, hebrew-holidays-1)
(hebrew-holidays-2, hebrew-holidays-3, hebrew-holidays-4)
(holiday-hebrew-holidays, holiday-christian-holidays)
(holiday-islamic-holidays, holiday-bahai-holidays)
(holiday-solar-holidays, calendar-holidays): Move to holidays.el.
2008-04-11 03:47:38 +00:00
Glenn Morris
fe5ffe0b84 Move custom group here from calendar.el. 2008-04-11 03:46:35 +00:00
Glenn Morris
712f117bfd (calendar-chinese-time-zone): Mark as risky. 2008-04-11 03:45:26 +00:00
Glenn Morris
906c1e930c (cal-tex-preamble-extra): Fix custom type. 2008-04-11 03:44:38 +00:00
Glenn Morris
76db882349 (calendar-dst-check-each-year-flag): Fix custom group.
(calendar-current-time-zone-cache): Autoload riskiness.
2008-04-11 03:43:55 +00:00
Stefan Monnier
cbee283dd7 Fix up comment convention on the arch-tag lines. 2008-04-10 14:10:46 +00:00
Glenn Morris
6e81a223a4 (diary-mark-sexp-entries): Fix replacement of calendar-for-loop. 2008-04-10 05:20:15 +00:00
Glenn Morris
66d20000c5 (diary-hook, diary-display-hook): Move here from calendar.el.
(diary-hook): Doc fix.
2008-04-10 03:45:26 +00:00
Glenn Morris
724a25b25e (diary-display-hook): Declare for compiler. 2008-04-10 03:44:19 +00:00
Glenn Morris
467f174b22 Require diary-lib rather than calendar.
(appt): Add :prefix.
2008-04-10 03:43:52 +00:00
Glenn Morris
1244fe3919 (calendar, diary): Add :prefix.
(holidays): Change :prefix.
(calendar-today, holiday, calendar-holiday-marker, european-calendar-style):
Change custom groups.

(diary-hook, diary-display-hook): Move to diary-lib.el.
2008-04-10 03:41:41 +00:00
Glenn Morris
0e7d8edb32 (diary-file, european-calendar-style): Remove autoload cookies. 2008-04-09 07:15:21 +00:00
Stefan Monnier
4e740fd0e3 (calendar-hebrew-list-yahrzeits): Typo. 2008-04-08 18:21:19 +00:00
Glenn Morris
aa2d26b396 (calendar-date-style): Remove autoload cookie. 2008-04-08 07:31:13 +00:00
Glenn Morris
d92bcf94ec Replace int-to-string with number-to-string. 2008-04-08 07:08:24 +00:00
Glenn Morris
0e408f0cc5 (cal-menu-event-to-date): Rename calendar-event-to-date. Update callers.
(calendar-mouse-tex-day): Rename cal-tex-mouse-day.
(calendar-mouse-tex-week): Rename cal-tex-mouse-week.
(calendar-mouse-tex-week2): Rename cal-tex-mouse-week2.
(calendar-mouse-tex-week-iso): Rename cal-tex-mouse-week-iso.
(calendar-mouse-tex-week-monday): Rename cal-tex-mouse-week-monday.
(calendar-mouse-tex-filofax-daily): Rename cal-tex-mouse-filofax-daily.
(calendar-mouse-tex-filofax-2week): Rename cal-tex-mouse-filofax-2week.
(calendar-mouse-tex-filofax-week): Rename cal-tex-mouse-filofax-week.
(calendar-mouse-tex-month): Rename cal-tex-mouse-month.
(calendar-mouse-tex-month-landscape): Rename cal-tex-mouse-month-landscape.
(calendar-mouse-tex-year): Rename cal-tex-mouse-year.
(calendar-mouse-tex-filofax-year): Rename cal-tex-mouse-filofax-year.
(calendar-mouse-tex-year-landscape): Rename cal-tex-mouse-year-landscape.
(cal-menu-context-mouse-menu): Update for above name changes.
2008-04-08 07:04:17 +00:00
Glenn Morris
763f360c0c (calendar-mode-map): Replace use of kbd. 2008-04-07 07:25:40 +00:00
Glenn Morris
e803eab777 Update for calendar.el name changes. 2008-04-07 01:59:37 +00:00
Glenn Morris
1b73d7f379 (diary-view-entries-initially-flag): Rename view-diary-entries-initially.
Keep old name as alias, update users.
(calendar-mark-diary-entries-flag): Rename mark-diary-entries-in-calendar.
Keep old name as alias, update users.
(calendar-view-holidays-initially-flag): Rename
view-calendar-holidays-initially.  Keep old name as alias, update users.
(calendar-mark-holidays-flag): Rename mark-holidays-in-calendar.
Keep old name as alias, update users.
(calendar-initial-window-hook): Rename initial-calendar-window-hook.
Keep old name as alias, update users.
(calendar-today-visible-hook): Rename today-visible-calendar-hook.
Keep old name as alias, update users.
(calendar-today-invisible-hook): Rename today-invisible-calendar-hook.
Keep old name as alias, update users.
(diary-iso-date-forms): Rename iso-date-diary-pattern.  Update users.
(diary-american-date-forms): Rename american-date-diary-pattern.
Keep old name as alias, update users.
(diary-european-date-forms): Rename european-date-diary-pattern.
Keep old name as alias, update users.
(calendar-iso-date-display-form): Rename iso-calendar-display-form.
Keep old name as alias, update users.
(calendar-european-date-display-form): Rename european-calendar-display-form.
Keep old name as alias, update users.
(calendar-american-date-display-form): Rename european-calendar-display-form.
Keep old name as alias, update users.
(diary-show-holidays-flag): Rename holidays-in-diary-buffer.
Keep old name as alias, update users.
(holiday-general-holidays): Rename general-holidays.  Keep old name as alias,
update users.
(holiday-oriental-holidays): Rename oriental-holidays.  Keep old name as alias,
update users.
(holiday-local-holidays): Rename local-holidays.  Keep old name as alias,
update users.
(holiday-other-holidays): Rename other-holidays.  Keep old name as alias,
update users.
(holiday-hebrew-holidays): Rename hebrew-holidays.  Keep old name as alias,
update users.
(holiday-christian-holidays): Rename christian-holidays.
Keep old name as alias, update users.
(holiday-islamic-holidays): Rename islamic-holidays.  Keep old name as alias,
update users.
(holiday-bahai-holidays): Rename bahai-holidays.  Keep old name as alias,
update users.
(holiday-solar-holidays): Rename solar-holidays.  Keep old name as alias,
update users.
(diary-fancy-buffer): Rename fancy-diary-buffer.  Keep old name as alias,
update users.
(calendar-other-calendars-buffer): Rename other-calendars-buffer.  Update users.
(calendar-hebrew-yahrzeit-buffer): Rename cal-hebrew-yahrzeit-buffer.
Update users.
(calendar-increment-month): Rename increment-calendar-month.
Keep old name as alias, update callers.
(calendar-increment-month-cons): Rename old calendar-increment-month.
Update callers.
(calendar-extract-month): Rename extract-calendar-month.
Keep old name as alias, update callers
(calendar-extract-day): Rename extract-calendar-day.  Keep old name as alias,
update callers.
(calendar-extract-year): Rename extract-calendar-year.  Keep old name as alias,
update callers.
(calendar-generate-window): Rename generate-calendar-window.  Update callers.
(calendar-generate): Rename generate-calendar.  Update callers.
(calendar-generate-month): Rename generate-calendar-month.  Update callers.
(calendar-redraw): Rename redraw-calendar.  Update callers.
(calendar-describe-mode): Rename describe-calendar-mode.  Update uses.
(calendar-mouse-other-month): Rename mouse-calendar-other-month.
Update callers.
(calendar-update-mode-line): Rename update-calendar-mode-line.  Update callers.
(calendar-exit): Rename exit-calendar.  Keep old name as alias, update callers.
(calendar-mark-visible-date): Rename mark-visible-calendar-date.
Keep old name as alias, update callers.
2008-04-07 01:58:55 +00:00
Glenn Morris
9ee4e58104 Update for diary-lib name changes. 2008-04-06 20:54:25 +00:00
Glenn Morris
efe9409ae0 (diary-sexp-entry-symbol): Rename sexp-diary-entry-symbol.
Keep old name as alias, update users.
(diary-list-entries-hook): Rename list-diary-entries-hook.
Keep old name as alias, update users.
(diary-mark-entries-hook): Rename mark-diary-entries-hook.
Keep old name as alias, update users.
(diary-nongregorian-listing-hook): Rename nongregorian-diary-listing-hook.
Keep old name as alias, update users.
(diary-nongregorian-marking-hook): Rename nongregorian-diary-marking-hook.
Keep old name as alias, update users.
(diary-print-entries-hook): Rename print-diary-entries-hook.
Keep old name as alias, update users.
(diary-abbreviated-year-flag): Rename abbreviated-calendar-year.
Keep old name as alias, update users.
(diary-number-of-entries): Rename number-of-diary-entries.
Keep old name as alias, update users.
(view-diary-entries, list-diary-entries, show-all-diary-entries):
Give version of obsolescence.
(diary-view-other-diary-entries): Rename view-other-diary-entries.
Keep old name as alias, update callers.
(diary-add-to-list): Rename add-to-diary-list.  Keep old name as alias,
update callers.
(diary-include-other-diary-files): Rename include-other-diary-files.
Keep old name as alias, update callers.
(diary-simple-display): Rename simple-diary-display.  Keep old name as alias,
update callers.
(diary-fancy-display): Rename fancy-diary-display.  Keep old name as alias,
update callers.
(diary-print-entries): Rename print-diary-entries.  Keep old name as alias,
update callers.
(diary-marking-entries-flag): Rename marking-diary-entries.  Update users.
(diary-marking-entry-flag): Rename marking-diary-entry.  Update users.
(diary-mark-entries): Rename mark-diary-entries.  Keep old name as alias,
update callers.
(diary-mark-sexp-entries): Rename mark-sexp-diary-entries.
Keep old name as alias, update callers.
(diary-mark-included-diary-files): Rename mark-included-diary-files.
Keep old name as alias, update callers.
(calendar-mark-days-named): Rename mark-calendar-days-named.
Keep old name as alias, update callers.
(calendar-mark-month): Rename mark-calendar-month.  Keep old name as alias,
update callers.
(calendar-mark-date-pattern): Rename mark-calendar-date-pattern.
Keep old name as alias, update callers.
(diary-sort-entries): Rename sort-diary-entries.  Keep old name as alias,
update callers.
(diary-list-sexp-entries): Rename list-sexp-diary-entries.
Keep old name as alias, update callers.
(diary-make-entry): Rename make-diary-entry.  Keep old name as alias,
update callers.
(diary-insert-entry): Rename insert-diary-entry.  Keep old name as alias.
(diary-insert-weekly-entry): Rename insert-weekly-diary-entry.
Keep old name as alias.
(diary-insert-monthly-entry): Rename insert-monthly-diary-entry.
Keep old name as alias.
(diary-insert-yearly-entry): Rename insert-yearly-diary-entry.
Keep old name as alias.
(diary-insert-anniversary-entry): Rename insert-anniversary-diary-entry.
Keep old name as alias.
(diary-insert-block-entry): Rename insert-block-diary-entry.
Keep old name as alias.
(diary-insert-cyclic-entry): Rename insert-cyclic-diary-entry.
Keep old name as alias.
(diary-fancy-font-lock-keywords): Rename fancy-diary-font-lock-keywords.
Keep old name as alias, update users.
(diary-fancy-display-mode): Rename fancy-diary-display-mode.
Keep old name as alias, update callers.
2008-04-06 20:53:14 +00:00
Glenn Morris
8c34d83efa Comment. 2008-04-06 20:49:40 +00:00
Glenn Morris
d347df4fae (diary-hebrew-sabbath-candles): Simplify. 2008-04-05 21:28:43 +00:00
Glenn Morris
a9df811d97 (list-sexp-diary-entries): Update doc for rename. 2008-04-05 21:25:45 +00:00
Glenn Morris
87e1e9cdfa (diary-hebrew-sabbath-candles-minutes, diary-hebrew-sabbath-candles):
Move here from solar.el and rename.  Doc fix.  Keep old name as alias.
(solar-setup, solar-sunrise-sunset, calendar-latitude)
(calendar-longitude, calendar-time-zone): Declare for compiler.
2008-04-05 21:24:15 +00:00
Glenn Morris
97f35570ad (diary-sabbath-candles-minutes, diary-sabbath-candles): Move to cal-hebrew. 2008-04-05 21:23:43 +00:00
Glenn Morris
7e25454801 Update for chinese and hebrew name changes. 2008-04-05 20:59:44 +00:00
Glenn Morris
192e3e2047 Update for hebrew name changes. 2008-04-05 20:58:26 +00:00
Glenn Morris
0a83799410 Update for chinese and hebrew name changes. 2008-04-05 20:58:10 +00:00
Glenn Morris
0b41781b4b (calendar-chinese): Rename custom group from chinese-calendar. Update users.
(calendar-chinese-time-zone): Rename chinese-calendar-time-zone.
Keep old name as alias, update users.
(calendar-chinese-location-name): Rename chinese-calendar-location-name.
Keep old name as alias.
(calendar-chinese-daylight-time-offset):
Rename chinese-calendar-daylight-time-offset.  Keep old name as alias,
update users.
(calendar-chinese-standard-time-zone-name):
Rename chinese-calendar-standard-time-zone-name.
Keep old name as alias, update users.
(calendar-chinese-daylight-saving-start):
Rename chinese-calendar-daylight-savings-starts.
Keep old name as alias, update users.
(calendar-chinese-daylight-saving-end):
Rename chinese-calendar-daylight-savings-ends.  Keep old name as alias,
update users.
(calendar-chinese-daylight-saving-start-time):
Rename chinese-calendar-daylight-savings-starts-time.
Keep old name as alias, update users.
(calendar-chinese-daylight-saving-end-time):
Rename chinese-calendar-daylight-savings-ends-time.
Keep old name as alias, update users.
(calendar-chinese-celestial-stem): Rename
calendar-chinese-celestial-stem.  Keep old name as alias, update users.
(calendar-chinese-terrestrial-branch):
Rename calendar-chinese-terrestrial-branch.  Keep old name as alias,
update users.
(calendar-chinese-zodiac-sign-on-or-after):
Rename chinese-zodiac-sign-on-or-after.  Update callers.
(calendar-chinese-new-moon-on-or-after): Rename chinese-new-moon-on-or-after.
Update callers.
(calendar-chinese-month-list): Rename chinese-month-list.  Update callers.
(calendar-chinese-number-months): Rename number-chinese-months.  Update callers.
(calendar-chinese-compute-year): Rename compute-chinese-year.  Update callers.
(calendar-chinese-year-cache): Rename chinese-year-cache.  Update users.
(calendar-chinese-year): Rename chinese-year.  Update callers.
(calendar-chinese-year-cache-init): Rename chinese-year-cache-init.
(calendar-chinese-to-absolute): Rename calendar-absolute-from-chinese.
Keep old name as alias, update callers.
(calendar-chinese-print-date): Rename calendar-print-chinese-date.
Keep old name as alias, update callers.
(calendar-chinese-months-to-alist): Rename make-chinese-month-assoc-list.
Update callers.
(calendar-chinese-months): Rename chinese-months.  Update callers.
(calendar-chinese-goto-date): Rename calendar-goto-chinese-date.
Keep old name as alias, update callers.
2008-04-05 20:57:47 +00:00
Glenn Morris
8fc9e5a0c3 (calendar-hebrew-leap-year-p): Rename hebrew-calendar-leap-year-p.
Update callers.
(calendar-hebrew-last-month-of-year): Rename hebrew-calendar-last-month-of-year.
Update callers.
(calendar-hebrew-elapsed-days): Rename hebrew-calendar-elapsed-days.
Update callers.
(calendar-hebrew-days-in-year): Rename hebrew-calendar-days-in-year.
Update callers.
(calendar-hebrew-long-heshvan-p): Rename hebrew-calendar-long-heshvan-p.
Update callers.
(calendar-hebrew-short-kislev-p): Rename hebrew-calendar-short-kislev-p.
Update callers.
(calendar-hebrew-last-day-of-month): Rename hebrew-calendar-last-day-of-month.
Update callers.
(calendar-hebrew-to-absolute): Rename calendar-absolute-from-hebrew.
Keep old name as alias, update callers.
(calendar-hebrew-print-date): Rename calendar-print-hebrew-date.
Keep old name as alias, update callers.
(calendar-hebrew-yahrzeit): Rename hebrew-calendar-yahrzeit.
Keep old name as alias, update callers.
(calendar-hebrew-goto-date): Rename calendar-goto-hebrew-date.
Keep old name as alias.
(holiday-hebrew-rosh-hashanah): Rename holiday-rosh-hashanah-etc.
Keep old name as alias.
(holiday-hebrew-hanukkah): Rename holiday-hanukkah.  Keep old name as alias.
(holiday-hebrew-passover): Rename holiday-passover-etc.
Keep old name as alias.
(holiday-hebrew-tisha-b-av): Rename holiday-tisha-b-av-etc.
Keep old name as alias, update callers.
(diary-hebrew-list-entries): Rename list-hebrew-diary-entries.
Keep old name as alias.
(calendar-hebrew-mark-date-pattern): Rename mark-hebrew-calendar-date-pattern.
Keep old name as alias, update callers.
(diary-hebrew-mark-entries): Rename mark-hebrew-diary-entries.
Keep old name as alias.
(diary-hebrew-insert-entry): Rename insert-hebrew-diary-entry.
Keep old name as alias.
(diary-hebrew-insert-monthly-entry): Rename insert-monthly-hebrew-diary-entry.
Keep old name as alias.
(diary-hebrew-insert-yearly-entry): Rename insert-yearly-hebrew-diary-entry.
Keep old name as alias.
(calender-hebrew-list-yahrzeits): Rename list-yahrzeit-dates.
Keep old name as alias.
(diary-hebrew-omer): Rename diary-omer.  Keep old name as alias.
(diary-hebrew-yahrzeit): Rename diary-yahrzeit.  Keep old name as alias.
(diary-hebrew-rosh-hodesh): Rename diary-rosh-hodesh.  Keep old name as alias.
(calendar-hebrew-parashiot-names): Rename hebrew-calendar-parashiot-names.
Update callers.
(calendar-hebrew-parasha-name): Rename hebrew-calendar-parasha-name.
(calendar-hebrew-year-Saturday-incomplete-Sunday):
Rename hebrew-calendar-year-Saturday-incomplete-Sunday.
(calendar-hebrew-year-Saturday-complete-Tuesday):
Rename hebrew-calendar-year-Saturday-complete-Tuesday.
(calendar-hebrew-year-Monday-incomplete-Tuesday):
Rename hebrew-calendar-year-Monday-incomplete-Tuesday.
(calendar-hebrew-year-Monday-complete-Thursday):
Rename hebrew-calendar-year-Monday-complete-Thursday.
(calendar-hebrew-year-Tuesday-regular-Thursday):
Rename hebrew-calendar-year-Tuesday-regular-Thursday.
(calendar-hebrew-year-Thursday-regular-Saturday):
Rename hebrew-calendar-year-Thursday-regular-Saturday.
(calendar-hebrew-year-Thursday-complete-Sunday):
Rename hebrew-calendar-year-Thursday-complete-Sunday.
(calendar-hebrew-year-Saturday-incomplete-Tuesday):
Rename hebrew-calendar-year-Saturday-incomplete-Tuesday.
(calendar-hebrew-year-Saturday-complete-Thursday):
Rename hebrew-calendar-year-Saturday-complete-Thursday.
(calendar-hebrew-year-Monday-incomplete-Thursday):
Rename hebrew-calendar-year-Monday-incomplete-Thursday.
(calendar-hebrew-year-Monday-complete-Saturday):
Rename hebrew-calendar-year-Monday-complete-Saturday.
(calendar-hebrew-year-Tuesday-regular-Saturday):
Rename hebrew-calendar-year-Tuesday-regular-Saturday.
(calendar-hebrew-year-Thursday-incomplete-Sunday):
Rename hebrew-calendar-year-Thursday-incomplete-Sunday.
(calendar-hebrew-year-Thursday-complete-Tuesday):
Rename hebrew-calendar-year-Thursday-complete-Tuesday.
(diary-hebrew-parasha): Rename diary-parasha.  Keep old name as alias.
Update for above name changes of constants.
2008-04-05 20:55:08 +00:00
Glenn Morris
4f1c166c4a Whitespace. 2008-04-05 20:25:18 +00:00
Glenn Morris
0e96e25f47 Update for rename hebrew-diary-entry-symbol to diary-hebrew-entry-symbol. 2008-04-05 20:21:48 +00:00
Glenn Morris
7f2bc15e1e Update for rename islamic-diary-entry-symbol to diary-islamic-entry-symbol. 2008-04-05 20:21:21 +00:00
Glenn Morris
cdf4a0e812 Update for rename bahai-diary-entry-symbol to diary-bahai-entry-symbol. 2008-04-05 20:21:00 +00:00
Glenn Morris
7cef0cef0c Update for diary-entry-symbol renames. 2008-04-05 20:20:38 +00:00
Glenn Morris
bf41c46cd9 (diary-hebrew-entry-symbol): Rename hebrew-diary-entry-symbol.
Keep old name as alias.
(diary-islamic-entry-symbol): Rename islamic-diary-entry-symbol.
Keep old name as alias.
(diary-bahai-entry-symbol): Rename bahai-diary-entry-symbol.
Keep old name as alias.
(hebrew-holidays-1, hebrew-holidays-2, hebrew-holidays-3)
(hebrew-holidays-4): Don't autoload obsolescence.
2008-04-05 20:20:08 +00:00
Glenn Morris
06bfc9822a Update for coptic and french name changes. 2008-04-05 19:16:40 +00:00
Glenn Morris
d8e55af8b2 (calendar-french-epoch): Rename french-calendar-epoch. Update callers.
(calendar-french-month-name-array): Rename variable and function
french-calendar-month-name-array.  Update callers.
(calendar-french-multibyte-month-name-array): Rename
french-calendar-multibyte-month-name-array.  Update callers.
(calendar-french-day-name-array): Rename variable and function
french-calendar-day-name-array.  Update callers.
(calendar-french-special-days-array): Rename variable and function
french-calendar-special-days-array.  Update callers.
(calendar-french-multibyte-special-days-array): Rename
french-calendar-multibyte-special-days-array.  Update callers.
(calendar-french-accents-p): Rename french-calendar-accents.  Update callers.
(calendar-french-leap-year-p): Rename french-calendar-leap-year-p.
Update callers.
(calendar-french-last-day-of-month): Rename french-calendar-last-day-of-month.
Update callers.
(calendar-french-to-absolute): Rename calendar-absolute-from-french.
Keep old name as alias, update callers.
(calendar-french-print-date): Rename calendar-print-french-date.
Keep old name as alias, update callers.
(calendar-french-goto-date): Rename calendar-goto-french-date.
Keep old name as alias.
2008-04-05 19:14:28 +00:00
Glenn Morris
990121a3f7 (calendar-coptic-month-name-array): Rename coptic-calendar-month-name-array.
Update callers.
(calendar-coptic-epoch): Rename coptic-calendar-epoch.  Update callers.
(calendar-coptic-name): Rename coptic-name.  Update callers.
(calendar-coptic-leap-year-p): Rename coptic-calendar-leap-year-p.
Update callers.
(calendar-coptic-last-day-of-month): Rename coptic-calendar-last-day-of-month.
Update callers.
(calendar-coptic-to-absolute): Rename calendar-absolute-from-coptic.
Keep old name as alias, update callers.
(calendar-coptic-print-date): Rename calendar-print-coptic-date.
Keep old name as alias, update callers.
(calendar-coptic-goto-date): Rename calendar-goto-coptic-date.
Keep old name as alias, update callers.
(calendar-ethiopic-month-name-array): Rename ethiopic-calendar-month-name-array.
Update callers.
(calendar-ethiopic-epoch): Rename ethiopic-calendar-epoch.  Update callers.
(calendar-ethiopic-name): Rename ethiopic-name.  Update callers.
(calendar-ethiopic-to-absolute): Rename calendar-absolute-from-ethiopic.
Keep old name as alias, update callers.
(calendar-ethiopic-print-date): Rename calendar-print-ethiopic-date.
Keep old name as alias, update callers.
(calendar-ethiopic-goto-date): Rename calendar-goto-ethiopic-date.
Keep old name as alias, update callers.
2008-04-05 19:08:04 +00:00
Glenn Morris
94b73aefc4 Require loaddef file rather than loading it. 2008-04-05 18:55:09 +00:00
Glenn Morris
ce28a62838 (calendar-dedicate-diary): Use get-buffer rather than buffer-live-p.
Reported by David Koppelman <koppel@ece.lsu.edu>.
2008-04-05 18:47:34 +00:00
Andreas Schwab
e6fa807c5a (calendar-time-zone-daylight-rules): Reset
new-rules after each round.
2008-04-04 11:43:39 +00:00
Glenn Morris
d80c2c18c1 Update for cal-persia name changes. 2008-04-04 07:37:36 +00:00
Glenn Morris
c2bfc7e393 Update for iso, islamic, julian, mayan, persian name changes. 2008-04-04 07:34:56 +00:00
Glenn Morris
26ce642ac9 Update for islamic name changes. 2008-04-04 07:33:26 +00:00
Glenn Morris
b78b866a56 Update for iso, islamic, julian, mayan, persian name changes. 2008-04-04 07:32:39 +00:00
Glenn Morris
7fa4d82445 (calendar-mayan-long-count-to-absolute): Keep old name as alias. 2008-04-04 07:30:39 +00:00
Glenn Morris
7a6bd764df (calendar-mayan-string-from-long-count): Rename
calendar-string-to-mayan-long-count.  Update callers.
(calendar-mayan-print-date): Rename calendar-print-mayan-date.
Update callers, keep old name as alias.
(calendar-mayan-read-haab-date): Rename calendar-read-mayan-haab-date.
Update callers.
(calendar-mayan-read-tzolkin-date): Rename calendar-read-mayan-tzolkin-date.
Update callers.
(calendar-mayan-next-haab-date): Rename calendar-next-haab-date.
Keep old name as alias.
(calendar-mayan-previous-haab-date): Rename calendar-previous-haab-date.
Keep old name as alias.
(calendar-mayan-next-tzolkin-date): Rename calendar-next-tzolkin-date.
Keep old name as alias.
(calendar-mayan-previous-tzolkin-date): Rename calendar-previous-tzolkin-date.
Keep old name as alias.
(calendar-mayan-next-round-date): Rename calendar-next-calendar-round-date.
Keep old name as alias.
(calendar-mayan-previous-round-date): Rename
calendar-previous-calendar-round-date.  Keep old name as alias.
(calendar-mayan-long-count-to-absolute): Rename
calendar-absolute-from-mayan-long-count.  Keep old name as alias.
(calendar-mayan-goto-long-count-date): Rename
calendar-goto-mayan-long-count-date.  Keep old name as alias.
2008-04-04 07:27:24 +00:00
Glenn Morris
fdc22b389a Update for cal-julian name changes.
(calendar-persian-month-name-array): Rename persian-calendar-month-name-array.
Update callers.
(calendar-persian-epoch): Rename persian-calendar-epoch.  Update callers.
(calendar-persian-leap-year-p): Rename persian-calendar-leap-year-p.
Update callers.
(calendar-persian-last-day-of-month): Rename persian-calendar-last-day-of-month.
Update callers.
(calendar-persian-to-absolute): Rename calendar-absolute-from-persian.
Update callers, keep old name as alias.
(calendar-persian-print-date): Rename calendar-print-persian-date.
Update callers, keep old name as alias.
(calendar-persian-goto-date): Rename calendar-goto-persian-date.
Keep old name as alias.
2008-04-04 07:22:05 +00:00
Glenn Morris
216a3e253c (calendar-iso-to-absolute): Rename calendar-absolute-from-iso.
Update callers, keep old name as alias.
(calendar-iso-print-date): Rename calendar-print-iso-date.
Update callers, keep old name as alias.
(calendar-iso-goto-date): Rename calendar-goto-iso-date.
Keep old name as alias.
(calendar-iso-goto-week): Rename calendar-goto-iso-week.
Keep old name as alias.
2008-04-04 07:14:38 +00:00
Glenn Morris
88c4ca186c Update for cal-julian name changes.
(calendar-islamic-leap-year-p): Rename islamic-calendar-leap-year-p.
Update callers.
(calendar-islamic-last-day-of-month): Rename islamic-calendar-last-day-of-month.
Update callers.
(calendar-islamic-day-number): Rename islamic-calendar-day-number.
Update callers.
(calendar-islamic-to-absolute): Rename calendar-absolute-from-islamic.
Update callers, keep old name as alias.
(calendar-islamic-print-date): Rename calendar-print-islamic-date.
Update callers, keep old name as alias.
(calendar-islamic-goto-date): Rename calendar-goto-islamic-date.
Keep old name as alias.
(diary-islamic-list-entries): Rename list-islamic-diary-entries.
Update callers, keep old name as alias.
(calendar-islamic-mark-date-pattern): Rename mark-islamic-calendar-date-pattern.
Update callers, keep old name as alias.
(diary-islamic-insert-entry): Rename insert-islamic-diary-entry.
Keep old name as alias.
(diary-islamic-insert-monthly-entry): Rename insert-monthly-islamic-diary-entry.
Keep old name as alias.
(diary-islamic-insert-yearly-entry): Rename insert-yearly-islamic-diary-entry.
Keep old name as alias.
2008-04-04 07:12:12 +00:00
Glenn Morris
5c645a20f4 Update for cal-julian name changes. 2008-04-04 07:06:53 +00:00
Glenn Morris
bd773d17f8 (calendar-julian-to-absolute): Rename calendar-absolute-from-julian.
Update callers, keep old name as alias.
(calendar-julian-print-date): Rename calendar-print-julian-date.
Update callers, keep old name as alias.
(calendar-julian-goto-date): Rename calendar-goto-julian-date.
Update callers, keep old name as alias.
(calendar-astro-to-absolute): Rename calendar-absolute-from-astro.
Update callers, keep old name as alias.
(calendar-astro-print-day-number): Rename
calendar-print-astro-day-number.  Update callers, keep old name as alias.
(calendar-astro-goto-day-number): Rename calendar-goto-astro-day-number.
Update callers, keep old name as alias.
2008-04-04 07:04:58 +00:00
Glenn Morris
f22c8bf72c (calendar-bahai-to-absolute): Rename calendar-absolute-from-bahai.
Update callers, keep old name as alias.
2008-04-04 07:00:54 +00:00
Glenn Morris
1c76c939fb Update for calendar.el name changes. 2008-04-04 04:38:58 +00:00
Glenn Morris
c09dffbe5b (calendar-hebrew-all-holidays-flag):
Rename all-hebrew-calendar-holidays.  Update callers, keep old name as alias.
(calendar-christian-all-holidays-flag): Rename
all-christian-calendar-holidays.  Update callers, keep old name as alias.
(calendar-islamic-all-holidays-flag): Rename
all-islamic-calendar-holidays.   Update callers, keep old name as alias.
(calendar-bahai-all-holidays-flag): Rename all-bahai-calendar-holidays.
Update callers, keep old name as alias.
2008-04-04 04:36:54 +00:00
Glenn Morris
fac3dc5bd6 (bahai-holidays): Re-order. 2008-04-03 04:49:18 +00:00
Glenn Morris
d613557fee (calendar-holidays): Doc fix. 2008-04-03 04:41:55 +00:00
Glenn Morris
1dbf633283 (calendar-holiday-list): Fix previous change.
(holiday-filter-visible-calendar): Doc fix.  Use mapcar.
(holiday-easter-etc): Fix nesting of result.  Tweak holiday order.
Use calendar-date-is-visible-p, not holiday-filter-visible-calendar.
2008-04-03 04:10:43 +00:00
Glenn Morris
a51daf969c (hebrew-holidays-1, hebrew-holidays-2, hebrew-holidays-3, hebrew-holidays-4):
Make obsolete.
(hebrew-holidays-2): Just use holiday-hanukkah now it respects
all-hebrew-calendar-holidays.
(hebrew-holidays, christian-holidays, islamic-holidays, bahai-holidays):
Simplify using new functions.
(generate-calendar-window): Use bound-and-true-p.
2008-04-03 04:07:45 +00:00
Glenn Morris
df1c298dbe (holiday-islamic-new-year): New function. 2008-04-03 04:07:01 +00:00
Glenn Morris
f2268dc056 (holiday-rosh-hashanah-etc, holiday-passover-etc, holiday-hanukkah):
Doc fix.  Add optional argument.  Simplify.
(holiday-tisha-b-av-etc): Use memq rather than unless.
(holiday-julian): Autoload it.
(holiday-hebrew-misc): New function.
2008-04-03 04:06:48 +00:00
Glenn Morris
df7c034e8a (holiday-fixed): Autoload it.
(holiday-bahai-new-year, holiday-bahai-ridvan): New functions.
2008-04-03 04:05:56 +00:00
Glenn Morris
7cd59c7337 (diary-mail-addr): Use bound-and-true-p. 2008-04-03 03:33:37 +00:00
Glenn Morris
debf91fda6 Whitespace only. 2008-04-02 03:52:36 +00:00
Glenn Morris
ce5b3019bf (appt-disp-window-function): Doc fix.
(appt-display-message): Move beep before display.
(appt-check): Make interactive.  Reduce the number of lets.
Use string-equal to compare mode-line strings.
(appt-disp-window): Pluralize "minute" as needed.  Make appt buffer read-only.
(appt-select-lowest-window, appt-make-list): Reduce the number of lets.
(appt-delete): Simplify.
2008-04-02 03:50:34 +00:00
Glenn Morris
2475d1a306 (diary-entry-marker, calendar-today-marker, calendar-holiday-marker)
(mark-visible-calendar-date): Check for font-lock-mode before using faces.
(hebrew-holidays-3, generate-calendar-month)
(calendar-gregorian-from-absolute): Reduce the number of lets.
(hebrew-holidays-4, generate-calendar-window): Simplify.
(calendar-for-loop): Make obsolete.
(calendar-nth-named-day): Doc fix.
2008-04-02 03:35:38 +00:00
Glenn Morris
2e73c671d1 (fancy-diary-display): Check for font-lock-mode before using faces.
(diary-list-entries, fancy-diary-display)
(print-diary-entries, mark-sexp-diary-entries, calendar-mark-complex)
(calendar-mark-1, list-sexp-diary-entries, diary-remind):
Reduce the number of lets.
(mark-sexp-diary-entries, calendar-mark-complex):
Expand calendar-for-loops.
2008-04-02 03:34:23 +00:00
Glenn Morris
ff35f3b850 (calendar-time-zone-daylight-rules): Simplify. 2008-04-02 03:18:55 +00:00
Glenn Morris
2d354894b7 (list-yahrzeit-dates): Expand calendar-for-loop call. 2008-04-02 03:17:21 +00:00
Glenn Morris
80b24a359b (cal-tex-insert-blank-days-at-end, cal-tex-last-blank-p)
(cal-tex-daily-page): Expand calendar-for-loops.
2008-04-02 03:16:47 +00:00
Glenn Morris
d4ab8ae3c8 (holiday-chinese-new-year): Use a single let. 2008-04-02 03:15:54 +00:00
Glenn Morris
8fe9705016 (calendar-make-temp-face): Fix previous change. Use the last :face if
more than one.  Don't ignore any attributes before :face.  Fallback to
'default face if necessary.
2008-04-01 07:25:42 +00:00
Glenn Morris
c899d5e37a (calendar-make-temp-face): New function.
(mark-visible-calendar-date): Use it.
2008-04-01 04:10:09 +00:00
Glenn Morris
eff756afa6 (fancy-diary-display): Use calendar-make-temp-face. 2008-04-01 04:08:41 +00:00
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
Glenn Morris
cc16dac367 (diary-face-attrs): Fix type of `width'.
(list-diary-entries-hook, mark-diary-entries-hook)
(include-other-diary-files, mark-included-diary-files): Doc fixes.
(diary-set-header): New function.
(diary-header-line-flag, diary-header-line-format):
Use diary-set-header for custom :set function.
(diary-set-maybe-redraw): Use symbol-value rather than eval.
(diary-attrtype-convert): Use intern-soft rather than read.
(diary-display-no-entries): New function.
(simple-diary-display, fancy-diary-display): Use it.
(fancy-diary-display): Doc fix.  Remove unneeded local entry-list.
2008-03-27 02:50:38 +00:00
Glenn Morris
872edde505 (list-hebrew-diary-entries): Doc fix. 2008-03-27 02:48:08 +00:00
Glenn Morris
2b79de59cf (list-islamic-diary-entries): Doc fix. 2008-03-27 02:47:50 +00:00
Glenn Morris
02a2da6629 (diary-bahai-list-entries): Doc fix. 2008-03-27 02:47:38 +00:00
Stefan Monnier
96ffea61b9 (list-holidays): Make Y2 optional. 2008-03-26 03:43:43 +00:00
Stefan Monnier
e14221412b (appt-buffer-name): Don't use a leading space for buffers shown to the user.
(appt-disp-window): Disable undo explicitly now that the leading space is gone.
2008-03-26 03:42:57 +00:00
Glenn Morris
26f435507b Some re-ordering so that defcustoms are at start, functions defined
before use.
2008-03-26 03:26:43 +00:00
Glenn Morris
37628fd07e Remove floating-point check.
Explicitly require calendar, not cal-julian.
2008-03-26 03:15:31 +00:00
Glenn Morris
164e17e180 Remove floating-point check.
Explicitly require calendar, not cal-julian.
Explicitly require cal-dst.
2008-03-26 03:14:42 +00:00
Glenn Morris
7d58cf6337 (list-holidays): Assume atan always bound. 2008-03-26 03:14:13 +00:00
Glenn Morris
f21811af0f Provide calendar before requiring cal-menu.
(oriental-holidays, solar-holidays): Assume atan always bound.
(solar-holidays): Simplify holiday-sexp calls.
2008-03-26 03:13:55 +00:00
Glenn Morris
d2e009298d (calendar-after-frame-setup-hook): New name for
calendar-after-frame-setup-hooks.  Update callers, make old name an
obsolete alias.  Doc fix.
(calendar-frame-1): Doc fix.
2008-03-26 03:12:48 +00:00
Glenn Morris
73f7eb5970 Require calendar rather than cal-julian.
Autoload calendar-absolute-from-julian.
(persian-calendar-epoch): Set when compiling.
2008-03-26 03:12:02 +00:00
Glenn Morris
7ff651d07a Require calendar rather than declaring functions.
(cal-menu-diary-menu): Remove menu headings that cause cal-bahai,
cal-islam, cal-hebrew to be loaded on starting the calendar.
2008-03-26 03:11:38 +00:00
Glenn Morris
282179b2f9 Require calendar rather than cal-julian.
Autoload calendar-absolute-from-julian.
(calendar-islamic-epoch): Set when compiling.  Doc fix.
2008-03-26 03:11:04 +00:00
Glenn Morris
06e3b7ae73 Don't require cal-persia.
(calendar-absolute-from-persian): Autoload it.
(dst-adjust-time): Doc fix.
2008-03-26 03:10:23 +00:00
Glenn Morris
dad6b4ee59 Require calendar rather than cal-julian.
Autoload calendar-absolute-from-julian.
(coptic-calendar-epoch): Set when compiling.
2008-03-26 03:10:04 +00:00
Glenn Morris
829e029532 Explicitly require calendar. 2008-03-26 03:09:32 +00:00
Glenn Morris
0ac1cb01e7 Require calendar, not cal-julian.
(calendar-bahai-epoch): Doc fix.
2008-03-26 03:09:12 +00:00
Glenn Morris
97bef88eb5 Comment. 2008-03-25 07:57:06 +00:00
Glenn Morris
1d3c128ce7 (calendar-frame-1): Doc fix. 2008-03-25 07:53:25 +00:00
Glenn Morris
4ec69ba5d4 (diary-frame-parameters, calendar-frame-parameters)
(calendar-and-diary-frame-parameters): Doc fixes.
(make-fancy-diary-buffer): Remove declaration.
(calendar-dedicate-diary): Replace call to deleted function
make-fancy-diary-buffer.
(calendar-frame-setup): New function.
(calendar-one-frame-setup, calendar-only-one-frame-setup)
(calendar-two-frame-setup): Call calendar-frame-setup to do the actual
work, and mark as obsolete.
(special-display-buffer-names): Don't mess with this; it's not our business.
(cal-x-load-hook): Defvar it, and mark as obsolete.
2008-03-25 03:43:46 +00:00
Glenn Morris
f49f2a9eb1 (calendar-remove-frame-by-deleting): Default to t. Add to 'calendar group.
(calendar): Doc fix.  Use calendar-frame-setup.
(calendar-basic-setup): Doc fix.  Add optional NODISPLAY argument.
(generate-calendar-window): Doc fix.
2008-03-25 03:42:55 +00:00
Glenn Morris
0075b4a278 (calendar-persian-read-date): New name for persian-prompt-for-date.
Update callers, make old name an obsolete alias.  Doc fix.  Move
definition before use.
2008-03-25 03:42:01 +00:00
Glenn Morris
7b710be149 (calendar-iso-read-date): New name for calendar-iso-read-args. Update
callers, make old name an obsolete alias.
2008-03-25 03:41:39 +00:00
Glenn Morris
1cdb4ad71a (calendar-islamic-read-date): New name for
calendar-islamic-prompt-for-date.  Update callers.  Doc fix.
2008-03-25 03:41:27 +00:00
Glenn Morris
42281b7b6a (calendar-hebrew-read-date): New name for
calendar-hebrew-prompt-for-date.  Update callers.  Doc fix.
2008-03-25 03:41:14 +00:00
Glenn Morris
af7956810c (calendar-coptic-read-date): New name for coptic-prompt-for-date.
Update callers, make old name an obsolete alias.  Doc fix.
2008-03-25 03:40:53 +00:00
Glenn Morris
ff5daae57a (calendar-bahai-read-date): New name for
calendar-bahai-prompt-for-date.  Update callers, make old name an
obsolete alias.  Doc fix.
2008-03-25 03:40:39 +00:00
Glenn Morris
7d17537fac (calendar-location-name, calendar-latitude)
(calendar-longitude, solar-arctan, sunrise-sunset)
(solar-mean-equinoxes/solstices): Use the appropriate equality test.
2008-03-20 04:52:19 +00:00
Glenn Morris
f328a783dc (calendar-other-dates): Declare it, and removes the declarations it replaces.
(calendar-mouse-print-dates): Use calendar-other-dates.
(calendar-mouse-holidays): Re-use the title.
(calendar-mouse-view-diary-entries): Use or.
(calendar-mouse-chinese-date): Remove unused command.
(cal-menu-load-hook): Mark as obsolete.
2008-03-20 04:46:51 +00:00
Glenn Morris
5968ae93e2 (calendar-other-dates): New function.
(calendar-print-other-dates): Use calendar-other-dates.
2008-03-20 04:41:47 +00:00
Glenn Morris
a8774f05b2 (chinese-calendar-celestial-stem, chinese-calendar-terrestrial-branch):
Make defcustoms.
2008-03-20 04:40:18 +00:00
Glenn Morris
06e9110e45 (calendar-bahai-leap-year-p)
(calendar-bahai-leap-base, calendar-bahai-from-absolute): Doc fixes.
(calendar-absolute-from-bahai): Fix the leap-year case.
(calendar-bahai-from-absolute): Store the month.
(calendar-bahai-date-string, calendar-bahai-print-date): Handle
pre-Bahai dates.
2008-03-20 04:38:27 +00:00
Glenn Morris
acab8b9740 (initial-calendar-window-hook, today-visible-calendar-hook): Doc fixes. 2008-03-18 03:35:58 +00:00
Glenn Morris
2c080040fb (diary-frame-parameters, calendar-frame-parameters)
(calendar-and-diary-frame-parameters): Fix custom type; add options.
(calendar-frame, diary-frame): Doc fixes.
(calendar-dedicate-diary, calendar-frame-1): Extract common code into
new functions.
(calendar-one-frame-setup, calendar-two-frame-setup): Doc fixes.
Use calendar-frame-1 and calendar-dedicate-diary.
(calendar-one-frame-setup): Also handle only-one-frame case.
(calendar-only-one-frame-setup): Doc fix.  Just call calendar-one-frame-setup.
2008-03-17 02:38:26 +00:00
Glenn Morris
1435831ffa Re-order some definitions before their use.
(nongregorian-diary-listing-hook, nongregorian-diary-marking-hook)
(diary-list-entries): Doc fixes.
(simple-diary-display, fancy-diary-display): Use
calendar-in-read-only-buffer to replace previous code and disable undo.
(make-fancy-diary-display): Remove function.
2008-03-17 02:33:49 +00:00
Glenn Morris
bf0cce5ad9 (calendar-today-marker, initial-calendar-window-hook)
(today-visible-calendar-hook, today-invisible-calendar-hook)
(diary-file, calendar-basic-setup, calendar-star-date)
(calendar-mark-today): Doc fixes.
(today-visible-calendar-hook): Add options.
(calendar-in-read-only-buffer): New macro.
(calendar-basic-setup): Adapt for change in calendar-read-date.
Place holiday let inside if.
(calendar-day-name-array, calendar-month-name-array): Make defcustoms.
(calendar-read-date): Set day to 1 rather than nil in the NODAY case.
(calendar-print-other-dates): Use one let rather than many.
Use calendar-in-read-only-buffer to replace previous code and disable undo.
2008-03-17 02:30:06 +00:00
Glenn Morris
318a548888 (list-yahrzeit-dates): Use calendar-in-read-only-buffer to replace
previous code and disable undo.
2008-03-17 02:21:37 +00:00
Glenn Morris
9449f9ebe4 (calendar-list-holidays, list-holidays, calendar-cursor-holidays):
Use calendar-in-read-only-buffer to replace previous code and disable undo.
2008-03-17 02:20:49 +00:00
Glenn Morris
48844538ae (calendar-phases-of-moon): Use calendar-in-read-only-buffer to replace
previous code and disable undo.
2008-03-17 02:19:31 +00:00
Glenn Morris
2112d731b8 (calendar-mayan-haab-to-string): Simplify.
(calendar-mayan-tzolkin-from-absolute): Expand calendar-mod calls.
2008-03-16 01:58:15 +00:00
Glenn Morris
de670487fb Small formatting change. 2008-03-16 01:28:43 +00:00
Glenn Morris
f1700e2678 (diary-remind-message, mark-sexp-diary-entries, list-sexp-diary-entries)
(diary-font-lock-sexps): Use format rather than concat.
(diary): Remove un-needed let.
(view-other-diary-entries): Rename argument.
(diary-list-entries-2): New function.
(diary-list-entries-1, diary-list-entries): Use diary-list-entries-2.
(print-diary-entries): Use unless.
(diary-mark-entries-1): Change argument order, make all but
markfunc optional.  Handle the standard (Gregorian) case.  Use
match-string-no-properties.  Handle marks.
(mark-diary-entries): Use diary-mark-entries-1.
(calendar-mark-complex, calendar-mark-1): New functions.
(diary-font-lock-keywords-1): New macro.
(diary-font-lock-keywords): Use diary-font-lock-keywords-1.
2008-03-16 01:27:15 +00:00
Glenn Morris
28c0279602 (calendar-mark-complex): Autoload it.
(mark-hebrew-calendar-date-pattern): Add optional argument `color'.
Use calendar-mark-complex.

(calendar-absolute-from-hebrew, hebrew-calendar-yahrzeit)
(insert-hebrew-diary-entry, insert-monthly-hebrew-diary-entry)
(insert-yearly-hebrew-diary-entry): Use let rather than let*.
(calendar-hebrew-prompt-for-date): New function.
(calendar-goto-hebrew-date): Use calendar-hebrew-prompt-for-date.
(holiday-tisha-b-av-etc): Use unless, let.
2008-03-16 01:25:11 +00:00
Glenn Morris
b2fba0132f (calendar-mark-1): Autoload it.
(mark-islamic-calendar-date-pattern): Add optional argument `color'.
Use calendar-mark-1.

(calendar-islamic-prompt-for-date): New function.
(calendar-goto-islamic-date): Use calendar-islamic-prompt-for-date.
2008-03-16 01:24:21 +00:00
Glenn Morris
d07a05c2fb (calendar-mark-1): Autoload it.
(calendar-bahai-mark-date-pattern): Add optional argument `color'.
Use calendar-mark-1.

(calendar-bahai-date-string): Use a single let.
(diary-bahai-insert-entry, diary-bahai-insert-monthly-entry)
(diary-bahai-insert-yearly-entry): Use let rather than let*.
Move obsolete aliases after the functions that replaced them.
2008-03-16 01:23:55 +00:00
Glenn Morris
c97663f6bc (calendar-chinese-from-absolute, calendar-chinese-date-string): Expand
calendar-mod calls.
2008-03-16 01:23:25 +00:00
Glenn Morris
df3b40c18c (calendar-mod): Remove.
(calendar-for-loop): Add indent spec.
2008-03-16 01:22:58 +00:00
Glenn Morris
615eabde2a Ulf Jasper <ulf.jasper at web.de>
(icalendar-version): Increase to 0.18.
(icalendar-export-hidden-diary-entries): New variable.
(icalendar-export-region): Use icalendar-export-hidden-diary-entries.
In case of error, insert full error-val.
(icalendar-first-weekday-of-year): Remove `offset' argument.  Doc fix.
Use calendar-day-of-week.  Return the day number.
(icalendar--convert-weekly-to-ical): Use funcall rather than apply.
2008-03-16 01:21:57 +00:00
Glenn Morris
f8e9107c53 Craig Markwardt <Craig.Markwardt at nasa.gov>
(icalendar-recurring-start-year): New variable.
(icalendar--diarytime-to-isotime): Fix treatment of 12:00pm - 12:59pm.
(icalendar-export-region): Ignore hidden diary entries.
(icalendar--convert-ordinary-to-ical): Fix case where event
spans across midnight boundary.
(icalendar-first-weekday-of-year): New function.
(icalendar--convert-weekly-to-ical): Allow user-selectable start
year for recurring events (Mozilla calendars do not propagate
recurring events forever, so year 2000 start date was not working).
(icalendar--convert-yearly-to-ical): Remove extra spaces in
formatting of BYMONTH and BYMONTHDAY (not allowed by ical spec).
2008-03-16 01:21:25 +00:00
Glenn Morris
4e11bcc210 (diary-face-attrs, diary-glob-file-regexp-prefix, diary-selective-display)
(number-of-diary-entries, diary-list-entries, diary-goto-entry):
(list-sexp-diary-entries, diary-date, diary-block, diary-float)
(diary-anniversary, diary-cyclic)
(diary-fancy-font-lock-fontify-region-function): Doc fixes.
(diary-header-line-format): Change wording.
(diary-list-entries): Set `date-start' in let.
(include-other-diary-files, mark-included-diary-files): Use format.
(simple-diary-display, fancy-diary-display): Use cadr, unless.
(mark-diary-entries): Use 1+.
(mark-sexp-diary-entries, list-sexp-diary-entries): Use when.
(mark-calendar-month): Use dotimes.
(diary-list-entries-1, diary-mark-entries-1): New functions.
2008-03-15 03:03:08 +00:00
Glenn Morris
711d00e76e (number, original-date, add-to-diary-list)
(diary-name-pattern, mark-calendar-days-named): Remove declarations.
(diary-list-entries-1, diary-mark-entries-1): Autoload.
(list-hebrew-diary-entries): Use diary-list-entries-1.
(mark-hebrew-diary-entries): Doc fix.  Use diary-mark-entries-1.

(calendar-hebrew-month-name-array-common-year)
(calendar-hebrew-month-name-array-leap-year)
(hebrew-calendar-parashiot-names): Make constants.
(diary-parasha): Move definition after constants it uses.
2008-03-15 03:01:40 +00:00
Glenn Morris
cb33924367 (number, original-date, add-to-diary-list)
(diary-name-pattern, mark-calendar-days-named): Remove declarations.
(diary-list-entries-1, diary-mark-entries-1): Autoload.
(list-islamic-diary-entries): Use diary-list-entries-1.
(mark-islamic-diary-entries): Doc fix.  Use diary-mark-entries-1.

(calendar-islamic-month-name-array, calendar-islamic-epoch): Make constants.
(calendar-islamic-epoch): Doc fix.
2008-03-15 03:01:13 +00:00
Glenn Morris
0a349c6dfb (number, original-date, add-to-diary-list)
(diary-name-pattern, mark-calendar-days-named): Remove declarations.
(diary-list-entries-1, diary-mark-entries-1): Autoload.
(diary-bahai-list-entries): Use diary-list-entries-1.
(diary-bahai-mark-entries): Doc fix.  Use diary-mark-entries-1.

(calendar-bahai-epoch): Doc fix.
2008-03-15 03:00:48 +00:00
Glenn Morris
40802b080b (european-calendar-style, calendar-for-loop)
(calendar-sum, calendar-insert-indented, mouse-calendar-other-month)
(calendar-cursor-to-date): Doc fix.
(hebrew-holidays-1, hebrew-holidays-4): Simplify.
(extract-calendar-day, extract-calendar-year): Use cadr, nth.
(calendar-day-number): Use when.
(generate-calendar-month): Use dotimes.
(exit-calendar, calendar-print-other-dates): Use let rather than let*.
(calendar-set-mark): Reverse conditional.
(calendar-make-alist): Move definition before use.
2008-03-15 03:00:17 +00:00
Glenn Morris
354716682d (appt-check, appt-delete, appt-make-list): Use caar. 2008-03-15 02:59:34 +00:00
Glenn Morris
706531d9fa (number-chinese-months, calendar-chinese-from-absolute): Use nth, caar. 2008-03-15 02:59:15 +00:00
Glenn Morris
cc7fff4f64 (coptic-calendar-epoch): Doc fix. 2008-03-15 02:58:39 +00:00
Glenn Morris
fd32e5b926 Formatting changes only. 2008-03-15 02:58:24 +00:00
Glenn Morris
071f8d93af (french-calendar-accents): Doc fix. 2008-03-15 02:57:58 +00:00
Glenn Morris
851335187f (cal-html-insert-link-yearpage, (cal-html-htmlify-list): Doc fix.
(cal-html-htmlify-entry): Use nth.
2008-03-15 02:57:42 +00:00
Glenn Morris
965c889906 (cal-menu-goto-menu): Use "Go To". 2008-03-15 02:57:13 +00:00
Glenn Morris
a078051c4a (cal-tex-hook, cal-tex-insert-preamble, cal-tex-month-name): Doc fix.
(cal-tex-last-blank-p): Use zerop.
2008-03-15 02:56:30 +00:00
Glenn Morris
125001e94b (displayed-month, displayed-year): Move declarations where needed.
(calendar-list-holidays): Doc fix.
2008-03-15 02:55:45 +00:00
Glenn Morris
1fa570afc5 (parse-time-string): Simplify. 2008-03-15 02:55:25 +00:00
Glenn Morris
48dc6f9fd2 (solar-n-hemi-seasons, solar-s-hemi-seasons): Make constants.
(solar-sunrise-sunset): Rename some local variables for clarity.
(sunrise-sunset): Use zerop.
(solar-mean-equinoxes/solstices): Doc fix.
2008-03-15 02:55:06 +00:00