1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-05 08:53:45 +00:00
Commit Graph

156 Commits

Author SHA1 Message Date
Glenn Morris
d519ea8a53 (calendar-set-mode-line): Use total available mode-line width, rather
than frame-width.
2004-03-24 18:37:08 +00:00
Glenn Morris
4c635ea353 *** empty log message *** 2004-02-23 00:11:12 +00:00
Glenn Morris
78e37e9cd4 (calendar-holidays): Doc fix.
(calendar-read-date): Use assoc-string rather than assoc-ignore-case.
2004-02-19 01:13:56 +00:00
Glenn Morris
1293540e11 Update copyright.
(view-diary-entries-initially, european-calendar-style): Doc change.
(calendar-setup): Make defcustom rather than defvar.
(mark-visible-calendar-date): Initialize temp-face and faceinfo
in let binding so local to function.
2004-01-11 22:26:46 +00:00
Glenn Morris
18db88965e (increment-calendar-month, calendar-leap-year-p)
(calendar-absolute-from-gregorian, generate-calendar)
(calendar-read-date, calendar-interval)
(calendar-day-of-week): Handle years BC.
(generate-calendar-month, calendar-gregorian-from-absolute): Doc fix.
2003-10-01 20:48:17 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Glenn Morris
8923d271ca Edward M. Reingold <reingold@emr.cs.iit.edu>
Bind `calendar-goto-day-of-year' to key.

Alan Shutko  <ats@acm.org>
(calendar-make-alist): Correct off-by-one keeping December out of the
alist.
2003-08-17 22:51:29 +00:00
Glenn Morris
3d880a4b89 (list-diary-entries-hook, diary-display-hook, nongregorian-diary-listing-hook)
(mark-diary-entries-hook, nongregorian-diary-marking-hook): Add some
customize options for these hooks.
(calendar-abbrev-construct): Don't try to take a substring longer than
the original string.
2003-08-06 10:10:46 +00:00
Glenn Morris
2c8811d49b (diary-file, diary-file-name-prefix)
(european-calendar-style, diary-date-forms)
(calendar-day-name-array, calendar-month-name-array): Doc change.
(generate-calendar-month): Adapt for new behaviour of
`calendar-day-name' function.
(calendar-abbrev-length, calendar-day-abbrev-array)
(calendar-month-abbrev-array): New variables.
(calendar-abbrev-construct): New function.
(calendar-day-name, calendar-month-name): Use new abbrev arrays,
rather than fixing abbrevs at some width.  Calling syntax change.
(calendar-make-alist): Use abbrev arrays.  Calling syntax change.
(calendar-date-string): Adapt for new behaviours of
`calendar-day-name' and `calendar-month-name' functions.
2003-08-03 13:59:13 +00:00
Markus Rost
808052d66a (diary-file-name-prefix-function): Fix custom type. 2003-02-17 22:25:11 +00:00
Juanma Barranquero
d13c137897 (diary-face-attrs): New custom.
(diary-file-name-prefix-function): New custom.
(diary-glob-file-regexp-prefix): New custom.
(diary-file-name-prefix): New custom.
(generate-calendar-window): Check that font-lock-mode is bound before checking
value.
(mark-visible-calendar-date): Add the ability to pass face attribute/value pairs
in the mark argument. Handle the mark.
2003-02-11 23:23:10 +00:00
Glenn Morris
945e6102fe (calendar-only-one-frame-setup): Add autoload. 2003-01-20 21:27:41 +00:00
Richard M. Stallman
e0dfc625b5 (calendar-day-name): Move defn down. 2002-12-07 21:30:57 +00:00
Stefan Monnier
f5f5741147 (facemenu-unlisted-faces): Only update after facemenu was loaded.
(calendar-font-lock-keywords): Accept non-ASCII month names.  Use regexp-opt.
2002-12-05 18:42:33 +00:00
Markus Rost
5d22135b02 Patch of Alan Shutko <ats@acm.org> by way of rms.
(diary-face): New.
(european-calendar-display-form, describe-calendar-mode)
(mark-visible-calendar-date, calendar-mark-today): Tidy doc string.
(calendar-make-alist): New.
(calendar-mode): Set up font-lock mode.
(generate-calendar-window): Fontify if font-lock-mode is on.
2002-11-16 19:19:35 +00:00
Richard M. Stallman
989a6aa7dd (mouse-scroll-calendar-left)
(mouse-scroll-calendar-right, mouse-calendar-other-month): New commands.
(calendar-mode-line-format): Use them.
2002-09-09 19:37:19 +00:00
Juanma Barranquero
8c64a2989d Fix typos. 2002-04-03 14:47:16 +00:00
Richard M. Stallman
a39f5a80fd (update-calendar-mode-line): Force mode-line update.
Make date under the cursor available as `date' in
calendar-mode-line-format.
Eval items in calendar-mode-line-format list.
2002-04-03 14:36:02 +00:00
Eli Zaretskii
bc461571d1 (calendar): Doc fix. 2002-03-22 12:59:49 +00:00
Eli Zaretskii
f2172a682b (generate-calendar-month): Doc fix. 2002-01-28 19:23:14 +00:00
Richard M. Stallman
59488c6b60 (generate-calendar-month): Doc fix. 2002-01-24 06:06:11 +00:00
Richard M. Stallman
afb05cf383 (diary-date-forms): Doc fix. 2002-01-15 03:31:34 +00:00
Richard M. Stallman
1fd714a410 (various face definitions): Use :weight, not :bold. 2001-12-31 20:44:44 +00:00
Pavel Janík
eef289b9dc (calendar-mode): Remove make-local-hook. 2001-11-26 16:33:27 +00:00
Sam Steingold
f059e1229b (calendar-mode-line-format): do not use #' on undefined functions 2001-10-11 21:12:47 +00:00
Eli Zaretskii
d24f1b150a (calendar-mode-map): Require cal-menu unconditionally.
(calendar-mode): Set up activate-menubar-hook unconditionally.
2001-10-01 11:05:18 +00:00
Gerd Moellmann
d0b56ec54a (calendar-mode-line-format): Use
make-mode-line-mouse-map instead of make-mode-line-mouse2-map.
2001-08-09 14:21:12 +00:00
Gerd Moellmann
938676488c (calendar-goto-islamic-date): Add
call to autoload.
2001-07-16 15:45:01 +00:00
Pavel Janík
3afbc435ac Some fixes to follow coding conventions. 2001-07-16 07:46:48 +00:00
Eli Zaretskii
218abc51ff (generate-calendar-month): Add help-echo to mouse-highlighted text. 2001-06-17 13:10:27 +00:00
Eli Zaretskii
13f0f9883b (diary-entry-marker, calendar-today-marker, calendar-holiday-marker): Use
display-color-p instead of window-system.
(calendar-mode-map, calendar-mode): Use display-popup-menus-p instead of
window-system.
(calendar-hide-window): Use display-multi-frame-p instead of window-system.
2001-04-23 14:19:57 +00:00
Gerd Moellmann
b0e6051ab3 Undo changes made by John Wiegley in previous revision. 2001-03-26 13:33:23 +00:00
John Wiegley
341c19b9d0 See ChangeLog 2001-03-20 20:26:13 +00:00
Gerd Moellmann
e7c6f2d4a6 (calendar-basic-setup): Doc fix. 2001-01-12 11:51:31 +00:00
Miles Bader
317545188a (generate-calendar-window): When we don't call `fit-window-to-buffer',
make sure the top line is fully visible.
2000-11-22 09:06:14 +00:00
Miles Bader
b85fa13c9b (generate-calendar-window): Use `fit-window-to-buffer'. 2000-11-13 02:25:33 +00:00
ShengHuo ZHU
42121c2309 Revoke the change. 2000-11-05 03:49:38 +00:00
ShengHuo ZHU
ad88b950fe * calendar/calendar.el (diary-face, holiday-face): Fix typo.
* info.el (info-menu-header): Fix typo.
2000-11-04 17:02:02 +00:00
Miles Bader
9c887adacf (diary-face, calendar-today-face, holiday-face):
Remove dependency on `window-system'.
2000-11-03 03:30:49 +00:00
Miles Bader
5bf9910044 (diary-face, holiday-face): Add dark-background variants. 2000-11-01 09:11:58 +00:00
Stefan Monnier
3cbb486089 Docstring fixes.
(calendar-make-alist): Don't quote lambda.
(calendar-star-date): Use make-local-variable.
2000-09-19 15:50:54 +00:00
Dave Love
ae0317df22 Copyright up-date. 2000-09-17 17:08:37 +00:00
Dave Love
d4ff5db9b4 (calendar-mode-line-format): Make fields
mouse-sensitive.
(calendar-read-date, calendar-read-date, calendar-window-list):
Unquote lambda.
(calendar-month-name): Use aref, not sref.
2000-09-17 17:06:00 +00:00
Gerd Moellmann
d1b8adf7a6 Fix autoload for calendar-absolute-from-astro. Add autoload for
calendar-print-astro-day-number.
1999-11-22 12:54:38 +00:00
Sam Steingold
7e1e5cf14f * calendar/calendar.el (calendar-remove-frame-by-deleting):
New user variable.
(calendar-hide-window): Use it.
(increment-calendar-month, calendar-for-loop, calendar-sum):
Use the new backquote syntax.
1999-11-12 16:05:16 +00:00
Gerd Moellmann
d172e3e45a (redraw-calendar): Move to nearest date before
redrawing.
1999-11-03 15:08:53 +00:00
Richard M. Stallman
435d749ca8 (calendar-goto-astro-day-number): Autoload the right function name. 1999-08-28 15:21:55 +00:00
Richard M. Stallman
5c9705e5a9 (calendar-move-hook): New hook. 1999-08-28 15:18:39 +00:00
Richard M. Stallman
bb0541f8ba (european-date-diary-pattern): Fix pattern so it
does not interpret a time as the year in a day-month entry.
1999-08-02 00:32:50 +00:00
Karl Heuer
a4410177c3 (calendar): Call calendar-only-one-frame-setup if requested. 1999-06-27 21:23:39 +00:00