• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/emacs-92/emacs/lisp/calendar/

Lines Matching +defs:hook +defs:on

39 ;; notable days can be marked on the calendar, if desired.  The user
143 0 means the principal month is in the center (default), -1 means on the left,
144 +1 means on the right. Larger (or smaller) values push the principal month off
151 "Non-nil means display current date's diary entries on entry to calendar.
225 Marking today's date is done only if you set up `today-visible-calendar-hook'
241 "Non-nil means display holidays for current three month period on entry.
257 This means only those Jewish holidays that appear on secular calendars.
266 This means only those Christian holidays that appear on secular calendars.
276 This means only those Islamic holidays that appear on secular calendars.
291 These are the days on which work and school must be suspended.
298 (defcustom calendar-mode-hook nil
300 :type 'hook
304 (defcustom calendar-load-hook nil
307 :type 'hook
311 (defcustom initial-calendar-window-hook nil
316 :type 'hook
320 (defcustom today-visible-calendar-hook nil
324 (setq today-visible-calendar-hook 'calendar-star-date)
327 (setq today-visible-calendar-hook 'calendar-mark-today)
329 The corresponding variable `today-invisible-calendar-hook' is the list of
336 :type 'hook
340 (defcustom today-invisible-calendar-hook nil
343 The corresponding variable `today-visible-calendar-hook' is the list of
350 :type 'hook
354 (defcustom calendar-move-hook nil
359 (add-hook 'calendar-move-hook (lambda () (diary-view-entries 1)))
362 :type 'hook
408 nonmarking--that is, it will not be marked on dates in the calendar
446 Diary entries can be based on Lisp sexps. For example, the diary entry
462 Diary entries based on the Hebrew, the Islamic and/or the Baha'i
464 are ignored unless you set the `nongregorian-diary-listing-hook' and
465 the `nongregorian-diary-marking-hook' appropriately. See the
469 details, see the documentation for the variable `list-diary-entries-hook'."
635 The patterns on the list must be MUTUALLY EXCLUSIVE and should not match
738 (defcustom print-diary-entries-hook 'lpr-buffer
744 :type 'hook
748 (defcustom list-diary-entries-hook nil
753 this hook. This function enables you to use shared diary files together
762 as part of the list-diary-entries-hook, you will probably also want to use the
763 function `mark-included-diary-files' as part of `mark-diary-entries-hook'.
767 (setq list-diary-entries-hook
769 (setq diary-display-hook 'fancy-diary-display)
774 :type 'hook
779 (defcustom diary-hook nil
782 :type 'hook
788 (defcustom diary-display-hook nil
802 choice for this hook; this function prepares a special noneditable diary
809 :type 'hook
816 (defcustom nongregorian-diary-listing-hook nil
823 :type 'hook
830 (defcustom mark-diary-entries-hook nil
834 `mark-diary-entries-hook'; it enables you to use shared diary files together
841 part of the mark-diary-entries-hook, you will probably also want to use the
842 function `include-other-diary-files' as part of `list-diary-entries-hook'."
843 :type 'hook
848 (defcustom nongregorian-diary-marking-hook nil
855 :type 'hook
1000 (calendar-dayname-on-or-before
1003 (calendar-dayname-on-or-before
1220 variables have no effect on `calendar-holidays' after it has been
1227 Entries on the list are expressions that return (possibly empty) lists of
1232 (holiday-fixed MONTH DAY STRING) is a fixed date on the Gregorian calendar
1234 MONTH on the Gregorian calendar (0 for Sunday,
1238 (holiday-hebrew MONTH DAY STRING) a fixed date on the Hebrew calendar
1239 (holiday-islamic MONTH DAY STRING) a fixed date on the Islamic calendar
1240 (holiday-bahai MONTH DAY STRING) a fixed date on the Baha'i calendar
1241 (holiday-julian MONTH DAY STRING) a fixed date on the Julian calendar
1248 For example, to add Bastille Day, celebrated in France on July 14, add
1253 Islands on the fourth Monday in August, add
1278 example, to include American presidential elections, which occur on the first
1284 (1+ (calendar-dayname-on-or-before
1295 (1+ (calendar-dayname-on-or-before
1319 "Name of the buffer used for the display of date on other calendars.")
1327 A negative YR is interpreted as BC; -1 being 1 BC, and so on."
1407 A negative year is interpreted as BC; -1 being 1 BC, and so on."
1451 interpreted as BC; -1 being 1 BC, and so on. Dates before 12/31/1 BC
1555 "Move the cursor to DATE that is on the screen."
1626 surrounded by the previous and next months. The cursor is put on today's date.
1646 Diary entries can be marked on the calendar or displayed in another window.
1653 `calendar-load-hook' are run. This is the place to add key bindings to the
1657 `initial-calendar-window-hook' are run.
1659 The hooks given by the variable `today-visible-calendar-hook' are run
1662 `today-invisible-calendar-hook' are run. Thus, for example, setting
1663 `today-visible-calendar-hook' to 'calendar-star-date will cause today's date
1688 (run-hooks 'initial-calendar-window-hook))
1965 "Make a buffer with LaTeX commands for the month cursor is on.
1970 "Make a buffer with LaTeX commands for the month cursor is on.
1974 "Make a buffer with LaTeX commands for the day cursor is on." t)
1996 It applies to the week that point is in, and starts on Monday.
2009 Weeks start on Monday.
2015 Optional prefix argument specifies number of weeks. Weeks start on Monday.
2093 (run-hooks 'today-visible-calendar-hook)
2094 (run-hooks 'today-invisible-calendar-hook)))))
2098 ;;; A negative YEAR is interpreted as BC; -1 being 1 BC, and so on.
2113 "Produce a calendar for MONTH, YEAR on the Gregorian calendar.
2116 character on the line and does not disturb the first INDENT characters on the
2186 "The day of the week on which a week in the calendar begins.
2187 0 means Sunday (default), 1 means Monday, and so on.
2204 "Turn debugging on when evaluating a sexp in the diary or holiday list."
2366 'help-echo "mouse-1: read Info on Calendar"
2397 and the ISO week/year numbers in the mode. When calendar-move-hook is set to
2470 (add-hook 'activate-menubar-hook 'cal-menu-update nil t)
2476 (run-mode-hooks 'calendar-mode-hook))
2484 ;; The algorithm is based on equation (3.25) on page 85 of Concrete
2580 If cursor is not on a specific date, signals an error if optional parameter
2603 (if error (error "Not on a date!"))))))
2605 (add-to-list 'debug-ignored-errors "Not on a date!")
2636 ;; See the footnote on page 384 of ``Calendrical Calculations, Part II:
2765 Negative years are interpreted as years BC; -1 being 1 BC, and so on."
2900 interpreted as BC; -1 being 1 BC, and so on."
2930 ;; Note there are side effects on calendar navigation.
2992 This function can be used with the `today-visible-calendar-hook' run after the
3010 the `today-visible-calendar-hook' run after the calendar window has been
3039 (defun calendar-dayname-on-or-before (dayname date)
3040 "Return the absolute date of the DAYNAME on or before absolute DATE.
3041 DAYNAME=0 means Sunday, DAYNAME=1 means Monday, and so on.
3043 Note: Applying this function to d+6 gives us the DAYNAME on or after an
3051 A DAYNAME of 0 means Sunday, 1 means Monday, and so on. If N<0,
3058 (calendar-dayname-on-or-before
3063 (calendar-dayname-on-or-before
3072 A DAYNAME of 0 means Sunday, 1 means Monday, and so on. If N<0,
3091 "Show dates on other calendars for date under the cursor."
3160 (run-hooks 'calendar-load-hook)