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

631 Commits

Author SHA1 Message Date
Edward M. Reingold
189134c3e7 Fix doc strings at top of file. 1996-01-24 16:01:00 +00:00
Edward M. Reingold
b5295cea23 Add \hfuzz=1000pt to get rid of overfull box messages. 1996-01-24 15:58:39 +00:00
Edward M. Reingold
556b41d2af Fixed doc strings and references to calendar-latitude and calendar-longitude. 1996-01-24 15:55:55 +00:00
Erik Naggum
b578f267af Update FSF's address. 1996-01-14 07:34:30 +00:00
Edward M. Reingold
cdfeb73f1c Replaced all uses of get-file-buffer with find-buffer-visiting. 1995-12-27 17:36:12 +00:00
Edward M. Reingold
ebf90a0f2a Put date on top of other-calendars menu. 1995-12-27 17:33:27 +00:00
Edward M. Reingold
6cf0fb7906 Fix autoloads. 1995-12-27 17:29:28 +00:00
Edward M. Reingold
087c56fa31 Rewrote completely for better accuracy. 1995-12-27 17:21:34 +00:00
Karl Heuer
14fcc701c7 (calendar-astro-from-absolute): Autoload it. 1995-12-21 17:34:52 +00:00
Paul Eggert
ac138dc079 Fix misspelling in comment. 1995-12-17 03:32:19 +00:00
Edward M. Reingold
610d096695 More repairs of wrong function names in menus! 1995-12-05 23:38:20 +00:00
Edward M. Reingold
bc83970dd2 Repair function names from rms error in modifying! 1995-12-05 23:13:33 +00:00
Edward M. Reingold
c36baedbce Autoload diary-iso-date. 1995-12-05 23:05:25 +00:00
Edward M. Reingold
e6c3bfbc7c Chnaged all occurrences of buffer-substring to buffer-substring-no-properties. 1995-12-05 23:01:36 +00:00
Edward M. Reingold
021edd45dc Fixed dst-in-effect for southern hemisphere. Also made doc string clearer. 1995-12-05 22:55:22 +00:00
Paul Eggert
ba2a1fb0f2 (calendar-chinese-sexagesimal-name): Renamed from
calendar-chinese-sexagisimal-name to fix misspelling.
1995-11-30 03:25:04 +00:00
Paul Eggert
2e3befbad5 (holiday-rosh-hashanah-etc): Fix misspelled var. 1995-11-30 03:25:04 +00:00
Paul Eggert
4ed43fd34d (calendar-absolute-from-astro): Doc fix. 1995-11-30 03:25:04 +00:00
Paul Eggert
aeaa056e26 (calendar-next-calendar-round-date, calendar-previous-calendar-round-date):
Doc fix.
1995-11-30 03:25:04 +00:00
Paul Eggert
a69472b345 (calendar-setup, calendar-basic-setup, calendar-next-calendar-round-date,
calendar-previous-calendar-round-date, cal-tex-cursor-year): Doc fix.
1995-11-30 03:25:04 +00:00
Paul Eggert
59ba214d1b (list-sexp-diary-entries): Doc fix. 1995-11-30 03:25:04 +00:00
Paul Eggert
69f5afe47f (holiday-easter-etc): Fix misspelling of "Whitmonday". 1995-11-30 03:25:04 +00:00
Paul Eggert
aaffc2657a (solar-longitude): Doc fix. 1995-11-30 03:25:04 +00:00
Richard M. Stallman
e4ca7ef99d Renamed from diary.el. 1995-11-25 05:39:20 +00:00
Richard M. Stallman
fb30f0ce2c Use new file name diary-lib. 1995-11-25 05:36:12 +00:00
Erik Naggum
07e4feff1f (cal-tex-cursor-week-iso): Doc fix. 1995-11-19 23:25:19 +00:00
Richard M. Stallman
5a2c140aa7 (cal-tex-cursor-filofax-week): Renamed from cal-tex-cursor-week6.
(cal-tex-cursor-filofax-2week): Renamed from cal-tex-cursor-week5.
(cal-tex-cursor-week-monday): Renamed from cal-tex-cursor-week4.
(cal-tex-cursor-week-iso): Renamed from cal-tex-cursor-week3.
1995-11-19 21:28:06 +00:00
Richard M. Stallman
ab3a435933 (cal-tex-version): Deleted.
(cal-tex-cursor-year-landscape): Doc fix.
(cal-tex-cursor-filofax-week): Renamed from cal-tex-cursor-week6.
(cal-tex-cursor-filofax-2week): Renamed from cal-tex-cursor-week5.
(cal-tex-cursor-week-monday): Renamed from cal-tex-cursor-week4.
(cal-tex-cursor-week-iso): Renamed from cal-tex-cursor-week3.
1995-11-19 21:27:12 +00:00
Richard M. Stallman
83ff5106cf (calendar-goto-info-node): Don't let
same-window-buffer-names do its usual job--force *info* buffer
into another window.
1995-11-18 18:24:42 +00:00
Edward M. Reingold
a339bbef09 Fix starting date of Ethiopic calendar. 1995-11-17 17:40:02 +00:00
Edward M. Reingold
00e3e480f9 Minor fixes. 1995-11-17 17:38:52 +00:00
Richard M. Stallman
07986bc460 (calendar-julian-date-string): Autoload this. 1995-11-17 17:01:55 +00:00
Richard M. Stallman
6dcba8a327 (calendar-julian-from-absolute): Autoload it. 1995-11-14 22:26:25 +00:00
Karl Heuer
1e25257666 (holiday-face, calendar-today-face, diary-face): Add
faces to facemenu-unlisted-faces before creating so that facemenu
won't list them as faces to be added interactively.
1995-11-10 18:56:58 +00:00
Richard M. Stallman
10dbf03966 Require calendar. 1995-11-10 04:27:30 +00:00
Edward M. Reingold
b4cb70c40c Fix the way the sexagisimal names are calculated. 1995-10-26 22:38:23 +00:00
Edward M. Reingold
786272966f Fix menu for Chinese calendar. 1995-10-24 15:50:05 +00:00
Edward M. Reingold
0c0efc3ef5 Minor doc fixes. 1995-10-24 15:49:00 +00:00
Edward M. Reingold
67d801733c Various fixes and simplifications. 1995-10-24 15:44:12 +00:00
Edward M. Reingold
0031509cd8 Completely rewritten! 1995-10-23 22:19:07 +00:00
Edward M. Reingold
6df87f1421 Minor fixes. 1995-10-13 13:06:37 +00:00
Edward M. Reingold
9eb48cce55 Initial revision 1995-10-12 15:28:46 +00:00
Edward M. Reingold
e519449d33 Added menu items for cal-tex.el (a new file). 1995-10-12 15:28:06 +00:00
Edward M. Reingold
3076647c69 Added key definitions and autoloads for cal-tex.el (a new file). 1995-10-12 15:27:07 +00:00
Richard M. Stallman
725ec4bcb5 (appt-disp-window): Call raise-frame. 1995-10-05 23:40:03 +00:00
Richard M. Stallman
dbabfd5558 (mark-sexp-diary-entries): Add \ for C-M-f's sake. 1995-09-25 14:55:02 +00:00
Edward M. Reingold
92da8c782b Fix display of Chinese date. 1995-09-22 19:36:26 +00:00
Edward M. Reingold
0808d91184 Initial revision 1995-09-21 03:11:06 +00:00
Edward M. Reingold
5c19bda9d2 New file. 1995-09-21 03:05:13 +00:00
Edward M. Reingold
85d0ba8668 *** empty log message *** 1995-09-21 03:04:16 +00:00
Edward M. Reingold
4b112ac475 Initial revision 1995-09-21 02:57:43 +00:00
Edward M. Reingold
ec23095166 Minor fixes; moved some code here from other calendar files. 1995-09-21 02:54:58 +00:00
Edward M. Reingold
9fadf1a53e Minor fixes. 1995-09-21 02:51:24 +00:00
Edward M. Reingold
c29681e13b Added new calendars to menus and made minor fixes. 1995-09-21 02:49:54 +00:00
Edward M. Reingold
9275d77924 Moved stuff to calendar.el, as per RSM's request. 1995-09-21 02:48:58 +00:00
Edward M. Reingold
75af4a4adc Added code to support Chinese calendar. Minor fixes as well. 1995-09-21 02:47:50 +00:00
Edward M. Reingold
8a45b04085 Added code to support Chinese calendar. 1995-09-21 02:46:47 +00:00
Edward M. Reingold
32933edb9a Moved stuff to other files. 1995-09-21 02:45:33 +00:00
Edward M. Reingold
7086b78e05 Many functions moved to other files, some rewritten. See ChangeLog entry. 1995-09-21 02:40:35 +00:00
Richard M. Stallman
9a1221bc9c Doc fixes. 1995-08-21 05:19:39 +00:00
Karl Heuer
cc3511def0 Add provide. 1995-07-17 22:42:57 +00:00
Edward M. Reingold
562a94a041 Fix bug in determination of output string. 1995-06-19 15:36:11 +00:00
Edward M. Reingold
cbecb9f9f0 Fixed calendar-string-spread to allow 0 or 1 string; this simplified several
calls to it.
1995-06-02 22:02:17 +00:00
Edward M. Reingold
0f12fdabce Fix cal-x.el to create an empty fancy-diary-buffer, if needed. 1995-06-02 14:45:21 +00:00
Edward M. Reingold
a096c36b85 Autoload calendar-setup. 1995-06-01 20:53:04 +00:00
Karl Heuer
0e520d74eb Fix capitalization in menu bar. 1995-05-30 23:05:08 +00:00
Karl Heuer
744c21771d (appt-check): Use force-mode-line-update. 1995-04-25 22:33:23 +00:00
Richard M. Stallman
22e4e580bc Use byte-compile-dynamic. 1995-01-18 22:11:26 +00:00
Karl Heuer
2b803765ef (calendar): Doc fix. 1995-01-16 22:59:42 +00:00
Edward M. Reingold
26b6f04083 Mention Hochleitner's correlation. 1994-12-08 18:51:35 +00:00
Edward M. Reingold
bcbb4a0a25 Mention cal-x.el in comments. 1994-11-29 15:58:53 +00:00
Edward M. Reingold
38e3261c9f Initial revision 1994-11-29 15:53:55 +00:00
Edward M. Reingold
7c77d66546 Get rid of edit menu. 1994-11-17 21:49:27 +00:00
Edward M. Reingold
8f12817f58 Undefine kill-region and copy-region-as-kill. 1994-11-17 21:49:00 +00:00
Karl Heuer
ddbfcbde43 (describe-calendar-mode): Set help-mode in *Help* buffer. 1994-11-09 05:51:27 +00:00
Edward M. Reingold
06f7e2c57a Don't supersede attributes for faces diary-face', calendar-display-face', or
`holiday-face' if they are already defined.
1994-11-08 16:23:32 +00:00
Edward M. Reingold
89719ce9c5 Check for nil time before trying to adjust it for dst. 1994-11-07 16:39:17 +00:00
Edward M. Reingold
9543663083 Bind new function to mouse. 1994-11-01 02:17:53 +00:00
Edward M. Reingold
46e07c15d1 Bind new function to key. 1994-11-01 02:16:50 +00:00
Edward M. Reingold
4dd1b83a5a Delete old reference to window configuration. 1994-10-30 21:06:34 +00:00
Edward M. Reingold
4612426413 Fix use of noday option for calendar-read-date. 1994-10-30 00:26:39 +00:00
Edward M. Reingold
ecd42d42f1 Redo the noday option for calendar-read-date. 1994-10-30 00:25:33 +00:00
Richard M. Stallman
5c51b72e45 (calendar-mode-map): Define c-down-mouse-3 like down-mouse-3. 1994-10-28 05:21:42 +00:00
Edward M. Reingold
6ff099c3c6 Allow vector form of latitude/longitude. Fix documentation. 1994-10-26 15:34:14 +00:00
Edward M. Reingold
cc4879d271 Give lunar phases buffer a symbolic name; use new form of calendar-read-date. 1994-10-26 15:32:51 +00:00
Edward M. Reingold
c99d4526f0 Use new form of calendar-read-date. 1994-10-26 15:31:27 +00:00
Edward M. Reingold
d960f2795a Put insertion of diary entry on daily menu. 1994-10-26 15:28:56 +00:00
Edward M. Reingold
cba0c2538d Lots of minor fixes and code polishing. Exit-calendar code rewritten. 1994-10-26 15:26:22 +00:00
Richard M. Stallman
95cdbff545 (appt-select-lowest-window): Locally bind lowest-window.
(appt-delete): Don't set tmp-appt-msg-list.

(appt-delete-window): Avoid error if WINDOW is nil.

(appt-delete-window): Do nothing if the window
is the only one in its frame.
1994-10-16 01:42:08 +00:00
Richard M. Stallman
33481b1aec (calendar-holiday-marker): Copy holiday-face from highlight face. 1994-10-10 03:26:28 +00:00
Richard M. Stallman
d5b22d8895 (appt-delete-window): Look on all frames for the window.
(appt-disp-window): If frame is unsplittable, use display-buffer.
1994-10-09 09:19:16 +00:00
Richard M. Stallman
58af3a0a81 (exit-calendar): Don't restore window config.
(calendar): Don't save one.
1994-08-30 22:45:10 +00:00
Richard M. Stallman
6afadb5700 Require calendar. 1994-08-09 23:26:27 +00:00
Richard M. Stallman
bd21cb17b7 (appt-check): Update on first wakeup after midnight
even if that's not precisely 12:01.
1994-08-09 05:42:35 +00:00
Richard M. Stallman
9c197f24a1 (appt-make-list): Do nothing unless range being processed
for diary entries includes today's date.
1994-08-04 05:44:30 +00:00
Edward M. Reingold
e8cf82e8a5 Change reference from renamed calendar-current-month to calendar-goto-today. 1994-07-22 20:43:39 +00:00
Richard M. Stallman
899b130edf (calendar-goto-today): Renamed from calendar-current-month. 1994-07-16 19:38:18 +00:00
Edward M. Reingold
55fbd565a3 (generate-calendar-month): Make highlighted text for mouse-2 a one character
wide for single-digit dates (this undoes the incorrect fix of May 30, 1994).
1994-07-05 15:44:40 +00:00
Richard M. Stallman
c01cadc3e9 Fix references to diary.el. 1994-06-21 19:10:54 +00:00
Edward M. Reingold
48b29ac004 (calendar-mode-map): Change moon menu bar to pop up a menu. 1994-06-14 20:06:55 +00:00
Richard M. Stallman
d95f5c9740 (calendar-mouse-2-date-menu): Put moon phase here.
(calendar-mode-map): Delete from here.
1994-06-14 19:50:14 +00:00
Edward M. Reingold
8a7cdf3af1 (solar-holidays): Revised to use the rewritten and new fcns. 1994-06-03 20:27:02 +00:00
Edward M. Reingold
c68488d2f7 (solar-sunrise, solar-sunset): Fix doc string.
(solar-time-string): Rewritten.
(solar-adj-time-for-dst): New function.
(solar-sunrise-sunset, diary-sabbath-candles,
 solar-equinoxes-solstices): Revised to use the rewritten and new fcns.
1994-06-03 20:26:33 +00:00
Edward M. Reingold
e483c805af (lunar-phase): Revised to use the rewritten and new fcns. 1994-06-03 20:25:44 +00:00
Paul Eggert
d098eb394e Fix typo: Mayan -> French Revolutionary 1994-05-30 17:44:30 +00:00
Paul Eggert
b6c0aabf32 (calendar-mod): Remove; it was equivalent to `mod'. All callers changed. 1994-05-30 17:42:43 +00:00
Edward M. Reingold
c230f36b7b (generate-calendar-month): Make highlighted text for mouse-2 a full column (2
chars) wide, even for single-digit dates.
1994-05-30 14:51:16 +00:00
Richard M. Stallman
38c8f5d347 (calendar-current-time-zone): Fix typo that
transposed DST-STARTS-TIME and DST-ENDS-TIME.
1994-05-30 10:26:56 +00:00
Richard M. Stallman
1e6083840c (calendar-daylight-savings-ends): Fix typo in put. 1994-05-30 09:36:20 +00:00
Richard M. Stallman
3a7f8079c0 (calendar-cursor-to-date): Rename starred-day to calendar-starred-day. 1994-05-28 04:32:32 +00:00
Richard M. Stallman
982f12d052 (calendar-mode-map): Define mouse-2 as ignore. 1994-05-28 04:27:04 +00:00
Richard M. Stallman
a4e104bf5c Doc fix. 1994-05-22 22:14:17 +00:00
Richard M. Stallman
3f6ca39d91 (calendar-mode-map): Use calendar-goto-astro-day-number. 1994-05-19 23:18:36 +00:00
Richard M. Stallman
89e143860c Rewrite mouse-3 menu as a keymap.
Move calendar-mouse-2-date-menu to down-mouse-2.
1994-05-12 19:21:38 +00:00
Edward M. Reingold
a6ee0a2f86 (calendar-mode-map): Change binding of Mouse-2. Bind Mouse-3.
(calendar-event-to-date): Add optional error parameter.
(calendar-mouse-print-dates): Fix first line to show day of year.
(calendar-mouse-date-menu): Deleted; split into two new functions.
(calendar-mouse-2-date-menu, calendar-mouse-3-date-menu): The two functions.
1994-05-10 22:10:16 +00:00
Edward M. Reingold
21c8986e27 (calendar-cursor-to-date): Fix error return.
(calendar-iso-date-string): Repair punctuation.
1994-05-10 21:57:35 +00:00
Richard M. Stallman
b61631a77d (calendar-mouse-set-mark): New function.
(calendar-mouse-date-menu): Bind it to key.
1994-05-09 03:20:21 +00:00
Richard M. Stallman
6b1abbd186 Doc fixes. 1994-05-08 06:45:49 +00:00
Richard M. Stallman
be6231e3d1 (calendar-event-to-date): Set buffer in case calendar isn't current. 1994-05-08 06:29:31 +00:00
Richard M. Stallman
e2bb905e9e (calendar-mouse-print-dates): Add missing level of list
for Islamic, Revolutionary and Mayan calendars.
Delete duplicate entry for ISO calendar.
1994-05-08 06:10:52 +00:00
Karl Heuer
8f1204db34 Update copyright. 1994-05-03 23:47:06 +00:00
Karl Heuer
d733c5ec03 Update copyright. 1994-05-03 22:46:37 +00:00
Richard M. Stallman
ec4dfb6bfb (sunrise-sunset): Undo previous change. 1994-05-01 20:18:39 +00:00
Richard M. Stallman
2d2bdb7aba (solar-degrees-to-hours, solar-hours-to-days): Force floating result.
(sunrise-sunset): Don't alter calendar-daylight-savings-starts
and calendar-daylight-savings-ends.
1994-05-01 07:39:02 +00:00
Richard M. Stallman
c00f638dbb (calendar-starred-day): Var renamed from starred-day. 1994-04-27 08:38:11 +00:00
Richard M. Stallman
6b39e127f6 (calendar-mode-map): Use substitute-key-definition.
Don't mess with kill-region and copy-region-as-kill.
1994-04-16 00:21:29 +00:00
Richard M. Stallman
e555fdd878 Many doc fixes.
(general-holidays, *-holidays): Add risky-local-variable property.
1994-04-07 20:31:17 +00:00
Richard M. Stallman
5924340384 Fix copying conditions for current GPL version. 1994-04-07 20:30:18 +00:00
Richard M. Stallman
cd2d091aff (calendar-daylight-savings-ends)
(calendar-daylight-savings-ends): Add risky-local-variable property.
1994-04-07 19:05:41 +00:00
Roland McGrath
1beddd9bb1 (calendar-cursor-to-date): Fix to signal error when appropriate. 1994-04-05 01:34:09 +00:00
Karl Heuer
c9434ed66d (generate-calendar-month): Add mouse-face properties. 1994-04-04 22:59:59 +00:00
Edward M. Reingold
d928d7e562 (lunar-phase): Use calendar-mod instead of % so that it
works for negative phase numbers.
1994-03-14 17:21:31 +00:00
Karl Heuer
fc9183db8e Doc fix. 1994-03-12 01:55:02 +00:00
Richard M. Stallman
0dba5606aa Comment changes. 1994-03-06 19:00:21 +00:00
Karl Heuer
590496255a Use add-hook instead of setq. 1994-03-03 17:39:32 +00:00
Edward M. Reingold
b5e8c6b79d * calendar.el (calendar-current-date): Use fixed assoc list for
month names so that changing the array of names doesn't screw up
	the determination of the current date.
1994-03-01 22:42:53 +00:00
Edward M. Reingold
c93b9aaef9 Fix calendar-cursor-to-date to handle starred days correctly. 1994-02-23 02:38:23 +00:00
Richard M. Stallman
5a1a5fd7f7 (calendar-cursor-to-date): Fix search string so it
correctly moves past a starred date.
1994-02-22 04:46:12 +00:00
Richard M. Stallman
7cd96b42c5 (calendar-string-to-mayan-long-count): Don't
assume that periods must end numbers.  Look for digit runs explicitly.
1994-02-19 02:05:53 +00:00
Richard M. Stallman
6a6e6405ef (calendar-sunrise-sunset): Use new error arg to calendar-cursor-to-date.
(sunrise-sunset): Allow it to be called without an argument (as advertized).
1994-02-07 20:56:46 +00:00
Richard M. Stallman
d33b395845 (calendar-print-mayan-date): Use new error arg to calendar-cursor-to-date. 1994-02-07 20:55:00 +00:00
Richard M. Stallman
ea5ccb55d3 (calendar-print-french-date,diary-french-date):
Use new error arg to calendar-cursor-to-date.
1994-02-07 20:53:04 +00:00
Richard M. Stallman
56e7830d68 (calendar-cursor-holidays): Use new error arg
to calendar-cursor-to-date.
1994-02-07 20:49:35 +00:00
Richard M. Stallman
ffd82264f0 (calendar-mode-line-format): Change "current" to "today".
(calendar-cursor-to-date): Add optional parameter to cause error
signal when cursor is not on a date---this allows lots of
simplifications throughout the code.
(calendar-forward-month,calendar-set-mark,
calendar-exchange-point-and-mark,calendar-count-days-region,
calendar-print-day-of-year,calendar-print-iso-date,
calendar-print-julian-date,calendar-print-islamic-date,
calendar-print-hebrew-date,calendar-print-astro-day-number): Use simplification.
1994-02-07 20:42:44 +00:00
Richard M. Stallman
b7a321a4d4 (calendar-mode-map): Pass (keymap) as KEYMAP arg to where-is-internal. 1994-02-04 06:44:55 +00:00
Richard M. Stallman
85a9e6fe4a (appt-display-interval, appt-display-duration)
(appt-message-warning-time): Use larger defaults.
1994-02-01 00:00:36 +00:00
Richard M. Stallman
d5c61e945e (calendar-print-hebrew-date): Change to use calendar-hebrew-date-string. 1994-01-31 16:16:05 +00:00
Richard M. Stallman
aef1a243d0 Initial revision 1994-01-30 00:30:22 +00:00
Richard M. Stallman
45cb347be7 (calendar-mayan-date-string): New function.
(calendar-print-mayan-date, diary-mayan-date): Use it.
1994-01-30 00:30:02 +00:00
Richard M. Stallman
adaeaa8e59 (calendar-french-date-string): New function.
(calendar-print-french-date, diary-french-date): Use it.
1994-01-30 00:29:32 +00:00
Richard M. Stallman
abd93e6653 (calendar-sunrise-sunset): Add date to message. 1994-01-30 00:29:09 +00:00
Richard M. Stallman
1a380827e3 (calendar-phases-of-moon): Fix mode line. 1994-01-30 00:28:54 +00:00
Richard M. Stallman
1d34f34921 (list-calendar-holidays): Fix mode line. 1994-01-30 00:28:40 +00:00
Richard M. Stallman
6a2aa94c25 (calendar-version): New function.
Adjustments to commentary at top of file.
(diary-entry-marker, calendar-today-marker,
calendar-holiday-marker): Don't autoload them; change definitions
to support monochrome and color workstations.
(calendar-french-date-string,calendar-mayan-date-string): Autoload them.
(calendar-day-of-year-string, calendar-iso-date-string,
calendar-julian-date-string,calendar-islamic-date-string,
calendar-hebrew-date-string,calendar-astro-date-string): New functions
(calendar-print-day-of-year, calendar-print-iso-date,
calendar-print-iso-date,calendar-print-julian-date,
calendar-print-islamic-date,calendar-print-hebrew-date,
calendar-print-astro-day-number): Use them.
(calendar-mode-map): Add mouse support.
(calendar-unmark,mark-visible-calendar-date,calendar-mark-today):
Rewritten.
1994-01-30 00:25:00 +00:00
Richard M. Stallman
adae5323e7 (appt-check): Doc fix. 1994-01-25 00:09:55 +00:00
Richard M. Stallman
5b5861558c (appt-check): Use the new variables
appt-disp-window-function and appt-delete-window-function.
(appt-disp-window-function): New variable.
(appt-delete-window-function): New variable.
(appt-delete-window): New function.
(appt-disp-window): Don't delete the appt window here;
instead, call appt-delete-window-function.
Fixed bug that messed up the screen when appt-check ran
when mouse is in the minibuffer.
Call select-frame only if window-system.
1994-01-21 21:21:20 +00:00
Richard M. Stallman
c3a3ebc910 (calendar-goto-french-date): Fix special day
choice in non-leap years by re-reversing the list.  Fix out of
place parenthesis in prompt.
1994-01-02 19:03:36 +00:00
Richard M. Stallman
ff4373ed63 (calendar-mode-map): Put back C-v and M-v bindings. 1993-12-23 03:21:48 +00:00
Paul Eggert
238c5cc1cc (lunar-phase): Add calendar-time-zone to solar ephemeris correction.
This fixes a bug where GMT was being reported as if it were local time.
1993-12-05 18:29:24 +00:00
Richard M. Stallman
b570e6523a (appt-display-interval): New variable.
(appt-check): Obey that variable.
1993-11-16 03:30:08 +00:00
Richard M. Stallman
ce4d3fff9b (solar-equinoxes-solstices): Add autoload. 1993-11-14 22:54:45 +00:00
Richard M. Stallman
3b92bdd24e (solar-holidays): Change top-level progn to an if. 1993-11-14 22:51:17 +00:00
Richard M. Stallman
3ac14ca02a (calendar-absolute-from-time): Undo Sep 14 patch.
Fix comments instead, since they didn't match the code.
1993-11-13 23:59:53 +00:00
Richard M. Stallman
2ba08787e7 (holiday-easter-etc): Fix Ascension Day string. 1993-10-20 05:51:52 +00:00
Richard M. Stallman
3d9dece2e8 (solar-n-hemi-seasons, solar-s-hemi-seasons): New vars.
(solar-equinoxes-solstices): Use them to fix names for southern hemisphere.
1993-10-20 05:51:19 +00:00
Richard M. Stallman
d8a200a762 (calendar-week-start-day): New var (autoloaded) to
allow the calendar week to start on any day, not just Sunday.
(calendar-mod): New support function.
(calendar-cursor-to-visible-date, generate-calendar-month,
calendar-beginning-of-week, calendar-end-of-week):
Use new var calendar-week-start-day.

(calendar-day-name-array, calendar-month-name-array,
calendar-islamic-month-name-array,
calendar-hebrew-month-name-array-common-year,
calendar-hebrew-month-name-array-leap-year):  Change to defvar.
1993-10-20 05:49:24 +00:00
Brian Fox
fc68b5523c (s-hemi-seasons n-hemi-seasons): New constants are hemisphere
dependent list of season names.  The names are "international"; i.e.,
`vernal' and `autumnal' are used consistently.
(solar-equinoxes-solstices): Use new constants, allowing southern
hemisphere reports to be meaningful.
(sunrise-sunset): Use `frame-width' instead of `screen-width'.
1993-09-21 07:46:03 +00:00
Brian Fox
1b41c5d14d (calendar-absolute-from-time): Fix typo by interchanging (floor) and (%). 1993-09-21 06:51:15 +00:00
Paul Eggert
d6fc04a8ca (calendar-time-zone-daylight-rules): Remove special case for Israel.
Israel has changed its daylight savings time rules, and we don't know
what the current rules are.
1993-09-06 22:37:51 +00:00
Paul Eggert
3a2e3ab5ba Use integers instead of floating point where they will do.
(solar-equinoxes-solstices): Invert seasons in southern hemisphere.
(solar-degrees-to-quadrant): Use `floor' instead of `truncate'.
1993-08-29 17:28:19 +00:00
Paul Eggert
6bc457fea5 (calendar-time-zone-daylight-rules): Scan through the
next few years until at most one rule remains; if none remain, then
just use the first candidate rule; it's wrong in general, but it's
right for at least one year.  This is a better heuristic in case the
underlying time zone implementation has bugs (which is all too
common).  If possible, don't convert back and forth between gregorian
and absolute; this speeds things up noticeably.  This uses the new
calendar-nth-named-absday function.

(calendar-current-time-zone): Some locales start DST at a different
time of day than they end; allow for this by yielding both times.  The
performance speedups in calendar.el are great enough that we now no
longer need the "Checking time zone data..." message.  If
current-time-zone yields nil, don't bother with
calendar-next-time-zone-transition.  Use clearer names for local vars.

(calendar-time-zone, calendar-daylight-time-offset,
calendar-{standard,daylight}-time-zone-name,
calendar-daylight-savings-{starts,ends}): Default to US Eastern rules
for information that is not available.

(calendar-daylight-savings-{starts,ends}-time): New vars, replacing
calendar-daylight-savings-switchover-time, to support locales that
start DST at a different time of day than they end.

(calendar-absolute-from-time):
Fix typo by interchanging floor and mod.
1993-08-28 04:14:25 +00:00
Paul Eggert
04d5d338d2 (solar-holidays): Use new
calendar-daylight-savings-{starts,ends}-time vars instead of old
calendar-daylight-savings-switchover-time var.

(calendar-last-day-of-month): Tune by testing month before year.
(calendar-absolute-from-gregorian): Tune by computing (1- year) once.

(calendar-nth-named-absday): New function, used to improve performance
in calendar-time-zone-daylight-rules.
(calendar-nth-named-day): Use it.
1993-08-28 04:14:25 +00:00
Paul Eggert
c27a1f512c (solar-time-string):
Use new calendar-daylight-savings-{starts,ends}-time
vars instead of old calendar-daylight-savings-switchover-time var.
1993-08-28 04:14:25 +00:00
Jim Blandy
0d336f18a8 * calendar.el (calendar-absolute-from-iso,
american-calendar-display-form, european-calendar-display-form):
Fix typos in doc strings doc strings.

(calendar-mode-map): Use "[prior]" and "[next]" in key bindings.
1993-08-20 15:55:57 +00:00
Jim Blandy
808977603e * solar.el (solar-sunrise, solar-sunset, solar-longitude-of-sun):
Make both arguments to solar-mod float.

(sunrise-sunset): Change screen-width to frame-width.
1993-08-20 15:55:29 +00:00
Roland McGrath
4cc1b78aef Undo last change. 1993-08-10 17:57:31 +00:00
Roland McGrath
8bab5c187a (calendar-absolute-from-time, calendar-time-from-absolute): Use % in place
of mod.  Use (floor (/ A B)) in place of (floor A B).
1993-08-10 17:52:21 +00:00
Richard M. Stallman
d7fa63b287 (hebrew-holidays-3): Fix misspelling in var name. 1993-08-10 05:53:31 +00:00
Paul Eggert
632f9a0ea0 (calendar-/, calendar-%): Remove, since floor and mod
now subsume them.  All callers changed.
1993-08-10 04:14:17 +00:00
Paul Eggert
e7bb3aebcc solar-mod -> mod 1993-08-10 04:14:17 +00:00
Paul Eggert
12e070d17a (siolar-mode): Remove, since mod now subsumes it. ALl callers changed. 1993-08-10 04:14:17 +00:00
Richard M. Stallman
34fa2dc2e5 (diary-display-hook): Change default and fix doc string.
(diary-hook): New user variable.
(diary-date-forms, calendar-date-display-form): Don't autoload
them so the European/American style is decided at load time.
1993-08-04 23:02:10 +00:00
Richard M. Stallman
5e2a0ae4fb (calendar-mode-map): Bind C-SPC. 1993-07-29 05:13:26 +00:00
Richard M. Stallman
97344751da (hebrew-holidays): Split into 4 sub-variables. 1993-07-19 18:57:59 +00:00
Jim Blandy
2f88891677 * calendar.el (calendar-holidays): Don't autoload this; its value
must be set after the user's .emacs file is loaded.
1993-07-14 07:24:36 +00:00
Richard M. Stallman
1bd4e7608f Doc fixes. 1993-06-28 05:18:27 +00:00
Jim Blandy
3e03d7c74e * cal-dst.el: New file.
(calendar-/, calendar-%, calendar-absolute-from-time,
        calendar-time-from-absolute, calendar-next-time-zone-transition,
        calendar-time-zone-daylight-rules): New functions.
        (calendar-current-time-zone): Moved from calendar.el and rewritten.
        (calendar-current-time-zone-cache): New variable.
        (calendar-current-time-zone, calendar-time-zone,
        calendar-daylight-time-offset, calendar-standard-time-zone-name,
        calendar-daylight-time-zone-name,
        calendar-daylight-savings-starts, calendar-daylight-savings-ends,
        calendar-daylight-savings-switchover-time): Moved from calendar.el.
1993-06-22 03:25:13 +00:00
Jim Blandy
80e48f9fa8 * lunar.el (lunar-phase): Use time conversion from solar.el 1993-06-22 03:24:44 +00:00
Jim Blandy
8ec105a066 * holidays.el (calendar-holiday-function-fixed,
calendar-holiday-function-float, calendar-holiday-function-julian,
        calendar-holiday-function-islamic,
        calendar-holiday-function-hebrew, calendar-holiday-function-sexp,
        calendar-holiday-function-advent,
        calendar-holiday-function-easter-etc,
        calendar-holiday-function-greek-orthodox-easter,
        calendar-holiday-function-rosh-hashanah-etc,
        calendar-holiday-function-hanukkah,
        calendar-holiday-function-passover-etc,
        calendar-holiday-function-tisha-b-av-etc): Renamed without words
        "calendar" and "function"; changed argument from a list of values to
        individual values.  Fixed doc strings.
        (calendar-holiday-function-if): Removed.
        (calendar-holiday-solar-equinoxes-solstices): Renamed
        solar-equinoxes-solstices.
        (calendar-holiday-list): Rewrote to accomodate the name changes
        above and the unquoting of calendar-holidays.
        (calendar-cursor-holidays):  Change screen-width to frame-width.
        (holiday-sexp): Rewritten.
1993-06-22 03:24:23 +00:00
Jim Blandy
c6b6c929dc * cal-mayan.el (calendar-mayan-days-before-absolute-zero,
calendar-mayan-haab-difference, calendar-mayan-tzolkin-difference,
        calendar-mayan-tzolkin-haab-on-or-before,
        calendar-previous-calendar-round-date,
        calendar-absolute-from-mayan-long-count,
        calendar-print-mayan-date): Fix doc strings.
1993-06-22 03:23:59 +00:00
Jim Blandy
a92ade89ed * solar.el (calendar-holiday-solar-equinoxes-solstices): Renamed
solar-equinoxes-solstices.
        (calendar-time-display-form, calendar-latitude,
        calendar-longitude): Moved from calendar.el.
        (calendar-time-zone, calendar-standard-time-zone-name,
        calendar-daylight-time-zone-name,
        calendar-daylight-savings-starts, calendar-daylight-savings-ends):
        Take default values from calendar-current-time-zone, instead of
        being overwritten in open code if they were set to nil.
        (solar-time-string): Subtract calendar-daylight-time-offset when
        computing dst-ends.  Avoid rounding errors when rounding time to
        the nearest minute.
1993-06-22 03:22:40 +00:00
Jim Blandy
354d06443e * calendar.el (calendar-version): Update to 5.1. Fixed a variety
of spelling error in comments and doc strings.
        (calendar-sexp-debug): New variable to turn off error catching.
	(calendar-absolute-from-gregorian): Removed unused vars month, day.
        (view-calendar-holidays-initially, all-hebrew-calendar-holidays,
        all-christian-calendar-holidays, all-christian-islamic-holidays,
        diary-nonmarking-symbol, hebrew-diary-entry-symbol,
        islamic-diary-entry-symbol, diary-include-string,
        abbreviated-calendar-year, european-calendar-style,
        european-calendar-display-form, american-calendar-display-form,
        calendar-date-display-form, print-diary-entries-hook,
        list-diary-entries-hook, nongregorian-diary-listing-hook,
        nongregorian-diary-marking-hook, diary-list-include-blanks,
        holidays-in-diary-buffer, general-holidays,
        increment-calendar-month, calendar-sum, calendar-string-spread,
        calendar-absolute-from-iso, calendar-print-iso-date,
        hebrew-calendar-elapsed-days, list-yahrzeit-dates,
        calendar-print-astro-day-number): Fix doc strings.
        (calendar-nth-named-day): Rewritten to include optional day of month.
        (general-holidays, calendar-holidays, hebrew-holidays,
        christian-holidays, islamic-holidays,
        solar-holidays): Rewritten to include require of cal-dst.el and to
        show the time of the change to/from daylight savings time.
        (calendar-current-time-zone, calendar-time-zone,
        calendar-daylight-time-offset, calendar-standard-time-zone-name,
        calendar-daylight-time-zone-name, calendar-daylight-savings-starts,
        calendar-daylight-savings-ends,
        calendar-daylight-savings-switchover-time): Moved to cal-dst.el.
        (calendar-location-name, calendar-time-display-form, calendar-latitude,
        calendar-longitude): Moved to solar.el.
        (calendar-holidays): Unquote it!
1993-06-22 03:22:12 +00:00
Jim Blandy
e2fe2f5238 *solar.el (solar-setup, solar-ephemeris-time, sunrise-sunset): Change
Universal Time (UT) to Coordinated Universal Time (UTC).
        (solar-time-string): Use calendar-daylight-time-offset instead of
        1 hr, and use calendar-daylight-savings-switchover-time instead of
        midnight.  Add an optional parameter to allow forcing the use of
        standard or daylight savings time.  Fix code so it works in
        southern hemisphere (start of dst precedes end of dst in a
        calendar year) and when dst either starts or ends in a calendar
        year, but not both.
1993-06-16 23:12:21 +00:00
Jim Blandy
23195d9408 * calendar.el (calendar-current-time-zone): Change variable names
to make them more readable.
        (calendar-time-zone, calendar-standard-time-zone-name,
        calendar-daylight-time-zone-name, calendar-daylight-savings-ends,
        calendar-daylight-savings-starts): Don't autload them.

        * calendar.el (calendar-holidays): Quote it to delay evaluation
        until it's needed.
1993-06-16 23:10:55 +00:00
Jim Blandy
e0e8ed67ff * holidays.el: Eval calendar-holidays; don't just use its value. 1993-06-14 15:24:24 +00:00
Jim Blandy
eb8c3be94e Apply typo patches from Paul Eggert. 1993-06-09 11:59:12 +00:00
Richard M. Stallman
2ec778d095 (calendar-mode): Doc fix.
(calendar-mark-ring): New defvar.
1993-06-03 06:12:46 +00:00
Richard M. Stallman
6515fde491 (calendar-daylight-savings-starts, calendar-daylight-savings-ends):
Default to nil if the locale never has DST.
1993-05-24 00:00:19 +00:00
Jim Blandy
c8d190a5c7 * holidays.el: Update reference to the papers in S-P&E.
(filter-visible-calendar-holidays): Test for nil date.
1993-05-22 00:24:21 +00:00
Jim Blandy
facb137b9c Some time-handling patches from Paul Eggert:
* calendar.el (calendar-current-time-zone): New function.
	(calendar-time-zone, calendar-standard-time-zone-name,
	calendar-daylight-time-zone-name): Use it instead of current-time-zone.
	* sendmail.el (mail-do-fcc): Use the same absolute time for both
	current-time-string and current-time-zone.  Adjust to new format
	returned by current-time-zone.
1993-05-20 06:28:46 +00:00
Jim Blandy
2ea2ebebda * calendar.el (hebrew-calendar-yahrzeit): Correct error from S-P&E
paper in test for Adar I 30 date of death for yahrzeit in a
        non-leap year when Shevat 29 must be used.
1993-05-19 19:34:12 +00:00
Richard M. Stallman
e9c78f076c (calendar-mode-map): Add arrow key bindings. 1993-05-07 17:40:01 +00:00
Jim Blandy
e4c61e50a6 * calendar.el: Update reference to the papers in S-P&E.
(calendar-print-astro-day-number): Correct spelling error in
         message string.
1993-05-03 22:56:42 +00:00
Jim Blandy
cb0d33b2a1 * calendar.el (calendar-standard-time-zone-name,
calendar-daylight-time-zone-name): Initialize these at load-time,
	as well as calendar-time-zone.

	* calendar.el (calendar-time-zone): Fix code which initializes
	this.
1993-03-25 01:28:21 +00:00
Jim Blandy
558b2117a0 * diary-insert.el: Change the name to diary-ins.el.
* calendar.el: Change all autoload references to diary-ins.
1993-03-23 02:16:18 +00:00
Eric S. Raymond
68e6022543 Corrected Keywords header 1993-03-18 21:44:24 +00:00
Jim Blandy
0267e275bc * solar.el (solar-time-string): Round the time properly. 1993-03-18 21:39:28 +00:00
Eric S. Raymond
e9571d2a21 Add or correct keywords 1993-03-18 21:29:42 +00:00
Jim Blandy
aecd648672 * calendar.el (calendar-time-zone): Initialize this when
calendar.el loads, not in the defvar.
1993-03-16 09:13:53 +00:00
Jim Blandy
ae39e6673d * calendar.el (hebrew-calendar-yahrzeit): Change reference to
nonexistent function last-month-of-hebrew-year to the correct
        function hebrew-calendar-last-month-of-year.
1993-03-11 07:03:57 +00:00
Jim Blandy
63f7638538 * cal-mayan.el (calendar-mayan-haab-on-or-before,
calendar-mayan-tzolkin-on-or-before): Change `mod' to `%'.

	* cal-mayan.el (calendar-next-tzolkin-date): Delete bogus second
	defun.
1993-03-11 07:03:17 +00:00
Jim Blandy
a078803d3e * cal-mayan.el (calendar-print-mayan-date): Fix conversion in
output message.
1992-10-06 15:50:19 +00:00
Richard M. Stallman
67ead47123 Dox fixes. 1992-10-05 06:25:46 +00:00
Jim Blandy
fbfed6f05f entered into RCS 1992-08-19 03:54:46 +00:00
Jim Blandy
7e1dae733a entered into RCS 1992-08-12 12:50:10 +00:00
Jim Blandy
9f34a2a0c8 Initial revision 1992-08-12 12:49:57 +00:00
Jim Blandy
637a8ae9ce *** empty log message *** 1992-08-04 07:27:12 +00:00
Eric S. Raymond
3a801d0c71 *** empty log message *** 1992-07-22 04:22:42 +00:00
Eric S. Raymond
fd7fa35a05 *** empty log message *** 1992-07-17 08:15:29 +00:00
Eric S. Raymond
e516799970 *** empty log message *** 1992-07-16 21:47:34 +00:00
Eric S. Raymond
fc68affa4e *** empty log message *** 1992-07-16 07:28:05 +00:00
Jim Blandy
f98955eaaa *** empty log message *** 1992-07-15 02:24:58 +00:00
Jim Blandy
dc6d96816d *** empty log message *** 1992-07-15 00:32:19 +00:00
Jim Blandy
e5d77022e8 *** empty log message *** 1992-06-30 13:54:21 +00:00
Richard M. Stallman
94b304d75b *** empty log message *** 1992-06-03 02:55:55 +00:00
Eric S. Raymond
c0274f385f *** empty log message *** 1992-05-30 23:54:21 +00:00
Eric S. Raymond
1a06eabd17 *** empty log message *** 1992-05-30 23:12:08 +00:00
Richard M. Stallman
ecaa052710 Initial revision 1992-05-04 16:48:30 +00:00
Jim Blandy
49116ac071 *** empty log message *** 1992-03-16 20:39:07 +00:00
Jim Blandy
1802278ad5 Initial revision 1991-08-23 03:01:50 +00:00
Jim Blandy
902a0e3ce3 Initial revision 1991-01-30 21:30:11 +00:00