(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.
Jason Rumney [Thu, 3 Apr 2008 13:16:13 +0000 (13:16 +0000)]
(CONFIG_H): New variable. Use it to clean up
dependencies.
(w32uniscribe.$(O)): New file to build.
(FONT_OBJ): Include w32uniscribe.$(O).
(LIBS): Add uniscribe libraries.