André Spiegel [Thu, 16 Nov 2000 15:29:40 +0000 (15:29 +0000)]
(vc-cvs-revert): Use `cvs unedit' only if `vc-cvs-use-edit' is on.
(vc-cvs-checkout): When this is used for reverting the workfile, make
a backup of the original contents and revert to that in case of error.
Jason Rumney [Wed, 15 Nov 2000 23:48:42 +0000 (23:48 +0000)]
(HIGHLIGHT_COLOR_DARK_BOOST_LIMIT): New constant.
(w32_alloc_lighter_color): Use new brightness calculations from
xterm.c. Scale delta to be in the range expected by W32.
(w32_draw_relief_rect): Use frame relief colors.
Dave Love [Wed, 15 Nov 2000 23:01:25 +0000 (23:01 +0000)]
(widget-specify-field, widget-specify-button): If
:help-echo is a function, set help-echo of overlay to
widget-mouse-help.
(widget-mouse-help): New function.
(widget-echo-help): Rewritten for :help-echo functions only taking
a widget arg.
Dave Love [Wed, 15 Nov 2000 20:54:15 +0000 (20:54 +0000)]
(eudc-bob-can-display-inline-images): Use
display-graphic-p.
(eudc-bob-display-jpeg) <!eudc-xemacs-p>: Test create-image bound
and that JPEG is available.
(eudc-bob-toggle-inline-display): Avoid non-existent `imagep'.
Gerd Moellmann [Wed, 15 Nov 2000 19:24:52 +0000 (19:24 +0000)]
(syms_of_frame_1): Removed; code moved to syms_of_frame.
(Qinhibit_default_face_x_resources): New variable.
(syms_of_frame): Initialize it.
(Fmodify_frame_parameters): Bind inhibit-default-face-x-resources.
Eli Zaretskii [Wed, 15 Nov 2000 13:57:50 +0000 (13:57 +0000)]
(texinfo-insert-@uref): Renamed from
texinfo-insert-@url.
(texinfo-insert-@url): A defalias for texinfo-insert-@uref.
(texinfo-mode-map): Bind "C-c C-c u" to texinfo-insert-@uref.
Stefan Monnier [Tue, 14 Nov 2000 20:11:23 +0000 (20:11 +0000)]
(checkdoc-minor-mode) <defvar>: Remove.
(checkdoc-minor-mode-map): New map, replaces checkdoc-minor-keymap.
(checkdoc-minor-keymap): Backward compatibility.
(checkdoc-minor-menu): Don't bother checking checkdoc-minor-keymap.
(checkdoc-minor-mode) <defun>: Use easy-mmode-define-minor-mode.
(checkdoc-this-string-valid-engine): Be a bit more strict
to avoid matching substrings of `...' quoted vars/funs.
(checkdoc-defun-info): Only look for `interactive' if alone.
(debug-ignored-errors): Add "arg doesn't appear in docstring".
Stefan Monnier [Tue, 14 Nov 2000 18:38:07 +0000 (18:38 +0000)]
(try_scrolling): Set scroll_max to max of scroll_* args
so setting scroll-step to 1 doesn't defeat scroll-conservatively.
Set amount_to_scroll to max of dx and scroll_step so that
scroll-conservatively doesn't defeat scroll-step>1.
(syms_of_xdisp): Add a hint in scroll-step's docstring to use
scroll-conservatively for line-at-a-time scrolling.
Miles Bader [Tue, 14 Nov 2000 12:58:47 +0000 (12:58 +0000)]
(fit-window-to-buffer): Handle windows without mode-lines.
Handle header-lines. Don't loop forever if we can't enlarge the
window anymore. Simplify a bit.
Kenichi Handa [Tue, 14 Nov 2000 11:46:44 +0000 (11:46 +0000)]
(quail-show-guidance-buf): Call fit-window-to-buffer to assure the
enough height of the guidance buffer.
(quail-update-guidance): Avoid making the guidance buffer shorter.
Stefan Monnier [Tue, 14 Nov 2000 11:41:51 +0000 (11:41 +0000)]
(tex-font-lock-keywords-1): Use `keep'
rather than `prepend' and add an interesting comment.
(tex-math-face, tex-font-lock-syntactic-face-function):
New face and function to use it.
(tex-define-common-keys, tex-mode-map): Use menu-item rather
than `menu-enable' symbol property.
(tex-mode-map): Bind {, (, [ and $ to skeleton-pair-insert-maybe.
(tex-mode): Add some latex-mode commands for auto-selection.
Use tex-font-lock-syntactic-face-function.
(tex-insert-quote): Simplify.
(tex-shell): New mode.
(tex-start-shell): Use it.
(tex-shell-proc, tex-shell-buf): New functions.
(tex-send-command): Use it.
(tex-main-file): Fix the meaning of the new arg REALFILE.
(tex-send-tex-command): New function split from `tex-start-tex'.
Set compilation-last-buffer and compilation-parsing-end.
Stefan Monnier [Tue, 14 Nov 2000 09:52:24 +0000 (09:52 +0000)]
(lisp-mode-variables):
Set font-lock-defaults.
(lisp-mode-shared-map): Init inside the defvar.
(emacs-lisp-mode, lisp-mode, lisp-interaction-mode):
Use define-derived-mode.
Gerd Moellmann [Tue, 14 Nov 2000 05:43:18 +0000 (05:43 +0000)]
(current_mode_line_height, current_header_line_height):
New variables.
(init_xdisp): Initialize them.
(pos_visible_p): Add parameter EXACT_MODE_LINE_HEIGHTS_P. Compute
and use exact mode line heights if it is set.
Miles Bader [Tue, 14 Nov 2000 01:45:45 +0000 (01:45 +0000)]
(x_alloc_lighter_color): Use real brightness calculation.
Just use FACTOR/2 instead of HIGHLIGHT_COLOR_DARK_BOOST.
(HIGHLIGHT_COLOR_DARK_BOOST): Macro removed.
Miles Bader [Mon, 13 Nov 2000 15:47:32 +0000 (15:47 +0000)]
(x_alloc_lighter_color): Include an additive component too for dark
colors, because FACTOR isn't enough.
(HIGHLIGHT_COLOR_DARK_BOOST, HIGHLIGHT_COLOR_DARK_BOOST_LIMIT):
New macros.
Miles Bader [Mon, 13 Nov 2000 12:18:37 +0000 (12:18 +0000)]
(openp): Return -2 instead of 0 for the `remote file' case.
(Fload): Use new openp return protocol. Don't try to use
Vload_source_file_function to load .elc files.