1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-22 18:35:09 +00:00
Commit Graph

662 Commits

Author SHA1 Message Date
Paul Eggert
fffaba7760 Update reference to "Calendrical Calculations" book; there's a new edition. 2005-03-30 16:55:58 +00:00
Glenn Morris
ed554ebd2f Update copyright and maintainer.
(calendar-one-frame-setup)
(calendar-only-one-frame-setup, calendar-two-frame-setup): Use t
rather than 'symbol for set-window-dedicated-p.
2005-03-30 15:18:52 +00:00
Glenn Morris
9080baba91 Update maintainer.
(appt-buffer-name): Make it a constant.
(appt-add): Doc fix.
2005-03-30 15:18:09 +00:00
Glenn Morris
25b11e014d Update copyright and maintainer.
(calendar-beginning-of-year): Move the cursor to Jan 1 when needed.
(calendar-end-of-year): Fix -/+ typo.
Reported by Chong Yidong <cyd@stupidchicken.com>.
2005-03-26 15:55:15 +00:00
Glenn Morris
b6a156a735 Update copyright.
(top level): Delete local C-down-mouse-3 binding.  Suggested by
Stephan Stahl <stahl@eos.franken.de>.
2005-03-26 15:54:29 +00:00
Werner LEMBERG
9f556e4466 * calendar/calendar.el: Replace legal' with valid'. 2005-03-25 09:53:47 +00:00
Lute Kamstra
ca2d9ad843 Add comment on time value formats. Don't require parse-time.
(with-decoded-time-value): New macro.
(encode-time-value): New function.
(time-to-seconds, time-less-p, time-subtract, time-add): Use them.
(days-to-time): Return a valid time value when arg is huge.
(time-since): Use time-subtract.
(time-to-number-of-days): Use time-to-seconds.
2005-03-23 10:09:18 +00:00
Glenn Morris
81eb8a4a73 (mark-diary-entries): Use new optional argument REDRAW rather than
calendar-redrawing variable.

From  Matt Hodges  <MPHodges@member.fsf.org>:
(diary-redraw-calendar): Preserve point in diary-file buffer.
2005-03-16 13:23:55 +00:00
Glenn Morris
7a099c439d (calendar-redrawing): Delete.
(redraw-calendar): Do not bind calendar-redrawing.
2005-03-16 13:23:09 +00:00
Glenn Morris
3ee0c967ef (calendar-redrawing): New internal variable.
(redraw-calendar): Remove bogus save-excursion from previous
change.  Bind calendar-redrawing to t for mark-diary-entries.
2005-03-11 21:44:42 +00:00
Glenn Morris
4b1523ac4a (mark-diary-entries): No need to redraw calendar if that is why we
were called.
2005-03-11 21:44:06 +00:00
Glenn Morris
91199264e3 (mark-diary-entries): Only call redraw-calendar in the first of any
recursive calls.  Reported by Alan Shutko <ats@acm.org>.
2005-03-09 00:29:14 +00:00
Glenn Morris
b924026db8 (redraw-calendar): Preserve point. Reported by Matt Hodges
<MPHodges@member.fsf.org>.
(calendar-week-start-day): Move after definition of redraw-calendar.
Delete buffer test, since redraw-calendar has that now.
2005-03-09 00:28:22 +00:00
Glenn Morris
86fc29f926 From Ulf Jasper <ulf.jasper@web.de>:
(icalendar-version): Increase to 0.11.
(icalendar-export-file, icalendar-export-region)
(icalendar-import-file, icalendar-import-buffer): Add autoload cookies.
(icalendar--convert-ical-to-diary): Fix problem with DURATION.
2005-03-04 17:16:33 +00:00
Glenn Morris
cea82f86ac (redraw-calendar): Work from any buffer, not just the calendar. 2005-03-01 10:24:33 +00:00
Glenn Morris
a46c339d7a (mark-diary-entries): Remove any old marks first.
(diary-redraw-calendar): New function.
(make-diary-entry): Add diary-redraw-calendar to local
write-contents-functions.  Turn off selective display before inserting
in diary.
2005-03-01 10:23:58 +00:00
Glenn Morris
07a66b979b (diary-remind): Discard any mark portion from diary-entry. Reported
by Andrew Kemp <ajwk@pell.uklinux.net>.
2005-02-27 22:46:03 +00:00
Glenn Morris
0663481f4d From Matt Hodges <MPHodges@member.fsf.org>:
(calendar-buffer): Move above calendar-week-start-day.
(calendar-week-start-day): Doc fix.  Add :set function.
(calendar-minimum-window-height): New variable.
(generate-calendar-window): Only resize window if selected-window is
displaying the calendar buffer.  Use new variable
calendar-minimum-window-height.
(generate-calendar): Reword error message.
(calendar-mode-map): Bind DEL to scroll-other-window-down.
2005-02-27 20:25:48 +00:00
Glenn Morris
8ee7eb6be4 From Ulf Jasper <ulf.jasper@web.de>:
(icalendar--decode-isodatetime): New optional argument DAY-SHIFT.
(icalendar-export-region): Fix coding-system-for-write.
(icalendar--convert-ical-to-diary): Shift end-day of all-day events by
one.
2005-02-24 18:22:28 +00:00
Richard M. Stallman
5fac723a04 (appt-time-msg-list): 3rd elt of each
appointment says it was explicitly made.
(appt-add): Set the 3rd element.
(appt-make-list): Preserve explicit appointments.
2005-02-23 21:05:51 +00:00
Glenn Morris
74692b14ee From Ulf Jasper <ulf.jasper@web.de>:
(icalendar--get-event-property): Doc fix.
(icalendar--get-event-property-attributes)
(icalendar--get-event-properties)
(icalendar--datetime-to-diary-date): New functions.
(icalendar--split-value): Doc fix.
(icalendar--datetime-to-noneuropean-date)
(icalendar--datetime-to-european-date): New optional argument
SEPARATOR.  Return result as a string instead of a list.
(icalendar--get-weekday-number): Check if ABBREVWEEKDAY is nil.
(icalendar--convert-string-for-export): Rename arg S to STRING.
(icalendar-export-region): Doc fix.  Change name of error buffer.
Save output buffer.
(icalendar-import-file): Add blank at end of prompt.
(icalendar-import-buffer): Doc fix.  Do not switch to error
buffer.  Indicate status in return value.
(icalendar--convert-ical-to-diary): Doc fix.  Change name of error
buffer.  Save output buffer.  Handle exception from recurrence
rules (EXDATE, EXRULE).  Handle start- and end-date of recurring
events.  Fix problems with weekly all-day events.
2005-02-11 01:02:56 +00:00
Kim F. Storm
bf247b6ed0 Change release version from 21.4 to 22.1 throughout.
Change development version from 21.3.50 to 22.0.50.
2005-02-09 15:50:47 +00:00
Glenn Morris
d0897fa535 From Markus Rost <rost@ias.edu>:
(mark-diary-entries): Set mark-diary-entries-in-calendar only after
checking for diary-file.
2004-12-21 15:03:31 +00:00
Glenn Morris
791b8dea10 (view-other-diary-entries): Add autoload. 2004-12-20 18:09:46 +00:00
Glenn Morris
3b55422113 (view-other-diary-entries): Use current-prefix-arg in interactive spec. 2004-12-20 18:09:22 +00:00
Glenn Morris
8dad6f6234 Fix spelling mistake in previous changes. 2004-12-07 12:22:19 +00:00
Glenn Morris
92dd6c93c0 (holiday-advent): Make arguments optional for backwards
compatability.  Doc fix.
2004-12-07 00:58:02 +00:00
Glenn Morris
3cd74de74c (holiday-easter-etc): Make arguments optional for backwards
compatability.  Doc fix.  Remove un-necessary local vars mandatory,
output-list.
2004-12-07 00:46:08 +00:00
Glenn Morris
3e58bf8b8f (diary-from-outlook, diary-from-outlook-gnus)
(diary-from-outlook-rmail): Use NOCONFIRM rather than DONOTASK for
argument name.
2004-11-09 17:01:01 +00:00
Glenn Morris
e6a70f09d2 (diary-from-outlook, diary-from-outlook-gnus)
(diary-from-outlook-rmail): Do not use interactive-p; but rather new
optional argument DONOTASK.
2004-11-09 14:51:06 +00:00
Glenn Morris
81d565943d From Ulf Jasper <ulf.jasper@web.de>:
(icalendar-version): Increase to 0.08.
(icalendar--split-value): Change name of work buffer.
(icalendar--get-weekday-abbrev): Return nil on error.
(icalendar--date-to-isodate): New function.
(icalendar-convert-diary-to-ical)
(icalendar-extract-ical-from-buffer): Use only two args for
make-obsolete (XEmacs compatibility).
(icalendar-export-file, icalendar-import-file): Blank at end of prompt.
(icalendar-export-region): Doc fix.  If error, return non-nil
and write errors to buffer ` *icalendar-errors*'.  Use correct weekday
for weekly recurring events.  Check whether date has been parsed for
ordinary events.  Make weekly events start in the year 2000.  DTEND is
non-inclusive, shift end date by one day if necessary (not for entries
that have date and time).  Rename local let variables: oops ->
found-error, datestring -> startdatestring.
2004-11-02 01:05:27 +00:00
Glenn Morris
f2aa54499e From Ulf Jasper <ulf.jasper@web.de>:
(icalendar--weekday-array): New constant.
(icalendar-weekdayabbrev-table)
(icalendar-monthnumber-table): Delete.
(icalendar--get-month-number): Use calendar-month-name-array.
(icalendar--get-weekday-number): New function.
(icalendar--get-weekday-abbrev) Use calendar-day-name-array.
(icalendar-export-region): Handle multi-line entries.
(icalendar--convert-ical-to-diary): Use calendar-day-name-array.
2004-10-23 16:13:06 +00:00
Glenn Morris
e0cd68ee54 From Ulf Jasper <ulf.jasper@web.de>:
Set coding to utf-8.
(icalendar-version): Increase to 0.07.
(icalendar-monthnumber-table): Change March pattern.
(icalendar-get-all-event-properties)
(icalendar-set-event-property): Delete.
(icalendar-all-events): No longer interactive.
(icalendar-convert-diary-to-ical)
(icalendar-extract-ical-from-buffer): Make obsolete, and alias to
their replacements.
(icalendar-export-file, icalendar-export-region): New functions;
essentially old `icalendar-convert-diary-to-ical' but appending to
target rather than overwriting.
(icalendar-import-file): Append to target file rather than
overwriting.  Fourth arg deleted.
(icalendar-import-buffer): New name for old
`icalendar-extract-ical-from-buffer'.
(icalendar--convert-string-for-import): New name for
old `icalendar-convert-for-import'.
(include-icalendar-files): Delete.
Prefix for all internal functions changed from `icalendar-'
to `icalendar--'.
2004-10-19 09:53:50 +00:00
Miles Bader
a13bc06478 Changes from arch/CVS synchronization 2004-10-06 03:45:06 +00:00
Glenn Morris
707c20a84a New file, from Ulf Jasper <ulf.jasper@web.de>. 2004-10-05 22:29:16 +00:00
Glenn Morris
fb60b3e130 From Emilio C. Lopes <eclig@gmx.net>:
(calendar-goto-iso-week): Add autoload.
(calendar-mode-map): Add binding for `calendar-goto-iso-week'.
2004-10-04 23:46:42 +00:00
Glenn Morris
6b8927e31c Update copyright and maintainer.
From  Emilio C. Lopes  <eclig@gmx.net>:
(calendar-mode-map): Add binding for `calendar-goto-iso-week'.
2004-10-04 23:45:06 +00:00
Glenn Morris
b76a84cd86 Update copyright and maintainer.
(calendar-iso-read-args): New function, for old interactive spec from
calendar-goto-iso-date.
(calendar-goto-iso-date): Use it.
(calendar-goto-iso-week): New function.  Suggested by Emilio C. Lopes
<eclig@gmx.net>.
2004-10-04 23:42:37 +00:00
Glenn Morris
ba55e59fd9 Update maintainer.
From Matthew Mundell <matt@mundell.ukfsn.org> (tiny change):

(list-diary-entries): Save diary buffer from diary display excursion.
Store diary buffer's point for `simple-diary-display'.
(simple-diary-display): Set window point and start when displaying
buffer, to preserve point.
2004-09-28 22:24:47 +00:00
Glenn Morris
d1493acd5a Update maintainer.
From H�n Malmedal <hmalmedal@yahoo.no>:
(christian-holidays): Adapt for new behaviour of holiday-advent and
holiday-easter-etc functions.
2004-09-22 23:21:18 +00:00
Glenn Morris
1a49949355 Update copyright, and add missing centuries.
Update maintainer.

From H�n Malmedal <hmalmedal@yahoo.no>:
(holiday-advent): Report on a specified day offset from advent, not
just advent.
(holiday-easter-etc): Report on one specified day offset from easter,
not all easter holidays. Various Easter holidays moved to
`christian-holidays' variable in calendar.el.
2004-09-22 23:19:58 +00:00
Miles Bader
23f87bede0 Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-523
Merge from emacs--gnus--5.10, gnus--rel--5.10

Patches applied:

 * miles@gnu.org--gnu-2004/emacs--gnus--5.10--base-0
   tag of miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-464

 * miles@gnu.org--gnu-2004/emacs--gnus--5.10--patch-1
   Import from CVS branch gnus-5_10-branch

 * miles@gnu.org--gnu-2004/emacs--gnus--5.10--patch-2
   Merge from lorentey@elte.hu--2004/emacs--multi-tty--0, emacs--cvs-trunk--0

 * miles@gnu.org--gnu-2004/emacs--gnus--5.10--patch-3
   Merge from gnus--rel--5.10

 * miles@gnu.org--gnu-2004/emacs--gnus--5.10--patch-4
   Merge from gnus--rel--5.10

 * miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-18
   Update from CVS

 * miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-19
   Remove autoconf-generated files from archive

 * miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-20
   Update from CVS
2004-09-04 13:13:48 +00:00
Masatake YAMATO
0e48150a65 (time-to-seconds): Add autoload cookies. 2004-08-26 18:20:52 +00:00
Luc Teirlinck
ec9b5635fb (calendar-time-from-absolute): Return a list of two integers, instead
of a cons.
2004-07-14 23:22:14 +00:00
Glenn Morris
3b316424bf (appt-disp-window): Use `calendar-set-mode-line' for a centered
mode-line.

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

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