1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-06 11:55:48 +00:00
Commit Graph

718 Commits

Author SHA1 Message Date
Glenn Morris
9dd9ed204a From Ulf Jasper <ulf.jasper@web.de>:
(icalendar-version): Now at 0.12.
(icalendar-duration-correction): Remove.
(icalendar--get-event-properties): Split result at commas.
(icalendar--decode-isoduration): New optional argument
DURATION-CORRECTION.
(icalendar--convert-ordinary-to-ical)
(icalendar--convert-weekly-to-ical)
(icalendar--convert-yearly-to-ical)
(icalendar--convert-sexp-to-ical)
(icalendar--convert-block-to-ical)
(icalendar--convert-float-to-ical)
(icalendar--convert-date-to-ical)
(icalendar--convert-cyclic-to-ical)
(icalendar--convert-anniversary-to-ical): New functions, extracted
from icalendar-export-region, with bug fixes.
(icalendar-export-region): Use the above functions.
(icalendar-import-buffer): Check before saving diary file.
(icalendar--convert-recurring-to-diary)
(icalendar--convert-non-recurring-all-day-to-diary)
(icalendar--convert-non-recurring-not-all-day-to-diary): New
functions, extracted from icalendar--convert-ical-to-diary, with
bug fixes.
(icalendar--convert-ical-to-diary): Use the above functions.
2005-05-03 16:35:27 +00:00
Miles Bader
9147257891 Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-243
Merge from gnus--rel--5.10

Patches applied:

 * gnus--rel--5.10  (patch 59)

   - Update from CVS

2005-04-06  Katsumi Yamaoka  <yamaoka@jpl.org>

   * lisp/calendar/time-date.el (time-to-seconds): Don't use the #xhhhh
   syntax which Emacs 20 doesn't support.
   (seconds-to-time, days-to-time, time-subtract, time-add): Ditto.

2005-04-06  Katsumi Yamaoka  <yamaoka@jpl.org>

   * lisp/gnus/mm-util.el (mm-coding-system-p): Don't return binary for the nil
   argument in XEmacs.

   * lisp/gnus/nnrss.el (nnrss-compatible-encoding-alist): New variable.
   (nnrss-request-group): Decode group name first.
   (nnrss-request-article): Make a text/plain article if mml-to-mime
   failed.
   (nnrss-get-encoding): Return a compatible encoding according to
   nnrss-compatible-encoding-alist.
   (nnrss-opml-export): Use dolist.
   (nnrss-find-el): Use consp instead of listp.
   (nnrss-order-hrefs): Use dolist.

2005-04-06  Arne J,Ax(Brgensen  <arne@arnested.dk>

   * lisp/gnus/nnrss.el (nnrss-verbose): Remove.
   (nnrss-request-group): Use `nnheader-message' instead.

2005-04-06  Mark Plaksin  <happy@usg.edu>  (tiny change)

   * lisp/gnus/nnrss.el (nnrss-verbose): New variable.
   (nnrss-request-group): Make it say nnrss is requesting a group.

2005-04-06  Katsumi Yamaoka  <yamaoka@jpl.org>

   * lisp/gnus/gnus-agent.el (gnus-agent-group-path): Decode group name.
   (gnus-agent-group-pathname): Ditto.

   * lisp/gnus/gnus-cache.el (gnus-cache-file-name): Decode group name.

   * lisp/gnus/gnus-group.el (gnus-group-line-format-alist): Use decoded group
   name for only %g and %c.
   (gnus-group-insert-group-line): Bind gnus-tmp-decoded-group
   instead of gnus-tmp-group to decoded group name.
   (gnus-group-make-group): Decode group name.
   (gnus-group-delete-group): Ditto.
   (gnus-group-make-rss-group): Exclude `/'s from group names;
   register the group data after opening the nnrss group; unify
   non-ASCII group names; encode group name.
   (gnus-group-catchup-current): Decode group name.
   (gnus-group-expire-articles-1): Ditto.
   (gnus-group-set-current-level): Ditto.
   (gnus-group-kill-group): Ditto.

   * lisp/gnus/gnus-spec.el (gnus-update-format-specifications): Flush the
   group format spec cache if it doesn't support decoded group names.

   * lisp/gnus/mm-url.el (mm-url-predefined-programs): Add --silent arg to curl.

   * lisp/gnus/nnrss.el: Require rfc2047 and mml.
   (nnrss-file-coding-system): New variable.
   (nnrss-format-string): Redefine it as an inline function.
   (nnrss-decode-group-name): New function.
   (nnrss-string-as-multibyte): Remove.
   (nnrss-retrieve-headers): Decode group name; don't use
   nnrss-format-string.
   (nnrss-request-group): Decode group name.
   (nnrss-request-article): Decode group name; allow a Message-ID as
   well as an article number; don't use nnrss-format-string; encode a
   Message-ID string which may contain non-ASCII characters; use
   mml-to-mime to compose a MIME article; use search-forward instead
   of re-search-forward.
   (nnrss-request-expire-articles): Decode group name.
   (nnrss-request-delete-group): Delete entries in nnrss-group-alist
   as well; decode group name.
   (nnrss-get-encoding): Fix regexp.
   (nnrss-fetch): Clarify error message.
   (nnrss-read-server-data): Use insert-file-contents instead of load;
   bind file-name-coding-system; use multibyte buffer.
   (nnrss-save-server-data): Insert newline; bind
   coding-system-for-write to the value of nnrss-file-coding-system;
   bind file-name-coding-system; add coding cookie.
   (nnrss-read-group-data): Use insert-file-contents instead of load;
   bind file-name-coding-system; use multibyte buffer.
   (nnrss-save-group-data): Bind coding-system-for-write to the
   value of nnrss-file-coding-system; bind file-name-coding-system.
   (nnrss-decode-entities-string): Rename from n-d-e-unibyte-string;
   make it work with non-ASCII text.
   (nnrss-opml-export): Use mm-set-buffer-file-coding-system instead
   of set-buffer-file-coding-system.
   (nnrss-find-el): Check carefully whether there's a list of string
   which old xml.el may return rather than a string; make it work
   with old xml.el as well.

2005-04-06  Tsuyoshi AKIHO  <akiho@kawachi.zaq.ne.jp>

   * lisp/gnus/gnus-sum.el (gnus-summary-walk-group-buffer): Decode group name.

   * lisp/gnus/nnrss.el (nnrss-get-encoding): New function.
   (nnrss-fetch): Use unibyte buffer initially; bind
   coding-system-for-read while performing mm-url-insert; remove ^Ms;
   decode contents according to the encoding attribute.
   (nnrss-save-group-data): Add coding cookie.
   (nnrss-mime-encode-string): New function.
   (nnrss-check-group): Use it to encode subject and author.

2005-04-06  Maciek Pasternacki  <maciekp@japhy.fnord.org>  (tiny change)

   * lisp/gnus/nnrss.el (nnrss-fetch): Signal an error if w3-parse-buffer also
   failed.

2005-04-06  Jesper Harder  <harder@ifa.au.dk>

   * lisp/gnus/mm-util.el (mm-subst-char-in-string): Support inplace.

   * lisp/gnus/nnrss.el: Pedantic docstring and whitespace fixes (courtesy of
   checkdoc.el).
   (nnrss-request-article): Cleanup.
   (nnrss-request-delete-group): Use nnrss-make-filename.
   (nnrss-read-server-data): Use nnrss-make-filename; use load.
   (nnrss-save-server-data): Use nnrss-make-filename; use gnus-prin1.
   (nnrss-read-group-data): Fix off-by-one error.  From Joakim Verona
   <joakim@verona.se>; hash on description if link is missing; use
   nnrss-make-filename; use load.
   (nnrss-save-group-data): Use nnrss-make-filename; use gnus-prin1.
   (nnrss-make-filename): New function.
   (nnrss-close): New function.
   (nnrss-check-group): Hash on description if link is missing.
   (nnrss-get-namespace-prefix): Use string= to compare strings!
   Reported by David D. Smith <davidsmith@acm.org>.
   (nnrss-opml-export): Turn on sgml-mode.

2005-04-06  Mark A. Hershberger  <mah@everybody.org>

   * lisp/gnus/nnrss.el (nnrss-opml-import, nnrss-opml-export): New functions.

2005-04-06  Katsumi Yamaoka  <yamaoka@jpl.org>

   * man/gnus.texi (RSS): Addition.
2005-04-10 04:20:14 +00:00
Dan Nicolaescu
ea81d57ec5 * mh-customize.el (mh-speedbar-selected-folder-face): Special case
high number of colors displays.

* textmodes/table.el (table-cell-face): Add special case for
displays supporting a high number of colors.
* progmodes/vhdl-mode.el (vhdl-font-lock-prompt-face)
(vhdl-font-lock-reserved-words-face)
(vhdl-speedbar-architecture-face)
(vhdl-speedbar-instantiation-face)
(vhdl-speedbar-architecture-selected-face)
(vhdl-speedbar-instantiation-selected-face): Likewise.
* progmodes/sh-script.el (sh-heredoc-face): Likewise.
* progmodes/idlw-help.el (idlwave-help-link-face): Likewise.
* progmodes/ebrowse.el (ebrowse-tree-mark-face)
(ebrowse-root-class-face, ebrowse-member-attribute-face)
(ebrowse-progress-face): Likewise.
* progmodes/compile.el (compilation-info-face): Likewise.
* progmodes/cc-fonts.el (c-invalid-face): Likewise.
* emacs-lisp/re-builder.el (reb-match-3): Likewise.
* calendar/calendar.el (diary-face): Likewise.
* woman.el (woman-italic-face, woman-bold-face)
(woman-unknown-face): Likewise.
* wid-edit.el (widget-button-pressed-face): Likewise.
* whitespace.el (whitespace-highlight-face): Likewise.
* smerge-mode.el (smerge-mine-face, smerge-base-face): Likewise.
* pcvs-info.el (cvs-marked-face): Likewise.
* info.el (info-xref): Likewise.
* ido.el (ido-subdir-face, ido-indicator-face): Likewise.
* hilit-chg.el (highlight-changes-face)
(highlight-changes-delete-face): Likewise.
* hi-lock.el (hi-yellow, hi-green, hi-blue-b, hi-green-b)
(hi-red-b): Likewise.
* generic-x.el (show-tabs-tab-face, show-tabs-space-face): Likewise.
* font-lock.el (font-lock-keyword-face)
(font-lock-function-name-face, font-lock-warning-face): Likewise.
* cus-edit.el (custom-invalid-face, custom-modified-face)
(custom-set-face, custom-changed-face, custom-variable-tag-face)
(custom-group-tag-face-1, custom-group-tag-face): Likewise.
* comint.el (comint-highlight-prompt): Likewise.
2005-04-08 14:26:13 +00:00
Carsten Dominik
214e2d486e (add-to-diary-list): MARKER argument made
optional, to ensure backward compatibility.
2005-04-08 11:06:41 +00:00
Lute Kamstra
6a8cf8833d (timeclock): Docstring fix. 2005-04-05 18:35:17 +00:00
Miles Bader
707f2b38c0 Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-230
Merge from gnus--rel--5.10

Patches applied:

 * gnus--rel--5.10  (patch 53-55)

   - Merge from emacs--cvs-trunk--0
   - Update from CVS

2005-04-03  Katsumi Yamaoka  <yamaoka@jpl.org>

   * lisp/gnus/gnus-sum.el (gnus-summary-make-menu-bar): Fix an
   "unrecognised menu descriptor" error.
2005-04-04 05:04:44 +00:00
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
Miles Bader
1f3ddf11e8 Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-196
Remove RCS keywords

2004-04-10  Miles Bader  <miles@gnu.org>

   RCS keyword removal (only non-comment changes are enumerated here):

   * lisp/emacs-lisp/bytecomp.el (byte-compile-version): Variable removed.
   (byte-compile-insert-header): Don't use `byte-compile-version'.
   * lisp/url/url-vars.el (url-version): Use the constant string "Emacs"
   instead of calculating something from the RCS `State' keyword
   [the latter is almost entirely useless anyway].
   * lisp/forms.el (forms-version): Variable removed.
   (forms-mode): Don't use `forms-version'.
   * lisp/recentf.el (recentf-version): Variable removed.
   * lisp/progmodes/delphi.el (delphi-version): Variable removed.
   * lisp/progmodes/ada-mode.el (ada-mode): RCS keyword removed from docstring.
2004-04-10 05:55:49 +00:00
Glenn Morris
4fcf2701b8 (diary-mode, fancy-diary-display-mode): Derive from fundamental-mode
rather than text-mode.
2004-04-08 16:22:43 +00:00
Eli Zaretskii
a9dfccd6ae (timeclock-relative)
(timeclock-get-project-function, timeclock-get-workday-function)
(timeclock-query-out, timeclock-when-to-leave)
(timeclock-when-to-leave-string, timeclock-log-data)
(timeclock-generate-report, timeclock-in): Doc fixes.
2004-04-04 21:30:49 +00:00
Glenn Morris
9edfb3d2a1 *** empty log message *** 2004-03-24 18:37:57 +00:00
Glenn Morris
d519ea8a53 (calendar-set-mode-line): Use total available mode-line width, rather
than frame-width.
2004-03-24 18:37:08 +00:00
Glenn Morris
359bff6712 (appt-check): Remove superfluous progn.
When finished with diary buffer: if it was not being displayed
before, kill it; otherwise restore its original state.
Suggested by Matthew Mundell <matt@mundell.ukfsn.org>.
2004-03-24 18:36:20 +00:00
Glenn Morris
4c635ea353 *** empty log message *** 2004-02-23 00:11:12 +00:00
Glenn Morris
de3fce917a Matthew Mundell <matt@mundell.ukfsn.org>
(fancy-diary-display): Don't rely on return value of
increment-calendar-month.
2004-02-23 00:09:31 +00:00
Glenn Morris
abc178a0bc (mark-diary-entries): Use assoc-string instead of assoc-ignore-case. 2004-02-19 01:20:03 +00:00
Glenn Morris
22ebf3930a (calendar-read-mayan-haab-date, calendar-read-mayan-tzolkin-date): Use
assoc-string instead of assoc-ignore-case.
2004-02-19 01:19:05 +00:00
Glenn Morris
2ad9ebbd12 (calendar-goto-julian-date): Use assoc-string instead of
assoc-ignore-case.
2004-02-19 01:18:23 +00:00
Glenn Morris
53d0b6a293 (calendar-goto-islamic-date, mark-islamic-diary-entries): Use
assoc-string instead of assoc-ignore-case.
2004-02-19 01:17:44 +00:00
Glenn Morris
abe4091c48 (calendar-goto-hebrew-date, mark-hebrew-diary-entries)
(list-yahrzeit-dates): Use assoc-string instead of assoc-ignore-case.
2004-02-19 01:16:53 +00:00
Glenn Morris
f6ea0e2d2c (calendar-goto-french-date): Use assoc-string instead of
assoc-ignore-case.
2004-02-19 01:15:40 +00:00
Glenn Morris
3be2dc285d (coptic-prompt-for-date): Use assoc-string instead of assoc-ignore-case. 2004-02-19 01:15:03 +00:00
Glenn Morris
78e37e9cd4 (calendar-holidays): Doc fix.
(calendar-read-date): Use assoc-string rather than assoc-ignore-case.
2004-02-19 01:13:56 +00:00
Glenn Morris
a19de6288e (appt-display-format): Change default to'ignore, for backwards compatability.
(appt-display-message): If appt-display-format is 'ignore, respect old
vars appt-msg-window and appt-visible.
(appt-activate): Don't depend on return value of cancel-timer.
2004-02-19 01:12:21 +00:00
Glenn Morris
9fa0334c27 (appt-check): Restore usage of appt-issue-message deleted in previous
change.
(top-level): Activate package when loaded (needed for backwards
compatibility).
2004-01-20 22:52:11 +00:00
Thien-Thi Nguyen
d14b04bc3c (diary-entry-time): Fix typo/bug:
Remove spurious left square bracket in XX:XXam regexp.
2004-01-17 13:48:26 +00:00
Glenn Morris
30e8032dfc (appt-issue-message): Mark as obsolete rather than deleting outright. 2004-01-12 00:57:00 +00:00
Glenn Morris
1293540e11 Update copyright.
(view-diary-entries-initially, european-calendar-style): Doc change.
(calendar-setup): Make defcustom rather than defvar.
(mark-visible-calendar-date): Initialize temp-face and faceinfo
in let binding so local to function.
2004-01-11 22:26:46 +00:00
Glenn Morris
091f692060 (calendar-one-frame-setup)
(calendar-only-one-frame-setup, calendar-two-frame-setup): Doc change.
2004-01-11 22:25:58 +00:00
Glenn Morris
6ecab45e49 Update copyright.
(diary, diary-entry-time): Doc change.
(list-diary-entries): Doc change.  Trivial logic change.
(fancy-diary-display): Restore make-face command mistakenly
deleted 2003-05-08.
(show-all-diary-entries): Allow to pop-up frame if needed.
2004-01-11 22:25:33 +00:00
Glenn Morris
8d638c1b96 Update copyright and commentary.
(appt-issue-message): Delete (see appt-activate).
(appt-visible, appt-msg-window): Make obsolete, in favour of
appt-display-format.
(appt-display-mode-line, appt-display-duration)
(appt-display-diary, appt-time-msg-list, appt-mode-string)
(appt-prev-comp-time, appt-display-count, appt-timer)
(appt-convert-time): Doc change.
(appt-disp-window-function, appt-delete-window-function): Use
defcustom rather than defvar.
(appt-display-format): New variable.
(appt-display-message): New function with display code from
appt-check.
(appt-check): Add optional FORCE argument.  Doc change.  Add
appt-make-list to diary-hook if displaying diary.  Remove
checking of view-diary-entries-initially.  Message
display section removed to new function appt-display-message.
(appt-display-window): Doc change.  Remove unused internal var
this-buffer.  Do not beep, since appt-display-message does that.
(appt-make-list): Doc change.  Use caar.
(appt-sort-list): Simplify by using builtin sort function.
(appt-update-list): New function for updating appts when diary is
saved.
(appt-activate): New autoloaded function to toggle package
functionality.
2004-01-11 22:24:57 +00:00
Thien-Thi Nguyen
3b42c18565 (appt-add): Also accept time in the form XX[.XX][am/pm/AM/PM].
(appt-make-list): Likewise.
(appt-convert-time): Likewise.
2004-01-08 23:35:07 +00:00
Thien-Thi Nguyen
56d3bae7a9 (diary-entry-time): Also accept time in the form XX[.XX][am/pm/AM/PM].
(fancy-diary-font-lock-keywords): Likewise.
(diary-font-lock-keywords): Likewise.
2004-01-08 23:31:47 +00:00
Glenn Morris
18db88965e (increment-calendar-month, calendar-leap-year-p)
(calendar-absolute-from-gregorian, generate-calendar)
(calendar-read-date, calendar-interval)
(calendar-day-of-week): Handle years BC.
(generate-calendar-month, calendar-gregorian-from-absolute): Doc fix.
2003-10-01 20:48:17 +00:00
André Spiegel
ec2dc2677a (parse-time-string): Add autoload cookie. 2003-09-26 07:21:56 +00:00
Glenn Morris
3bd9ca8504 (diary-header-line-flag, diary-header-line-format): New variables.
(list-diary-entries): Use them to set header line in simple diary.
2003-09-02 17:37:48 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Glenn Morris
8ec6d48ac2 (simple-diary-display, make-diary-entry): Allow the diary to pop up a
new frame, if needed.
2003-08-24 15:20:38 +00:00
Glenn Morris
8923d271ca Edward M. Reingold <reingold@emr.cs.iit.edu>
Bind `calendar-goto-day-of-year' to key.

Alan Shutko  <ats@acm.org>
(calendar-make-alist): Correct off-by-one keeping December out of the
alist.
2003-08-17 22:51:29 +00:00
Glenn Morris
163fd24dfd Edward M. Reingold <reingold@emr.cs.iit.edu>
(calendar-goto-day-of-year): New function.
2003-08-17 22:49:46 +00:00
Glenn Morris
f9df0ca042 Edward M. Reingold <reingold@emr.cs.iit.edu>
(calendar-mode-map): Add `calendar-goto-day-of-year' to menu.
(calendar-flatten): New function.
(calendar-mouse-view-other-diary-entries)
(calendar-mouse-view-diary-entries): Rewritten to put any holidays in
the menu title and to show multi-line diary entries correctly in the
menu.
2003-08-17 22:48:54 +00:00
Glenn Morris
3d880a4b89 (list-diary-entries-hook, diary-display-hook, nongregorian-diary-listing-hook)
(mark-diary-entries-hook, nongregorian-diary-marking-hook): Add some
customize options for these hooks.
(calendar-abbrev-construct): Don't try to take a substring longer than
the original string.
2003-08-06 10:10:46 +00:00
Glenn Morris
48ad4975be (displayed-month, displayed-year): Define for compiler.
(calendar-islamic-month-name-array): Add doc string.
(list-islamic-diary-entries): Adapt for new behaviours of
`calendar-day-name' and `add-to-diary-list' functions.
(mark-islamic-diary-entries): Adapt for new behaviours of
`diary-name-pattern' and `calendar-make-alist' functions.
2003-08-03 14:02:15 +00:00
Glenn Morris
da3fc02028 Reposition some code so defined before used.
(displayed-month, displayed-year): Define for compiler.
(calendar-hebrew-month-name-array-common-year)
(calendar-hebrew-month-name-array-leap-year): Add doc strings.
(list-hebrew-diary-entries): Adapt for new behaviours of
`calendar-day-name' and `add-to-diary-list' functions.
(mark-hebrew-diary-entries): Adapt for new behaviours of
`diary-name-pattern' and `calendar-make-alist' functions.
2003-08-03 14:01:40 +00:00
Glenn Morris
ca2a5950cf (list-diary-entries): Adapt for new behaviour of `calendar-day-name'
and `calendar-month-name' functions.
(diary-name-pattern): Use abbrev arrays, rather than fixing abbrevs at
three chars.  Calling syntax change.
(mark-diary-entries):  Adapt for new behaviours of
`diary-name-pattern' and `calendar-make-alist' functions.
(fancy-diary-font-lock-keywords): Adapt for new behaviour of
`diary-name-pattern' function.
(font-lock-diary-date-forms): Use abbrev arrays, rather than fixing
abbrevs at three chars.  Calling syntax change.
(cal-hebrew, cal-islam): Require when compiling.
(diary-font-lock-keywords): Adapt for new behaviour of
`font-lock-diary-date-forms' function.
2003-08-03 14:00:56 +00:00
Glenn Morris
5bb7a2d574 (displayed-month, displayed-year): Define for compiler.
(cal-menu-update): Adapt for new behaviour of `calendar-month-name' function.
2003-08-03 14:00:03 +00:00
Glenn Morris
2c8811d49b (diary-file, diary-file-name-prefix)
(european-calendar-style, diary-date-forms)
(calendar-day-name-array, calendar-month-name-array): Doc change.
(generate-calendar-month): Adapt for new behaviour of
`calendar-day-name' function.
(calendar-abbrev-length, calendar-day-abbrev-array)
(calendar-month-abbrev-array): New variables.
(calendar-abbrev-construct): New function.
(calendar-day-name, calendar-month-name): Use new abbrev arrays,
rather than fixing abbrevs at some width.  Calling syntax change.
(calendar-make-alist): Use abbrev arrays.  Calling syntax change.
(calendar-date-string): Adapt for new behaviours of
`calendar-day-name' and `calendar-month-name' functions.
2003-08-03 13:59:13 +00:00
Glenn Morris
30f5dd988b (cal-tex-day-name-format): Doc fix.
(cal-tex-LaTeX-hourbox): Move definition before use.
2003-08-03 13:58:39 +00:00
Glenn Morris
3f762917b0 (displayed-month, displayed-year): Define for compiler.
(solar-seasons-data): Move definition before use.
2003-08-03 13:58:01 +00:00
Glenn Morris
0b0f8fa418 (displayed-month, displayed-year): Define for compiler. 2003-08-03 13:56:21 +00:00
Glenn Morris
55d2d63464 (coptic-name): defvar rather than defconst. 2003-08-03 13:53:54 +00:00