1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-13 16:38:14 +00:00
Commit Graph

680 Commits

Author SHA1 Message Date
Glenn Morris
b6061a8869 Comment change. 2005-05-31 12:10:29 +00:00
Glenn Morris
d1f8ed14e8 (top-level): Do not require 'appt. 2005-05-30 11:32:09 +00:00
Glenn Morris
bf87510ab4 (mark-included-diary-files): Only kill included diary buffer if it was
not already being visited.
Reported by Stephen Berman <Stephen.Berman@gmx.net>.
2005-05-30 11:30:47 +00:00
Luc Teirlinck
a9dd908b16 (calendar-mode-line-format): Use mode-line-highlight as mouse-face. 2005-05-26 20:48:37 +00:00
Lute Kamstra
30d33965d0 (todo-mode): Use kill-all-local-variables and run-mode-hooks. 2005-05-26 15:11:23 +00:00
Eli Zaretskii
9110ca1185 (cal-menu-update): Add separator as a string so that tmm doesn't create
a completion entry for it.
2005-05-21 11:35:56 +00:00
Juanma Barranquero
027a4b6b3f Replace string-to-int' by string-to-number'. 2005-05-16 11:34:49 +00:00
Richard M. Stallman
7fde7268e1 (solar-data-list): Move definition up. 2005-05-14 11:25:00 +00:00
Glenn Morris
d908da3364 (solar-setup): Revert previous change. 2005-05-07 22:43:46 +00:00
Glenn Morris
c5d164dc62 Update maintainer.
(solar-setup): Throw error if called non-interactively.
2005-05-06 20:56:52 +00:00
Glenn Morris
c55a53fdbb (top-level): No longer activate on load. 2005-05-06 20:42:20 +00:00
Juanma Barranquero
59d8fe2ed5 (mark-bahai-diary-entries): Replace assoc-ignore-case' by assoc-string'. 2005-05-06 19:27:09 +00:00
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