summaryrefslogtreecommitdiff
path: root/lisp/calendar
Commit message (Collapse)AuthorAgeFilesLines
* * lisp/calendar/diary-lib.el (diary-mode): Refresh *Calendar* afterStefan Monnier2011-01-101-1/+4
| | | | refreshing the diary buffer.
* Merge from emacs-23Stefan Monnier2010-12-131-1/+1
|\
| * diary-lib fix for bug#7536.Stephen Berman2010-12-081-1/+1
| | | | | | | | | | * lisp/calendar/diary-lib.el (diary-list-sexp-entries): Handle case of no newline at end of file.
* | * lisp/calendar/diary-lib.el (diary-outlook-format): Remove pointless element.Glenn Morris2010-11-251-1/+1
| |
* | * lisp/calendar/diary-lib.el (diary-outlook-format-1): Another fix.Glenn Morris2010-11-251-2/+1
| |
* | * lisp/calendar/diary-lib.el (diary-outlook-format-1): Fix match-strings.Glenn Morris2010-11-251-5/+4
| |
* | diary-lib.el diary-outlook* changes.Glenn Morris2010-11-251-40/+57
| | | | | | | | | | | | | | | | | | | | * lisp/calendar/diary-lib.el (diary-outlook-format-1): New function, so that diary-outlook-formats can be sensitive to calendar-date-style. (diary-outlook-formats): Simplify the default setting. (diary-from-outlook-internal): Pass subject and body as arguments. Use dolist rather than dotimes. Don't save the diary buffer. (diary-from-outlook-gnus, diary-from-outlook-rmail): Pass subject and body as explicit arguments to the -internal function.
* | diary-lib comments.Glenn Morris2010-11-201-5/+3
| |
* | Merge from emacs-23Stefan Monnier2010-11-171-6/+7
|\ \ | |/
| * diary-iso-date-forms fix for bug#7377.Glenn Morris2010-11-111-6/+7
| | | | | | | | | | * lisp/calendar/calendar.el (diary-iso-date-forms): Make elements mutually exclusive.
* | time-to-seconds related simplifications.Glenn Morris2010-11-092-33/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/gnus/gnus-util.el (with-no-warnings): Remove compat stub, now unused. (gnus-float-time): On Emacs, always an alias. * lisp/gnus/ecomplete.el (with-no-warnings): Remove compat stub, now unused. (ecomplete-add-item): Use float-time on Emacs, else gnus-float-time. * lisp/textmodes/remember.el (remember-time-to-seconds): Remove. (remember-store-in-mailbox): Use float-time. * lisp/calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias. * lisp/calendar/time-date.el (time-to-seconds): Always an alias on Emacs, never a real function. (with-no-warnings): Remove compat stub, now unused. (time-less-p): Doc fix. (time-to-number-of-days): Simplify.
* | Reposition some aliases in holidays.el.Glenn Morris2010-11-011-25/+25
| | | | | | | | | | | | | | | | | | * lisp/calendar/holidays.el (general-holidays, oriental-holidays) (local-holidays, other-holidays, hebrew-holidays, christian-holidays) (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before the definitions of their targets. (The position doesn't actually matter so long as the aliases are autoloaded).
* | Small simplifications for some cal-hebrew calculations.Glenn Morris2010-10-081-85/+83
| | | | | | | | | | | | * lisp/calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah) (holiday-hebrew-passover, holiday-hebrew-tisha-b-av) (holiday-hebrew-misc): Small simplifications.
* | Minr appt.el change.Glenn Morris2010-10-061-3/+5
| | | | | | | | | | * lisp/calendar/appt.el (appt-activate): Give a warning rather than an error if there is no diary-file.
* | Minor appt.el changes.Glenn Morris2010-10-031-7/+11
| | | | | | | | | | * lisp/calendar/appt.el (appt-add): Ensure reminders are enabled. (appt-activate): Give status messages.
* | Do not autoload appt-delete.Glenn Morris2010-10-021-1/+0
| | | | | | | | | | * lisp/calendar/appt.el (appt-delete): Don't autoload it (you can't use it without having used appt.el already).
* | Remove some diary-lib function aliases, obsolete since 22.1.Glenn Morris2010-09-291-7/+0
| | | | | | | | | | * lisp/calendar/diary-lib.el (view-diary-entries, list-diary-entries) (show-all-diary-entries): Remove obsolete function aliases.
* | Remove some obsolete appt.el code.Glenn Morris2010-09-291-168/+98
| | | | | | | | | | | | | | | | | | | | * lisp/calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window): Remove options, obsolete since 22.1. (appt-display-format, appt-display-message): Remove backwards-compatibility code. (appt-check): No longer check appt-issue-message. (appt-make-list): No longer autoload it. Doc fix. No longer activate the package.
* | Use temp-buffers when not displaying the diary.Glenn Morris2010-09-282-84/+80
| | | | | | | | | | | | | | * lisp/calendar/diary-lib.el (diary-list-entries): Use temp buffers when not displaying the diary. (diary-add-to-list): If no buffer-file-name, fall back to diary-file. * lisp/calendar/appt.el (appt-check): No longer need to kill diary.
* | Minor diary-lib change.Glenn Morris2010-09-281-20/+16
| | | | | | | | | | | | | | | | | | * lisp/calendar/diary-lib.el (diary-list-entries): Move the "Preparing..." message entirely here. (diary-simple-display, diary-fancy-display): Move "Preparing..." messages to diary-list-entries. (diary-include-other-diary-files): Use LIST-ONLY rather than setting diary-display-function.
* | Minor diary include improvement.Glenn Morris2010-09-281-7/+9
| | | | | | | | | | * lisp/calendar/diary-lib.el (diary-include-other-diary-files): Trap some recursive includes.
* | * lisp/calendar/appt.el (appt-activate): Check diary file.Glenn Morris2010-09-281-0/+1
| |
* | Remove Emacs 21 stuff.Katsumi Yamaoka2010-09-291-3/+0
| | | | | | | | | | | | | | | | | | mm-util.el (mm-codepage-iso-8859-list, mm-charset-eval-alist, mm-mime-charset): Comment fix. rfc2047.el (rfc2047-syntax-table): Comment fix. utf7.el (utf7-utf-16-coding-system): Comment fix. nnrss.el (nnrss-read-server-data, nnrss-read-group-data): Use `load' rather than `insert-file-contents' and `eval-region'. pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else construction. time-date.el: No need to require cl for Emacs 21.
* | * lisp/calendar/appt.el (appt-check): Minor simplification.Glenn Morris2010-09-271-32/+16
| |
* | Merge changes from emacs-23 branchChong Yidong2010-09-233-29/+64
|\ \ | |/
| * * lisp/emacs-lisp/float-sup.el (float-pi): New name for `pi'.Stefan Monnier2010-09-191-3/+3
| | | | | | | | | | | | | | | | | | (float-e): New name for `e'. (degrees-to-radians, radians-to-degrees): * lisp/calendar/solar.el (solar-longitude): * lisp/calculator.el (calculator-registers, calculator-funcall): * lisp/textmodes/artist.el (artist-spray-random-points): * lisp/play/bubbles.el (bubbles--initialize-images): Use new names.
| * appt.el fixes for bug#7019.Glenn Morris2010-09-141-34/+47
| | | | | | | | | | | | | | * lisp/calendar/appt.el (appt-check): If not displaying the diary, use (diary 1) to only get the entries we need. (appt-make-list): Sort diary-list-entries, if we cannot guarantee that it is in day order. (Bug#7019)
| * Minor appt-check fix.Glenn Morris2010-09-141-6/+16
| | | | | | | | | | * lisp/calendar/appt.el (appt-check): Rather than showing the diary, just turn off invisible display, and only if needed.
| * * lisp/calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)Glenn Morris2010-09-141-2/+14
| |
* | Merge Changes made in Gnus trunk.Gnus developers2010-09-231-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gnus-html.el (gnus-html-get-image-data): Search also for \r\n\r\n to get the start of data. gnus-html.el: Use gnus-html-encode-url to encode URL. gnus-sum.el (gnus-update-marks): Add sanity check to not delete marks outside the active range. gnus.el: Try to keep the server/method cache unique. gnus-html.el (gnus-html-rescale-image): Use window-inside-pixel-edges rather than window-pixel-edges. gnus-html.el (gnus-html-put-image): Stop using markers. gnus-html.el (gnus-html-image-fetched): Search also for \r\n\r\n to get the start of data. nnimap.el: Expunge IMAP groups by default on article deletion. gnus-int.el (gnus-request-expire-articles): Inhibit the daemon, since this command might take a while. nnimap.el (nnimap-request-list): Set the current nnimap group to nil, since EXAMINE changes it on the server. nnmail.el, nnimap.el: Allow nnimap to just delete 'junk messages when splitting. nnimap.el (nnimap-parse-flags): Make IMAP flags parsing much faster by using `read'. nnimap.el (nnimap-make-process-buffer): Record the server name. gnus-html.el (gnus-html-image-fetched): Only cache if gnus-html-image-automatic-caching is set. gnus-html.el (gnus-html-image-fetched): Check for errors. gnus-start.el (gnus-read-active-for-groups): Only run -request-scan once per method on `g'. nnimap.el (nnimap-request-expire-articles): If nnmail-expiry-wait is immediate, then expire all articles. gnus-group.el (gnus-group-get-icon): Compute icon to return. gnus-group.el (gnus-group-icon-list): Fix bad docstring information. nnimap.el (nnimap-update-info): Fix up various off-by-one errors when syncing flags in nnimap. time-date.el (date-to-time): Speed up date-to-time. gnus-start.el (gnus-get-unread-articles): Don't have `gnus-get-unread-articles-in-group' update info. gnus-group.el: Remove gnus-group-highlight-line from the default hook list. gnus-group.el (gnus-group-highlight-line): Typo fix: beg, not start. gnus-group.el (gnus-group-insert-group-line): Pass the real group name so that it gets the right data. gnus-int.el (gnus-open-server): Add tracing for performance debugging. nnimap.el (nnimap-parse-flags): Parse the data in any order. nnimap.el (nnimap-update-info): Fix up code slightly.
* | calendar/time-date.el (format-seconds): Comment fix.Katsumi Yamaoka2010-09-221-4/+4
| |
* | Merge changes from emacs-23 branch.Juanma Barranquero2010-09-142-9/+28
|\ \ | |/
| * Doc fixes related to diary-sort-entries.Glenn Morris2010-09-141-3/+7
| | | | | | | | | | | | | | | | * lisp/calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries): Doc fixes. * doc/emacs/cal-xtra.texi (Fancy Diary Display): Emphasize that sort should be the last hook item.
| * * lisp/calendar/appt.el (appt-check): Doc fix.Glenn Morris2010-09-141-3/+4
| |
| * Fix bug#6999.Glenn Morris2010-09-142-3/+17
| | | | | | | | | | | | | | | | * lisp/calendar/diary-lib.el (diary-included-files): New variable. (diary-list-entries): Maybe initialize diary-included-files. (diary-include-other-diary-files): Append to diary-included-files. * lisp/calendar/appt.el (appt-update-list): Also check the members of diary-included-files.
* | time-date.el (format-seconds): Comment fix.Katsumi Yamaoka2010-09-141-4/+4
| |
* | Remove arch-tags from all files, since these are no longer needed.Lars Magne Ingebrigtsen2010-09-022-2/+0
| |
* | Add "Version:" and "Package:" Lisp file headers.Chong Yidong2010-08-291-0/+1
| |
* | Add "Package:" file headers to denote built-in packages.Chong Yidong2010-08-2920-0/+20
| |
* | Merge changes from emacs-23 branch.Chong Yidong2010-08-221-2/+2
|\ \ | |/
| * * lisp/calendar/diary-lib.el: Bump custom :version for previous change.Glenn Morris2010-08-131-1/+1
| |
| * Minor diary-lib.el fix.Glenn Morris2010-08-131-1/+1
| | | | | | | | | | * lisp/calendar/diary-lib.el (diary-header-line-format): Fit it to the window, not the frame.
* | Minor icalendar fix.Glenn Morris2010-08-161-0/+1
| | | | | | | | | | * lisp/calendar/icalendar.el (icalendar--convert-recurring-to-diary): Fix format call.
* | Fixed bug#6766 (icalendar.el)Ulf Jasper2010-08-081-44/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | lisp/ChangeLog: * calendar/icalendar.el (icalendar-uid-format): Doc fix. (icalendar--split-value): Fixed splitting regexp. (Bug#6766) (icalendar--get-weekday-numbers): New (icalendar--create-uid, icalendar-export-region) (icalendar--parse-summary-and-rest): Code formatting. (icalendar--convert-recurring-to-diary): Handle multiple byday values in weekly rules. (Bug#6766) test/ChangeLog: * icalendar-testsuite.el (icalendar-testsuite-run): Added internal tests. (icalendar-testsuite--trim, icalendar-testsuite--compare-strings) (icalendar-testsuite--run-internal-tests): New. (icalendar-testsuite--test-convert-ordinary-to-ical) (icalendar-testsuite--test-convert-block-to-ical) (icalendar-testsuite--test-convert-anniversary-to-ical) (icalendar-testsuite--test-parse-vtimezone) (icalendar-testsuite--do-test-export): Code formatting. (icalendar-testsuite--test-parse-vtimezone): Doc fix. (icalendar-testsuite--do-test-import) (icalendar-testsuite--do-test-cycle): Use icalendar-testsuite--compare-strings (icalendar-testsuite--run-import-tests): Comment added. (icalendar-testsuite--run-import-tests) (icalendar-testsuite--run-real-world-tests): Fixed expected results.
* | Merge changes from emacs-23 branch.Chong Yidong2010-07-162-41/+43
|\ \ | |/
| * cal-tex.el fixes for calendar-week-start-day != 0.Glenn Morris2010-07-102-41/+43
| | | | | | | | | | | | | | | | | | | | * calendar/calendar.el (calendar-week-end-day): New function. * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars. Respect calendar-week-start-day. (Bug#6606) (cal-tex-insert-day-names, cal-tex-insert-blank-days) (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day. (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and respect calendar-week-start-day.
* | Merge from emacs-23Stefan Monnier2010-06-161-17/+42
|\ \ | |/
| * Tweak previous change.Glenn Morris2010-06-141-18/+35
| | | | | | | | | | | | | | | | * lisp/calendar/appt.el (appt-time-msg-list): Doc fix. (appt-check): Let-bind appt-warn-time. (appt-add): Make the 3rd argument optional. Simplify argument names. Doc fix. Check for integer WARNTIME. Only add WARNTIME to the output list if non-nil.
| * Close bug#5176.Ivan Kanis2010-06-141-7/+15
| | | | | | | | | | | | * lisp/calendar/appt.el (appt-check): Let the 3rd element of appt-time-msg-list specify the warning time. (appt-add): Add new argument with the warning time.
* | Simplify by using `define-derived-mode'.Juanma Barranquero2010-04-151-11/+3
| | | | | | | | | | | | | | * info.el (Info-mode): * calendar/todo-mode.el (todo-mode): * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'. (gomoku-mode-map): Move initialization into declaration.