1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-09 09:10:16 +00:00
Commit Graph

1444 Commits

Author SHA1 Message Date
Glenn Morris
977955fab7 (diary-mark-entries-1): Only mark all days of a given name if the
pattern is not more specific.
2009-08-22 19:47:42 +00:00
Glenn Morris
b4deec2e85 (lunar-phase-names): New option.
(lunar-phase): Doc fix.
(lunar-cycles-per-year): New constant.
(lunar-index): New function.
(lunar-phase-list, diary-lunar-phases): Use lunar-index.
(lunar-phase-name): Use lunar-phase-names.
(calendar-lunar-phases): Use format.
(lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
2009-08-22 19:45:30 +00:00
Stefan Monnier
cb5b40ee3b * textmodes/remember.el (remember-buffer):
* progmodes/cperl-mode.el (cperl-vc-header-alist):
* calendar/icalendar.el (icalendar-convert-diary-to-ical)
(icalendar-extract-ical-from-buffer): Add version of obsolescence.
2009-08-21 15:09:42 +00:00
Glenn Morris
a8ab722f60 (calendar-cursor-to-nearest-date, calendar-cursor-to-visible-date):
Use forward-line, not goto-line.
2009-08-21 07:11:24 +00:00
Chong Yidong
81b1f9c9b7 * calendar/parse-time.el (parse-time-string-chars): Save match data. 2009-08-16 18:38:15 +00:00
Chong Yidong
1200ac269a * calendar/parse-time.el (parse-time-string-chars): Compute using
character classes (Bug#3190).
2009-08-16 14:33:43 +00:00
Glenn Morris
55d27f4157 (calendar-current-date): Update declaration. 2009-07-21 05:02:36 +00:00
Glenn Morris
a71b84cd1b (cal-menu-set-date-title): Handle calls from non-calendar buffers (Bug#3862).
Restore "not on a date" message.
(cal-menu-context-mouse-menu): Doc fix.
2009-07-19 00:32:31 +00:00
Glenn Morris
7ef5b8b271 (calendar-current-date): Rework previous change. 2009-07-08 02:48:11 +00:00
Glenn Morris
3ce82f979d Ed Reingold <reingold at emr.cs.iit.edu>
(calendar-current-date): Add an optional argument giving an offset from today.
2009-07-08 02:46:23 +00:00
Glenn Morris
84cb770dc9 (calendar-time-zone-daylight-rules): Simplify Persian conditionals. 2009-06-23 07:30:25 +00:00
Glenn Morris
731a00fbd7 (appt-make-list): Fix off-by-one error caused by
differing behavior of \n and ^ in strings.  (Bug#3385)
2009-06-22 06:29:59 +00:00
Glenn Morris
b27c3bc6ec (calendar-time-zone-daylight-rules): Fix typo in 2008-04-02 change. 2009-06-10 01:32:55 +00:00
Glenn Morris
8682defdaa (solar-n-hemi-seasons, solar-s-hemi-seasons):
Make into defcustoms.  (Bug#3429)
2009-06-04 06:40:13 +00:00
Glenn Morris
d5a8ed1053 (calendar-forward-day): Fix 2008-06-21 change -
always move cursor to new date.  (Bug#3338)
2009-05-21 04:40:08 +00:00
Glenn Morris
64b7c58a67 (calendar-holidays): Don't autoload it. (Bug#2811) 2009-04-02 06:34:21 +00:00
Glenn Morris
6f8eab73b4 (diary-cyclic): Check for +ve N. 2009-04-02 06:33:18 +00:00
Glenn Morris
a20013c1bb (cal-tex-preamble-extra): Add an example string value to help people
with the formatting.
2009-03-15 21:32:14 +00:00
Glenn Morris
6302f8acf2 (diary-date-forms, calendar-date-display-form):
Add :set-after listing variables on which we might depend.
2009-03-02 07:00:43 +00:00
Glenn Morris
fa262b58b2 (calendar-window-list): Ignore invisible windows.
(calendar-set-mode-line): Fall back to a default width if we seem to be
called from daemon.  (Bug#2199)
2009-02-11 04:02:16 +00:00
Glenn Morris
833374ea08 Add :version tags for previous change. 2009-02-09 17:26:21 +00:00
Glenn Morris
bdc3df307b (diary-entry-marker, calendar-today-marker)
(calendar-holiday-marker): Drop test for color display.
2009-02-09 07:52:54 +00:00
Glenn Morris
c253eff0ae (diary-fancy-display): It doesn't make sense to check font-lock-mode
(see comments; reverts 2008-04-02 change).  (Bug#2199)
2009-02-08 01:52:26 +00:00
Glenn Morris
6ed1743386 (diary-entry-marker, calendar-today-marker, calendar-holiday-marker)
(calendar-mark-visible-date): It doesn't make sense to check
font-lock-mode (see comments; reverts 2008-04-02 change).  (Bug#2199)
2009-02-08 01:52:01 +00:00
Chong Yidong
3a67b38766 Update Oliver Seidel's email address, and add Stephen Berman as
maintainer.
2009-01-29 15:19:44 +00:00
Chong Yidong
685b547932 (todo-insert-item-here): Prevent insertion
of a new entry inside of an existing entry.  Minor code cleanup.
(todo-add-category): Change the interactive spec.  Signal an error
if the Todo file is non-empty but contains no category.  Reject
category names that could induce bugs and confusion.  Call
todo-mode if the Todo file is new and unsaved.  Simplify handling
of local variables cookie.  Properly display the newly added
category in Todo mode.
(todo-show): Call todo-initial-setup only if there is neither a
Todo file nor a corresponding unsaved buffer.
(todo-category-alist): Delete function.
(todo-completing-read): New function.
(todo-insert-item, todo-jump-to-category): Use it.
(todo-insert-item): Make the use of the prefix argument conform to
the doc string.
2009-01-28 03:56:18 +00:00
Ulf Jasper
3edf528464 icalendar: fixed doc string. 2009-01-25 21:23:39 +00:00
Ulf Jasper
f052351afe icalendar: uid-format, bug fixes. 2009-01-25 13:38:14 +00:00
Glenn Morris
3309a9ee3f (calendar-scroll-left-three-months, calendar-scroll-right-three-months):
Add event handling, for when called from menus with the calendar
buffer not current.
2009-01-10 22:01:32 +00:00
Glenn Morris
dc67263ca3 (calendar-lunar-phases): Add event handling, for when called from
menus with the calendar buffer not current.
2009-01-10 22:00:33 +00:00
Glenn Morris
436b840d1e (calendar-list-holidays, calendar-mark-holidays): Add event handling,
for when called from menus with the calendar buffer not current.
2009-01-10 22:00:14 +00:00
Miles Bader
e3e955fed3 Merge from gnus--devo--0
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1513
2009-01-09 03:01:50 +00:00
Glenn Morris
912b78ddda (cal-menu-scroll-menu): Remove entries that don't scroll the calendar. 2009-01-08 04:13:28 +00:00
Glenn Morris
ae940284fa Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
Juanma Barranquero
64ba814f12 * calendar/diary-lib.el (diary-cyclic): Doc fix.
(diary-remind-message, diary-number-of-entries)
  (diary-include-other-diary-files, diary-mark-included-diary-files)
  (diary-view-entries, diary-date, diary-block, diary-insert-entry-1)
  (diary-font-lock-keywords-1): Reflow docstrings.
  (diary-add-to-list, calendar-mark-1, diary-entry-time, diary-make-date)
  (diary-anniversary, diary-date-display-form): Fix typos in docstrings.

* emacs-lisp/timer.el (timer-duration-words): Fix typo in docstring.
  (timer-duration): Use `string-match-p'.
2008-11-30 01:01:18 +00:00
Martin Rudalics
0836e2c3d7 (appt-disp-window): Do a set-buffer when the
frame can't be split.
2008-11-24 19:53:33 +00:00
Martin Rudalics
bc5777c13f (appt-disp-window): Move minibuffer check
after binding this-window and do not set-buffer to make sure we
won't deselect the minibuffer.
2008-11-24 09:51:26 +00:00
Dan Nicolaescu
d46b521475 (cal-menu-scroll-menu): Add bindings for
week forward/backward.
2008-11-20 18:14:10 +00:00
Juanma Barranquero
8fc29035f3 * w32-fns.el (w32-shell-dos-semantics):
* calendar/diary-lib.el (diary-face-attrs):
* international/mule-cmds.el (set-default-coding-systems)
  (prefer-coding-system):
* net/tramp.el (tramp-set-completion-function):
* progmodes/vhdl-mode.el (vhdl-file-header):
* term/pc-win.el (msdos-show-help): Fix typos in docstrings.

* emacs-lisp/authors.el (authors-fixed-entries): Fix typo in value.

* files.el (enable-local-eval, not-modified, kill-buffer-ask)
  (kill-matching-buffers, save-buffers-kill-emacs)
  (save-buffers-kill-terminal): Fix typos in docstrings.
  (switch-to-buffer-other-window): Reflow docstring.
  (revert-buffer): Doc fix.
  (define-project-bindings): Rename arg LIST to SETTINGS.
  (project-find-settings-file): Use `let', not `let*'.  Use `when'.
2008-11-14 13:05:18 +00:00
Ulf Jasper
ca2d101f5e icalendar: uid-creation improved 2008-10-31 18:28:16 +00:00
Eli Zaretskii
6d83def6c4 (todo-file-do, todo-file-done, todo-file-top): Run file names that begin with
a period thru `convert-standard-filename'.
2008-10-19 10:06:48 +00:00
Glenn Morris
f4498b9e4f Peter Dyballa <Peter_Dyballa at Freenet.DE>
(solar-sunrises-buffer): Fix typo.
2008-09-27 19:58:53 +00:00
Glenn Morris
19b1a5bc07 (calendar-holidays): Doc fix. 2008-08-26 05:39:53 +00:00
Glenn Morris
12b2a018ab Comments. 2008-08-26 03:03:21 +00:00
Glenn Morris
f2d9c15f59 Add declarations for builds without X. 2008-08-11 01:23:07 +00:00
Glenn Morris
a28fa64f6f (holiday-bahai): Doc fix. 2008-08-10 20:16:18 +00:00
John Wiegley
1661df026f * calendar/timeclock.el (timeclock-day-projects): Change a cdr' to cddr'. 2008-07-30 02:13:37 +00:00
Glenn Morris
aadbdbe268 Spelling fix. 2008-07-01 03:07:26 +00:00
Glenn Morris
6772c8e169 American English spelling fix. 2008-06-27 02:41:14 +00:00
Glenn Morris
d88acfe1d5 (cal-menu-sunmoon-menu, cal-menu-global-mouse-menu): Update for lunar
name changes.
2008-06-27 00:38:43 +00:00
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