Commit graph

618 commits

Author SHA1 Message Date
Glenn Morris
3b316424bf (appt-disp-window): Use `calendar-set-mode-line' for a centered
mode-line.

Takaaki Ota  <Takaaki.Ota@am.sony.com>:
(appt-disp-window): Do not split window excessively when
`split-height-threshold' is low.
2004-05-13 00:18:15 +00:00
Miles Bader
88e15d0eca Changes from arch/CVS synchronization 2004-05-09 04:52:07 +00:00
John Wiegley
811a8484c0 2004-05-08 John Wiegley <johnw@newartisans.com>
* calendar/cal-bahai.el: New file, which adds support for the
	Baha'i calendar to Emacs.  This calendar is based on a solar year
	of 19 months of 19 days, with 4 intercalary days.  Each year
	begins on March 21, with the calendar starting in 1844.

	* calendar/cal-menu.el, calendar/calendar.el,
	calendar/diary-lib.el, calendar/holidays.el: Added support for
	using cal-bahai.el.
2004-05-08 12:42:07 +00:00
Glenn Morris
cb7c17becc From Dave Love <fx@gnu.org>:
(diary-outlook-formats): New variable.
(diary-from-outlook-internal, diary-from-outlook)
(diary-from-outlook-gnus, diary-from-outlook-rmail): New functions to
import diary entries from Outlook-format appointments in mail
messages.
2004-04-30 18:50:08 +00:00
Juanma Barranquero
1c226f2ba5 (timeclock-time-less-p): Remove.
(timeclock-generate-report): Use `time-less-p'.
2004-04-27 22:44:39 +00:00
Juanma Barranquero
1525ea1e3a (time-to-day-in-year): Fix docstring. 2004-04-20 16:40:07 +00:00
Miles Bader
1f3ddf11e8 Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-196
Remove RCS keywords

2004-04-10  Miles Bader  <miles@gnu.org>

   RCS keyword removal (only non-comment changes are enumerated here):

   * lisp/emacs-lisp/bytecomp.el (byte-compile-version): Variable removed.
   (byte-compile-insert-header): Don't use `byte-compile-version'.
   * lisp/url/url-vars.el (url-version): Use the constant string "Emacs"
   instead of calculating something from the RCS `State' keyword
   [the latter is almost entirely useless anyway].
   * lisp/forms.el (forms-version): Variable removed.
   (forms-mode): Don't use `forms-version'.
   * lisp/recentf.el (recentf-version): Variable removed.
   * lisp/progmodes/delphi.el (delphi-version): Variable removed.
   * lisp/progmodes/ada-mode.el (ada-mode): RCS keyword removed from docstring.
2004-04-10 05:55:49 +00:00
Glenn Morris
4fcf2701b8 (diary-mode, fancy-diary-display-mode): Derive from fundamental-mode
rather than text-mode.
2004-04-08 16:22:43 +00:00
Eli Zaretskii
a9dfccd6ae (timeclock-relative)
(timeclock-get-project-function, timeclock-get-workday-function)
(timeclock-query-out, timeclock-when-to-leave)
(timeclock-when-to-leave-string, timeclock-log-data)
(timeclock-generate-report, timeclock-in): Doc fixes.
2004-04-04 21:30:49 +00:00
Glenn Morris
9edfb3d2a1 *** empty log message *** 2004-03-24 18:37:57 +00:00
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
359bff6712 (appt-check): Remove superfluous progn.
When finished with diary buffer: if it was not being displayed
before, kill it; otherwise restore its original state.
Suggested by Matthew Mundell <matt@mundell.ukfsn.org>.
2004-03-24 18:36:20 +00:00
Glenn Morris
4c635ea353 *** empty log message *** 2004-02-23 00:11:12 +00:00
Glenn Morris
de3fce917a Matthew Mundell <matt@mundell.ukfsn.org>
(fancy-diary-display): Don't rely on return value of
increment-calendar-month.
2004-02-23 00:09:31 +00:00
Glenn Morris
abc178a0bc (mark-diary-entries): Use assoc-string instead of assoc-ignore-case. 2004-02-19 01:20:03 +00:00
Glenn Morris
22ebf3930a (calendar-read-mayan-haab-date, calendar-read-mayan-tzolkin-date): Use
assoc-string instead of assoc-ignore-case.
2004-02-19 01:19:05 +00:00
Glenn Morris
2ad9ebbd12 (calendar-goto-julian-date): Use assoc-string instead of
assoc-ignore-case.
2004-02-19 01:18:23 +00:00
Glenn Morris
53d0b6a293 (calendar-goto-islamic-date, mark-islamic-diary-entries): Use
assoc-string instead of assoc-ignore-case.
2004-02-19 01:17:44 +00:00
Glenn Morris
abe4091c48 (calendar-goto-hebrew-date, mark-hebrew-diary-entries)
(list-yahrzeit-dates): Use assoc-string instead of assoc-ignore-case.
2004-02-19 01:16:53 +00:00
Glenn Morris
f6ea0e2d2c (calendar-goto-french-date): Use assoc-string instead of
assoc-ignore-case.
2004-02-19 01:15:40 +00:00
Glenn Morris
3be2dc285d (coptic-prompt-for-date): Use assoc-string instead of assoc-ignore-case. 2004-02-19 01:15:03 +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
a19de6288e (appt-display-format): Change default to'ignore, for backwards compatability.
(appt-display-message): If appt-display-format is 'ignore, respect old
vars appt-msg-window and appt-visible.
(appt-activate): Don't depend on return value of cancel-timer.
2004-02-19 01:12:21 +00:00
Glenn Morris
9fa0334c27 (appt-check): Restore usage of appt-issue-message deleted in previous
change.
(top-level): Activate package when loaded (needed for backwards
compatibility).
2004-01-20 22:52:11 +00:00
Thien-Thi Nguyen
d14b04bc3c (diary-entry-time): Fix typo/bug:
Remove spurious left square bracket in XX:XXam regexp.
2004-01-17 13:48:26 +00:00
Glenn Morris
30e8032dfc (appt-issue-message): Mark as obsolete rather than deleting outright. 2004-01-12 00:57:00 +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
091f692060 (calendar-one-frame-setup)
(calendar-only-one-frame-setup, calendar-two-frame-setup): Doc change.
2004-01-11 22:25:58 +00:00
Glenn Morris
6ecab45e49 Update copyright.
(diary, diary-entry-time): Doc change.
(list-diary-entries): Doc change.  Trivial logic change.
(fancy-diary-display): Restore make-face command mistakenly
deleted 2003-05-08.
(show-all-diary-entries): Allow to pop-up frame if needed.
2004-01-11 22:25:33 +00:00
Glenn Morris
8d638c1b96 Update copyright and commentary.
(appt-issue-message): Delete (see appt-activate).
(appt-visible, appt-msg-window): Make obsolete, in favour of
appt-display-format.
(appt-display-mode-line, appt-display-duration)
(appt-display-diary, appt-time-msg-list, appt-mode-string)
(appt-prev-comp-time, appt-display-count, appt-timer)
(appt-convert-time): Doc change.
(appt-disp-window-function, appt-delete-window-function): Use
defcustom rather than defvar.
(appt-display-format): New variable.
(appt-display-message): New function with display code from
appt-check.
(appt-check): Add optional FORCE argument.  Doc change.  Add
appt-make-list to diary-hook if displaying diary.  Remove
checking of view-diary-entries-initially.  Message
display section removed to new function appt-display-message.
(appt-display-window): Doc change.  Remove unused internal var
this-buffer.  Do not beep, since appt-display-message does that.
(appt-make-list): Doc change.  Use caar.
(appt-sort-list): Simplify by using builtin sort function.
(appt-update-list): New function for updating appts when diary is
saved.
(appt-activate): New autoloaded function to toggle package
functionality.
2004-01-11 22:24:57 +00:00
Thien-Thi Nguyen
3b42c18565 (appt-add): Also accept time in the form XX[.XX][am/pm/AM/PM].
(appt-make-list): Likewise.
(appt-convert-time): Likewise.
2004-01-08 23:35:07 +00:00
Thien-Thi Nguyen
56d3bae7a9 (diary-entry-time): Also accept time in the form XX[.XX][am/pm/AM/PM].
(fancy-diary-font-lock-keywords): Likewise.
(diary-font-lock-keywords): Likewise.
2004-01-08 23:31:47 +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
André Spiegel
ec2dc2677a (parse-time-string): Add autoload cookie. 2003-09-26 07:21:56 +00:00
Glenn Morris
3bd9ca8504 (diary-header-line-flag, diary-header-line-format): New variables.
(list-diary-entries): Use them to set header line in simple diary.
2003-09-02 17:37:48 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Glenn Morris
8ec6d48ac2 (simple-diary-display, make-diary-entry): Allow the diary to pop up a
new frame, if needed.
2003-08-24 15:20:38 +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
163fd24dfd Edward M. Reingold <reingold@emr.cs.iit.edu>
(calendar-goto-day-of-year): New function.
2003-08-17 22:49:46 +00:00
Glenn Morris
f9df0ca042 Edward M. Reingold <reingold@emr.cs.iit.edu>
(calendar-mode-map): Add `calendar-goto-day-of-year' to menu.
(calendar-flatten): New function.
(calendar-mouse-view-other-diary-entries)
(calendar-mouse-view-diary-entries): Rewritten to put any holidays in
the menu title and to show multi-line diary entries correctly in the
menu.
2003-08-17 22:48:54 +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
48ad4975be (displayed-month, displayed-year): Define for compiler.
(calendar-islamic-month-name-array): Add doc string.
(list-islamic-diary-entries): Adapt for new behaviours of
`calendar-day-name' and `add-to-diary-list' functions.
(mark-islamic-diary-entries): Adapt for new behaviours of
`diary-name-pattern' and `calendar-make-alist' functions.
2003-08-03 14:02:15 +00:00
Glenn Morris
da3fc02028 Reposition some code so defined before used.
(displayed-month, displayed-year): Define for compiler.
(calendar-hebrew-month-name-array-common-year)
(calendar-hebrew-month-name-array-leap-year): Add doc strings.
(list-hebrew-diary-entries): Adapt for new behaviours of
`calendar-day-name' and `add-to-diary-list' functions.
(mark-hebrew-diary-entries): Adapt for new behaviours of
`diary-name-pattern' and `calendar-make-alist' functions.
2003-08-03 14:01:40 +00:00
Glenn Morris
ca2a5950cf (list-diary-entries): Adapt for new behaviour of `calendar-day-name'
and `calendar-month-name' functions.
(diary-name-pattern): Use abbrev arrays, rather than fixing abbrevs at
three chars.  Calling syntax change.
(mark-diary-entries):  Adapt for new behaviours of
`diary-name-pattern' and `calendar-make-alist' functions.
(fancy-diary-font-lock-keywords): Adapt for new behaviour of
`diary-name-pattern' function.
(font-lock-diary-date-forms): Use abbrev arrays, rather than fixing
abbrevs at three chars.  Calling syntax change.
(cal-hebrew, cal-islam): Require when compiling.
(diary-font-lock-keywords): Adapt for new behaviour of
`font-lock-diary-date-forms' function.
2003-08-03 14:00:56 +00:00
Glenn Morris
5bb7a2d574 (displayed-month, displayed-year): Define for compiler.
(cal-menu-update): Adapt for new behaviour of `calendar-month-name' function.
2003-08-03 14:00:03 +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
Glenn Morris
30f5dd988b (cal-tex-day-name-format): Doc fix.
(cal-tex-LaTeX-hourbox): Move definition before use.
2003-08-03 13:58:39 +00:00
Glenn Morris
3f762917b0 (displayed-month, displayed-year): Define for compiler.
(solar-seasons-data): Move definition before use.
2003-08-03 13:58:01 +00:00
Glenn Morris
0b0f8fa418 (displayed-month, displayed-year): Define for compiler. 2003-08-03 13:56:21 +00:00
Glenn Morris
55d2d63464 (coptic-name): defvar rather than defconst. 2003-08-03 13:53:54 +00:00