summaryrefslogtreecommitdiff
path: root/lisp/calendar
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Remove the Arch metafiles.Stefan Monnier2010-04-121-4/+0
|
* Merge from `emacs-23'.Stefan Monnier2010-03-241-4/+4
|\
| * Fix typos in docstrings.Juanma Barranquero2010-03-221-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * image-dired.el (image-dired-display-thumbs): Fix typo in docstring. (image-dired-read-comment): Doc fix. * json.el (json-object-type, json-array-type, json-key-type, json-false) (json-null, json-read-number): * minibuffer.el (completion-in-region-functions): * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks) (cal-tex-cursor-week): * emacs-lisp/trace.el (trace-function): * eshell/em-basic.el (eshell/printnl): * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter) (eshell-read-last-dir-ring, eshell-write-last-dir-ring): * obsolete/levents.el (allocate-event, event-key, event-object) (event-point, event-process, event-timestamp, event-to-character) (event-window, event-x, event-x-pixel, event-y, event-y-pixel): * textmodes/reftex-vars.el (reftex-index-macros-builtin) (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook) (reftex-cite-punctuation, reftex-search-unrecursed-path-first) (reftex-highlight-selection): Fix typos in docstrings.
* | * calendar/cal-french.el: Convert to utf-8.Glenn Morris2010-03-171-8/+13
|/
* Fix date of Yom HaAtzma'ut holiday.Glenn Morris2010-03-011-1/+3
| | | | | * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
* Fix more save-excursion warnings.Chong Yidong2010-02-271-2/+1
| | | | | | | | | * textmodes/reftex-toc.el (reftex-toc-promote-prepare): * emacs-lisp/elint.el (elint-add-required-env): * cedet/semantic/db-find.el (semanticdb-find-translate-path-brutish-default): * cedet/ede/make.el (ede-make-check-version): * calendar/icalendar.el (icalendar--add-diary-entry): * calc/calcalg2.el (math-tracing-integral): Use with-current-buffer instead of save-excursion.
* Fixed bug#5549 (icalendar.el)Ulf Jasper2010-02-191-15/+15
|
* Fix bug#5477.Stephen Berman2010-01-261-1/+3
| | | | | | Stephen Berman <stephen.berman at gmx.net>: (diary-unhide-everything): Handle narrowed buffers.
* Doc fix for current-time-string and date-to-time (Bug#5408)Chong Yidong2010-01-181-1/+2
| | | | | * src/editfns.c (Fcurrent_time_string): Doc fix. * lisp/calendar/time-date.el (date-to-time): Doc fix.
* Add 2010 to copyright years.Glenn Morris2010-01-1327-27/+27
|
* Fixed timezone handling problem in icalendar.el.Ulf Jasper2009-12-181-1/+11
|
* (diary-list-entries): Replace superfluous save-excursion withGlenn Morris2009-12-021-32/+33
| | | | | | save-current-buffer. Widen before searching. (Bug#5093) (diary-list-sexp-entries): Remove superfluous save-excursion.
* Update x-popup-menu declaration.Glenn Morris2009-11-103-5/+5
|
* * textmodes/tex-mode.el (tex-alt-dvi-print-command)Dan Nicolaescu2009-11-061-11/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (tex-dvi-print-command, tex-bibtex-command, tex-start-commands) (tex-start-options, slitex-run-command, latex-run-command) (tex-run-command, tex-directory): * textmodes/ispell.el (ispell-html-skip-alists) (ispell-tex-skip-alists, ispell-tex-skip-alists): * textmodes/fill.el (adaptive-fill-first-line-regexp): (adaptive-fill-regexp): * textmodes/dns-mode.el (auto-mode-alist): * progmodes/python.el (interpreter-mode-alist): * progmodes/etags.el (tags-compression-info-list): * progmodes/etags.el (tags-file-name): * net/browse-url.el (browse-url-galeon-program) (browse-url-firefox-program): * mail/sendmail.el (mail-signature-file) (mail-citation-prefix-regexp): * international/mule-conf.el (eight-bit): * international/latexenc.el (latex-inputenc-coding-alist): * international/fontset.el (x-pixel-size-width-font-regexp): * emacs-lisp/warnings.el (warning-type-format): * emacs-lisp/trace.el (trace-buffer): * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map) (emacs-lisp-mode-map): * calendar/holidays.el (holiday-solar-holidays) (holiday-bahai-holidays, holiday-islamic-holidays) (holiday-christian-holidays, holiday-hebrew-holidays) (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2) (hebrew-holidays-1, holiday-oriental-holidays) (holiday-general-holidays): * x-dnd.el (x-dnd-known-types): * tool-bar.el (tool-bar): * startup.el (site-run-file): * shell.el (shell-dumb-shell-regexp): * rfn-eshadow.el (file-name-shadow-tty-properties) (file-name-shadow-properties): * paths.el (remote-shell-program, news-directory): * mouse.el ([C-down-mouse-3]): * menu-bar.el (menu-bar-tools-menu): * jka-cmpr-hook.el (jka-compr-load-suffixes) (jka-compr-mode-alist-additions, jka-compr-compression-info-list) (jka-compr-compression-info-list): * isearch.el (search-whitespace-regexp): * image-file.el (image-file-name-extensions): * find-dired.el (find-ls-option): * files.el (directory-listing-before-filename-regexp) (directory-free-space-args, insert-directory-program) (list-directory-brief-switches, magic-fallback-mode-alist) (magic-fallback-mode-alist, auto-mode-interpreter-regexp) (automount-dir-prefix): * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head) (x-font-regexp-slant, x-font-regexp-weight, face-x-resources) (face-font-registry-alternatives, face-font-registry-alternatives) (face-font-family-alternatives): * facemenu.el (facemenu-add-new-face, facemenu-background-menu) (facemenu-foreground-menu, facemenu-face-menu): * epa-hook.el (epa-file-name-regexp): * dnd.el (dnd-protocol-alist): * textmodes/rst.el (auto-mode-alist): * button.el (default-button): Purecopy strings.
* (top-level): Make load behave more like require.Glenn Morris2009-11-051-1/+1
|
* * calendar/calendar.el (cal-loaddefs):Juanma Barranquero2009-11-043-3/+3
| | | | | | | * calendar/diary-lib.el (diary-loaddefs): * calendar/holidays.el (hol-loaddefs): * eshell/esh-module.el (esh-groups): * mh/mh-e.el (mh-loaddefs): Load rather than require.
* (todo-add-category): Don't hardcode point-min==1.Stefan Monnier2009-11-031-31/+32
| | | | | | | | (todo-top-priorities): Only display-buffer when called interactively. (todo-item-start): Don't save excursion point. (todo-item-end): Be slightly more careful. Add `include-sep' arg. (todo-insert-item-here, todo-file-item, todo-remove-item): Adjust uses of todo-item-start and todo-item-end.
* * url-util.el (url-insert-entities-in-string):Stefan Monnier2009-11-032-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * url-nfs.el (url-nfs-unescape): * url-ldap.el (url-ldap): * url-imap.el (url-imap): * url-cid.el (url-cid-gnus, url-cid): Use with-current-buffer. * erc.el (erc-display-line-1, erc-process-away): * erc-truncate.el (erc-truncate-buffer-to-size): Use with-current-buffer. * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos): * play/mpuz.el (mpuz-create-buffer): * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell) (lm-print-y,s,noise, lm-print-w0, lm-init): * play/gomoku.el (gomoku-prompt-for-move): * play/fortune.el (fortune-in-buffer): * play/dissociate.el (dissociated-press): * play/decipher.el (decipher-adjacency-list, decipher-display-regexp) (decipher-analyze-buffer, decipher-stats-buffer,decipher-stats-buffer): * mail/supercite.el (sc-eref-show): * mail/smtpmail.el (smtpmail-send-it): * mail/rmailsum.el (rmail-summary-next-labeled-message) (rmail-summary-previous-labeled-message, rmail-summary-wipe) (rmail-summary-undelete-many, rmail-summary-rmail-update) (rmail-summary-goto-msg, rmail-summary-expunge) (rmail-summary-get-new-mail, rmail-summary-search-backward) (rmail-summary-add-label, rmail-summary-output-menu) (rmail-summary-output-body): * mail/rfc822.el (rfc822-addresses): * mail/reporter.el (reporter-dump-variable, reporter-dump-state): * mail/mailpost.el (post-mail-send-it): * mail/hashcash.el (hashcash-generate-payment): * mail/feedmail.el (feedmail-run-the-queue) (feedmail-queue-send-edit-prompt-help-first) (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater) (feedmail-deduce-address-list): * eshell/esh-ext.el (eshell-remote-command): * eshell/em-unix.el (eshell-occur-mode-mouse-goto): * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting) (viper-wildcard-to-regexp, viper-glob-mswindows-files) (viper-save-string-in-file, viper-valid-marker): * emulation/viper-keym.el (viper-toggle-key): * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file) (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit) (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile): * emulation/viper-cmd.el (viper-exec-form-in-vi) (viper-exec-form-in-emacs, viper-brac-function): * emulation/viper.el (viper-delocalize-var): * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat) (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer) (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark) (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command): * emulation/vi.el (vi-switch-mode, vi-ex-cmd): * emulation/edt.el (edt-electric-helpify): * emulation/cua-rect.el (cua--rectangle-aux-replace): * emulation/cua-gmrk.el (cua--insert-at-global-mark) (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark) (cua-indent-to-global-mark-column): * calendar/diary-lib.el (calendar-mark-1): * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern): Use with-current-buffer. * emulation/viper.el (viper-delocalize-var): Use dolist.
* Stephen Berman <stephen.berman at gmx.net>Glenn Morris2009-10-311-34/+37
| | | | | | (todo-edit-item): Signal an error if there is no item to edit. (Bug#4820) (todo-top-priorities): Restore point and restore narrowing in Todo buffer. (Bug#4820)
* (calendar-split-width-threshold): New option.Glenn Morris2009-10-101-0/+11
| | | | (calendar-basic-setup): Use calendar-split-width-threshold.
* (calendar-basic-setup): In the wide frame case, show the originalGlenn Morris2009-10-071-52/+54
| | | | buffer rather than a random one.
* Use window-full-height-p.Glenn Morris2009-10-061-2/+2
|
* Matthew Junker <matthew.junker at sbcglobal.net> (tiny change)Glenn Morris2009-10-061-14/+14
| | | | | | (cal-tex-cursor-month-landscape) (cal-tex-cursor-month): Correctly increment the end date for diary and holiday listing. (Bug#4626)
* (diary-show-all-entries): Re-fit the calendar window if necessary.Stefan Monnier2009-10-051-4/+10
|
* (calendar-basic-setup): Don't call switch-to-buffer in a dedicated window.Stefan Monnier2009-10-051-1/+2
|
* (calendar-basic-setup): Handle the case where the frame is wide.Glenn Morris2009-10-031-2/+42
| | | | (calendar-generate-window): Test for shrinkability rather than width.
* Use `called-interactively-p' instead of `interactive-p'.Juanma Barranquero2009-10-022-8/+9
|
* (diary-fancy-display): Always run the hook.Glenn Morris2009-09-241-2/+5
|
* (calendar-mode-map): Make mouse-1 and 3 clicks on the scroll-barGlenn Morris2009-09-221-0/+8
| | | | scroll the calendar window rather than the buffer.
* (cal-menu-scroll-menu): Add a sub-section with commands that moveGlenn Morris2009-09-221-1/+12
| | | | point (as opposed to scrolling).
* (diary-display-function): Change the default to fancy display.Glenn Morris2009-09-151-6/+6
| | | | (body): Define for compiler.
* * calendar/time-date.el (autoload):Katsumi Yamaoka2009-09-091-13/+28
| | | | | | | | | | | | | | Expand define-obsolete-function-alias into defalias and make-obsolete for old Emacsen that Gnus supports. (with-no-warnings): Define it for old Emacsen. (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time is available. (time-to-number-of-days): Don't use (featurep 'xemacs) to check if float-time is available; suppress compile warning for time-to-seconds. 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com> * net/imap.el (imap-message-map): Docstring fix.
* (diary-entry): Add help-echo and follow-link properties to this button.Glenn Morris2009-09-051-5/+7
| | | | | (diary-fancy-display): Don't extend the button to the final newline. (diary-fancy-display-mode): Continue to define "q" as a local key.
* (holiday-chinese): Make it slightly more efficient.Glenn Morris2009-09-051-31/+36
|
* (diary-fancy-display): Only switch modes if necessary.Glenn Morris2009-09-041-2/+10
| | | | | | (diary-fancy-overriding-map): New variable. (diary-fancy-display-mode): Set minor-mode-overriding-map-alist. Use view-mode.
* (appt-check): Don't call substitute-in-file-name on diary-file.Glenn Morris2009-09-031-4/+2
|
* (diary-set-header, diary-live-p)Glenn Morris2009-09-031-27/+17
| | | | | | | | (diary-check-diary-file, diary-list-entries) (diary-include-other-diary-files, diary-simple-display) (diary-fancy-display, diary-print-entries) (diary-mark-included-diary-files, diary-make-entry): Don't call substitute-in-file-name on diary-file.
* (time-to-seconds): In Emacs, make it an obsolete alias for float-time.Glenn Morris2009-09-021-9/+17
| | | | (time-to-number-of-days): In Emacs, use float-time.
* (diary-button-face): Mark this face alias as obsolete.Glenn Morris2009-08-311-2/+2
|
* (calendar-today): Doc fix.Glenn Morris2009-08-311-7/+8
| | | | | (calendar-today-face, diary-face, holiday-face): Mark these face aliases as obsolete.
* (diary-list-entries, diary-goto-entry)Glenn Morris2009-08-281-5/+5
| | | | | (diary-show-all-entries, diary-mark-entries, diary-make-entry): Use default-value of major-mode rather than default-major-mode.
* Define risky-local-variable property here rather than in files.el.Glenn Morris2009-08-261-0/+1
|
* (diary-mark-entries-1): Only mark all days of a given name if theGlenn Morris2009-08-221-1/+3
| | | | pattern is not more specific.
* (lunar-phase-names): New option.Glenn Morris2009-08-221-39/+45
| | | | | | | | | | (lunar-phase): Doc fix. (lunar-cycles-per-year): New constant. (lunar-index): New function. (lunar-phase-list, diary-lunar-phases): Use lunar-index. (lunar-phase-name): Use lunar-phase-names. (calendar-lunar-phases): Use format. (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
* * textmodes/remember.el (remember-buffer):Stefan Monnier2009-08-211-2/+2
| | | | | | * progmodes/cperl-mode.el (cperl-vc-header-alist): * calendar/icalendar.el (icalendar-convert-diary-to-ical) (icalendar-extract-ical-from-buffer): Add version of obsolescence.
* (calendar-cursor-to-nearest-date, calendar-cursor-to-visible-date):Glenn Morris2009-08-211-8/+10
| | | | Use forward-line, not goto-line.
* * calendar/parse-time.el (parse-time-string-chars): Save match data.Chong Yidong2009-08-161-7/+8
|
* * calendar/parse-time.el (parse-time-string-chars): Compute usingChong Yidong2009-08-161-15/+7
| | | | character classes (Bug#3190).
* (calendar-current-date): Update declaration.Glenn Morris2009-07-211-1/+1
|