1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-27 15:52:00 -08:00
Commit graph

130 commits

Author SHA1 Message Date
Glenn Morris
2d70319b27 Following cal-bahai renaming, update all instances of
list-bahai-diary-entries to diary-bahai-list-entries,
mark-bahai-diary-entries to diary-bahai-mark-entries, and
mark-bahai-calendar-date-pattern to calendar-bahai-mark-date-pattern.
2007-09-16 02:17:53 +00:00
Glenn Morris
0d7f185bf6 Rename all check-calendar-holidays callers to calendar-check-holidays. 2007-09-14 04:31:22 +00:00
Miles Bader
9aecacd08a Merge from emacs--rel--22
Patches applied:

 * emacs--rel--22  (patch 70-73)

   - Update from CVS

2007-07-25  Glenn Morris  <rgm@gnu.org>

   * Relicense all FSF files to GPLv3 or later.

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-828
2007-07-26 05:28:10 +00:00
Glenn Morris
075969b476 Switch license to GPLv3 or later. 2007-07-25 03:51:22 +00:00
Glenn Morris
9e46548e64 (diary-list-entries, (mark-calendar-date-pattern): Use `dotimes'
rather than `calendar-for-loop'.
2007-07-24 06:11:37 +00:00
Glenn Morris
e8bc96a3c6 Improve previous fix by only setting header-line-format in diary-mode. 2007-04-18 06:44:01 +00:00
Glenn Morris
253b50b479 (diary-header-line-format): Add a custom :set function.
(diary-list-entries): Only switch to diary-mode from
default-major-mode (reverts 2007-03-21 change).  Otherwise, set
header-line-format, in case of any customization.
2007-04-18 04:06:37 +00:00
Glenn Morris
11dd1e5ee4 (Commentary): No longer maintained by original author, bug reports as
for the rest of emacs.
2007-04-17 02:35:44 +00:00
Glenn Morris
2ca695f23a (diary-set-maybe-redraw): Move definition before first use.
(diary-font-lock-keywords): New function with old code for
initialization of variable of same name.
2007-04-07 21:53:17 +00:00
Glenn Morris
851971c72e (diary-live-p): Do not check for diary-selective-display. 2007-03-27 02:47:50 +00:00
Glenn Morris
eec39ec7cd (diary-header-line-flag): Doc fix. Add custom :set function.
(diary-header-line-format): Doc fix.
(diary-set-maybe-redraw): New function.
(number-of-diary-entries): Change :set to use diary-set-maybe-redraw.
(diary-list-entries): Always run diary-mode.
2007-03-21 06:25:47 +00:00
Glenn Morris
e3f4245a04 (diary-live-p): New function.
(number-of-diary-entries): Add a :set function to redisplay diary
when necessary.
2007-03-20 07:45:06 +00:00
Chong Yidong
06a3e3e4a4 (number-of-diary-entries): Fix docstring typo. 2007-03-17 17:51:56 +00:00
Glenn Morris
f0fa15c5e5 Add 2007 to copyright years. 2007-01-21 02:48:43 +00:00
Glenn Morris
45380d4259 (add-to-diary-list): Fix typo in previous doc fix. 2006-05-19 08:42:50 +00:00
Glenn Morris
e652c999de (diary-bahai-date)
(list-bahai-diary-entries, mark-bahai-diary-entries)
(mark-bahai-calendar-date-pattern): Not interactive.
(add-to-diary-list): New optional arg LITERAL.  Doc fix.
(diary-entries-list): Change format of 4th element in each entry.
(diary-list-entries): Use add-to-diary-list.
(diary-goto-entry): Handle the case where the buffer visiting the
diary has been killed.
(fancy-diary-display): Add 'locator to button rather than 'marker.
Only generate temp-face when there are marks to apply.
(list-sexp-diary-entries): Pass literal to add-to-diary-list.
(diary-fancy-date-pattern): New variable.
(diary-time-regexp): Doc fix.
(diary-anniversary, diary-time): New faces.
(fancy-diary-font-lock-keywords): Use diary-fancy-date-pattern and
diary-time-regexp.  Add font-lock-multiline property where needed.
Use new faces diary-anniversary and diary-time.
(diary-fancy-font-lock-fontify-region-function): New function, to
handle multiline font-lock pattern in fancy diary.
(fancy-diary-display-mode): Set font-lock-fontify-region-function.
(diary-font-lock-keywords): Tweak time regexp.  Use new face
diary-time.
2006-05-19 08:24:51 +00:00
Glenn Morris
6f2ee2454f (include-other-diary-files, diary-mail-entries): Refer to
diary-view-entries, diary-list-entries, diary-show-all-entries rather
than obsolete aliases.
2006-05-13 06:12:10 +00:00
Glenn Morris
1cebb83885 (view-other-diary-entries): Refer to `diary-view-entries' rather than
alias `view-diary-entries'.
2006-04-22 00:11:11 +00:00
Glenn Morris
a20b384860 Add 2006 to copyright years. 2006-02-08 07:54:11 +00:00
Glenn Morris
dbfca9c444 Update copyright pending Emacs 22. 2005-12-10 05:46:09 +00:00
Stefan Monnier
66a85723ce (diary-list-entries): Also hide the terminating newline. 2005-11-16 16:04:29 +00:00
Stefan Monnier
2f0e484649 (diary-list-entries, diary-show-all-entries)
(mark-diary-entries, make-diary-entry): Check default-major-mode rather
than fundamental-mode to see if the mode was set.
2005-11-14 22:14:23 +00:00
Glenn Morris
f77b652537 (diary-list-entries): Prevent infloop when diary does not end in a
newline.  Do not assume a blank line at the start of the diary file.
2005-10-25 07:33:34 +00:00
Glenn Morris
aff88519c0 Update maintainer email address. 2005-10-08 04:49:48 +00:00
Stefan Monnier
1aee45ed44 Use overlays rather than selective-display.
(diary-selective-display): New var.
(diary-header-line-format): Use it.
(diary-list-entries): Add argument `list-only'.
Put the buffer in diary-mode.  Don't add \^M at beg and end.
Replace \^M by invisible overlays.
(diary-unhide-everything): Replace \^M by invisible overlays.
(print-diary-entries): Look for overlays rather than \^M.
Add a space to the temp buffer name.
(diary-show-all-entries, mark-diary-entries, make-diary-entry):
Put the buffer in diary-mode.
(list-sexp-diary-entries): Replace \^M by invisible overlays.
(diary-anniversary): Make the year arg optional.
(diary-time-regexp): New const.
(diary-font-lock-keywords): Use it to accept a few more time formats.
2005-10-06 16:22:13 +00:00
Romain Francoise
12b8cf536a (mark-diary-entries): Revert last change. 2005-09-19 16:03:51 +00:00
Romain Francoise
71773400ad (mark-diary-entries): Rearrange to wrap with-current-buffer form in
save-excursion.
2005-09-18 13:26:54 +00:00
Stefan Monnier
f52e8e862d (mark-diary-entries): Don't move point. Use with-syntax-table and dolist. 2005-09-16 16:04:29 +00:00
Stefan Monnier
0ffde81e4b (diary-show-all-entries): Fix last change,
which mistakenly removed a call to display-buffer.
2005-09-14 15:22:25 +00:00
Stefan Monnier
01a7778ef4 Use with-current-buffer, match-string.
(diary-list-entries): Use with-syntax-table and dolist.
Rename from list-diary-entries.
Use number-of-diary-entries if `number' is nil.
(diary, diary-view-entries): Use this new name and new nil arg value.
(number-of-diary-entries): Move from calendar.el.
(diary-unhide-everything): New function.
(include-other-diary-files, fancy-diary-display)
(diary-show-all-entries, make-diary-entry): Use it.
(diary-mail-entries): Use buffer-string.
(mark-diary-entries): Fix long standing paren typo.
(diary-sexp-entry): Use count-lines.
(make-diary-entry): Avoid `previous-line'.
(diary-mode-map): New var.
(diary-mode): Redraw cal after saving.  Setup header-line.
(fancy-diary-display-mode): Use local-set-key.
2005-09-12 21:21:42 +00:00
Carsten Dominik
aa284296a0 Documentation string of diary-modify-entry-list-string-function improved. 2005-08-25 07:11:10 +00:00
Carsten Dominik
9a20c79bce (diary-modify-entry-list-string-function): New hook.
(add-to-diary-list): Call `diary-modify-entry-list-string-function'
2005-08-25 07:06:07 +00:00
Lute Kamstra
3a35cf56e7 Update FSF's address. 2005-07-04 17:55:18 +00:00
Juanma Barranquero
c611c9dc53 (diary-header-line-format): Change space constants followed by a sexp to "?\s ". 2005-06-29 13:51:30 +00:00
Miles Bader
ccacbcecfe Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-386
Remove "-face" suffix from diary-button face

2005-06-10  Miles Bader  <miles@gnu.org>

   * lisp/calendar/diary-lib.el (diary-button): Remove "-face" suffix from
   face name.
   (diary-button-face): New backward-compatibility alias for renamed face.
   (diary-entry): Use renamed diary-button face.
2005-06-10 10:44:01 +00:00
Glenn Morris
b6061a8869 Comment change. 2005-05-31 12:10:29 +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
Juanma Barranquero
027a4b6b3f Replace string-to-int' by string-to-number'. 2005-05-16 11:34:49 +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
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
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
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
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
3b55422113 (view-other-diary-entries): Use current-prefix-arg in interactive spec. 2004-12-20 18:09:22 +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
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