aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEdward M. Reingold1995-10-12 15:27:07 +0000
committerEdward M. Reingold1995-10-12 15:27:07 +0000
commit3076647c691657f0e122afa03390a92aef877f38 (patch)
treedb39c4ed55bd9a767fd2363d53e47e0ea7c4dd79
parent3109b27e8091b182b3a524ecfa9e9cec7bcda6b7 (diff)
downloademacs-3076647c691657f0e122afa03390a92aef877f38.tar.gz
emacs-3076647c691657f0e122afa03390a92aef877f38.zip
Added key definitions and autoloads for cal-tex.el (a new file).
-rw-r--r--lisp/calendar/calendar.el89
1 files changed, 75 insertions, 14 deletions
diff --git a/lisp/calendar/calendar.el b/lisp/calendar/calendar.el
index 4ec1488b0e0..03b53c73948 100644
--- a/lisp/calendar/calendar.el
+++ b/lisp/calendar/calendar.el
@@ -5,8 +5,7 @@
5 5
6;; Author: Edward M. Reingold <reingold@cs.uiuc.edu> 6;; Author: Edward M. Reingold <reingold@cs.uiuc.edu>
7;; Keywords: calendar 7;; Keywords: calendar
8;; Human-Keywords: calendar, Gregorian calendar, Julian calendar, 8;; Human-Keywords: calendar, Gregorian calendar, diary, holidays
9;; Julian day number, diary, holidays
10 9
11;; This file is part of GNU Emacs. 10;; This file is part of GNU Emacs.
12 11
@@ -46,25 +45,27 @@
46;; Ethiopic calendar, and to the astronomical (Julian) day number. When 45;; Ethiopic calendar, and to the astronomical (Julian) day number. When
47;; floating point is available, times of sunrise/sunset can be displayed, as 46;; floating point is available, times of sunrise/sunset can be displayed, as
48;; can the phases of the moon. Appointment notification for diary entries is 47;; can the phases of the moon. Appointment notification for diary entries is
49;; available. 48;; available. Calendar printing via LaTeX is available.
50 49
51;; The following files are part of the calendar/diary code: 50;; The following files are part of the calendar/diary code:
52 51
52;; appt.el Appointment notification
53;; cal-chinese.el Chinese calendar
54;; cal-coptic.el Coptic/Ethiopic calendars
55;; cal-dst.el Daylight savings time rules
56;; cal-hebrew.el Hebrew calendar
57;; cal-islamic.el Islamic calendar
58;; cal-iso.el ISO calendar
59;; cal-julian.el Julian/astronomical calendars
60;; cal-mayan.el Mayan calendars
53;; cal-menu.el Menu support 61;; cal-menu.el Menu support
54;; cal-move.el Movement in the calendar 62;; cal-move.el Movement in the calendar
63;; cal-tex.el Calendars in LaTeX
55;; cal-x.el X-windows dedicated frame functions 64;; cal-x.el X-windows dedicated frame functions
56;; diary.el Diary functions 65;; diary.el Diary functions
57;; holidays.el Holiday functions 66;; holidays.el Holiday functions
58;; cal-julian.el Julian/astronomical calendars
59;; cal-hebrew.el Hebrew calendar
60;; cal-islamic.el Islamic calendar
61;; cal-mayan.el Mayan calendars
62;; cal-chinese.el Chinese calendar
63;; cal-coptic.el Coptic/Ethiopic calendars
64;; cal-dst.el Daylight savings time rules
65;; solar.el Sunrise/sunset, equinoxes/solstices
66;; lunar.el Phases of the moon 67;; lunar.el Phases of the moon
67;; appt.el Appointment notification 68;; solar.el Sunrise/sunset, equinoxes/solstices
68 69
69;; Comments, corrections, and improvements should be sent to 70;; Comments, corrections, and improvements should be sent to
70;; Edward M. Reingold Department of Computer Science 71;; Edward M. Reingold Department of Computer Science
@@ -89,7 +90,7 @@
89 90
90(defun calendar-version () 91(defun calendar-version ()
91 (interactive) 92 (interactive)
92 (message "Version 6, September 17, 1995")) 93 (message "Version 6, October 12, 1995"))
93 94
94;;;###autoload 95;;;###autoload
95(defvar calendar-week-start-day 0 96(defvar calendar-week-start-day 0
@@ -1443,6 +1444,54 @@ The holidays are those in the list `calendar-notable-days'. Returns t if any
1443holidays are found, nil if not." 1444holidays are found, nil if not."
1444 t) 1445 t)
1445 1446
1447(autoload 'cal-tex-cursor-month "cal-tex"
1448 "Make a buffer with LaTeX commands for the month cursor is on.
1449Optional prefix argument specifies number of months to be produced.
1450Calendar is condensed onto one page.")
1451
1452(autoload 'cal-tex-cursor-month-landscape "cal-tex"
1453 "Make a buffer with LaTeX commands for the month cursor is on.
1454Optional prefix argument specifies number of months to be produced.")
1455
1456(autoload 'cal-tex-cursor-day "cal-tex"
1457 "Make a buffer with LaTeX commands for the day cursor is on.")
1458
1459(autoload 'cal-tex-cursor-week "cal-tex"
1460 "Make a buffer with LaTeX commands for a one page weekly calendar.
1461Optional prefix argument specifies number of weeks.")
1462
1463(autoload 'cal-tex-cursor-week2 "cal-tex"
1464 "Make a buffer with LaTeX commands for a two page weekly calendar.
1465Optional prefix argument specifies number of weeks.")
1466
1467(autoload 'cal-tex-cursor-week3 "cal-tex"
1468 "Make a buffer with LaTeX commands for a one page weekly calendar.
1469Optional prefix argument specifies number of weeks.")
1470
1471(autoload 'cal-tex-cursor-week4 "cal-tex"
1472 "Make a buffer with LaTeX commands for a one page weekly calendar.
1473Optional prefix argument specifies number of weeks.")
1474
1475(autoload 'cal-tex-cursor-week5 "cal-tex"
1476 "Make a buffer with LaTeX commands for a Filofax one page weekly calendar.
1477Optional prefix argument specifies number of weeks.")
1478
1479(autoload 'cal-tex-cursor-week6 "cal-tex"
1480 "Make a buffer with LaTeX commands for a Filofax two page weekly calendar.
1481Optional prefix argument specifies number of weeks.")
1482
1483(autoload 'cal-tex-cursor-year "cal-tex"
1484 "Make a buffer with LaTeX commands for a year's calendar.
1485Optional prefix argument specifies numeber of years.")
1486
1487(autoload 'cal-tex-cursor-year-landscape "cal-tex"
1488 "Make a buffer with LaTeX commands for a year's calendar (landscape).
1489Optional prefix argument specifies number of years.")
1490
1491(autoload 'cal-tex-cursor-filofax-year "cal-tex"
1492 "Make a buffer with LaTeX commands for a year's calendar (Filofax).
1493Optional prefix argument specifies number of years.")
1494
1446(autoload 'mark-calendar-holidays "holidays" 1495(autoload 'mark-calendar-holidays "holidays"
1447 "Mark notable days in the calendar window." 1496 "Mark notable days in the calendar window."
1448 t) 1497 t)
@@ -1664,7 +1713,19 @@ the inserted text. Value is always t."
1664 (define-key calendar-mode-map "iid" 'insert-islamic-diary-entry) 1713 (define-key calendar-mode-map "iid" 'insert-islamic-diary-entry)
1665 (define-key calendar-mode-map "iim" 'insert-monthly-islamic-diary-entry) 1714 (define-key calendar-mode-map "iim" 'insert-monthly-islamic-diary-entry)
1666 (define-key calendar-mode-map "iiy" 'insert-yearly-islamic-diary-entry) 1715 (define-key calendar-mode-map "iiy" 'insert-yearly-islamic-diary-entry)
1667 (define-key calendar-mode-map "?" 'calendar-goto-info-node)) 1716 (define-key calendar-mode-map "?" 'calendar-goto-info-node)
1717 (define-key calendar-mode-map "tm" 'cal-tex-cursor-month)
1718 (define-key calendar-mode-map "tM" 'cal-tex-cursor-month-landscape)
1719 (define-key calendar-mode-map "td" 'cal-tex-cursor-day)
1720 (define-key calendar-mode-map "tw1" 'cal-tex-cursor-week)
1721 (define-key calendar-mode-map "tw2" 'cal-tex-cursor-week2)
1722 (define-key calendar-mode-map "tw3" 'cal-tex-cursor-week3)
1723 (define-key calendar-mode-map "tw4" 'cal-tex-cursor-week4)
1724 (define-key calendar-mode-map "tfw" 'cal-tex-cursor-week5)
1725 (define-key calendar-mode-map "tfW" 'cal-tex-cursor-week6)
1726 (define-key calendar-mode-map "tfy" 'cal-tex-cursor-filofax-year)
1727 (define-key calendar-mode-map "ty" 'cal-tex-cursor-year)
1728 (define-key calendar-mode-map "tY" 'cal-tex-cursor-year-landscape))
1668 1729
1669(defun describe-calendar-mode () 1730(defun describe-calendar-mode ()
1670 "Create a help buffer with a brief description of the calendar-mode." 1731 "Create a help buffer with a brief description of the calendar-mode."