1 2014-09-08 Norbert Koch <viteno@xemacs.org>
3 * Makefile (VERSION): XEmacs package 1.41 released.
5 2014-08-04 Jerry James <james@xemacs.org>
7 * cal-compat.el (cal-assoc-string): Remove, since assoc-string is
8 now available in xemacs-base.
9 * cal-bahai.el (mark-bahai-diary-entries): Use assoc-string
10 instead of cal-assoc-string.
11 * cal-coptic.el (coptic-prompt-for-date): Ditto.
12 * cal-french.el (calendar-goto-french-date): Ditto.
13 * cal-hebrew.el (calendar-goto-hebrew-date): Ditto.
14 (mark-hebrew-diary-entries): Ditto.
15 (list-yahrzeit-dates): Ditto.
16 * cal-islam.el (calendar-goto-islamic-date): Ditto.
17 (mark-islamic-diary-entries): Ditto.
18 * cal-julian.el (calendar-goto-julian-date): Ditto.
19 * cal-mayan.el (calendar-read-mayan-haab-date): Ditto.
20 (calendar-read-mayan-tzolkin-date): Ditto.
21 * calendar.el (calendar-read-date): Ditto.
22 * diary-lib.el (mark-diary-entries): Ditto.
24 2014-05-15 Norbert Koch <viteno@xemacs.org>
26 * Makefile (VERSION): XEmacs package 1.40 released.
28 2014-05-15 Norbert Koch <viteno@xemacs.org>
30 * Makefile (VERSION): XEmacs package 1.39 released.
32 2014-05-13 Jerry James <james@xemacs.org>
35 * .hgignore: New file.
37 2014-05-06 Jerry James <james@xemacs.org>
39 * Makefile (REQUIRES): Add fsf-compat for button.el.
40 * cal-compat.el (make-button): Removed, now in button.el.
41 (insert-button): Ditto.
42 * diary-lib: Uncomment define-button-type form.
43 (diary-goto-entry): Revert to upstream use of button functions.
45 2008-09-29 Norbert Koch <viteno@xemacs.org>
47 * Makefile (VERSION): XEmacs package 1.38 released.
49 2008-09-27 Jeff Miller <jmiller@cablespeed.com>
51 * appt.el (appt-delete): use substring, not substring-no-properties
52 * cal-compat.el (cal-fit-window-to-buffer): forgot to call
53 cal-fit-window-to-buffer in case where fit-window-to-buffer is
54 available. It is in 21.5.28 now.
56 2008-07-14 Norbert Koch <viteno@xemacs.org>
58 * Makefile (VERSION): XEmacs package 1.37 released.
60 2007-12-24 Aidan Kehoe <kehoea@parhasard.net>
62 * cal-french.el (french-calendar-accents):
63 Diacritical marks are always available under XEmacs.
65 2008-04-07 Norbert Koch <viteno@xemacs.org>
67 * Makefile (VERSION): XEmacs package 1.36 released.
69 2008-04-05 Jeff Miller <jmiller@cablespeed.com>
71 * calendar.el (calendar-mode): call font-lock-set-defaults to
72 set font-locking variables.
73 * diary-lib.el (diary-mode): same
74 * diary-lib.el (fancy-diary-display-mode): same
76 2008-03-29 Norbert Koch <viteno@xemacs.org>
78 * Makefile (VERSION): XEmacs package 1.35 released.
80 2008-03-27 Jeff Miller <jmiller@cablespeed.com>
82 * calendar.el (diary): fix bold weight in defface
83 * calendar.el (calendar-mode-hook): fix indentation
84 * calendar.el (european-calendar-style): fix indentation
85 * calendar.el (diary-display-hook): fix indentation
86 * diary-lib.el (diary-anniversary): fix bold weight in defface
87 * diary-lib.el (diary-time): fix bold weight in defface
89 2007-09-21 Norbert Koch <viteno@xemacs.org>
91 * Makefile (VERSION): XEmacs package 1.34 released.
93 2007-09-21 Adrian Aichner <adrian@xemacs.org>
95 * timeclock.el (timeclock-find-discrep): Fix my mis-typing of
96 `line-number' (thanks for pointing this out, John Paul
99 2007-09-21 Adrian Aichner <adrian@xemacs.org>
101 * timeclock.el (timeclock-read-moment): Report current
102 `line-number' in case of error.
103 * timeclock.el (timeclock-log-data): Remove tracking of line
104 number (which currently fails to track time balance entries)
105 instead of making the tracking ever more complicated. Simply
106 obtain current `line-number' in case of error.
107 * timeclock.el (timeclock-find-discrep): Ditto.
109 2007-07-11 Norbert Koch <viteno@xemacs.org>
111 * Makefile (VERSION): XEmacs package 1.33 released.
113 2007-07-10 Jeff Miller <jeff.miller@xemacs.org>
115 * cal-coptic.el (coptic-prompt-for-date): fix typo
116 (cal-assoc-ignore -> cal-assoc-string)
117 * cal-dst.el, cal-html.el,
118 cal-tex.el, icalendar.el: indentation fixes.
120 * calendar.el: added autoload for calendar-goto-bahai-date
121 * diary-lib.el (diary-mode): use make-hook-local to really make
122 after-save-hook buffer local
124 2007-04-16 Norbert Koch <viteno@xemacs.org>
126 * Makefile (VERSION): XEmacs package 1.32 released.
128 2007-04-14 Jeff Miller <jeff.miller@xemacs.org>
130 * cal-html.el (cal-html-comment): replace call to
131 replace-regexp-in-string with replace-in-string
132 * cal-html.el (cal-html-year-dir-ask-user): Account for difference in
133 read-directory-name between XEmacs & Emacs
134 * cal-html.el (cal-html-htmlify-string): replace call to
135 replace-regexp-in-string with equivalent workaround
136 * all: update copyrights to 2007
138 2007-03-27 Glenn Morris <rgm@gnu.org>
140 * calendar/calendar.el (calendar-mode-hook): Declare it.
142 * calendar/diary-lib.el (diary-live-p): Do not check for
143 diary-selective-display.
145 2007-03-21 Ulf Jasper <ulf.jasper@web.de>
147 * calendar/icalendar.el (icalendar-version): Increase to 0.15.
148 (icalendar--get-unfolded-buffer): Define actual arguments rather
149 than just using &rest. Check replace-in-string is fbound.
150 (icalendar-import-buffer): Doc fix.
151 (icalendar--convert-ical-to-diary): Set diary-file.
152 Check diary-file before inserting final newline.
153 (icalendar--add-diary-entry): Return diary-file.
155 2007-03-21 Glenn Morris <rgm@gnu.org>
157 * calendar/calendar.el (diary-set-maybe-redraw): Autoload it.
158 (diary-display-hook): Add custom :set function.
160 * calendar/diary-lib.el (diary-header-line-flag): Doc fix.
161 Add custom :set function.
162 (diary-header-line-format): Doc fix.
163 (diary-set-maybe-redraw): New function.
164 (number-of-diary-entries): Change :set to use diary-set-maybe-redraw.
165 (diary-list-entries): Always run diary-mode.
167 2007-03-20 Glenn Morris <rgm@gnu.org>
169 * calendar/diary-lib.el (diary-live-p): New function.
170 (number-of-diary-entries): Add a :set function to redisplay diary
173 2007-03-12 Glenn Morris <rgm@gnu.org>
175 * calendar/cal-china.el,cal-dst.el,calendar.el,diary-lib.el:
176 * calendar/lunar.el,solar.el: Replace "daylight savings" with
177 "daylight saving" in text.
179 2007-01-28 Norbert Koch <viteno@xemacs.org>
181 * Makefile (VERSION): XEmacs package 1.31 released.
183 2007-01-23 Jeff Miller <jeff.miller@xemacs.org>
185 * icalendar.el (icalendar--rris): Fixed improper argument usage
187 * ChangeLog: restores Adrian Aichner original ChangeLog dates.
189 2007-01-08 Juanma Barranquero <lekktu@gmail.com>
191 * calendar/icalendar.el (icalendar-import-buffer):Fix typo in
194 2006-12-24 Kevin Ryde <user42@zip.com.au>
196 * calendar/cal-dst.el (calendar-dst-starts): Default to second
198 (calendar-dst-ends): Default to first Sunday in November.
200 2006-12-23 Chong Yidong <cyd@stupidchicken.com>
202 * calendar/calendar.el (calendar-mode-map): Switch < and >.
203 (calendar-mode-line-format): Use mouse-1 bindings, and tweak
206 2006-12-17 Ulf Jasper <ulf.jasper@web.de>
208 * calendar/icalendar.el (icalendar-version): Increase to "0.14".
209 (icalendar--rris): First try Emacs, then XEmacs.
210 (icalendar--convert-ical-to-diary): Doc fix. Insert
211 newline at end of target file.
213 2006-11-23 Norbert Koch <viteno@xemacs.org>
215 * Makefile (VERSION): XEmacs package 1.30 released.
217 2006-10-16 Adrian Aichner <adrian@xemacs.org>
219 * timeclock.el: Typo fixes.
220 * timeclock.el (timeclock-history): New.
221 * timeclock.el (timeclock-use-history): New.
222 * timeclock.el (timeclock-log): Honor timeclock-use-history.
223 * timeclock.el (timeclock-read-moment): Provide error on
224 unexpected data in timeclock-file, going unnoticed until now.
225 * timeclock.el (timeclock-find-discrep): Report line number of
226 discrepancy to ease manual fixing.
228 2006-08-01 Adrian Aichner <adrian@xemacs.org>
230 * timeclock.el: Keep timeclock-file buffer around, so that an
231 encrypted timeclock-file does not have to be opened on each
232 clocking operation (requiring entry of encryption key).
233 * timeclock.el (timeclock-get-timeclock-file-buffer): New.
234 * timeclock.el (timeclock-log): Don't kill timeclock-file buffer.
235 * timeclock.el (timeclock-log-data): Use
236 `timeclock-get-timeclock-file-buffer', which avoids reading
237 timeclock-file, if it's already in a live buffer.
238 * timeclock.el (timeclock-find-discrep): Ditto.
239 * timeclock.el (timeclock-visit-timelog): Ditto.
241 2006-11-20 Norbert Koch <viteno@xemacs.org>
243 * Makefile (VERSION): XEmacs package 1.29 released.
245 2006-11-18 Jeff Miller <jeff.miller@xemacs.org>
247 * cal-compat.el (make-mode-line-mouse-map): Removed.
248 * cal-compat.el (cal-make-mode-line-mouse-map): Renamed. Using
249 the original name caused Gnus to think it was runnng under Emacs
250 and it attempted to use a face XEmacs does not define.
251 * calendar.el (calendar-mode-line-format): use the renamed function
253 2006-11-14 Norbert Koch <viteno@xemacs.org>
255 * Makefile (VERSION): XEmacs package 1.28 released.
257 2006-11-11 Jeff Miller <jeff.miller@xemacs.org>
259 * calendar/cal-dst.el: Do not assume DST starts/ends on the same
261 (calendar-dst-check-each-year-flag): New customizable variable.
262 (calendar-dst-find-data): New function, extracted from
263 calendar-current-time-zone.
264 (calendar-current-time-zone): Use calendar-dst-find-data.
265 (calendar-dst-transition-cache): New variable.
266 (calendar-dst-find-startend, calendar-dst-starts)
267 (calendar-dst-ends): New functions.
268 (calendar-daylight-savings-starts)
269 (calendar-daylight-savings-ends): Change value to use
270 calendar-dst-starts, calendar-dst-ends; respectively.
272 * calendar/calendar.el (cal-html-cursor-month)
273 (cal-html-cursor-year): Add autoloads for this new package.
274 (calendar-mode-map): Bind cal-html-cursor-month,
275 cal-html-cursor-year.
277 * calendar/cal-html.el: New file.
279 * calendar/calendar.el (european-calendar-style): Call
280 european-calendar or american-calendar as needed when set.
281 (diary-view-entries, list-calendar-holidays): Move autoloads
284 2006-10-31 Norbert Koch <viteno@xemacs.org>
286 * Makefile (VERSION): XEmacs package 1.27 released.
288 2006-10-22 Jeff Miller <jeff.miller@xemacs.org>
290 More Emacs CVS syncs, from the Emacs Changelog:
292 * calendar/diary-lib.el (diary-bahai-date)
293 (list-bahai-diary-entries, mark-bahai-diary-entries)
294 (mark-bahai-calendar-date-pattern): Not interactive.
295 (add-to-diary-list): New optional arg LITERAL. Doc fix.
296 (diary-entries-list): Change format of 4th element in each entry.
297 (diary-list-entries): Use add-to-diary-list.
298 (diary-goto-entry): Handle the case where the buffer visiting the
299 diary has been killed.
300 (fancy-diary-display): Add 'locator to button rather than 'marker.
301 Only generate temp-face when there are marks to apply.
302 (list-sexp-diary-entries): Pass literal to add-to-diary-list.
303 (diary-fancy-date-pattern): New variable.
304 (diary-time-regexp): Doc fix.
305 (diary-anniversary, diary-time): New faces.
306 (fancy-diary-font-lock-keywords): Use diary-fancy-date-pattern and
307 diary-time-regexp. Add font-lock-multiline property where needed.
308 Use new faces diary-anniversary and diary-time.
309 (diary-fancy-font-lock-fontify-region-function): New function, to
310 handle multiline font-lock pattern in fancy diary.
311 (fancy-diary-display-mode): Set font-lock-fontify-region-function.
312 (diary-font-lock-keywords): Tweak time regexp. Use new face
315 * calendar/cal-menu.el (calendar-mode-map, calendar-mouse-3-map):
316 * calendar/calendar.el (calendar-mode-map):
317 * calendar/diary-lib.el (include-other-diary-files,diary-mail-entries):
318 * calendar/appt.el (appt-check, appt-make-list): Refer to
319 diary-view-entries, diary-list-entries, diary-show-all-entries
320 rather than obsolete aliases.
322 * calendar/calendar.el (diary-show-all-entries): Do not refer to
323 obsolete alias `show-all-diary-entries'.
324 (make-diary-entry): Not interactive.
325 (cal-tex-cursor-month, cal-tex-cursor-month-landscape)
326 (cal-tex-cursor-day, cal-tex-cursor-week, cal-tex-cursor-week2)
327 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
328 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
329 (cal-tex-cursor-year-landscape, cal-tex-cursor-filofax-year)
330 (cal-tex-cursor-filofax-daily, cal-tex-cursor-year): Interactive.
332 * calendar/calendar.el (calendar-french-date-string)
333 (calendar-mayan-date-string, calendar-chinese-date-string)
334 (calendar-astro-date-string, calendar-iso-date-string)
335 (calendar-islamic-date-string, calendar-bahai-date-string)
336 (calendar-hebrew-date-string, calendar-coptic-date-string)
337 (calendar-ethiopic-date-string, calendar-persian-date-string):
338 These functions are not interactive.
340 * calendar/calendar.el (calendar-basic-setup): Set day to 1 in
341 prefix arg case, to avoid view-diary-entries-initially error.
342 Reported by Stephen Berman <Stephen.Berman at gmx.net>.
343 (calendar-date-is-legal-p): Handle dates with no day part.
345 * calendar/cal-menu.el (calendar-mode-map): Refer to
346 `diary-view-entries' rather than alias `view-diary-entries'.
347 * calendar/diary-lib.el (view-other-diary-entries): Ditto.
349 * calendar/appt.el (appt-add): Check whether an appointment is
350 already present in appt-time-msg-list. Simplify code.
352 * calendar/calendar.el (calendar-holidays): Doc fix.
353 * calendar/holidays.el (list-holidays): Doc fix.
355 * calendar/calendar.el (calendar-holidays): Doc fix.
357 * calendar/appt.el (diary-selective-display): Add defvar.
359 * calendar/icalendar.el (icalendar--get-event-property)
360 (icalendar--get-event-property-attributes): Fix typos in
363 * calendar/cal-menu.el: Avoid macros from calendar.el so as to break
364 the nastiest part of the cyclic dependency.
365 (cal-menu-update): Use dotimes and calendar-increment-month.
367 * calendar/calendar.el: Remove unnecessary leading stars in docstrings.
368 (calendar-week-start-day): Add an :initializer.
369 (calendar-mode-map): Use suppress-keymap, and command remapping.
370 (describe-calendar-mode): Setup xref-stack info for the back button.
371 (calendar-star-date): Insert before delete.
372 (calendar-set-mode-line): Add file-modified info if applicable.
373 (calendar-increment-month): New function.
376 * calendar/diary-lib.el (diary-list-entries): Also hide the
379 * calendar/diary-lib.el (diary-list-entries, diary-show-all-entries)
380 (mark-diary-entries, make-diary-entry): Check default-major-mode rather
381 than fundamental-mode to see if the mode was set.
383 * calendar/cal-menu.el (date, event): Don't declare as dynamic-var.
384 (calendar-mouse-holidays, calendar-mouse-view-diary-entries)
385 (calendar-mouse-print-dates): Add optional `event' argument.
386 Update interactive-spec.
387 (calendar-mouse-cal-tex-menu, cal-tex-mouse-filofax):
388 Use `calendar-event-to-date' instead of `event'.
390 * calendar/diary-lib.el (diary-list-entries): Prevent infloop when
391 diary does not end in a newline. Do not assume a blank line at
392 the start of the diary file.
394 * calendar/icalendar.el (icalendar-version): Increase to 0.13.
396 (icalendar-import-format): Handle CLASS, STATUS, URL.
397 Rename `subject' to `summary'.
398 (icalendar-import-format-summary): Rename from
399 `icalendar-import-format-subject'.
400 (icalendar-import-format-url, icalendar-import-format-status)
401 (icalendar-import-format-class): New variables.
402 (icalendar--rris): Take variable argument list.
403 (icalendar--datestring-to-isodate): Remove unnecessary
404 calendar-style check when converting dates with explicit month names.
405 (icalendar-export-region): Change return type of conversion
406 subroutines. Bury current buffer unless error occurred.
407 (icalendar--convert-to-ical)
408 (icalendar--parse-summary-and-rest): New functions.
409 (icalendar--convert-ordinary-to-ical)
410 (icalendar--convert-weekly-to-ical)
411 (icalendar--convert-yearly-to-ical)
412 (icalendar--convert-block-to-ical)
413 (icalendar--convert-cyclic-to-ical)
414 (icalendar--convert-anniversary-to-ical): Change return type.
415 Strip trailing blanks from subject.
416 (icalendar--convert-sexp-to-ical): Change return type.
417 Strip trailing blanks from subject. Handle simple sexp
418 entries as generated by icalendar.el.
419 (icalendar--convert-float-to-ical)
420 (icalendar--convert-date-to-ical): Strip trailing blanks from subject.
421 (icalendar-import-file): Doc fix.
422 (icalendar--format-ical-event): Handle CLASS, STATUS, URL.
423 Correct call to icalendar--rris.
424 (icalendar--convert-ical-to-diary): Doc fix. Rename `subject' to
426 (icalendar--add-diary-entry): Rename `subject' to `summary'.
428 * calendar/appt.el (appt-check): Use diary-selective-display var.
430 * calendar/cal-menu.el (calendar-mouse-view-diary-entries):
431 Use the new `list-only' arg to diary-list-entries.
433 * calendar/diary-lib.el: Use overlays rather than selective-display.
434 (diary-selective-display): New var.
435 (diary-header-line-format): Use it.
436 (diary-list-entries): Add argument `list-only'.
437 Put the buffer in diary-mode. Don't add \^M at beg and end.
438 Replace \^M by invisible overlays.
439 (diary-unhide-everything): Replace \^M by invisible overlays.
440 (print-diary-entries): Look for overlays rather than \^M.
441 Add a space to the temp buffer name.
442 (diary-show-all-entries, mark-diary-entries, make-diary-entry):
443 Put the buffer in diary-mode.
444 (list-sexp-diary-entries): Replace \^M by invisible overlays.
445 (diary-anniversary): Make the year arg optional.
446 (diary-time-regexp): New const.
447 (diary-font-lock-keywords): Use it to accept a few more time formats.
449 * calendar/appt.el (appt-time-regexp): New var.
450 (appt-add, appt-make-list): Use it.
451 (appt-convert-time): Clean up.
453 * calendar/timeclock.el (timeclock-ask-for-project):
454 Follow convention for reading with the minibuffer.
456 * calendar/calendar.el (mark-visible-calendar-date): Save excursion.
457 Re-indent within 80 columns. Use inhibit-read-only.
459 * calendar/diary-lib.el (mark-diary-entries): Rearrange to wrap
460 with-current-buffer form in save-excursion.
461 * calendar/timeclock.el (timeclock-status-string)
462 (timeclock-workday-remaining-string, timeclock-workday-elapsed-string)
463 (timeclock-when-to-leave-string):
464 * calendar/icalendar.el (icalendar--convert-ical-to-diary):
465 Fix `message' calls to ensure first arg is a format string.
467 * calendar/cal-bahai.el (date, displayed-month, displayed-year)
468 (number, original-date):
469 * calendar/cal-china.el (date):
470 * calendar/cal-coptic.el (date):
471 * calendar/cal-french.el (date):
472 * calendar/cal-hebrew.el (date, entry, number, original-date):
473 * calendar/cal-islam.el (date, number, original-date):
474 * calendar/cal-iso.el (date):
475 * calendar/cal-julian.el (date):
476 * calendar/cal-mayan.el (date):
477 * calendar/cal-menu.el (date, event):
478 * calendar/cal-persia.el (date):
479 * calendar/lunar.el (date):
480 * calendar/solar.el (date): Add defvars.
482 * calendar/diary-lib.el (diary-modify-entry-list-string-function):
484 (add-to-diary-list): Call `diary-modify-entry-list-string-function'
486 * calendar/calendar.el (calendar-mode-map): Bind < and > usefully.
488 * calendar/calendar.el (calendar-goto-hebrew-date)
489 (calendar-goto-coptic-date, calendar-goto-ethiopic-date)
490 (calendar-goto-persian-date):
491 Delete duplicate duplicate words.
493 * calendar/icalendar.el (icalendar--get-unfolded-buffer):
495 * calendar/diary-lib.el (diary-header-line-format):
496 Change space constants followed by a sexp to "?\s ".
498 * calendar/diary-lib.el (diary-button): Remove "-face" suffix from
500 (diary-button-face): New backward-compatibility alias for renamed face.
501 (diary-entry): Use renamed diary-button face.
503 * calendar/calendar.el (diary, calendar-today, holiday)
504 (mark-visible-calendar-date): Remove "-face" suffix from face names.
505 (diary-face, calendar-today-face, holiday-face):
506 New backward-compatibility aliases for renamed faces.
507 (eval-after-load "facemenu", diary-entry-marker)
508 (calendar-today-marker, calendar-holiday-marker, diary-face):
509 Use renamed calendar faces.
512 * calendar/diary-lib.el (mark-included-diary-files): Only kill
513 included diary buffer if it was not already being visited.
514 Reported by Stephen Berman <Stephen.Berman@gmx.net>.
516 * calendar/icalendar.el (top-level): Do not require appt.
518 * calendar/todo-mode.el (todo-mode):
519 Use kill-all-local-variables and run-mode-hooks.
521 * calendar/cal-menu.el (cal-menu-update): Add separator as a
522 string so that tmm doesn't create a completion entry for it.
525 Replace `string-to-int' by `string-to-number'.
527 * calendar/appt.el (appt-convert-time):
528 * calendar/cal-bahai.el (mark-bahai-diary-entries):
529 * calendar/cal-hebrew.el (mark-hebrew-diary-entries):
530 * calendar/cal-islam.el (mark-islamic-diary-entries):
531 * calendar/calendar.el (calendar-cursor-to-date)
532 (calendar-star-date):
533 * calendar/diary-lib.el (diary-attrtype-convert)
534 (mark-diary-entries, diary-entry-time):
535 * calendar/solar.el (solar-get-number):
537 * calendar/solar.el (solar-data-list): Move definition up.
539 * calendar/cal-bahai.el (mark-bahai-diary-entries):
541 * calendar/icalendar.el (icalendar-version): Now at 0.12.
542 (icalendar-duration-correction): Remove.
543 (icalendar--get-event-properties): Split result at commas.
544 (icalendar--decode-isoduration): New optional argument
546 (icalendar--convert-ordinary-to-ical, icalendar--convert-sexp-to-ical)
547 (icalendar--convert-yearly-to-ical, icalendar--convert-weekly-to-ical)
548 (icalendar--convert-block-to-ical, icalendar--convert-float-to-ical)
549 (icalendar--convert-date-to-ical, icalendar--convert-cyclic-to-ical)
550 (icalendar--convert-anniversary-to-ical): New functions, extracted
551 from icalendar-export-region, with bug fixes.
552 (icalendar-export-region): Use the above functions.
553 (icalendar-import-buffer): Check before saving diary file.
554 (icalendar--convert-recurring-to-diary)
555 (icalendar--convert-non-recurring-all-day-to-diary)
556 (icalendar--convert-non-recurring-not-all-day-to-diary): New functions,
557 extracted from icalendar--convert-ical-to-diary, with bug fixes.
558 (icalendar--convert-ical-to-diary): Use the above functions.
559 * calendar/calendar.el (diary-face): Add special case for
560 displays supporting a high number of colors.
562 * calendar/diary-lib.el (add-to-diary-list): MARKER argument made
563 optional, to ensure backward compatibility.
565 * calendar/timeclock.el (timeclock): Doc fix.
567 * calendar/cal-china.el: Update reference to "Calendrical
568 Calculations" book; there's a new edition.
569 * calendar/cal-coptic.el: Likewise.
570 * calendar/cal-french.el: Likewise.
571 * calendar/cal-hebrew.el: Likewise.
572 * calendar/cal-islam.el: Likewise.
573 * calendar/cal-iso.el: Likewise.
574 * calendar/cal-julian.el: Likewise.
575 * calendar/cal-mayan.el: Likewise.
576 * calendar/cal-persia.el: Likewise.
577 * calendar/calendar.el: Likewise.
578 * calendar/holidays.el: Likewise.
579 * calendar/lunar.el: Likewise.
580 * calendar/solar.el: Likewise.
582 * calendar/calendar.el (calendar-day-abbrev-array): Remove trailing
583 white space from doc string.
585 * calendar/cal-x.el (calendar-one-frame-setup)
586 (calendar-only-one-frame-setup, calendar-two-frame-setup): Use t
587 rather than `symbol' for set-window-dedicated-p.
589 * calendar/appt.el (appt-buffer-name): Make it a constant.
592 * calendar/cal-menu.el (top level): Delete local C-down-mouse-3
593 binding. Suggested by Stephan Stahl <stahl@eos.franken.de>.
595 * calendar/cal-move.el (calendar-beginning-of-year): Move the
596 cursor to Jan 1 when needed.
597 (calendar-end-of-year): Fix -/+ typo.
598 Reported by Chong Yidong <cyd@stupidchicken.com>.
600 * calendar/calendar.el: Replace `legal' with `valid'.
602 * calendar/diary-lib.el (mark-diary-entries): Use new optional
603 argument REDRAW rather than calendar-redrawing variable.
604 * calendar/calendar.el (calendar-redrawing): Delete.
605 (redraw-calendar): Do not bind calendar-redrawing.
607 * calendar/diary-lib.el (diary-redraw-calendar): Preserve point in
610 * calendar/calendar.el (calendar-redrawing): New internal
612 (redraw-calendar): Remove bogus save-excursion from previous
613 change. Bind calendar-redrawing to t for mark-diary-entries.
614 * calendar/diary-lib.el (mark-diary-entries): No need to redraw
615 calendar if that is why we were called.
617 * calendar/calendar.el (redraw-calendar): Preserve point.
618 Reported by Matt Hodges <MPHodges@member.fsf.org>.
619 (calendar-week-start-day): Move after definition of
620 redraw-calendar. Delete buffer test, since redraw-calendar has
623 * calendar/diary-lib.el (mark-diary-entries): Only call
624 redraw-calendar in the first of any recursive calls.
625 Reported by Alan Shutko <ats@acm.org>.
627 * calendar/icalendar.el (icalendar-version): Increase to 0.11.
628 (icalendar-export-file, icalendar-export-region)
629 (icalendar-import-file, icalendar-import-buffer): Add autoload cookies.
630 (icalendar--convert-ical-to-diary): Fix problem with DURATION.
632 * calendar/calendar.el (redraw-calendar): Work from any buffer,
633 not just the calendar.
635 * calendar/diary-lib.el (mark-diary-entries): Remove any old marks
637 (diary-redraw-calendar): New function.
638 (make-diary-entry): Add diary-redraw-calendar to local
639 write-contents-functions. Turn off selective display before
642 * calendar/diary-lib.el (diary-remind): Discard any mark portion
643 from diary-entry. Reported by Andrew Kemp <ajwk@pell.uklinux.net>.
645 * calendar/calendar.el (calendar-buffer): Move above
646 calendar-week-start-day.
647 (calendar-week-start-day): Doc fix. Add :set function.
648 (calendar-minimum-window-height): New variable.
649 (generate-calendar-window): Only resize window if selected-window
650 is displaying the calendar buffer. Use new variable
651 calendar-minimum-window-height.
652 (generate-calendar): Reword error message.
653 (calendar-mode-map): Bind DEL to scroll-other-window-down.
655 * calendar/icalendar.el (icalendar--decode-isodatetime):
656 New optional argument DAY-SHIFT.
657 (icalendar-export-region): Fix coding-system-for-write.
659 (icalendar--convert-ical-to-diary): Shift end-day of all-day
662 * calendar/appt.el (appt-time-msg-list): 3rd elt of each
663 appointment says it was explicitly made.
664 (appt-add): Set the 3rd element.
665 (appt-make-list): Preserve explicit appointments.
667 * calendar/icalendar.el (icalendar--get-event-property): Doc fix.
668 (icalendar--get-event-property-attributes)
669 (icalendar--get-event-properties)
670 (icalendar--datetime-to-diary-date): New functions.
671 (icalendar--split-value): Doc fix.
672 (icalendar--datetime-to-noneuropean-date)
673 (icalendar--datetime-to-european-date): New optional argument
674 SEPARATOR. Return result as a string instead of a list.
675 (icalendar--get-weekday-number): Check if ABBREVWEEKDAY is nil.
676 (icalendar--convert-string-for-export): Rename arg S to STRING.
677 (icalendar-export-region): Doc fix. Change name of error buffer.
679 (icalendar-import-file): Add blank at end of prompt.
680 (icalendar-import-buffer): Doc fix. Do not switch to error
681 buffer. Indicate status in return value.
682 (icalendar--convert-ical-to-diary): Doc fix. Change name of error
683 buffer. Save output buffer. Handle exception from recurrence
684 rules (EXDATE, EXRULE). Handle start- and end-date of recurring
685 events. Fix problems with weekly all-day events.
687 * calendar/diary-lib.el (mark-diary-entries):
688 Set mark-diary-entries-in-calendar only after checking for diary-file.
690 * calendar/calendar.el (view-other-diary-entries): Add autoload.
691 * calendar/diary-lib.el (view-other-diary-entries):
692 Use current-prefix-arg in interactive spec.
694 * calendar/holidays.el (holiday-easter-etc): Make arguments
695 optional for backwards compatibility. Doc fix.
696 Remove un-necessary local vars mandatory, output-list.
697 (holiday-advent): Make arguments optional for backwards
698 compatibility. Doc fix.
700 * calendar/diary-lib.el (diary-from-outlook)
701 (diary-from-outlook-gnus, diary-from-outlook-rmail): Do not use
702 interactive-p; but rather new optional argument NOCONFIRM.
704 * calendar/icalendar.el (icalendar-version): Increase to 0.08.
705 (icalendar--split-value): Change name of work buffer.
706 (icalendar--get-weekday-abbrev): Return nil on error.
707 (icalendar--date-to-isodate): New function.
708 (icalendar-convert-diary-to-ical)
709 (icalendar-extract-ical-from-buffer): Use only two args for
710 make-obsolete (XEmacs compatibility).
711 (icalendar-export-file, icalendar-import-file): Blank at end of prompt.
712 (icalendar-export-region): Doc fix.
713 If error, return non-nil and write errors to a buffer.
714 Use correct weekday for weekly recurring events.
715 Check whether date has been parsed for ordinary events.
716 Make weekly events start in the year 2000.
717 DTEND is non-inclusive, shift end date by one day if
718 necessary (not for entries that have date and time).
719 Rename local let variables: oops -> found-error, datestring ->
722 * calendar/icalendar.el (icalendar--weekday-array): New constant.
723 (icalendar-weekdayabbrev-table)
724 (icalendar-monthnumber-table): Delete.
725 (icalendar--get-month-number): Use calendar-month-name-array.
726 (icalendar--get-weekday-number): New function.
727 (icalendar--get-weekday-abbrev) Use calendar-day-name-array.
728 (icalendar-export-region): Handle multi-line entries.
729 (icalendar--convert-ical-to-diary): Use calendar-day-name-array.
731 * calendar/icalendar.el: Set coding to utf-8.
732 (icalendar-version): Increase to 0.07.
733 (icalendar-monthnumber-table): Change March pattern.
734 (icalendar-get-all-event-properties)
735 (icalendar-set-event-property): Delete.
736 (icalendar-all-events): No longer interactive.
737 (icalendar-convert-diary-to-ical)
738 (icalendar-extract-ical-from-buffer): Make obsolete, and alias to
740 (icalendar-export-file, icalendar-export-region): New functions;
741 essentially old `icalendar-convert-diary-to-ical' but appending to
742 target rather than overwriting.
743 (icalendar-import-file): Append to target file rather than
744 overwriting. Fourth arg deleted.
745 (icalendar-import-buffer): New name for old
746 `icalendar-extract-ical-from-buffer'.
747 (icalendar--convert-string-for-import): New name for
748 old `icalendar-convert-for-import'.
749 (include-icalendar-files): Delete.
750 Prefix for all internal functions changed from `icalendar-'
753 * calendar/icalendar.el: New file.
755 * calendar/calendar.el (calendar-goto-iso-week): Add autoload.
756 (calendar-mode-map): Add binding for `calendar-goto-iso-week'.
757 * calendar/cal-menu.el (calendar-mode-map): Ditto.
759 * calendar/cal-iso.el (calendar-iso-read-args): New function,
760 for old interactive spec from calendar-goto-iso-date.
761 (calendar-goto-iso-date): Use it.
762 (calendar-goto-iso-week): New function. Suggested by Emilio
763 C. Lopes <eclig@gmx.net>.
765 * calendar/diary-lib.el (list-diary-entries): Save diary buffer
766 from diary display excursion. Store diary buffer's point for
767 `simple-diary-display'.
768 (simple-diary-display): Set window point and start when
769 displaying buffer, to preserve point.
771 * calendar/holidays.el (holiday-advent): Report on a specified day
772 offset from advent, not just advent.
773 (holiday-easter-etc): Report on one specified day offset from
774 easter, not all easter holidays. Various Easter holidays moved to
775 `christian-holidays' variable in calendar.el.
776 * calendar/calendar.el (christian-holidays): Adapt for new
777 behavior of `holiday-advent' and `holiday-easter-etc' functions.
779 * calendar/cal-dst.el (calendar-time-from-absolute): Return a list
780 of two integers, instead of a cons.
782 * calendar/appt.el (appt-disp-window):
783 Use `calendar-set-mode-line' for a centered mode-line.
785 * calendar/appt.el (appt-disp-window): Do not split window
786 excessively when `split-height-threshold' is low.
788 * calendar/cal-bahai.el: New file, which adds support for the
789 Baha'i calendar to Emacs. This calendar is based on a solar year
790 of 19 months of 19 days, with 4 intercalary days. Each year
791 begins on March 21, with the calendar starting in 1844.
793 * calendar/cal-menu.el, calendar/calendar.el
794 * calendar/diary-lib.el, calendar/holidays.el:
795 Added support for using cal-bahai.el.
797 * calendar/diary-lib.el (diary-outlook-formats): New variable.
798 (diary-from-outlook-internal, diary-from-outlook)
799 (diary-from-outlook-gnus, diary-from-outlook-rmail):
800 New functions to import diary entries from Outlook-format
801 appointments in mail messages.
803 Use `time-less-p' from calendar/time-date.el instead of defining
804 custom versions of it.
806 * calendar/timeclock.el (timeclock-time-less-p): Remove.
807 (timeclock-generate-report): Use `time-less-p'.
809 * calendar/diary-lib.el (diary-mode, fancy-diary-display-mode):
810 Derive from fundamental-mode rather than text-mode.
812 * calendar/timeclock.el (timeclock-relative)
813 (timeclock-get-project-function, timeclock-get-workday-function)
814 (timeclock-query-out, timeclock-when-to-leave)
815 (timeclock-when-to-leave-string, timeclock-log-data)
816 (timeclock-generate-report, timeclock-in): Doc fixes.
818 * calendar/appt.el (appt-check): Remove superfluous progn.
819 When finished with diary buffer: if it was not being displayed
820 before, kill it; otherwise restore its original state.
821 Suggested by Matthew Mundell <matt@mundell.ukfsn.org>.
823 * calendar/calendar.el (calendar-set-mode-line): Use total
824 available mode-line width, rather than frame-width.
826 * calendar/diary-lib.el (fancy-diary-display): Set mode-line
827 after mode change so effect not lost.
829 * calendar/calendar.el (generate-calendar)
830 (calendar-read-date): Prevent display of BC calendars once more -
831 reverts 2003-10-01 change.
832 (generate-calendar-month): Doc fix.
834 * calendar/appt.el (appt-display-format): Change default to
835 'ignore, for backwards compatibility.
836 (appt-display-message): If appt-display-format is 'ignore,
837 respect old vars appt-msg-window and appt-visible.
838 (appt-activate): Don't depend on return value of cancel-timer.
840 * calendar/calendar.el (calendar-holidays): Doc fix.
842 * calendar/appt.el (appt-check): Restore usage of
843 appt-issue-message deleted in previous change.
844 (top-level): Activate package when loaded (needed for backwards
847 * calendar/diary-lib.el (diary-entry-time): Fix typo/bug:
848 Remove spurious left square bracket in XX:XXam regexp.
850 * calendar/appt.el: Update copyright and commentary.
851 (appt-issue-message): Make obsolete.
852 (appt-visible, appt-msg-window): Make obsolete, in favor of
854 (appt-display-mode-line, appt-display-duration)
855 (appt-display-diary, appt-time-msg-list, appt-mode-string)
856 (appt-prev-comp-time, appt-display-count, appt-timer)
857 (appt-convert-time): Doc change.
858 (appt-disp-window-function, appt-delete-window-function):
859 Use defcustom rather than defvar.
860 (appt-display-format): New variable.
861 (appt-display-message): New function with display code from appt-check.
862 (appt-check): Add optional FORCE argument. Doc change.
863 Add appt-make-list to diary-hook if displaying diary.
864 Remove checking of view-diary-entries-initially.
865 Message display section removed to new function appt-display-message.
866 (appt-display-window): Doc change. Remove unused internal var
867 this-buffer. Do not beep, since appt-display-message does that.
868 (appt-make-list): Doc change. Use caar.
869 (appt-sort-list): Simplify by using builtin sort function.
870 (appt-update-list): New function for updating appts when diary is
872 (appt-activate): New autoloaded function to toggle package
875 * calendar/cal-x.el: (calendar-one-frame-setup)
876 (calendar-only-one-frame-setup, calendar-two-frame-setup): Doc change.
878 * calendar/calendar.el: Update copyright.
879 (view-diary-entries-initially, european-calendar-style): Doc change.
880 (calendar-setup): Make defcustom rather than defvar.
881 (mark-visible-calendar-date): Initialize temp-face and faceinfo
882 in let binding so local to function.
884 * calendar/diary-lib.el: Update copyright.
885 (diary, diary-entry-time): Doc change.
886 (list-diary-entries): Doc change. Trivial logic change.
887 (fancy-diary-display): Restore make-face command mistakenly
889 (show-all-diary-entries): Allow to pop-up frame if needed.
891 * calendar/diary-lib.el (diary-entry-time):
892 Also accept time in the form XX[.XX][am/pm/AM/PM].
893 (fancy-diary-font-lock-keywords): Likewise.
894 (diary-font-lock-keywords): Likewise.
895 * calendar/appt.el (appt-add): Likewise.
896 (appt-make-list): Likewise.
897 (appt-convert-time): Likewise.
899 * calendar/calendar.el (increment-calendar-month)
900 (calendar-leap-year-p, calendar-absolute-from-gregorian)
901 (generate-calendar, calendar-read-date, calendar-interval)
902 (calendar-day-of-week): Handle years BC.
903 (generate-calendar-month, calendar-gregorian-from-absolute): Doc fix.
905 * calendar/diary-lib.el (diary-header-line-flag)
906 (diary-header-line-format): New variables.
907 (list-diary-entries): Use them to set header line in simple diary.
909 * calendar/diary-lib.el (simple-diary-display, make-diary-entry):
910 Allow the diary to pop up a new frame, if needed.
912 * calendar/calendar.el (calendar-make-alist): Correct off-by-one
913 keeping December out of the alist.
915 * calendar/cal-move.el (calendar-goto-day-of-year): New function.
916 * calendar/calendar.el (calendar-mode-map): Bind it to key.
917 * calendar/cal-menu.el (calendar-mode-map): Add it to menu.
918 (calendar-flatten): New function.
919 (calendar-mouse-view-other-diary-entries)
920 (calendar-mouse-view-diary-entries): Rewritten to put any holidays
921 in the menu title and to show multi-line diary entries correctly
924 * calendar/calendar.el (list-diary-entries-hook)
925 (diary-display-hook, nongregorian-diary-listing-hook)
926 (mark-diary-entries-hook, nongregorian-diary-marking-hook):
927 Add some customize options for these hooks.
928 (calendar-abbrev-construct): Don't try to take a substring longer
929 than the original string.
931 * calendar/calendar.el (diary-file, diary-file-name-prefix)
932 (european-calendar-style, diary-date-forms)
933 (calendar-day-name-array, calendar-month-name-array): Doc change.
934 (generate-calendar-month): Adapt for new behavior of
935 `calendar-day-name' function.
936 (calendar-abbrev-length, calendar-day-abbrev-array)
937 (calendar-month-abbrev-array): New variables.
938 (calendar-abbrev-construct): New function.
939 (calendar-day-name, calendar-month-name): Use new abbrev arrays,
940 rather than fixing abbrevs at some width. Calling syntax change.
941 (calendar-make-alist): Use abbrev arrays. Calling syntax change.
942 (calendar-date-string): Adapt for new behaviors of
943 `calendar-day-name' and `calendar-month-name' functions.
945 * calendar/diary-lib.el (list-diary-entries): Adapt for new
946 behavior of `calendar-day-name' and `calendar-month-name' functions.
947 (diary-name-pattern): Use abbrev arrays, rather than fixing
948 abbrevs at three chars. Calling syntax change.
949 (mark-diary-entries): Adapt for new behaviors of
950 `diary-name-pattern' and `calendar-make-alist' functions.
951 (fancy-diary-font-lock-keywords): Adapt for new behavior of
952 `diary-name-pattern' function.
953 (font-lock-diary-date-forms): Use abbrev arrays, rather than
954 fixing abbrevs at three chars. Calling syntax change.
955 (cal-hebrew, cal-islam): Require when compiling.
956 (diary-font-lock-keywords): Adapt for new behavior of
957 `font-lock-diary-date-forms' function.
959 * calendar/cal-hebrew.el: Reposition some code so defined before used.
960 (calendar-hebrew-month-name-array-common-year)
961 (calendar-hebrew-month-name-array-leap-year): Add doc strings.
962 (list-hebrew-diary-entries): Adapt for new behaviors of
963 `calendar-day-name' and `add-to-diary-list' functions.
964 (mark-hebrew-diary-entries): Adapt for new behaviors of
965 `diary-name-pattern' and `calendar-make-alist' functions.
967 * calendar/cal-islam.el (calendar-islamic-month-name-array):
969 (list-islamic-diary-entries): Adapt for new behaviors of
970 `calendar-day-name' and `add-to-diary-list' functions.
971 (mark-islamic-diary-entries): Adapt for new behaviors of
972 `diary-name-pattern' and `calendar-make-alist' functions.
974 * calendar/cal-menu.el (cal-menu-update): Adapt for new behavior of
975 `calendar-month-name' function.
977 * calendar/cal-coptic.el (coptic-name): defvar rather than defconst.
979 * calendar/solar.el (solar-seasons-data): Move definition before use.
981 * calendar/cal-tex.el (cal-tex-day-name-format): Doc fix.
982 (cal-tex-LaTeX-hourbox): Move definition before use.
984 * calendar/cal-china.el, cal-hebrew.el, cal-islam.el
985 * cal-julian.el, cal-menu.el, cal-move.el, holidays.el
986 * lunar.el, solar.el (displayed-month, displayed-year):
989 * calendar/timeclock.el (timeclock-relative)
990 (timeclock-ask-before-exiting, timeclock-use-display-time):
992 (timeclock-modeline-display): Give a message if
993 `timeclock-use-display-time' is non-nil but `display-time-mode'
996 * calendar/timeclock.el (timeclock-use-display-time)
997 (timeclock-day-over-hook, timeclock-workday-remaining)
998 (timeclock-status-string, timeclock-when-to-leave)
999 (timeclock-when-to-leave-string, timeclock-log-data)
1000 (timeclock-find-discrep, timeclock-day-base)
1001 (timeclock-generate-report, timeclock-visit-timelog): Doc fix.
1002 (timeclock-modeline-display): Set the variable
1003 `timeclock-modeline-display'.
1004 (timeclock-update-modeline): Doc fix. Respect value of
1005 `timeclock-relative'.
1007 * calendar/diary-lib.el (diary-check-diary-file): New function.
1008 (diary, view-diary-entries, show-all-diary-entries)
1009 (mark-diary-entries): Use it.
1010 (view-other-diary-entries): Doc fix. Use `prefix-numeric-value'.
1011 (diary-syntax-table, diary-attrtype-convert, diary-mail-days): Doc fix.
1012 (diary-modified, d-file): No need to defvar (for compiler).
1013 (list-diary-entries): No need for `let*' so use `let'.
1014 (simple-diary-display): Use `diary-file' directly rather than
1015 inheriting `d-file' from `list-diary-entries' caller.
1016 (make-fancy-diary-buffer, show-all-diary-entries):
1017 `mode-line-format' already buffer-local.
1018 (diary-mail-addr): Set to the empty string (rather than nil) if
1019 undefined, as per `user-mail-address'.
1020 (diary-mail-entries): Doc fix. Error if `diary-mail-address' unset.
1021 (mark-sexp-diary-entries): Don't regexp-quote sexp-mark twice.
1022 Remove an un-needed `if'.
1023 (list-sexp-diary-entries): Remove local vars mark and s-entry, and
1024 use `let' rather than `let*'.
1025 (diary-date, insert-monthly-diary-entry)
1026 (insert-yearly-diary-entry, insert-anniversary-diary-entry)
1027 (insert-block-diary-entry, insert-cyclic-diary-entry)
1028 (font-lock-diary-date-forms): No need for `let*' so use `let'.
1029 (make-diary-entry): Doc fix. Use `or' rather than `if'.
1030 (diary-font-lock-keywords): Use `when'. `cal-islam' is required
1031 feature, not `cal-islamic'.
1032 `calendar-islamic-month-name-array-leap-year' does not exist - use
1033 `calendar-islamic-month-name-array'.
1035 * calendar/timeclock.el (display-time-hook)
1036 (timeclock-modeline-display): Define for byte-compiler.
1037 (timeclock-time-to-date, timeclock-workday-remaining)
1038 (timeclock-time-to-seconds, timeclock-seconds-to-time):
1039 Move earlier in the file so defined before used.
1040 (timeclock-status-string): No need for `let*' so use `let'.
1041 (timeclock-query-out): Always return a non-nil value.
1043 * calendar/timeclock.el: Update copyright.
1044 (timeclock-ask-before-exiting): Put `timeclock-query-out' on
1045 `kill-emacs-query-functions' rather than `kill-emacs-hook'.
1046 (timeclock-mode-string): Doc fix.
1047 (timeclock-modeline-display): Doc fix. Use `global-mode-string'
1048 rather than `mode-line-format'.
1049 (timeclock-query-out): Doc fix.
1050 (timeclock-update-modeline): No need for `let*', so use `let'.
1051 Add some help-echo text to `timeclock-mode-string'.
1052 (timeclock-mode-string): Give it the risky-local-variable
1053 property, so that help-echo text will display.
1054 (timeclock-find-discrep): Set `accum' to 0 if
1055 `timeclock-discrepancy' is nil.
1057 (diary-mail-entries): There is no fancy-diary-buffer if there are
1058 no diary entries. Use call-interactively.
1060 * calendar/diary-lib.el (diary-pull-attrs): Make `ret-attr',
1062 (list-diary-entries): Make `temp' local.
1063 (fancy-diary-display): Make `marks', `temp-face', `faceinfo' local.
1064 (mark-diary-entries): Make `temp' local.
1065 (mark-sexp-diary-entries): Make `marks' local, remove `temp'.
1066 (list-sexp-diary-entries): Make `temp' local.
1067 (add-to-diary-list): Make `prefix' local.
1069 * calendar/diary-lib.el (fancy-diary-display-mode): Bind "q" to
1070 `quit-window' in the fancy diary buffer.
1072 Face markup of calendar and diary displays: Any entry line that
1073 ends with [foo:value] where foo is a face attribute (except :box
1074 :stipple) or with [face:blah] tags, will have these values applied
1075 to the calendar and fancy diary displays. These attributes "stack"
1076 on calendar displays. File-wide attributes can be defined as
1077 follows: the first line matching "^# [tag:value]" defines the
1078 value for that particular tag. All of the tags' regexps can be
1081 * calendar/calendar.el (diary-face-attrs): New custom.
1082 (diary-file-name-prefix-function): New custom.
1083 (diary-glob-file-regexp-prefix): New custom.
1084 (diary-file-name-prefix): New custom.
1085 (generate-calendar-window): Check that font-lock-mode is bound
1086 before checking value.
1087 (mark-visible-calendar-date): Add the ability to pass face
1088 attribute/value pairs in the mark argument. Handle the mark.
1090 * calendar/diary-lib.el (diary-attrtype-convert): Convert an
1091 attribute value string to the desired type.
1092 (diary-pull-attrs): New function that pulls the attributes off a
1093 diary entry, merges with file-global attributes, and returns
1094 the (possibly modified) entry and a list of attribute/values using
1095 diary-attrtype-convert.
1096 (list-diary-entries, fancy-diary-display, show-all-diary-entries)
1097 (mark-diary-entries, mark-sexp-diary-entries)
1098 (list-sexp-diary-entries): Add handling of file-global attributes;
1099 add handling of entry attributes using diary-pull-attrs.
1100 (mark-calendar-days-named, mark-calendar-days-named)
1101 (mark-calendar-date-pattern, mark-calendar-month)
1102 (add-to-diary-list): Add optional paramater `color' for passing
1103 face attribute info through the callchain. Pass this parameter around.
1105 * calendar/calendar.el (calendar-only-one-frame-setup): Autoload it.
1107 * calendar/calendar.el (calendar-day-name): Move defn down.
1109 * calendar/calendar.el (facemenu-unlisted-faces): Only update
1110 after facemenu is loaded.
1111 (calendar-font-lock-keywords): Accept non-ASCII month names.
1114 * calendar/solar.el (solar-atn2): Give correct quadrant for arctan.
1116 * calendar/diary-lib.el (fancy-diary-font-lock-keywords):
1117 Grok month numbers, too.
1119 * calendar/diary-lib.el (list-diary-entries): Pass a marker
1120 indicating source of entry to add-to-diary-list.
1121 (list-sexp-diary-entries): Pass a marker indicating source of
1122 entry to add-to-diary-list.
1123 (diary-date): Return mark as well as entry.
1124 (add-to-diary-list): Add new marker argument, appended to
1126 (diary-mode, fancy-diary-display-mode): New derived modes, for
1127 diary file and fancy diary buffer respectively.
1128 (fancy-diary-font-lock-keywords, diary-font-lock-keywords): New
1130 (font-lock-diary-sexps, font-lock-diary-date-forms): New
1131 functions, used in diary-font-lock-keywords.
1132 * calendar/calendar.el (diary-face): New.
1133 (calendar-mode): Set up font-lock mode, using new variable
1134 calendar-font-lock-keywords.
1135 (generate-calendar-window): Fontify if font-lock-mode is on.
1136 (calendar-font-lock-keywords): New variable.
1138 * calendar/diary-lib.el
1139 (diary-button-face, diary-entry, diary-goto-entry): New, to
1140 support click to diary file.
1141 (fancy-diary-display): Buttonize diary entries. Use new mode
1142 fancy-diary-display-mode.
1144 2006-08-21 Norbert Koch <viteno@xemacs.org>
1146 * Makefile (VERSION): XEmacs package 1.26 released.
1148 2006-08-18 Jeff Miller <jeff.miller@xemacs.org>
1150 Further syncs with Emacs CVS
1152 * calendar/timeclock.el (timeclock-modeline-display): Use assq as
1153 well as memq to find `global-mode-string' within
1154 `mode-line-format'. The structure of that variable has changed in
1157 * calendar/diary-lib.el (diary-mail-entries): Don't overwrite
1158 user's value of diary-list-include-blanks, but generate message
1159 instead if there are no entries.
1161 * calendar/diary-lib.el (diary-mail-entries):
1162 (diary-modified, diary-entries-list, displayed-year)
1163 (displayed-month, entry, date, number, date-string, d-file)
1164 (original-date): Defvar without binding to avoid compiler warnings.
1165 * calendar/diary-lib.el (diary-mail-entries): Use `compose-mail'
1166 and `mail-user-agent' instead of straight sendmail.
1168 * calendar/solar.el (diary-sabbath-candles): Add optional MARK
1169 parameter, specifying what face or character to use in the
1170 calendar display. These will now return (MARK . ENTRY).
1172 * calendar/lunar.el (diary-phases-of-moon): Add optional MARK
1173 parameter, specifying what face or character to use in the
1174 calendar display. These will now return (MARK . ENTRY).
1176 * calendar/cal-hebrew.el (diary-omer, diary-yahrzeit)
1177 (diary-rosh-hodesh, diary-parasha, diary-parasha): Add optional
1178 MARK parameter, specifying what face or character to use in the
1179 calendar display. These will now return (MARK . ENTRY).
1181 * calendar/diary-lib.el (mark-sexp-diary-entries): Retrieve mark
1182 from diary-sexp-entry and pass it to mark-visible-calendar-date.
1183 (list-sexp-diary-entries): Update doc string for new docs for ....
1184 If diary-sexp-entry returns a cons, only add the text to the diary
1186 (diary-sexp-entry): Allow sexps to return a cons of the form (MARK
1187 . STRING) to specify what face or character mark should be used in
1188 the calendar display.
1189 (diary-date, diary-block, diary-float, diary-anniversary)
1190 (diary-cyclic): Add optional MARK parameter, specifying what face
1191 or character to use in the calendar display. These will now
1192 return (MARK . ENTRY).
1194 * calendar/diary-lib.el (check-calendar-holidays, diary-iso-date)
1195 (calendar-holiday-list, diary-french-date, diary-mayan-date)
1196 (diary-julian-date, diary-astro-day-number, diary-chinese-date)
1197 (diary-islamic-date, list-islamic-diary-entries)
1198 (mark-islamic-diary-entries, mark-islamic-calendar-date-pattern)
1199 (diary-hebrew-date, diary-omer, diary-yahrzeit, diary-parasha)
1200 (diary-rosh-hodesh, list-hebrew-diary-entries)
1201 (mark-hebrew-diary-entries, mark-hebrew-calendar-date-pattern)
1202 (diary-coptic-date, diary-persian-date, diary-phases-of-moon)
1203 (diary-sunrise-sunset, diary-sabbath-candles):
1204 Remove interactive flag from autoloads.
1206 * calendar/timeclock.el (timeclock-in): Handle the case where no
1207 log file exists (ie the very first call).
1209 * diary-lib.el (include-other-diary-files): Allow modifying
1210 included buffer, to turn off selective display.
1213 2006-08-14 Norbert Koch <viteno@xemacs.org>
1215 * Makefile (VERSION): XEmacs package 1.25 released.
1217 2006-08-02 Jeff Miller <jeff.miller@xemacs.org>
1219 Synching with Emacs CVS
1221 * calendar/solar.el (solar-northern-spring-or-summer-season): Doc fix.
1223 * solar.el (solar-spring-or-summer-season): Delete.
1224 (solar-northern-spring-or-summer-season): New variable.
1225 (solar-sunrise-and-sunset, solar-moment, solar-sunrise-sunset):
1228 * solar.el (diary-sabbath-candles-minutes): New variable.
1229 (diary-sabbath-candles): Use it instead of fixed 18 minutes.
1231 * calendar.el (update-calendar-mode-line): Force mode-line update.
1232 Make date under the cursor available as `date' in
1233 calendar-mode-line-format.
1234 Eval items in calendar-mode-line-format list.
1235 * cal-tex.el (cal-tex-hook, cal-tex-year-hook, cal-tex-month-hook)
1236 (cal-tex-week-hook, cal-tex-daily-hook): Add doc strings.
1238 * cal-tex.el (cal-tex-latexify-list): Fix doc string.
1240 * cal-tex.el (cal-tex-insert-day-names): LaTeXify day names.
1241 (cal-tex-cursor-week-iso, cal-tex-week-hours, cal-tex-weekly4-box)
1242 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1243 (cal-tex-daily-page, cal-tex-mini-calendar): LaTeXify day names.
1245 * cal-tex.el: Change all instances (interactive "P") to
1247 (cal-tex-cursor-month): Add hfill and newline at end of month that
1249 (cal-tex-preamble): Change to LaTeX2e.
1250 (cal-tex-cursor-filofax-year): Don't use default month names in
1251 LaTeX macros in case user changes them.
1252 (cal-tex-month-name): New function. Used throughout in case user
1253 has done something funny with month names.
1255 * cal-hebrew.el (holiday-rosh-hashanah-etc): Spelling correction.
1256 (diary-rosh-hodesh): Spelling correction.
1258 * calendar/diary-lib.el (list-diary-entries): Use `buffer-substring'
1259 instead of `buffer-substring-no-properties' to support enriched mode.
1261 * calendar/cal-menu.el (calendar-mode-map): Change the menu item's
1262 name to "Insert Diary Entry".
1264 * updated "Diary" menu entries to match Emacs
1266 * calendar/calendar.el (generate-calendar-month): Doc fix.
1268 * calendar/calendar.el (generate-calendar-month): Doc fix.
1270 * calendar/diary-lib.el (diary-block): Doc fix.
1272 * calendar/appt.el (appt-disp-window): Use insert instead of
1275 * calendar/diary-lib.el (list-diary-entries): Likewise.
1278 2006-08-02 Jeff Miller <jeff.miller@xemacs.org>
1280 * cal-xemacs.el (calendar-mouse-print-dates): Add menu entry for
1283 2006-08-01 Jeff Miller <jeff.miller@xemacs.org>
1285 * Makefile (REQUIRES): remove ibuffer from REQUIRES
1286 * calendar.el: add cal-fit-window-to-buffer
1287 * calendar.el (generate-calendar-window): use it
1289 2006-07-31 Steve Youngs <steve@sxemacs.org>
1291 * Makefile (REQUIRES): Remove fsf-compat.
1293 * timeclock.el (timeclock-cancel-timer): In XEmacs this is
1294 `delete-itimer', in GNU/Emacs it is `cancel-timer'.
1295 (timeclock-modeline-display): Use it.
1297 2006-07-30 Jeff Miller <jeff.miller@xemacs.org>
1299 Add some 21.4 syncs I missed earlier
1301 * cal-menu.el (calendar-mouse-view-other-diary-entries): Fix name
1302 of file in header of menu. Showed name of diary file, not
1303 other diary file. Fixed typo in "from".
1304 * lunar.el: really do the checkin
1306 2006-07-30 Jeff Miller <jeff.miller@xemacs.org>
1308 * Makefile (REQUIRES): added ibuffer & fsf-compat
1309 * Makefile (ELCS): added timelock.elc & todo-mode.elc
1310 * appt.el: Synced with Emacs 21.4
1311 * cal-china.el: Synced with Emacs 21.4
1312 * cal-coptic.el: Synced with Emacs 21.4
1313 * cal-dst.el: Synced with Emacs 21.4
1314 * cal-french.el: Synced with Emacs 21.4
1315 * cal-hebrew.el: Synced with Emacs 21.4
1316 * cal-islam.el: Synced with Emacs 21.4
1317 * cal-iso.el: Synced with Emacs 21.4
1318 * cal-julian.el: Synced with Emacs 21.4
1319 * cal-mayan.el: Synced with Emacs 21.4
1320 * cal-move.el: Synced with Emacs 21.4
1321 * cal-persia.el: Synced with Emacs 21.4
1322 * cal-tex.el: Synced with Emacs 21.4
1323 * cal-x.el: Synced with Emacs 21.4
1324 * cal-xemacs.el: Synced with Emacs 21.4
1325 * calendar.el: Synced with Emacs 21.4
1326 * diary-lib.el: Synced with Emacs 21.4
1327 * holidays.el: Synced with Emacs 21.4
1328 * lunar.el: Synced with Emacs 21.4
1329 * solar.el: Synced with Emacs 21.4
1330 * todo-mode.el: New file
1331 * timeclock.el: New file
1332 * package-info.in: add timeclock & todo-mode to "provides"
1334 2006-07-27 Norbert Koch <viteno@xemacs.org>
1336 * Makefile (VERSION): XEmacs package 1.24 released.
1338 2006-07-25 Jeff Miller <jeff.miller@xemacs.org>
1340 * Updated (MAINTAINER) in Makefile.
1342 2004-01-27 Norbert Koch <viteno@xemacs.org>
1344 * Makefile (VERSION): XEmacs package 1.23 released.
1346 2004-01-26 Jerry James <james@xemacs.org>
1348 * appt.el (appt-check): Fix parenthesizing error.
1350 2003-10-31 Norbert Koch <viteno@xemacs.org>
1352 * Makefile (VERSION): XEmacs package 1.22 released.
1354 2003-08-28 Norbert Koch <viteno@xemacs.org>
1356 * Makefile (VERSION): XEmacs package 1.21 released.
1358 2003-08-28 Steve Youngs <youngs@xemacs.org>
1360 * calendar.el (calendar-mode-map): Bind backspace to
1361 `scroll-other-window-down'.
1363 2003-08-19 Norbert Koch <viteno@xemacs.org>
1365 * Makefile (VERSION): XEmacs package 1.20 released.
1367 2003-08-12 David A. Panariti <davep.xemacs@meduseld.net>
1369 * appt.el - Changes to support included diaries.
1370 (appt-make-list-hook): Added hook var to support
1372 (appt-diary-entries): Added optional parameter to control clearing
1373 of `appt-time-msg-list', which was moved here from `appt-make-list'.
1374 (appt-included-diary-entries): Added to support included diaries.
1375 (appt-initialize): Remove nil'ing of `appt-time-msg-list'.
1376 (appt-make-list): Calls `appt-make-list-hook'.
1378 2003-03-09 Ben Wing <ben@xemacs.org>
1381 Delete explicit compile:: and binkit: rules.
1382 Don't add custom-load.elc to the list of generated elc's.
1383 Include Local.rules.inc at the beginning for access to
1384 BUILD_WITHOUT_MULE, and put the include of XEmacs.rules at the
1387 2002-11-29 Ben Wing <ben@xemacs.org>
1389 * .cvsignore: Remove files now handled automatically by CVS.
1390 * Makefile: Use `compile' instead of hard-coded `all'.
1392 2002-10-15 Ville Skyttä <scop@xemacs.org>
1394 * Makefile (srckit): Remove.
1396 2002-09-26 Rendhalver [Peter Brown] <rendhalver@xemacs.org>
1398 * Makefile (VERSION): XEmacs package 1.19 released.
1400 2002-09-25 A. Guru <a.guru@sympatico.ca>
1402 * solar.el (solar-equinoxes-solstices): Fix off by one day bug
1403 affecting eastern US autumnal equinox this year.
1405 2001-12-22 Steve Youngs <youngs@xemacs.org>
1407 * package-info.in (provides): Update.
1409 2001-12-13 David A. Panariti <davep@who.net>
1411 * appt.el (appt-check): Added call to appt-diary-entries when
1412 rolling over to the next day.
1414 2001-12-10 David A Panariti <davep@who.net>
1416 * appt.el (appt-frame-announce): Make the buffer visible in the frame
1417 and make the frame visible.
1419 2000-09-12 Jeff Miller <jmiller@cablespeed.com>
1421 * cal-xemacs.el (calendar-goto-menu): Change "Coptoc" -> "Coptic".
1423 2000-05-23 Karl M. Hegbloom <karlheg@debian.org>
1425 * Makefile: Use BUILD_WITHOUT_MULE rather than BUILD_MULE.
1427 1999-12-13 Jeff Miller <jmiller@smart.net>
1429 This info is pulled from the Emacs 20.4/5 lisp/ChangeLog
1431 * cal-dst.el: update Synched with to 20.4/5, no other change
1437 * calendar.el (redraw-calendar): Move to nearest date before
1440 * diary-lib.el (list-diary-entries): Make sure two-digit years
1443 * diary-lib.el (simple-diary-display): Reset modeline even if
1444 there are no diary entries since the diary buffer may be displayed.
1446 * calendar/cal-x.el (special-display-buffer-names):
1447 Don't put (get-file-buffer diary-file) on this list.
1449 * cal-x.el (calendar-only-one-frame-setup): New function.
1450 * calendar.el (calendar): Call it if requested.
1452 * calendar/calendar.el (calendar-mode-map): Fix bindings for
1453 appt-add and appt-delete.
1455 * cal-x.el (diary-frame-parameters, calendar-frame-parameters,
1456 calendar-and-diary-frame-parameters): Add title parameter.
1458 * calendar/calendar.el (calendar-day-name-array): Add doc string.
1459 (calendar-month-name-array): Add doc string.
1461 * cal-china.el (chinese-year-cache): Change range of years from
1462 1989-2000 to 1990-2010.
1464 * calendar/cal-tex.el (cal-tex-cursor-filofax-daily): Don't use oddp.
1466 * appt.el (appt-max-time): Renamed from max-time.
1468 * calendar/diary-lib.el (mark-diary-entries): Use
1469 assoc-ignore-case and do not capitalize when matching month and
1471 * calendar/calendar.el (calendar-read-date): Ditto.
1472 * calendar/cal-hebrew.el (calendar-goto-hebrew-date)
1473 (mark-hebrew-diary-entries, list-yahrzeit-dates): Ditto.
1474 * calendar/cal-coptic.el (coptic-prompt-for-date): Ditto.
1475 * calendar/cal-french.el (calendar-goto-french-date): Ditto.
1476 * calendar/cal-islam.el (calendar-goto-islamic-date)
1477 (mark-islamic-diary-entries): Ditto.
1478 * calendar/cal-julian.el (calendar-goto-julian-date): Ditto.
1479 * calendar/cal-mayan.el (calendar-read-mayan-haab-date)
1480 (calendar-read-mayan-tzolkin-date): Ditto.
1481 * calendar/cal-persia.el (persian-prompt-for-date): Ditto.
1483 * calendar/cal-move.el (scroll-calendar-left): Don't set
1484 displayed-month and displayed-year here, let generate-calendar do
1485 it, after range checking.
1487 * calendar/diary-lib.el (mark-sexp-diary-entries): Avoid infinite
1488 loop when sexp entry ends at end of file with no newline.
1489 * diary-lib.el (diary-float): Fix end-of-year error and typos in
1491 * diary-lib.el (diary-remind): Rewritten to behave sensibly for
1492 diary-block diary entries for which the reminders and the diary
1493 entries can overlap.
1495 1999-11-11 Andreas Jaeger <aj@suse.de>
1497 * calendar.el (calendar-string-spread): Check that string-width is
1498 available to make test working without Mule.
1499 Patch by Barry A. Warsaw <bwarsaw@cnri.reston.va.us>.
1501 1999-06-24 SL Baur <steve@miho.m17n.org>
1503 * appt.el (appt-add): Autoload.
1504 (appt-delete): Ditto.
1506 1999-06-14 SL Baur <steve@steve1.m17n.org>
1508 * calendar.el (calendar-day-name): Day names can be 1 character.
1509 (calendar-month-name): Ditto.
1510 (calendar-english-day-name-array): Rename.
1511 (calendar-day-name-array): Make the default.
1512 (calendar-english-month-name-array): Rename.
1513 (calendar-month-name-array): Make the default.
1514 (calendar-english-year-name): New function.
1515 (calendar-year-name-function): Use it.
1516 (calendar-year-name): New function.
1517 (generate-calendar-month): Use it.
1518 (calendar-string-spread): Use Mule-aware functions so as not to
1519 lose with wide characters.
1521 * cal-japanese.el: New file. Implement Japanese-style calendars.
1523 1999-02-08 Charles G Waldman <cgw@pgt.com>
1525 * calendar.el: (holidays) add autoload cookie
1527 1998-09-01 Jeff Miller <jmiller@smart.net>
1529 * appt.el: further synching with Emacs 20.3
1530 * cal-xemacs.el: Menu updates
1531 Synched with Emacs 20.3
1533 * cal-french.el: Comments Updates
1534 Synched with Emacs 20.3
1536 * cal-x.el: Updated FSF address in comments
1537 Synched with Emacs 20.3
1539 * diary-lib.el: Updated FSF address in comments
1541 (diary-mail-entries): new function
1542 Synched with Emacs 20.3
1544 * cal-tex.el (cal-tex-list-holidays): updated
1545 (cal-tex-cursor-filofax-daily): new function
1546 Synched with Emacs 20.3
1548 * cal-persia.el: Comments Updates
1549 Synched with Emacs 20.3
1551 * cal-mayan.el: Updated FSF address in comments
1553 Synched with Emacs 20.3
1555 * cal-move.el: Comments Updates
1556 Synched with Emacs 20.3
1558 * cal-julian.el: Comments Updates
1559 Synched with Emacs 20.3
1561 * cal-iso.el: Comments Updates
1562 Synched with Emacs 20.3
1564 * cal-islam.el: Comments Updates
1565 Synched with Emacs 20.3
1567 * cal-hebrew.el: Comments Updates
1568 Synched with Emacs 20.3
1570 * cal-dst.el: Updated FSF address in comments
1572 Synched with Emacs 20.3
1574 * cal-coptic.el: Comments Updates
1575 Synched with Emacs 20.3
1577 * cal-china.el: Comments updates
1578 Synched with Emacs 20.3
1580 * holidays.el: Updated FSF address in comments
1581 Other comments updates.
1582 Synched with Emacs 20.3
1584 * lunar.el: Updated FSF address in comments
1586 Synched with Emacs 20.3
1588 * solar.el: Updated FSF address in comments
1590 Synched with Emacs 20.3
1592 1998-07-20 SL Baur <steve@altair.xemacs.org>
1594 * diary-ins.el: Removed zero length file.
1596 1998-06-19 Jeff Miller <jmiller@smart.net>
1598 * Makefile: updated .elc targets.
1600 * cal-china.el: new, synched with Emacs 20.2
1601 * cal-coptic.el: new, synched with Emacs 20.2
1602 * cal-persia.el: new, synched with Emacs 20.2
1603 * cal-tex.el: new, synched with Emacs 20.2
1605 * cal-hebrew.el: new file, old functions, synched with Emacs 20.2
1606 * cal-islam.el: new file, old functions, synched with Emacs 20.2
1607 * cal-iso.el: new file, old functions, synched with Emacs 20.2
1608 * cal-julian.el: new file, old functions, synched with Emacs 20.2
1609 * cal-move.el: new file, old functions, synched with Emacs 20.2
1611 * appt.el: some synching with Emacs 20.2, minor bug fixes.
1613 * cal-x.el: synched with Emacs 20.2 (mostly)
1614 * cal-xemacs.el: synched with cal-menu.el in Emacs 20.2
1615 * calendar.el: synched with Emacs 20.2 (mostly)
1617 * cal-dst.el: synched with Emacs 20.2
1618 * cal-mayan.el: synched with Emacs 20.2
1619 * diary-lib.el: synched with Emacs 20.2
1620 * holidays.el: synched with Emacs 20.2
1621 * lunar.el: synched with Emacs 20.2
1622 * solar.el: synched with Emacs 20.2
1624 * cal-french.el: no change
1626 * diary-ins.el: removed, obsolete. Functions moved to various
1628 1998-01-25 SL Baur <steve@altair.xemacs.org>
1630 * Makefile (VERSION): Update to package standard 1.0.
1631 * package-info.in: Ditto.
1633 1998-01-03 SL Baur <steve@altair.xemacs.org>
1635 * Makefile: Update to new package interface.
1637 1997-12-24 SL Baur <steve@altair.xemacs.org>
1639 * Makefile: Created.