home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / gnu / lucid / lemacs-19.6 / lisp / calendar / README < prev    next >
Encoding:
Text File  |  1993-03-06  |  3.0 KB  |  67 lines

  1. The following messages contain, respectively, the eight files calendar.el,
  2. diary.el, diary-insert.el, holidays.el, cal-mayan.el, cal-french.el, solar.el,
  3. lunar.el, and calendar.texinfo.  You need to store them in a directory that is
  4. on your emacs load-path, byte-compile them (for speed), and add the following
  5. lines to your .emacs file:
  6.  
  7. (autoload 'holidays "holidays"
  8.   "Prepare a list of holidays in the previous, present, and next months." t)
  9. (autoload 'calendar "calendar"
  10.   "Display a three-month calendar window." t)
  11. (autoload 'diary "diary"
  12.   "Display a window of diary entries." t)
  13. (autoload 'phases-of-moon "lunar"
  14.   "Display the quarters of the moon for last month, this month, and next month.
  15. This function is suitable for execution in a .emacs file." t)
  16. (autoload 'sunrise-sunset "solar"
  17.   "Local time of sunrise and sunset for today.  Accurate to +/- 2 minutes." t)
  18. (autoload 'list-yahrzeit-dates "calendar"
  19.   "List of Yahrzeit dates for *Gregorian* DEATH-DATE from START-YEAR to
  20. END-YEAR.  When called interactively from the calendar window,
  21. the date of death is taken from the cursor position.")
  22. (if (not (fboundp 'current-time-zone)) (defun current-time-zone nil nil))
  23.  
  24. ;; The following lines can be included, modified, or omitted, as you prefer
  25.  
  26. (setq mark-holidays-in-calendar t)
  27. ;;(setq all-hebrew-calendar-holidays t)
  28. ;;(setq all-islamic-calendar-holidays t)
  29. ;;(setq all-christian-calendar-holidays t)
  30. (setq diary-list-include-blanks t)
  31. (setq nongregorian-diary-marking-hook 'mark-hebrew-diary-entries)
  32. (setq mark-diary-entries-hook 'mark-included-diary-files)
  33. (setq nongregorian-diary-listing-hook 'list-hebrew-diary-entries)
  34. (setq list-diary-entries-hook
  35.       '(include-other-diary-files
  36.         (lambda nil
  37.           (setq diary-entries-list
  38.                 (sort diary-entries-list 'diary-entry-compare)))))
  39. (setq diary-display-hook 'fancy-diary-display)
  40.  
  41. ;(setq calendar-location-name "Cambridge, MA")
  42. ;(if (fboundp 'atan) (setq calendar-latitude 42.33))
  43. ;(if (fboundp 'atan) (setq calendar-longitude -71.08))
  44. ;(setq calendar-time-zone -300)
  45. ;(setq calendar-standard-time-zone-name "EST")
  46. ;(setq calendar-daylight-time-zone-name "EDT")
  47. (setq calendar-location-name "Urbana, IL")
  48. (if (fboundp 'atan) (setq calendar-latitude 40.1))
  49. (if (fboundp 'atan) (setq calendar-longitude -88.2))
  50. (setq calendar-time-zone -360)
  51. (setq calendar-standard-time-zone-name "CST")
  52. (setq calendar-daylight-time-zone-name "CDT")
  53.  
  54.  
  55. The ninth message is the file calendar.texinfo that is the documentation.
  56.  
  57. To obtain the latest release by email, send a message to
  58. reingold@emr.cs.uiuc.edu with the subject field "send-emacs-cal" (no quotes).
  59. The files can also be obtained by anonymous ftp from
  60.           reingold@emr.cs.uiuc.edu:/pub/emacs/calendar/
  61.  
  62. To obtain a HARD COPY of a papers describing the various calendrical
  63. calculations, including the details of the Hebrew, Islamic, ISO, and other
  64. calendars, send a message to reingold@emr.cs.uiuc.edu with the subject field
  65. "send-paper-cal" (no quotes) INCLUDING YOUR POSTAL ADDRESS (SNAIL) in the
  66. message body.
  67.