• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/emacs-93/emacs/lisp/calendar/

Lines Matching defs:entries

49 If no argument is provided, the number of days of diary entries is governed
50 by the variable `number-of-diary-entries'. A value of ARG less than 1
55 (diary-list-entries date (if arg (prefix-numeric-value arg)))))
57 (define-obsolete-function-alias 'view-diary-entries 'diary-view-entries)
58 (defun diary-view-entries (&optional arg)
59 "Prepare and display a buffer with diary entries.
60 Searches the file named in `diary-file' for entries that
65 (diary-list-entries (calendar-cursor-to-date t) arg))
67 (defun view-other-diary-entries (arg d-file)
68 "Prepare and display buffer of diary entries from an alternative diary file.
69 Searches for entries that match ARG days, starting with the date indicated
76 (diary-view-entries arg)))
108 (autoload 'list-islamic-diary-entries "cal-islam"
109 "Add any Islamic date entries from the diary file to `diary-entries-list'.")
111 (autoload 'mark-islamic-diary-entries "cal-islam"
112 "Mark days in the calendar window that have Islamic date diary entries.")
120 (autoload 'list-bahai-diary-entries "cal-bahai"
121 "Add any Baha'i date entries from the diary file to `diary-entries-list'.")
123 (autoload 'mark-bahai-diary-entries "cal-bahai"
124 "Mark days in the calendar window that have Baha'i date diary entries.")
144 (autoload 'list-hebrew-diary-entries "cal-hebrew"
145 "Add any Hebrew date entries from the diary file to `diary-entries-list'.")
147 (autoload 'mark-hebrew-diary-entries "cal-hebrew"
148 "Mark days in the calendar window that have Hebrew date diary entries.")
180 (defvar diary-entries-list)
306 ;; when using fancy diary, calling diary when there are no entries to
320 (defcustom number-of-diary-entries 1
321 "Specifies how many days of diary entries are to be displayed initially.
323 or if the value of the variable `view-diary-entries-initially' is t. For
325 entries will be displayed. If the value 2 is used, then both the current
326 day's and the next day's entries will be displayed.
329 says to display no diary entries on Sunday, the entries for
331 Friday through Monday's entries on Friday, and only Saturday's
332 entries on Saturday.
336 number of days of diary entries displayed."
352 "Function applied to entry string before putting it into the entries list.
359 "Add an entry to `diary-entries-list'.
380 (setq diary-entries-list
381 (append diary-entries-list
386 (define-obsolete-function-alias 'list-diary-entries 'diary-list-entries)
387 (defun diary-list-entries (date number &optional list-only)
389 The arguments are DATE and NUMBER; the entries selected are those
390 for NUMBER days starting with date DATE. The other entries are hidden
393 Returns a list of all relevant diary entries found, if any, in order by date.
394 The list entries have the form ((MONTH DAY YEAR) STRING SPECIFIER) where
398 for a date with no diary entries.
401 `list-diary-entries-hook', `diary-display-hook', and `diary-hook' are run.
406 diary entries in files. Applied to *each* file.
408 `list-diary-entries-hook' adds or manipulates diary entries from
409 external sources. Used, for example, to include diary entries
410 from other files or to sort the diary entries. Invoked *once* only,
423 (setq number (if (vectorp number-of-diary-entries)
424 (aref number-of-diary-entries (calendar-day-of-week date))
425 number-of-diary-entries)))
428 diary-entries-list
469 (entry-found (list-sexp-diary-entries date)))
548 'list-diary-entries-hook)
554 diary-entries-list))))))
562 "Include the diary entries from other diary files with those of diary-file.
563 This function is suitable for use in `list-diary-entries-hook';
580 (list-diary-entries-hook 'include-other-diary-files)
586 (setq diary-entries-list
587 (append diary-entries-list
588 (diary-list-entries original-date number)))
600 "Display the diary buffer if there are any relevant entries or holidays."
607 (msg (format "No diary entries for %s" hol-string))
612 (if (or (not diary-entries-list)
613 (and (not (cdr diary-entries-list))
614 (string-equal (car (cdr (car diary-entries-list))) "")))
626 (message "No diary entries for %s" date-string))
630 ;; d-s-p is passed from list-diary-entries.
671 "Prepare a diary buffer with relevant entries in a fancy, noneditable form.
676 (if (or (not diary-entries-list)
677 (and (not (cdr diary-entries-list))
678 (string-equal (car (cdr (car diary-entries-list))) "")))
681 (msg (format "No diary entries for %s %s"
694 (message "No diary entries for %s" date-string)))
698 (let ((entry-list diary-entries-list)
812 (defun print-diary-entries ()
821 The hooks given by the variable `print-diary-entries-hook' are called to do
826 (run-hooks 'print-diary-entries-hook))
855 (run-hooks 'print-diary-entries-hook)
859 (define-obsolete-function-alias 'show-all-diary-entries 'diary-show-all-entries)
860 (defun diary-show-all-entries ()
861 "Show all of the diary entries in the diary file.
863 all entries, not just some, are visible. If there is no diary buffer, one
876 "Email address that `diary-mail-entries' will send email to."
882 "Default number of days for `diary-mail-entries' to check."
888 (defun diary-mail-entries (&optional ndays)
889 "Send a mail message showing diary entries for next NDAYS days.
893 You can call `diary-mail-entries' every night using an at/cron job.
905 -l diary-lib -f diary-mail-entries
916 (diary-list-entries (calendar-current-date) (or ndays diary-mail-days)))
918 (concat "Diary entries generated "
923 "No entries found"))
944 (defvar marking-diary-entries nil
945 "True during the marking of diary entries, nil otherwise.")
948 "True during the marking of diary entries, if current entry is marking.")
950 (defun mark-diary-entries (&optional redraw)
951 "Mark days in the calendar window that have diary entries.
953 marked. After the entries are marked, the hooks
954 `nongregorian-diary-marking-hook' and `mark-diary-entries-hook'
958 diary entries."
960 ;; To remove any deleted diary entries. Do not redraw when:
966 (when (and redraw mark-diary-entries-in-calendar)
967 (setq mark-diary-entries-in-calendar nil)
969 (let ((marking-diary-entries t)
974 (setq mark-diary-entries-in-calendar t)
975 (message "Marking diary entries...")
1063 (mark-sexp-diary-entries)
1065 'mark-diary-entries-hook))
1066 (message "Marking diary entries...done")))))
1068 (defun mark-sexp-diary-entries ()
1069 "Mark days in the calendar window that have sexp diary entries.
1071 is marked. See the documentation for the function `list-sexp-diary-entries'."
1133 "Mark the diary entries from other diary files with those of the diary file.
1134 This function is suitable for use as the `mark-diary-entries-hook'; it enables
1150 (mark-diary-entries-hook 'mark-included-diary-files)
1155 (mark-diary-entries)
1210 (defun sort-diary-entries ()
1211 "Sort the list of diary entries by time of day."
1212 (setq diary-entries-list (sort diary-entries-list 'diary-entry-compare)))
1227 The default value -9999 causes entries with no recognizable time to be placed
1228 before those with times; 9999 would place entries with no recognizable time
1263 (defun list-sexp-diary-entries (date)
1264 "Add sexp entries for DATE from the diary file to `diary-entries-list'.
1265 Also, Make them visible in the diary file. Returns t if any entries were
1268 Sexp diary entries must be prefaced by a `sexp-diary-entry-symbol' (normally
1355 Diary entries giving the day of the year and the number of
1361 Diary entries giving the corresponding ISO commercial date
1366 Diary entries giving the corresponding French Revolutionary
1371 Diary entries giving the corresponding Islamic date will be
1376 Diary entries giving the corresponding Hebrew date will be
1380 %%(diary-astro-day-number) Diary entries giving the corresponding
1385 %%(diary-julian-date) Diary entries giving the corresponding
1391 Diary entries giving the local times of sunrise and sunset
1397 Diary entries giving the times of the phases of the moon
1410 Diary entries will be made on the dates of Rosh Hodesh on
1415 Diary entries giving the weekly parasha will be made on
1420 Diary entries giving the omer count will be made every day
1424 Marking these entries is *extremely* time consuming, so these entries are
1717 (or (not marking-diary-entries) marking-diary-entry))
1722 (or (not marking-diary-entries) marking))
1735 "If `calendar-buffer' is live and diary entries are marked, redraw it."
1736 (and mark-diary-entries-in-calendar
1857 (define-key map "\C-c\C-s" 'diary-show-all-entries)
1944 "Major mode used while displaying diary entries using Fancy Display."
1970 If given, optional SYMBOL must be a prefix to entries.
2008 (when (or (memq 'mark-hebrew-diary-entries
2010 (memq 'list-hebrew-diary-entries
2016 (when (or (memq 'mark-islamic-diary-entries
2018 (memq 'list-islamic-diary-entries