1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-10 09:12:15 +00:00
Commit Graph

545 Commits

Author SHA1 Message Date
John Wiegley
dc0868e1ce (timeclock-modeline-display): Use assq as well as memq to find
`global-mode-string' within `mode-line-format'.  The structure of
that variable has changed in 21.3.
2002-11-08 20:28:55 +00:00
Juanma Barranquero
526a5cbc6d (diary-name-pattern): Fix typo. 2002-10-17 16:47:54 +00:00
Richard M. Stallman
9475e724a2 (solar-equinoxes-solstices): Use time properly adjusted for DST in the result. 2002-09-26 21:57:53 +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
4f7bf99054 (calendar-time-display-form): Fix spacing. 2002-09-06 07:12:06 +00:00
Richard M. Stallman
6797907ed4 (diary-mail-entries): Don't overwrite user's value
of diary-list-include-blanks, but generate message instead if
there are no entries.
2002-08-30 18:21:39 +00:00
Richard M. Stallman
bf9a91d015 (appt-delete): Use substring-no-properties.
(appt-make-list): Don't use prin1-to-string; use the string unchanged.
2002-08-15 20:18:42 +00:00
Richard M. Stallman
4e96d63b41 (appt-make-list): Correct the parsing of each appointment from time-string. 2002-08-12 17:21:06 +00:00
Sam Steingold
ee58da1b00 (diary-mail-entries): Use `compose-mail'
and `mail-user-agent' instead of straight sendmail.
(diary-modified, diary-entries-list, displayed-year)
(displayed-month, entry, date, number, date-string, d-file)
(original-date): defvar without binding to avoid compiler warnings.
2002-08-06 15:11:26 +00:00
Richard M. Stallman
347a0e237d (diary-rosh-hodesh): Cons MARK on in the third case. 2002-07-27 19:01:40 +00:00
Richard M. Stallman
fd4a98f021 (mark-sexp-diary-entries): Retrieve mark
from diary-sexp-entry and pass it to mark-visible-calendar-date.
(list-sexp-diary-entries): Update doc string for new docs for ....
If diary-sexp-entry returns a cons, only add the text to the diary list.
(diary-sexp-entry): Allow sexps to return a cons of the form (MARK
. STRING) to specify what face or character mark should be used in
the calendar display.
(diary-date, diary-block, diary-float, diary-anniversary)
(diary-cyclic): Add optional MARK parameter, specifying what face
or character to use in the calendar display.  These will now
return (MARK . ENTRY).

(check-calendar-holidays, diary-iso-date)
(calendar-holiday-list, diary-french-date, diary-mayan-date)
(diary-julian-date, diary-astro-day-number, diary-chinese-date)
(diary-islamic-date, list-islamic-diary-entries)
(mark-islamic-diary-entries, mark-islamic-calendar-date-pattern)
(diary-hebrew-date, diary-omer, diary-yahrzeit, diary-parasha)
(diary-rosh-hodesh, list-hebrew-diary-entries)
(mark-hebrew-diary-entries, mark-hebrew-calendar-date-pattern)
(diary-coptic-date, diary-persian-date, diary-phases-of-moon)
(diary-sunrise-sunset, diary-sabbath-candles):
Remove interactive flag from autoloads.
2002-07-22 15:32:00 +00:00
Richard M. Stallman
9a27723cd8 (diary-omer, diary-yahrzeit, diary-rosh-hodesh, diary-parasha, diary-parasha):
Add optional MARK parameter, specifying what face or character to use
in the calendar display.  These will now return (MARK . ENTRY).
2002-07-22 15:31:13 +00:00
Richard M. Stallman
e0ab9b68c5 (diary-phases-of-moon): Add optional MARK
parameter, specifying what face or character to use in the
calendar display.  These will now return (MARK . ENTRY).
2002-07-22 15:30:43 +00:00
Richard M. Stallman
16cd607da7 (diary-sabbath-candles): Add optional MARK
parameter, specifying what face or character to use in the
calendar display.  These will now return (MARK . ENTRY).
2002-07-22 15:30:24 +00:00
Glenn Morris
4105dd524e (timeclock-in): Run the new day section if, after rereading the log file,
timeclock-last-event is nil, indicating no log file exists yet. Take
account of the fact that timeclock-discrepancy will be nil in that case.
2002-07-13 18:56:04 +00:00
Glenn Morris
a3dd6af2b5 (timeclock-get-workday-function): `timeclock-workday' is not a valid
option for this, rather it is a value that may be returned.
2002-07-12 23:38:01 +00:00
Juanma Barranquero
e6608c1233 Fix typo. 2002-07-03 14:26:51 +00:00
Juanma Barranquero
69a04106be (timeclock-workday-remaining): Fix typo.
(timeclock-workday-elapsed): Likewise.
2002-07-03 13:18:53 +00:00
Pavel Janík
3f3410a93b (cal-menu-x-popup-menu): Fix argument of error call. 2002-05-01 09:46:36 +00:00
Richard M. Stallman
73e19344ce (include-other-diary-files): Allow modifying
included buffer, to turn off selective display.
2002-04-22 07:51:28 +00:00
Richard M. Stallman
85fd0d8498 (solar-northern-spring-or-summer-season): Doc fix. 2002-04-04 20:52:47 +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
Richard M. Stallman
1eb0045f75 (cal-tex-hook, cal-tex-year-hook, cal-tex-month-hook)
(cal-tex-week-hook, cal-tex-daily-hook): Add doc strings.

(cal-tex-latexify-list): Fix doc string.

(cal-tex-insert-day-names): LaTeXify day names.
(cal-tex-cursor-week-iso, cal-tex-week-hours, cal-tex-weekly4-box)
(cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
(cal-tex-daily-page, cal-tex-mini-calendar): LaTeXify day names.

Change all instances (interactive "P") to (interactive "p").
(cal-tex-cursor-month): Add hfill and newline at end of month that
ended on Saturday.
(cal-tex-preamble): Change to LaTeX2e.
(cal-tex-cursor-filofax-year): Don't use default month names in
LaTeX macros in case user changes them.
(cal-tex-month-name): New function.  Used throughout in case user
has done something funny with month names.
2002-04-03 14:35:33 +00:00
Richard M. Stallman
651f440818 (solar-spring-or-summer-season): Deleted.
(solar-northern-spring-or-summer-season): New variable.
(solar-sunrise-and-sunset, solar-moment, solar-sunrise-sunset): Rewritten.

(diary-sabbath-candles-minutes): New variable.
(diary-sabbath-candles): Use it instead of fixed 18 minutes.
2002-04-03 14:33:57 +00:00
Richard M. Stallman
321a8c3e09 (holiday-rosh-hashanah-etc): Spelling correction.
(diary-rosh-hodesh): Spelling correction.
2002-04-03 14:24:36 +00:00
Eli Zaretskii
bc461571d1 (calendar): Doc fix. 2002-03-22 12:59:49 +00:00
Pavel Janík
1ba92e5da9 (calendar-goto-french-date): Fix prompt to match the actual code. 2002-03-15 20:45:10 +00:00
Thien-Thi Nguyen
c1b0dc0c50 (list-diary-entries): Use `buffer-substring' instead of
`buffer-substring-no-properties' to support enriched mode.
2002-03-03 08:57:04 +00:00
Eli Zaretskii
9a8e2a104f (calendar-mode-map): Change the menu item's name to "Insert Diary Entry". 2002-02-08 18:50:37 +00:00
Eli Zaretskii
cbd5582a9a Moved time-date.el from lisp/gnus to lisp/calendar.
For versions before 1.5, see lisp/gnus/time-date.el.
2002-02-01 18:19:43 +00:00
Eli Zaretskii
d5e06ff143 Moved parse-time.el from lisp/gnus to lisp/calendar.
For versions before 1.6, look in lisp/gnus.
2002-02-01 18:13: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
Pavel Janík
110c171f4d Fix typo. 2002-01-13 10:09:20 +00:00
Richard M. Stallman
5860ba6e6c (diary-block): Doc fix. 2002-01-03 23:47:33 +00:00
Richard M. Stallman
1fd714a410 (various face definitions): Use :weight, not :bold. 2001-12-31 20:44:44 +00:00
Pavel Janík
4f9b526474 Require time-stamp. 2001-12-11 07:36:30 +00:00
Pavel Janík
eef289b9dc (calendar-mode): Remove make-local-hook. 2001-11-26 16:33:27 +00:00
Pavel Janík
4cf95c440b (list-diary-entries): Use insert instead of insert-string. 2001-11-26 16:19:34 +00:00
Pavel Janík
0e13751e8a (appt-disp-window): Use insert instead of insert-string. 2001-11-26 16:19:08 +00:00
Richard M. Stallman
887c6c1ff4 (todo-save): Fix previous change. 2001-11-17 04:01:31 +00:00
Richard M. Stallman
ade67f6a51 (todo-save): Add save-excursion and save-restriction. 2001-11-13 04:11:29 +00:00
Richard M. Stallman
10f9c35dea (solar-sunrise-and-sunset): Exchange the two extreme values of day-length. 2001-11-11 20:14:47 +00:00
Eli Zaretskii
9ca8a5a0ed (timeclock-out): Signal an error if timeclock-last-event is nil. 2001-11-03 15:50:05 +00:00
Sam Steingold
f059e1229b (calendar-mode-line-format): do not use #' on undefined functions 2001-10-11 21:12:47 +00:00
Sam Steingold
4dd618ff50 (diary-entry-compare): When times are identical, compare the entries
lexicographically.
2001-10-05 15:53:02 +00:00
Eli Zaretskii
87671c2577 (cal-menu-x-popup-menu): New function,
calls x-popup-menu only if popup menus are supported.
(calendar-mouse-insert-hebrew-diary-entry)
(calendar-mouse-insert-islamic-diary-entry)
(calendar-mouse-holidays, calendar-mouse-view-diary-entries)
(calendar-mouse-view-other-diary-entries)
(calendar-mouse-print-dates, calendar-mouse-2-date-menu)
(calendar-mouse-cal-tex-menu, cal-tex-mouse-filofax): Call
cal-menu-x-popup-menu instead of x-popup-menu.
2001-10-01 11:08:06 +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