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

305 Commits

Author SHA1 Message Date
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