(calendar-chinese): Rename custom group from chinese-calendar. Update users.
(calendar-chinese-time-zone): Rename chinese-calendar-time-zone.
Keep old name as alias, update users.
(calendar-chinese-location-name): Rename chinese-calendar-location-name.
Keep old name as alias.
(calendar-chinese-daylight-time-offset):
Rename chinese-calendar-daylight-time-offset. Keep old name as alias,
update users.
(calendar-chinese-standard-time-zone-name):
Rename chinese-calendar-standard-time-zone-name.
Keep old name as alias, update users.
(calendar-chinese-daylight-saving-start):
Rename chinese-calendar-daylight-savings-starts.
Keep old name as alias, update users.
(calendar-chinese-daylight-saving-end):
Rename chinese-calendar-daylight-savings-ends. Keep old name as alias,
update users.
(calendar-chinese-daylight-saving-start-time):
Rename chinese-calendar-daylight-savings-starts-time.
Keep old name as alias, update users.
(calendar-chinese-daylight-saving-end-time):
Rename chinese-calendar-daylight-savings-ends-time.
Keep old name as alias, update users.
(calendar-chinese-celestial-stem): Rename
calendar-chinese-celestial-stem. Keep old name as alias, update users.
(calendar-chinese-terrestrial-branch):
Rename calendar-chinese-terrestrial-branch. Keep old name as alias,
update users.
(calendar-chinese-zodiac-sign-on-or-after):
Rename chinese-zodiac-sign-on-or-after. Update callers.
(calendar-chinese-new-moon-on-or-after): Rename chinese-new-moon-on-or-after.
Update callers.
(calendar-chinese-month-list): Rename chinese-month-list. Update callers.
(calendar-chinese-number-months): Rename number-chinese-months. Update callers.
(calendar-chinese-compute-year): Rename compute-chinese-year. Update callers.
(calendar-chinese-year-cache): Rename chinese-year-cache. Update users.
(calendar-chinese-year): Rename chinese-year. Update callers.
(calendar-chinese-year-cache-init): Rename chinese-year-cache-init.
(calendar-chinese-to-absolute): Rename calendar-absolute-from-chinese.
Keep old name as alias, update callers.
(calendar-chinese-print-date): Rename calendar-print-chinese-date.
Keep old name as alias, update callers.
(calendar-chinese-months-to-alist): Rename make-chinese-month-assoc-list.
Update callers.
(calendar-chinese-months): Rename chinese-months. Update callers.
(calendar-chinese-goto-date): Rename calendar-goto-chinese-date.
Keep old name as alias, update callers.
(calendar-hebrew-leap-year-p): Rename hebrew-calendar-leap-year-p.
Update callers.
(calendar-hebrew-last-month-of-year): Rename hebrew-calendar-last-month-of-year.
Update callers.
(calendar-hebrew-elapsed-days): Rename hebrew-calendar-elapsed-days.
Update callers.
(calendar-hebrew-days-in-year): Rename hebrew-calendar-days-in-year.
Update callers.
(calendar-hebrew-long-heshvan-p): Rename hebrew-calendar-long-heshvan-p.
Update callers.
(calendar-hebrew-short-kislev-p): Rename hebrew-calendar-short-kislev-p.
Update callers.
(calendar-hebrew-last-day-of-month): Rename hebrew-calendar-last-day-of-month.
Update callers.
(calendar-hebrew-to-absolute): Rename calendar-absolute-from-hebrew.
Keep old name as alias, update callers.
(calendar-hebrew-print-date): Rename calendar-print-hebrew-date.
Keep old name as alias, update callers.
(calendar-hebrew-yahrzeit): Rename hebrew-calendar-yahrzeit.
Keep old name as alias, update callers.
(calendar-hebrew-goto-date): Rename calendar-goto-hebrew-date.
Keep old name as alias.
(holiday-hebrew-rosh-hashanah): Rename holiday-rosh-hashanah-etc.
Keep old name as alias.
(holiday-hebrew-hanukkah): Rename holiday-hanukkah. Keep old name as alias.
(holiday-hebrew-passover): Rename holiday-passover-etc.
Keep old name as alias.
(holiday-hebrew-tisha-b-av): Rename holiday-tisha-b-av-etc.
Keep old name as alias, update callers.
(diary-hebrew-list-entries): Rename list-hebrew-diary-entries.
Keep old name as alias.
(calendar-hebrew-mark-date-pattern): Rename mark-hebrew-calendar-date-pattern.
Keep old name as alias, update callers.
(diary-hebrew-mark-entries): Rename mark-hebrew-diary-entries.
Keep old name as alias.
(diary-hebrew-insert-entry): Rename insert-hebrew-diary-entry.
Keep old name as alias.
(diary-hebrew-insert-monthly-entry): Rename insert-monthly-hebrew-diary-entry.
Keep old name as alias.
(diary-hebrew-insert-yearly-entry): Rename insert-yearly-hebrew-diary-entry.
Keep old name as alias.
(calender-hebrew-list-yahrzeits): Rename list-yahrzeit-dates.
Keep old name as alias.
(diary-hebrew-omer): Rename diary-omer. Keep old name as alias.
(diary-hebrew-yahrzeit): Rename diary-yahrzeit. Keep old name as alias.
(diary-hebrew-rosh-hodesh): Rename diary-rosh-hodesh. Keep old name as alias.
(calendar-hebrew-parashiot-names): Rename hebrew-calendar-parashiot-names.
Update callers.
(calendar-hebrew-parasha-name): Rename hebrew-calendar-parasha-name.
(calendar-hebrew-year-Saturday-incomplete-Sunday):
Rename hebrew-calendar-year-Saturday-incomplete-Sunday.
(calendar-hebrew-year-Saturday-complete-Tuesday):
Rename hebrew-calendar-year-Saturday-complete-Tuesday.
(calendar-hebrew-year-Monday-incomplete-Tuesday):
Rename hebrew-calendar-year-Monday-incomplete-Tuesday.
(calendar-hebrew-year-Monday-complete-Thursday):
Rename hebrew-calendar-year-Monday-complete-Thursday.
(calendar-hebrew-year-Tuesday-regular-Thursday):
Rename hebrew-calendar-year-Tuesday-regular-Thursday.
(calendar-hebrew-year-Thursday-regular-Saturday):
Rename hebrew-calendar-year-Thursday-regular-Saturday.
(calendar-hebrew-year-Thursday-complete-Sunday):
Rename hebrew-calendar-year-Thursday-complete-Sunday.
(calendar-hebrew-year-Saturday-incomplete-Tuesday):
Rename hebrew-calendar-year-Saturday-incomplete-Tuesday.
(calendar-hebrew-year-Saturday-complete-Thursday):
Rename hebrew-calendar-year-Saturday-complete-Thursday.
(calendar-hebrew-year-Monday-incomplete-Thursday):
Rename hebrew-calendar-year-Monday-incomplete-Thursday.
(calendar-hebrew-year-Monday-complete-Saturday):
Rename hebrew-calendar-year-Monday-complete-Saturday.
(calendar-hebrew-year-Tuesday-regular-Saturday):
Rename hebrew-calendar-year-Tuesday-regular-Saturday.
(calendar-hebrew-year-Thursday-incomplete-Sunday):
Rename hebrew-calendar-year-Thursday-incomplete-Sunday.
(calendar-hebrew-year-Thursday-complete-Tuesday):
Rename hebrew-calendar-year-Thursday-complete-Tuesday.
(diary-hebrew-parasha): Rename diary-parasha. Keep old name as alias.
Update for above name changes of constants.
(diary-hebrew-entry-symbol): Rename hebrew-diary-entry-symbol.
Keep old name as alias.
(diary-islamic-entry-symbol): Rename islamic-diary-entry-symbol.
Keep old name as alias.
(diary-bahai-entry-symbol): Rename bahai-diary-entry-symbol.
Keep old name as alias.
(hebrew-holidays-1, hebrew-holidays-2, hebrew-holidays-3)
(hebrew-holidays-4): Don't autoload obsolescence.
Stefan Monnier [Sat, 5 Apr 2008 20:12:37 +0000 (20:12 +0000)]
(gnus-mime-replace-part): Remove unnecessary use of mm-with-multibyte.
(gnus-request-article-this-buffer): Make sure the proper decoding is used
if gnus-original-article-buffer happens to be unibyte.
(LOADDEFS): Add mh-loaddefs.el.
(AUTOGENEL): mh-loaddefs is in $LOADDEFS now.
(compile, compile-always, recompile): Use $LOADDEFS.
($(lisp)/mh-e/mh-loaddefs.el): Simplify rule now that
autoload-ensure-default-file provides a feature.
(cal-autoloads): Remove.
Stefan Monnier [Sat, 5 Apr 2008 17:55:00 +0000 (17:55 +0000)]
Undo part of the multi-tty change, which is only needed if server.el is
preloaded, and broke server-running-p.
(server-socket-dir): Initialize in the defvar, as before.
(server-start): Remove initialization of server-socket-dir.
Eli Zaretskii [Sat, 5 Apr 2008 14:31:42 +0000 (14:31 +0000)]
(Ffile_attributes): Support inode numbers wider than 32 bits.
Remove ugly WINDOWSNT-specific kludge introduced on 2008-03-14 to force
inode be positive.
Stefan Monnier [Sat, 5 Apr 2008 03:32:05 +0000 (03:32 +0000)]
(hif-token-alist): New var.
(hif-token-regexp, hif-tokenize): Use it.
(hif-mathify-binop): New macro.
(hif-plus, hif-minus, hif-notequal, hif-greater, hif-less)
(hif-greater-equal, hif-less-equal): Use it.
(hif-logior, hif-logand): New functions.
(hif-math): Accept | and & as well.
Stefan Monnier [Sat, 5 Apr 2008 03:31:50 +0000 (03:31 +0000)]
Fix problem with completion for buffer-local tables.
Reported by Radey Shouman <shouman@comcast.net>.
(tags-complete-tag): Remove.
(tags-lazy-completion-table): New function to replace it.
(find-tag-tag, complete-tag): Update users.
Stefan Monnier [Fri, 4 Apr 2008 17:31:20 +0000 (17:31 +0000)]
* subr.el (keymap-canonicalize): New function.
* mouse.el (mouse-menu-non-singleton): Use it.
(mouse-major-mode-menu): Remove hack made unnecessary.
* keymap.c (Qkeymap_canonicalize): New var.
(Fmap_keymap_internal): New fun.
(describe_map): Use keymap-canonicalize.
Stefan Monnier [Fri, 4 Apr 2008 16:59:52 +0000 (16:59 +0000)]
(last_boundary_buffer, last_boundary_position): New vars.
(Fundo_boundary): Set them.
(syms_of_undo): Initialize them.
(record_point): Use them instead of last_point_position*.
(last_undo_buffer): Change type.
Andreas Schwab [Fri, 4 Apr 2008 11:02:18 +0000 (11:02 +0000)]
(cal-autoloads): New target.
(compile, compile-always, recompile): Depend on it.
($(lisp)/calendar/cal-loaddefs.el)
($(lisp)/calendar/diary-loaddefs.el)
($(lisp)/calendar/hol-loaddefs.el): Depend on calendar/*.el.
Michael Kifer [Fri, 4 Apr 2008 07:51:27 +0000 (07:51 +0000)]
2008-04-04 Michael Kifer <kifer@cs.stonybrook.edu>
* ediff*el: replaced load with require in eval-when-compile.
* ediff-hook: deleted all invocations of (autoload ...).
* ediff-util.el (ediff-setup): make window-min-height a local variable
in ediff control window, and set its min height to 2.
(ediff-setup-control-buffer): dedicate the control window.
(ediff-toggle-multiframe): undedicate control window.
Work directly with ediff-setup-windows-multiframe and
ediff-setup-windows-plain.
* ediff-wind (ediff-choose-window-setup-function-automatically): new
function.
(ediff-window-setup-function): change initialization.
(ediff-setup-windows-automatic): deleted.
(ediff-setup-windows-plain-merge): make control window dedicated.
(ediff-destroy-control-frame): do not skip frames if working in a
single frame.
* emulation/viper-ex.el: move provide's forward, prevent ecursion in
eval-when-compile.
* emulation/viper-util.el: move provide's forward, prevent ecursion in
eval-when-compile.
(calendar-mayan-string-from-long-count): Rename
calendar-string-to-mayan-long-count. Update callers.
(calendar-mayan-print-date): Rename calendar-print-mayan-date.
Update callers, keep old name as alias.
(calendar-mayan-read-haab-date): Rename calendar-read-mayan-haab-date.
Update callers.
(calendar-mayan-read-tzolkin-date): Rename calendar-read-mayan-tzolkin-date.
Update callers.
(calendar-mayan-next-haab-date): Rename calendar-next-haab-date.
Keep old name as alias.
(calendar-mayan-previous-haab-date): Rename calendar-previous-haab-date.
Keep old name as alias.
(calendar-mayan-next-tzolkin-date): Rename calendar-next-tzolkin-date.
Keep old name as alias.
(calendar-mayan-previous-tzolkin-date): Rename calendar-previous-tzolkin-date.
Keep old name as alias.
(calendar-mayan-next-round-date): Rename calendar-next-calendar-round-date.
Keep old name as alias.
(calendar-mayan-previous-round-date): Rename
calendar-previous-calendar-round-date. Keep old name as alias.
(calendar-mayan-long-count-to-absolute): Rename
calendar-absolute-from-mayan-long-count. Keep old name as alias.
(calendar-mayan-goto-long-count-date): Rename
calendar-goto-mayan-long-count-date. Keep old name as alias.
Update for cal-julian name changes.
(calendar-persian-month-name-array): Rename persian-calendar-month-name-array.
Update callers.
(calendar-persian-epoch): Rename persian-calendar-epoch. Update callers.
(calendar-persian-leap-year-p): Rename persian-calendar-leap-year-p.
Update callers.
(calendar-persian-last-day-of-month): Rename persian-calendar-last-day-of-month.
Update callers.
(calendar-persian-to-absolute): Rename calendar-absolute-from-persian.
Update callers, keep old name as alias.
(calendar-persian-print-date): Rename calendar-print-persian-date.
Update callers, keep old name as alias.
(calendar-persian-goto-date): Rename calendar-goto-persian-date.
Keep old name as alias.
(calendar-iso-to-absolute): Rename calendar-absolute-from-iso.
Update callers, keep old name as alias.
(calendar-iso-print-date): Rename calendar-print-iso-date.
Update callers, keep old name as alias.
(calendar-iso-goto-date): Rename calendar-goto-iso-date.
Keep old name as alias.
(calendar-iso-goto-week): Rename calendar-goto-iso-week.
Keep old name as alias.
Update for cal-julian name changes.
(calendar-islamic-leap-year-p): Rename islamic-calendar-leap-year-p.
Update callers.
(calendar-islamic-last-day-of-month): Rename islamic-calendar-last-day-of-month.
Update callers.
(calendar-islamic-day-number): Rename islamic-calendar-day-number.
Update callers.
(calendar-islamic-to-absolute): Rename calendar-absolute-from-islamic.
Update callers, keep old name as alias.
(calendar-islamic-print-date): Rename calendar-print-islamic-date.
Update callers, keep old name as alias.
(calendar-islamic-goto-date): Rename calendar-goto-islamic-date.
Keep old name as alias.
(diary-islamic-list-entries): Rename list-islamic-diary-entries.
Update callers, keep old name as alias.
(calendar-islamic-mark-date-pattern): Rename mark-islamic-calendar-date-pattern.
Update callers, keep old name as alias.
(diary-islamic-insert-entry): Rename insert-islamic-diary-entry.
Keep old name as alias.
(diary-islamic-insert-monthly-entry): Rename insert-monthly-islamic-diary-entry.
Keep old name as alias.
(diary-islamic-insert-yearly-entry): Rename insert-yearly-islamic-diary-entry.
Keep old name as alias.
(calendar-julian-to-absolute): Rename calendar-absolute-from-julian.
Update callers, keep old name as alias.
(calendar-julian-print-date): Rename calendar-print-julian-date.
Update callers, keep old name as alias.
(calendar-julian-goto-date): Rename calendar-goto-julian-date.
Update callers, keep old name as alias.
(calendar-astro-to-absolute): Rename calendar-absolute-from-astro.
Update callers, keep old name as alias.
(calendar-astro-print-day-number): Rename
calendar-print-astro-day-number. Update callers, keep old name as alias.
(calendar-astro-goto-day-number): Rename calendar-goto-astro-day-number.
Update callers, keep old name as alias.
(calendar-hebrew-all-holidays-flag):
Rename all-hebrew-calendar-holidays. Update callers, keep old name as alias.
(calendar-christian-all-holidays-flag): Rename
all-christian-calendar-holidays. Update callers, keep old name as alias.
(calendar-islamic-all-holidays-flag): Rename
all-islamic-calendar-holidays. Update callers, keep old name as alias.
(calendar-bahai-all-holidays-flag): Rename all-bahai-calendar-holidays.
Update callers, keep old name as alias.
Stefan Monnier [Thu, 3 Apr 2008 22:03:01 +0000 (22:03 +0000)]
(highlight-changes-mode): Rename from
highlight-changes; no longer uses sub-modes active and
passive; implemented by define-minor-mode.
(highlight-changes-toggle-visibility): New function, to replace
the old passive/active submodes of global-highlight-changes-mode;
implemented by define-minor-mode.
(global-highlight-changes-mode'): Rename from
global-highlight-changes; rewrite using define-globalized-minor-mode.
(hilit-chg-major-mode-hook, hilit-chg-check-global)
(hilit-chg-post-command-hook, hilit-chg-check-global)
(hilit-chg-update-all-buffers, hilit-chg-turn-off-maybe): Remove due
to use of define-globalized-minor-mode.
(highlight-changes-global-initial-state): Change to be boolean.
(highlight-changes-visible-string, highlight-changes-invisible-string):
Rename from highlight-changes-active-string and
highlight-changes-passive-string.
(hilit-chg-update, hilit-chg-set): Use them.
(global-highlight-changes-mode): Rename from global-highlight-changes.
(hilit-chg-map-changes, hilit-chg-display-changes): Add arguments to
docstring.
(hilit-chg-hide-changes): Rewrite to use dolist.
(hilit-chg-set-face-on-change, hilit-chg-update)
(highlight-changes-rotate-faces): Use highlight-changes-visible-mode
variable instead of testing highlight-changes-mode.
(highlight-markup-buffers): Add reuire ediff-util; argument on calls
to highlight-changes-mode changed.
(highlight-compare-with-file): Fix problems with interactive
call giving invalid default file.