Stefan Monnier [Wed, 1 Nov 2000 23:31:59 +0000 (23:31 +0000)]
(define-minor-mode):
Revert the latest changes.
Allow the three positional arguments to be skipped and replaced
by keyword arguments.
Add a :toggle argument to determine whether a nil arg means toggle
or means turn-on. The default is unchanged.
Add a call to force-mode-line-update.
Dave Love [Wed, 1 Nov 2000 14:46:55 +0000 (14:46 +0000)]
Use (featurep 'xemacs).
(binhex-char-int): New alias, replacing char-int.
Change callers.
(binhex-decode-region): Simplify work buffer code.
(binhex-decode-region-external): Use expand-file-name, not concat.
Ken Raeburn [Tue, 31 Oct 2000 15:58:25 +0000 (15:58 +0000)]
* loadup.el (top level): Adjust load path if program name is
"../src/bootstrap-emacs", in case it's not dumped and thus the load path
adjustment hasn't already been done.
Gerd Moellmann [Tue, 31 Oct 2000 11:54:38 +0000 (11:54 +0000)]
Fix bug on selected pages for printing. Use
`color-values' for Emacs 21. Ensure fontification when jit-lock
is on. Try to avoid warning messages when compiling. Doc Fix.
(ps-print-version): New version number (6.3).
(ps-color-device): Use `color-values' to determine if device
supports color.
(ps-color-values): Try to use `x-color-values' when using XEmacs.
(ps-print-page-p): Changed from defsubst to defun.
(ps-page-number): Changed from defmacro to defun.
(ps-header-sheet, ps-header-page): Fix bug on selected pages for
printing.
(ps-print-ensure-fontified): Ensure fontification when jit-lock is
on.
(ps-end-file, ps-dummy-page): Funs eliminated.
(ps-print-color-scale): Changed default value.
(ps-page-n-up, ps-print-page-p): New internal vars.
(ps-print-preprint, ps-output, ps-begin-file, ps-begin-page)
(ps-plot-region, ps-generate, ps-end-job): Code fix.
Kenichi Handa [Tue, 31 Oct 2000 04:17:17 +0000 (04:17 +0000)]
(decode-mac-roman, encode-mac-roman, mac-roman): Moved to european.el.
(ccl-encode-mac-roman-font, fontset-mac): Modified for
mule-unicode-2500-33ff and mule-unicode-e000-ffff.
(mac-roman-kbd-insert, mac-roman-kbd-mode): These functions deleted.
(mac-roman-kbd-mode, mac-roman-kbd-mode-map): These variables deleted.
Gerd Moellmann [Mon, 30 Oct 2000 20:46:02 +0000 (20:46 +0000)]
(menu_face_change_count): New variable.
(Finternal_set_lisp_face_attribute): Increment it for changes
of the `menu' face.
(realize_basic_faces): Reflect changes in the `menu' faces
in menu bars.
Gerd Moellmann [Mon, 30 Oct 2000 16:25:15 +0000 (16:25 +0000)]
(try_scrolling) <PT >= scroll_margin_pos>: Add 1 to the
dy obtained from the iterator's y-position after moving from
scroll_margin_pos to PT; see comment there.
Gerd Moellmann [Mon, 30 Oct 2000 15:26:46 +0000 (15:26 +0000)]
(echo_area_display): Don't perform a display update from
inside redisplay. The update will happen anyway at the end of
redisplay, and it can confuse redisplay (GC messages while
redisplaying, for instance.)
Gerd Moellmann [Mon, 30 Oct 2000 15:13:58 +0000 (15:13 +0000)]
(x_alloc_nearest_color): If allocation succeeds, and
we have a color cache, check that the cached color equals the
allocated color. If not, clear the color cache.
Miles Bader [Mon, 30 Oct 2000 06:22:20 +0000 (06:22 +0000)]
(comint-replace-by-expanded-history): Don't use
comint-get-old-input (we're not looking at *old* input).
(comint-get-old-input-default): If using fields, signal an error
when the point is not in an input field.
Kenichi Handa [Mon, 30 Oct 2000 01:37:20 +0000 (01:37 +0000)]
(mac-roman-decoder, mac-roman-encoder): New translation tables.
(decode-mac-roman, encode-mac-roman): Definition of these CCL
programs are modified and moved from mac-win.el.
(mac-roman): Definition of this coding system is modified and
moved from mac-win.el.
Kenichi Handa [Mon, 30 Oct 2000 01:36:20 +0000 (01:36 +0000)]
(fontset-default): Modified for mule-unicode-2500-33ff and
mule-unicode-e000-ffff.
(x-font-name-charset-alist): Likewise.
(ccl-encode-unicode-font): New CCL program. Record it in
font-ccl-encoder-alist to be used for fonts "ISO10646-1".
Jason Rumney [Sun, 29 Oct 2000 21:00:37 +0000 (21:00 +0000)]
(set_bdf_font_info): Set it.
(w32_BDF_TextOut): Swap byte order of double byte characters.
(w32_load_bdf_font): Set double_byte_p based on bdf_font->nchars.
Jason Rumney [Sun, 29 Oct 2000 20:59:47 +0000 (20:59 +0000)]
(w32_bdf_per_char_metric): Negate descent.
(w32_cache_char_metrics): Handle possibility that 'x' does not
exist in a BDF font.
(W32_TEXTOUT): w32_BDF_TextOut wants number of bytes not chars.
Michael Kifer [Sun, 29 Oct 2000 04:56:45 +0000 (04:56 +0000)]
2000-10-29 Michael Kifer <kifer@cs.sunysb.edu>
* viper-cmd.el (viper-preserve-cursor-color): new test that avoids
rewrawing the screen when changing cursor color.
(viper-insert-state-pre-command-sentinel,
viper-replace-state-pre-command-sentinel,
viper-replace-state-post-command-sentinel): use
viper-preserve-cursor-color.
Many functions changed to use viper= instead of = when comparing
characters.
* viper-util.el (viper-memq-char,viper=): new functions for
working with characters.
(viper-change-cursor-color): fixed buglet.
Many functions changed to use viper= instead of = when comparing
characters.
* viper.el (viper-insert-state-mode-list): added eshell.
* ediff-init.el (ediff-before-setup-hook): new hook.
Several typos fixed in various docstrings.
* ediff-merg.el (ediff-show-clashes-only): docstring typo fixed.
* ediff-nult.el (ediff-before-session-group-setup-hooks): new
hook.
(ediff-show-meta-buffer): run ediff-before-session-group-setup-hooks.
* ediff-util.el (ediff-setup): run ediff-before-setup-hook.
(ediff-other-buffer): use selected buffers if in Buffer-menu buffer.
(ediff-get-selected-buffers): new function.
* ediff-vers.el (ediff-vc-internal,ediff-rcs-internal,
ediff-vc-merge-internal,ediff-rcs-merge-internal): use
save-window-excursion.
* ediff-wind.el (ediff-skip-unsuitable-frames): more robust
termination check in while loop.
* ediff.el (ediff-get-default-file-name): better defaults when in
dired buffer.
(ediff-files,ediff-merge-files,ediff-files3,
ediff-merge-files-with-ancestor): use ediff-get-default-file-name.
Eli Zaretskii [Sat, 28 Oct 2000 17:25:19 +0000 (17:25 +0000)]
(Colors X): Document support for -fg, -bg, and -rv
on TTYs. Suggest use of list-colors-display to see what colors
are supported. Add index entries for list-colors-display.