;ELC ;;; compiled by reingold@albert.gnu.ai.mit.edu on Fri Jun 3 16:23:18 1994 ;;; from file /gd/gnu/emacs/19.0/lisp/lunar.el ;;; emacs version 19.25.2. ;;; bytecomp version FSF 2.10 ;;; optimization is on. ;;; this file uses opcodes which do not exist in Emacs 18. (if (and (boundp 'emacs-version) (or (and (boundp 'epoch::version) epoch::version) (string-lessp emacs-version "19"))) (error "`/gd/gnu/emacs/19.0/lisp/lunar.el' was compiled for Emacs 19")) (byte-code "! !!!" [fboundp atan require lisp-float-type error "Lunar calculations impossible since floating point is unavailable." solar] 2) (defalias 'lunar-phase-list #[(month year) "  \f_ \\\\ƦTƥ)\n_ \\\\ƦTƥ) \fEC UZ\n̦UZ\nΦUV\nϦUZЂ^ SH\nEC  E@ EA@ EAA@S_\\V_\\إZ ̦U ΦU ϦUT,٥\\\\_!_!  \"\" C\" T! . " [month year start-year start-month end-year end-month 12 2 macro-y -2 1 end-date 4 0 100 400 29 [31 28 31 30 31 30 31 31 30 31 30 31] start-date truncate day 31 day-of-year 23 10 366.0 -1900 12.368499999999999 index lunar-phase new-moon nil list calendar-date-compare append] 6 "\ List of lunar phases for three months starting with Gregorian MONTH, YEAR."]) (defalias 'lunar-phase #[(index) " \" ĥť\n\f\f\nS_\\\nVX\n_\\ӥZ¦UXզUS֦UXT,_¥ե[֥\\\\\\\\) _________\\\\!_\\\\\\\\\\! ______\\\\\\\"' ______\\\\\\\"- ______\\\\\\\"3 >_Z'!_'\\!_-!_-\\!_-_!_3\\!_'-\\!_'-Z!_3\\'\\!_3\\'Z!@_3\\-\\!A_3\\-Z!B_-\\'\\!C_\\\\\\\\\\\\\\\\\\\\\\\\>DE_Z'!_'\\!F_-!G_-\\!H_-_!I_3\\!J_'-\\!K_'-Z!L_3\\'\\!M_3\\'Z!N_3\\-\\!O_3\\-Z!P_-\\'\\!Q_'-\\Z!R_'\\-\\!S_\\\\\\\\\\\\\\\\\\\\\\\\\\\\TU'!V_U-!W_X\\\\Y UiTY\\y UwTYZyTT!T\\!Z[\\]!!!AA@!Z^\\!]!!Z__\\]!!!!`!\"Y@abYA\" E." [mod index 4 phase 4.0 1236.8499999999999 time 1899 prior-years 1 month .5 day 1900 year 31 day-of-year 2 23 10 0 100 400 365 29.530588680000001 .00011779999999999999 -1.55e-007 solar-sin-degrees 132.87 -.009173 166.56 .00033000000000000003 .75932999999999993 date 29.105356 -3.3300000000000001e-005 -3.4700000000000002e-006 359.2242 360.0 sun-anomaly 385.81691805999998 .010730599999999999 1.2359999999999998e-005 306.02530000000002 360.0 moon-anomaly 390.67050646000001 -.0016528 -2.3899999999999997e-006 21.296399999999998 360.0 moon-lat (0 2) .1734 .00039300000000000001 .0020999999999999996 -.40679999999999996 .016100000000000001 3 -.0004 .0104 -.0050999999999999996 -.0074000000000000012 .0004 -.0004 -.00059999999999999982 .001 .0005 .17210000000000001 .0004 .0020999999999999996 -.62800000000000002 .0088999999999999986 -.0004 .0079000000000000012 -.011900000000000002 -.0046999999999999993 .00029999999999999991 -.0004 -.00059999999999999982 .0020999999999999996 .00029999999999999991 .0004 -.00029999999999999991 adjustment solar-cosine-degrees -.0004 .00029999999999999991 .0028000000000000004 adj calendar-time-zone solar-ephemeris-correction calendar-gregorian-from-absolute truncate 1440.0 24 solar-adj-time-for-dst apply solar-time-string] 18 "\ Local date and time of lunar phase INDEX. Integer below INDEX/4 gives the lunation number, counting from Jan 1, 1900; remainder mod 4 gives the phase: 0 new moon, 1 first quarter, 2 full moon, 3 last quarter."]) (defalias 'lunar-phase-name #[(phase) "U‡UćUƇUȇ" [phase 0 "New Moon" 1 "First Quarter Moon" 2 "Full Moon" 3 "Last Quarter Moon"] 2 "\ Name of lunar PHASE. 0 = new moon, 1 = first quarter, 2 = full moon, 3 = last quarter."]) (defalias 'calendar-phases-of-moon #[nil "!\n \n  _ \\\\\fʦT \fʥ)_\\\fʦT\fʥ) !qUa !!$p !!%!  \"#ceb! !!-" [message "Computing phases of the moon..." displayed-month displayed-year "*Phases of Moon*" lunar-phases-buffer y2 m2 y1 m1 12 -2 macro-y get-buffer-create nil buffer-read-only calendar-set-mode-line format "Phases of the Moon from %s to %s, %d%%-" calendar-month-name "Phases of the Moon from %s, %d to %s, %d%%-" erase-buffer mapconcat #[(x) "@A@AA@ ! !\n+" [x phase time date calendar-date-string ": " lunar-phase-name " "] 5] lunar-phase-list "\n" set-buffer-modified-p t display-buffer "Computing phases of the moon...done"] 8 "\ Create a buffer with the lunar phases for the current calendar window." nil]) (defalias 'phases-of-moon #[(&optional arg) " \f#\f\"\"$!\f!\"A% @\f9 AA@!#= AA@ -" [t completion-ignore-case calendar-current-date date arg assoc capitalize completing-read "Month name: " mapcar list append calendar-month-name-array nil calendar-make-alist displayed-month calendar-read "Year (>0): " (lambda (x) (> x 0)) int-to-string displayed-year calendar-phases-of-moon] 9 "\ Display the quarters of the moon for last month, this month, and next month. If called with an optional prefix argument, prompts for month and year. This function is suitable for execution in a .emacs file." "P"]) (defalias 'diary-phases-of-moon #[nil " AA@ @ A@ AA@ \nS_\\\nVH\n_\\ʥZ\fȦUH\f̦UC\fͦUHT,Υ\\\\_!_! C\"tT!]@ \"AA@!A@Q*" [truncate date month day year 31 day-of-year 2 4 23 10 0 100 400 366.0 -1900 12.368499999999999 index lunar-phase phase calendar-date-compare calendar-date-equal lunar-phase-name " "] 5 "\ Moon phases diary entry."]) (provide (quote lunar))