Glenn Morris
1a355d092b
* calendar/cal-french.el: Convert to utf-8.
2010-03-17 22:25:13 -07:00
Glenn Morris
33f779825b
Fix date of Yom HaAtzma'ut holiday.
...
* calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
2010-03-01 19:27:41 -08:00
Chong Yidong
de3a1fe935
Fix more save-excursion warnings.
...
* 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.
2010-02-27 20:22:44 -05:00
Ulf Jasper
b4340b3f0b
Fixed bug#5549 (icalendar.el)
2010-02-19 19:59:00 +01:00
Stephen Berman
7d82a7383b
Fix bug#5477.
...
Stephen Berman <stephen.berman at gmx.net>:
(diary-unhide-everything): Handle narrowed buffers.
2010-01-26 20:00:54 -08:00
Chong Yidong
244b023e52
Doc fix for current-time-string and date-to-time (Bug#5408)
...
* src/editfns.c (Fcurrent_time_string): Doc fix.
* lisp/calendar/time-date.el (date-to-time): Doc fix.
2010-01-18 11:29:00 -05:00
Glenn Morris
114f9c9679
Add 2010 to copyright years.
2010-01-13 00:35:10 -08:00
Ulf Jasper
6fe539d246
Fixed timezone handling problem in icalendar.el.
2009-12-18 19:35:14 +00:00
Glenn Morris
5813f6ef75
(diary-list-entries): Replace superfluous save-excursion with
...
save-current-buffer.
Widen before searching. (Bug#5093)
(diary-list-sexp-entries): Remove superfluous save-excursion.
2009-12-02 03:03:48 +00:00
Glenn Morris
e8a11b2298
Update x-popup-menu declaration.
2009-11-10 08:11:47 +00:00
Dan Nicolaescu
1e8780b173
* textmodes/tex-mode.el (tex-alt-dvi-print-command)
...
(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.
2009-11-06 05:16:23 +00:00
Glenn Morris
4f8f657fc4
(top-level): Make load behave more like require.
2009-11-05 03:22:18 +00:00
Juanma Barranquero
d3d5f4f504
* calendar/calendar.el (cal-loaddefs):
...
* 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.
2009-11-04 00:27:34 +00:00
Stefan Monnier
7e83e8b459
(todo-add-category): Don't hardcode point-min==1.
...
(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.
2009-11-03 22:24:34 +00:00
Stefan Monnier
937e6a5612
* url-util.el (url-insert-entities-in-string):
...
* 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.
2009-11-03 02:04:29 +00:00
Glenn Morris
d566f22825
Stephen Berman <stephen.berman at gmx.net>
...
(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)
2009-10-31 02:22:30 +00:00
Glenn Morris
58ae51ae02
(calendar-split-width-threshold): New option.
...
(calendar-basic-setup): Use calendar-split-width-threshold.
2009-10-10 20:50:39 +00:00
Glenn Morris
429a150633
(calendar-basic-setup): In the wide frame case, show the original
...
buffer rather than a random one.
2009-10-07 02:57:46 +00:00
Glenn Morris
eaf9b5643d
Use window-full-height-p.
2009-10-06 02:42:29 +00:00
Glenn Morris
00169eb683
Matthew Junker <matthew.junker at sbcglobal.net> (tiny change)
...
(cal-tex-cursor-month-landscape)
(cal-tex-cursor-month): Correctly increment the end date for diary and
holiday listing. (Bug#4626)
2009-10-06 02:36:35 +00:00
Stefan Monnier
4a34f0655d
(diary-show-all-entries): Re-fit the calendar window if necessary.
2009-10-05 05:39:48 +00:00
Stefan Monnier
72aa7df48f
(calendar-basic-setup): Don't call switch-to-buffer in a dedicated window.
2009-10-05 05:36:11 +00:00
Glenn Morris
686ea556eb
(calendar-basic-setup): Handle the case where the frame is wide.
...
(calendar-generate-window): Test for shrinkability rather than width.
2009-10-03 02:19:22 +00:00
Juanma Barranquero
32226619c5
Use called-interactively-p' instead of
interactive-p'.
2009-10-02 03:48:36 +00:00
Glenn Morris
2157a2be64
(diary-fancy-display): Always run the hook.
2009-09-24 03:26:51 +00:00
Glenn Morris
daedbbc2a9
(calendar-mode-map): Make mouse-1 and 3 clicks on the scroll-bar
...
scroll the calendar window rather than the buffer.
2009-09-22 07:37:58 +00:00
Glenn Morris
d8899a7416
(cal-menu-scroll-menu): Add a sub-section with commands that move
...
point (as opposed to scrolling).
2009-09-22 07:15:31 +00:00
Glenn Morris
2b8e87c469
(diary-display-function): Change the default to fancy display.
...
(body): Define for compiler.
2009-09-15 02:34:54 +00:00
Katsumi Yamaoka
cdce0b331f
* calendar/time-date.el (autoload):
...
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.
2009-09-09 09:29:29 +00:00
Glenn Morris
c8dc27bff3
(diary-entry): Add help-echo and follow-link properties to this button.
...
(diary-fancy-display): Don't extend the button to the final newline.
(diary-fancy-display-mode): Continue to define "q" as a local key.
2009-09-05 21:11:34 +00:00
Glenn Morris
cca065d8cf
(holiday-chinese): Make it slightly more efficient.
2009-09-05 21:07:15 +00:00
Glenn Morris
b42d4989af
(diary-fancy-display): Only switch modes if necessary.
...
(diary-fancy-overriding-map): New variable.
(diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
Use view-mode.
2009-09-04 02:59:13 +00:00
Glenn Morris
e605eeebd5
(appt-check): Don't call substitute-in-file-name on diary-file.
2009-09-03 06:35:25 +00:00
Glenn Morris
6dd2d9b932
(diary-set-header, diary-live-p)
...
(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.
2009-09-03 06:34:19 +00:00
Glenn Morris
697c7714ce
(time-to-seconds): In Emacs, make it an obsolete alias for float-time.
...
(time-to-number-of-days): In Emacs, use float-time.
2009-09-02 03:22:58 +00:00
Glenn Morris
e7d3b89834
(diary-button-face): Mark this face alias as obsolete.
2009-08-31 01:33:58 +00:00
Glenn Morris
d8bc5d08e6
(calendar-today): Doc fix.
...
(calendar-today-face, diary-face, holiday-face):
Mark these face aliases as obsolete.
2009-08-31 01:33:43 +00:00
Glenn Morris
4d985ac2e6
(diary-list-entries, diary-goto-entry)
...
(diary-show-all-entries, diary-mark-entries, diary-make-entry):
Use default-value of major-mode rather than default-major-mode.
2009-08-28 03:18:49 +00:00
Glenn Morris
6dc3311d25
Define risky-local-variable property here rather than in files.el.
2009-08-26 03:07:25 +00:00
Glenn Morris
977955fab7
(diary-mark-entries-1): Only mark all days of a given name if the
...
pattern is not more specific.
2009-08-22 19:47:42 +00:00
Glenn Morris
b4deec2e85
(lunar-phase-names): New option.
...
(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.
2009-08-22 19:45:30 +00:00
Stefan Monnier
cb5b40ee3b
* textmodes/remember.el (remember-buffer):
...
* 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.
2009-08-21 15:09:42 +00:00
Glenn Morris
a8ab722f60
(calendar-cursor-to-nearest-date, calendar-cursor-to-visible-date):
...
Use forward-line, not goto-line.
2009-08-21 07:11:24 +00:00
Chong Yidong
81b1f9c9b7
* calendar/parse-time.el (parse-time-string-chars): Save match data.
2009-08-16 18:38:15 +00:00
Chong Yidong
1200ac269a
* calendar/parse-time.el (parse-time-string-chars): Compute using
...
character classes (Bug#3190).
2009-08-16 14:33:43 +00:00
Glenn Morris
55d27f4157
(calendar-current-date): Update declaration.
2009-07-21 05:02:36 +00:00
Glenn Morris
a71b84cd1b
(cal-menu-set-date-title): Handle calls from non-calendar buffers (Bug#3862).
...
Restore "not on a date" message.
(cal-menu-context-mouse-menu): Doc fix.
2009-07-19 00:32:31 +00:00
Glenn Morris
7ef5b8b271
(calendar-current-date): Rework previous change.
2009-07-08 02:48:11 +00:00
Glenn Morris
3ce82f979d
Ed Reingold <reingold at emr.cs.iit.edu>
...
(calendar-current-date): Add an optional argument giving an offset from today.
2009-07-08 02:46:23 +00:00
Glenn Morris
84cb770dc9
(calendar-time-zone-daylight-rules): Simplify Persian conditionals.
2009-06-23 07:30:25 +00:00