1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-28 07:45:00 +00:00
Commit Graph

554 Commits

Author SHA1 Message Date
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
Richard M. Stallman
bd0f7fd3df (solar-atn2): Give correct quadrant for arctan. 2002-12-05 15:30:52 +00:00
Kai Großjohann
e440b20e5e (fancy-diary-font-lock-keywords): Grok month numbers, too. 2002-11-18 09:05:23 +00:00
Richard M. Stallman
183ca06edb (parse-time-elt): Var renamed from `elt'.
(parse-time-val): Var renamed from `val'.  All uses changed.
2002-11-18 04:58:53 +00:00
Markus Rost
ebea495a18 (diary-button-face): Add group and version number. 2002-11-17 22:26:54 +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
Markus Rost
86432f811e Patch of Alan Shutko <ats@acm.org> by way of rms.
(list-diary-entries): Pass a marker
indicating source of entry to add-to-diary-list.
(diary-button-face, diary-entry, diary-goto-entry): New, to
support click to diary file.
(fancy-diary-display): Buttonize diary entries.
(list-sexp-diary-entries): Pass a marker indicating source of
entry to add-to-diary-list.
(diary-date): Return mark as well as entry.
2002-11-16 19:17:20 +00:00
Juanma Barranquero
b8f2671f35 calendar/diary-lib.el (make-diary-entry): Allow for local variables at end of
diary file.
2002-11-14 14:09:41 +00:00
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