1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-07 12:10:55 +00:00
Commit Graph

58 Commits

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