Gerd Moellmann [Mon, 27 Nov 2000 12:13:06 +0000 (12:13 +0000)]
(try_window_id): Avoid starting to display in the moddle
of a character, a TAB for instance. This is easier than to set
up the iterator exactly, and it's not a frequent case, so the
additional effort wouldn't really pay off.
Miles Bader [Mon, 27 Nov 2000 09:49:29 +0000 (09:49 +0000)]
(widget-field-buffer, widget-field-start)
(widget-field-end): Handle widget field `pseudo-overlays'.
(widget-field-value-delete): Delete WIDGET from `widget-field-new'
if it's there instead of in `widget-field-list'.
Jason Rumney [Fri, 24 Nov 2000 20:43:51 +0000 (20:43 +0000)]
(x_set_tool_bar_lines): Clear internal border when making tool bar
smaller. When clearing the frame, also clear current matrices. Clear
frame when tool bar disappears. Don't use more lines for the tool-bar
than is available.
Gerd Moellmann [Fri, 24 Nov 2000 19:29:26 +0000 (19:29 +0000)]
(init_from_display_pos): If POS says we're already after
an overlay string ending at POS, make sure to pop the iterator
because it will be in front of that overlay string. When POS is
ZV, we've thereby also ``processed'' overlay strings at ZV.
Miles Bader [Fri, 24 Nov 2000 11:36:27 +0000 (11:36 +0000)]
(checkbox): Add a small `X' to the the :on-glyph, so that it's
distinguishable from the :off-glyph on dark-background displays. Set
its background color too.
Miles Bader [Fri, 24 Nov 2000 09:09:55 +0000 (09:09 +0000)]
(custom-filter-face-spec, custom-pre-filter-face-spec)
(custom-post-filter-face-spec): New functions.
(custom-face-set, custom-face-value-create): Filter the face spec
before and after customization.
(custom-face-set): If VALUE specifies a null face, pass a
non-null-but-otherwise-ignored face-spec instead to `face-spec-set'.
Michael Kifer [Fri, 24 Nov 2000 08:15:11 +0000 (08:15 +0000)]
* ediff-diff.el: Moved variables around to have it compile under NT.
* ediff-help.el (ediff-use-long-help-message): made it customizable.
* ediff-init.el (ediff-abbrev-jobname): use capitalize.
* ediff-wind.el (ediff-skip-unsuitable-frames): deleted the
redundant skip-small-frames test.
* viper-cmd.el (viper-change-state-to-vi): disable overwrite mode.
(viper-downgrade-to-insert): protect against errors in hooks.
* viper-init.el (viper-vi-state-hook,viper-insert-state-hook,
viper-replace-state-hook,viper-emacs-state-hook): do cursor handling.
(viper-restore-cursor-type,viper-set-insert-cursor-type): new
functions.
Miles Bader [Fri, 24 Nov 2000 06:32:05 +0000 (06:32 +0000)]
(display_menu_bar, display_mode_line): Change the way we
apply `mode-line-inverse-video' -- zero means force display using
the default face, non-zero means display using the specialized face.
(syms_of_xdisp): `mode-line-inverse-video' defaults to true again.
Stefan Monnier [Thu, 23 Nov 2000 17:56:10 +0000 (17:56 +0000)]
(ada-template-map): Initialize and bind it to C-c t in ada-mode-map.
(ada-stmt-mode-hook): New function extracted from old code.
Only change the buffer-local side of skeleton-*.
(ada-mode-hook): Use it.
Eli Zaretskii [Thu, 23 Nov 2000 16:23:42 +0000 (16:23 +0000)]
(iswitchb-minibuf-depth): New variable.
(iswitchb-read-buffer): Record in iswitchb-minibuf-depth the value
we expect to be returned by minibuffer-depth once we prompt the
user in the minibuffer.
(iswitchb-entryfn-p): If minibuffer-depth returns the same value
as recorded in iswitchb-minibuf-depth, return non-nil.
Stefan Monnier [Thu, 23 Nov 2000 00:04:36 +0000 (00:04 +0000)]
(outline-flag-region):
Don't bind inhibit-read-only since we don't modify the buffer.
(outline-isearch-open-invisible): Don't jump to overlay-start
since we're trying to unhide text around point.
(outline-discard-overlays): Use dolist.
Stefan Monnier [Wed, 22 Nov 2000 21:38:04 +0000 (21:38 +0000)]
(tex-font-lock-keywords-1): Fix ARG regexp to skip quoted braces.
(tex-font-lock-keywords-2): Fix ARG regexp to skip quoted braces.
Remove `bf' and `it' from `bold' and `italic' (they were wrong and
are (correctly) handled separately).
Remove `caption' and `footnote' from `citations': they contain text.
Don't highlight `textmd', `texttt' and `textrm' with bold-italic.
(latex-skeleton-end-hook): New function.
(latex-mode): Use it.
(tex-start-tex-marker): Remove.
(tex-send-tex-command): Don't set tex-start-tex-marker.
(tex-error-parse-syntax-table): New var.
(tex-compilation-parse-errors): Use it.
Ignore tex-start-tex-marker. Don't bother with marker-position.
(tex-validate-buffer): Don't bother with marker-position.
Sam Steingold [Wed, 22 Nov 2000 20:59:39 +0000 (20:59 +0000)]
* simple.el (delete-trailing-whitespace): New interactive function.
* progmodes/ada-mode.el (ada-mode): Use it instead of
`ada-remove-trailing-spaces'
(ada-remove-trailing-spaces): Removed.
* textmodes/two-column.el (2C-merge): Recommend it in the doc.
* textmodes/picture.el (picture-mode-exit): Call it instead of
`picture-clean'.
(picture-clean): Removed.
Stefan Monnier [Wed, 22 Nov 2000 19:47:30 +0000 (19:47 +0000)]
(comment-line-break-function): Use the new name
indent-new-comment-line -> comment-indent-new-line.
(clone-indirect-buffer): Don't ignore NORECORD.
(next-completion): Properly handle the case where items are adjacent.
Gerd Moellmann [Wed, 22 Nov 2000 19:44:43 +0000 (19:44 +0000)]
(hi-lock-refontify): Don't call non-existent
jit-lock-fontify-buffer; it should anyway be unneccessary to
dp anything special when jit-lock is active.
(hi-yellow, hi-pink, hi-green, hi-blue): Fix defface specs.