1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-29 11:02:01 +00:00
Commit Graph

718 Commits

Author SHA1 Message Date
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
Stefan Monnier
e9f8d300e6 (date, event): Don't declare as dynamic-var.
(calendar-mouse-holidays, calendar-mouse-view-diary-entries)
(calendar-mouse-print-dates): Add optional `event' argument.
Update interactive-spec.
(calendar-mouse-cal-tex-menu, cal-tex-mouse-filofax):
Use `calendar-event-to-date' instead of `event'.
2005-11-01 19:55:19 +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
d2afe62f2a From Ulf Jasper <ulf.jasper@web.de>:
(icalendar-version): Increase to 0.13. Now a string.
(icalendar-import-format): Handle CLASS, STATUS, URL. Rename
`subject' to `summary'.
(icalendar-import-format-summary): Rename from
`icalendar-import-format-subject'.
(icalendar-import-format-url, icalendar-import-format-status)
(icalendar-import-format-class): New variables.
(icalendar--rris): Take variable argument list.
(icalendar--datestring-to-isodate): Remove unnecessary
calendar-style check when converting dates with explicit month
names.
(icalendar-export-region): Change return type of conversion
subroutines.  Bury current buffer unless error occurred.
(icalendar--convert-to-ical)
(icalendar--parse-summary-and-rest): New functions.
(icalendar--convert-ordinary-to-ical)
(icalendar--convert-weekly-to-ical)
(icalendar--convert-yearly-to-ical)
(icalendar--convert-block-to-ical)
(icalendar--convert-cyclic-to-ical)
(icalendar--convert-anniversary-to-ical): Change return type.
Strip trailing blanks from subject.
(icalendar--convert-sexp-to-ical): Change return type.
Strip trailing blanks from subject.  Handle simple sexp
entries as generated by icalendar.el.
(icalendar--convert-float-to-ical)
(icalendar--convert-date-to-ical): Strip trailing blanks from
subject.
(icalendar-import-file): Doc fix.
(icalendar--format-ical-event): Handle CLASS, STATUS, URL.
Correct call to icalendar--rris.
(icalendar--convert-ical-to-diary): Doc fix.  Rename `subject' to
`summary'.
(icalendar--add-diary-entry): Rename `subject' to `summary'.
2005-10-24 07:27:39 +00:00
Stefan Monnier
a120694fca (appt-check): Use diary-selective-display var. 2005-10-11 05:08:25 +00:00
Glenn Morris
aff88519c0 Update maintainer email address. 2005-10-08 04:49:48 +00:00
Stefan Monnier
a04b6191a4 (calendar-mouse-view-diary-entries): Use the new arg to diary-list-entries. 2005-10-06 16:25:31 +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
Stefan Monnier
0cb7f2c026 (appt-time-regexp): New var.
(appt-add, appt-make-list): Use it.
(appt-convert-time): Clean up.
2005-10-04 20:51:16 +00:00
Miles Bader
bbcb5072a3 Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-572
Merge from gnus--rel--5.10

Patches applied:

 * gnus--rel--5.10  (patch 129-130)

   - Update from CVS

2005-09-30  Katsumi Yamaoka  <yamaoka@jpl.org>

   * lisp/gnus/time-date.el: Autoload parse-time-string, XEmacs needs it.
2005-10-04 13:55:17 +00:00
Romain Francoise
5b76833fd5 2005-09-24 Emilio C. Lopes <eclig@gmx.net>
* woman.el (woman-file-name):
	* wid-edit.el (widget-file-prompt-value)
	(widget-coding-system-prompt-value):
	* w32-fns.el (set-w32-system-coding-system):
	* vc.el (vc-version-diff, vc-annotate):
	* textmodes/reftex-auc.el (reftex-arg-cite)
	(reftex-arg-index-tag):
	* textmodes/refer.el (refer-get-bib-files):
	* textmodes/artist.el (artist-figlet-choose-font):
	* terminal.el (terminal-emulator):
	* replace.el (occur-read-primary-args):
	* rect.el (string-rectangle, string-insert-rectangle):
	* ps-print.el (ps-print-preprint):
	* progmodes/pascal.el (pascal-goto-defun):
	* progmodes/etags.el (visit-tags-table, visit-tags-table-buffer):
	* progmodes/compile.el (compilation-find-file):
	* printing.el (pr-interactive-n-up):
	* play/animate.el (animate-birthday-present):
	* net/rcompile.el (remote-compile):
	* man.el (man, Man-goto-section, Man-follow-manual-reference):
	* mail/rmailsum.el (rmail-summary-search-backward)
	(rmail-summary-search):
	* mail/rmailout.el (rmail-output-read-rmail-file-name)
	(rmail-output-read-file-name):
	* mail/rmail.el (rmail-search, rmail-search-backwards):
	* mail/mailabbrev.el (merge-mail-abbrevs, rebuild-mail-abbrevs):
	* locate.el (locate):
	* international/quail.el (quail-show-keyboard-layout):
	* international/mule.el (set-buffer-file-coding-system)
	(revert-buffer-with-coding-system, set-file-name-coding-system)
	(set-terminal-coding-system, set-keyboard-coding-system)
	(set-next-selection-coding-system):
	* international/mule-diag.el (describe-coding-system)
	(describe-font, describe-fontset):
	* international/mule-cmds.el (universal-coding-system-argument)
	(search-unencodable-char, describe-input-method)
	(set-language-environment, describe-language-environment):
	* international/codepage.el (codepage-setup):
	* international/code-pages.el (codepage-setup):
	* info.el (Info-search, Info-follow-reference)
	(Info-search-backward):
	* emacs-lisp/advice.el (ad-read-advised-function)
	(ad-read-advice-class, ad-clear-cache, ad-activate)
	(ad-deactivate, ad-update, ad-unadvise, ad-read-advice-name)
	(ad-enable-advice, ad-disable-advice, ad-remove-advice)
	(ad-read-regexp):
	* ediff-util.el (ediff-toggle-regexp-match):
	* ediff-ptch.el (ediff-prompt-for-patch-file):
	* dired-aux.el (dired-diff):
	* diff.el (diff):
	* cus-edit.el (custom-variable-prompt):
	* calendar/timeclock.el (timeclock-ask-for-project):
	* calc/calcalg3.el (calc-get-fit-variables):
	* calc/calc-store.el (calc-edit-variable)
	(calc-permanent-variable):
	* vc-mcvs.el (vc-mcvs-register):
	* shadowfile.el (shadow-define-literal-group):
	* woman.el (woman-file-name):
	* vc.el (vc-version-diff, vc-merge):
	* textmodes/reftex-index.el (reftex-index-complete-tag):
	* format.el (format-decode-buffer, format-decode-region):
	* emulation/viper-cmd.el (viper-read-string-with-history):
	* emacs-lisp/debug.el (cancel-debug-on-entry):
	* emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
	* ediff.el (ediff-merge-revisions)
	(ediff-merge-revisions-with-ancestor, ediff-revision):
	* completion.el (interactive-completion-string-reader):
	* calc/calc-prog.el (calc-user-define-formula):
	Follow convention for reading with the minibuffer.
2005-09-24 13:44:02 +00:00
Stefan Monnier
f09cfd285f (mark-visible-calendar-date): Save excursion.
Re-indent within 80 columns.  Use inhibit-read-only.
2005-09-19 17:41:22 +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
Deepak Goel
80070cca29 message format spec fixes, commit # 10 2005-09-18 12:41:39 +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
ed1cd40c23 Don't require easymenu, since we don't use it.
(check-calendar-holidays, diary-list-entries): Autoload.
Otherwise `emacs -q' followed by "mouse-2 -> diary entries" burps.
(calendar-mouse-holidays, calendar-mouse-view-diary-entries): Simplify.
2005-09-14 16:01:57 +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
34cb01154a (calendar-for-loop): Add edebug info.
(calendar-basic-setup): Use the new nil arg.
(number-of-diary-entries): Move to diary-lib.el.
2005-09-12 21:32:11 +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
Juanma Barranquero
04ec34141f (date): Add defvar. 2005-08-26 11:25:56 +00:00
Juanma Barranquero
64b9cc403b (date, number, original-date): Add defvars. 2005-08-26 11:23:49 +00:00
Juanma Barranquero
4be0f97d13 (date, entry, number, original-date): Add defvars. 2005-08-26 11:23:21 +00:00
Juanma Barranquero
019e5b817a (date): Add defvars. 2005-08-26 11:19:34 +00:00
Juanma Barranquero
916f8173d7 (date, displayed-month, displayed-year, number, original-date):
Add defvars.
2005-08-26 11:19:05 +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
Richard M. Stallman
cdbcbc6a79 (calendar-mode-map): Bind < and > usefully. 2005-08-09 11:30:36 +00:00
Juri Linkov
8f00bdf598 (calendar-goto-hebrew-date)
(calendar-goto-coptic-date, calendar-goto-ethiopic-date)
(calendar-goto-persian-date): Delete duplicate words.
2005-07-18 15:28:22 +00:00
Juanma Barranquero
3310fdd250 (icalendar--get-unfolded-buffer): Use insert-buffer-substring' and goto-char',
not `insert-buffer'.
2005-07-18 11:05:16 +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
Glenn Morris
871ce75345 (appt-make-list): Activate the package, if not already active (for
backwards compatibility).
2005-06-21 13:10:39 +00:00
Lute Kamstra
ca0113b85a (calendar-mode): Use run-mode-hooks. 2005-06-12 09:00:57 +00:00
Juanma Barranquero
77602fc76f (todo-insert-threshold): Fix spellings in docstrings. 2005-06-10 14:10:21 +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
Miles Bader
75eb05f645 Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-385
Remove "-face" suffix from calendar faces

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

   * lisp/calendar/calendar.el (diary, calendar-today, holiday)
   (mark-visible-calendar-date): Remove "-face" suffix from face names.
   (diary-face, calendar-today-face, holiday-face):
   New backward-compatibility aliases for renamed faces.
   (eval-after-load "facemenu", diary-entry-marker)
   (calendar-today-marker, calendar-holiday-marker, diary-face):
   Use renamed calendar faces.
2005-06-10 10:43:42 +00:00
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