Commit graph

610 commits

Author SHA1 Message Date
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
Glenn Morris
145570df04 Minor commentary changes.
(timeclock-relative, timeclock-ask-before-exiting)
(timeclock-use-display-time): Doc changes.
(timeclock-modeline-display): Give a message if
`timeclock-use-display-time' is non-nil but `display-time-mode' is not
active.
2003-07-11 13:15:05 +00:00
Glenn Morris
4ee3e788bd (timeclock-use-display-time, timeclock-day-over-hook)
(timeclock-workday-remaining, timeclock-status-string)
(timeclock-when-to-leave, timeclock-when-to-leave-string)
(timeclock-log-data, timeclock-find-discrep, timeclock-day-base)
(timeclock-generate-report, timeclock-visit-timelog): Doc fix.
(timeclock-modeline-display): Set the variable `timeclock-modeline-display'.
(timeclock-update-modeline): Doc fix.  Respect value of `timeclock-relative'.
2003-07-10 01:02:11 +00:00
Glenn Morris
c87a1f384e (diary-check-diary-file): New function.
(diary, view-diary-entries, show-all-diary-entries)
(mark-diary-entries): Use it.
(view-other-diary-entries): Doc fix.  Use `prefix-numeric-value'.
(diary-syntax-table, diary-attrtype-convert, diary-mail-days): Doc fix.
(diary-modified, d-file): No need to defvar (for compiler).
(list-diary-entries): No need for `let*' so use `let'.
(simple-diary-display): Use `diary-file' directly rather than
inheriting `d-file' from `list-diary-entries' caller.
(make-fancy-diary-buffer, show-all-diary-entries): `mode-line-format'
already buffer-local.
(diary-mail-addr): Set to the empty string (rather than nil) if
undefined, as per `user-mail-address'.
(diary-mail-entries): Doc fix.  Error if `diary-mail-address' unset.
(mark-sexp-diary-entries): Don't regexp-quote sexp-mark twice.
Remove an un-needed `if'.
(list-sexp-diary-entries): Remove local vars mark and s-entry, and
use `let' rather than `let*'.
(diary-date, insert-monthly-diary-entry)
(insert-yearly-diary-entry, insert-anniversary-diary-entry)
(insert-block-diary-entry, insert-cyclic-diary-entry)
(font-lock-diary-date-forms): No need for `let*' so use `let'.
(make-diary-entry): Doc fix.  Use `or' rather than `if'.
(diary-font-lock-keywords): Use `when'.  `cal-islam' is required
feature, not `cal-islamic'.
`calendar-islamic-month-name-array-leap-year' does not exist - use
`calendar-islamic-month-name-array'.
2003-06-22 01:02:22 +00:00
Glenn Morris
b9c3a97d1d (display-time-hook, timeclock-modeline-display): Define for byte-compiler.
(timeclock-time-to-date, timeclock-workday-remaining)
(timeclock-time-to-seconds, timeclock-seconds-to-time): Move earlier
in the file so defined before used.
(timeclock-status-string): No need for `let*' so use `let'.
(timeclock-query-out): Always return a non-nil value.
2003-06-12 17:28:48 +00:00
Glenn Morris
9d1137ce04 Update copyright.
(timeclock-ask-before-exiting): Put `timeclock-query-out' on
`kill-emacs-query-functions' rather than `kill-emacs-hook'.
(timeclock-mode-string): Doc fix.
(timeclock-modeline-display): Doc fix.  Use `global-mode-string' rather
than `mode-line-format'.
(timeclock-query-out): Doc fix.
(timeclock-update-modeline): No need for `let*', so use `let'.
Add some help-echo text to `timeclock-mode-string'.
(timeclock-mode-string): Give it the risky-local-variable property,
so that help-echo text will display.
(timeclock-find-discrep): Set `accum' to 0 if `timeclock-discrepancy' is nil.
2003-05-27 18:36:40 +00:00
Glenn Morris
f0aa2e2187 (diary-mail-entries): Use call-interactively. 2003-05-08 19:52:47 +00:00
Glenn Morris
61d094deb5 (diary-pull-attrs): Make ret-attr', attr' local.
(list-diary-entries): Make `temp' local.
(fancy-diary-display): Make `marks', `temp-face', `faceinfo' local.
(diary-mail-entries): There is no fancy-diary-buffer if there are
no diary entries.
(mark-diary-entries): Make `temp' local.
(mark-sexp-diary-entries): Make `marks' local, remove `temp'.
(list-sexp-diary-entries): Make `temp' local.
(add-to-diary-list): Make `prefix' local.
2003-05-08 19:34:49 +00:00
Sam Steingold
4e80f517a9 (fancy-diary-display-mode): Bind "q" to `quit-window'
in the fancy diary buffer.
2003-04-25 01:58:49 +00:00