(Info-select-node): Turn header line on or off here.
(Info-setup-header-line): Function deleted.
(Info-mode): Make Info-header-line local.
(Info-fontify-node): Ignore Info-use-header-line.
Unconditionally compute what the header line should be, and
store it on the `header-line' property of the node's first char.
Bind [header-line down-mouse-1].
Use `keymap' property, not `local-map'.
Bind [mouse-2] for mouse clicks on the node line in the text.
Colin Walters [Wed, 12 Jun 2002 04:54:30 +0000 (04:54 +0000)]
font-core.el (font-lock-core-only): Variable deleted. All uses removed.
(font-lock-set-defaults): Variable alist settings moved back into
font-lock-set-defaults-1.
(turn-on-font-lock-if-enabled): Always turn on font-lock unless it
is specifically excluded by the user.
Stefan Monnier [Tue, 11 Jun 2002 19:51:53 +0000 (19:51 +0000)]
(read_key_sequence):
Remove prev_(fkey|keytran}_(map|start|end) since we don't want to pass
things through those maps after downcasing events.
Enforce that keytran_end <= fkey_start, i.e. that key-translation-map
applies after function-key-map.
Make sure that keytran can be done in the middle in the sequence.
Be careful not to throw away events past the one we downcase.
Miles Bader [Mon, 10 Jun 2002 08:14:59 +0000 (08:14 +0000)]
Make comint use text properties for highlighting instead of overlays:
(comint-last-output-overlay): Variable removed.
(comint-send-input, comint-output-filter): Use text properties instead
of overlays.
(comint-insert-clicked-input): Rewrite to work with text properties as
well as overlays.
(comint-snapshot-last-prompt): Snapshot using text properties.
(comint-get-old-input-default, comint-extract-string): Don't copy text
properties.
Miles Bader [Mon, 10 Jun 2002 06:20:33 +0000 (06:20 +0000)]
(comint-send-input, comint-output-filter): Use the `font-lock-face'
property instead of `face'. Don't check the highlight-enabling
variables anymore.
(comint-highlight-input, comint-highlight-prompt): Variables removed.
Miles Bader [Mon, 10 Jun 2002 02:15:24 +0000 (02:15 +0000)]
(display-supports-face-attributes-p): Work correctly if DISPLAY is a frame.
(face-spec-set-match-display): Support `supports' predicate.
(italic): Try underlining for displays that don't support real italics.
Miles Bader [Sun, 9 Jun 2002 13:02:16 +0000 (13:02 +0000)]
(Ftty_supports_face_attributes_p): New function.
(parse_rgb_list, tty_lookup_color): New functions.
(tty_defined_color): Use `tty_lookup_color' to do all the work.
(color_distance, Fcolor_distance): New functions.
(TTY_SAME_COLOR_THRESHOLD): New macro.
(Qtty_color_standard_values): New variable.
(syms_of_xfaces): Initialize new vars & functions.
Miles Bader [Sun, 9 Jun 2002 12:53:53 +0000 (12:53 +0000)]
(color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
consistency with the rest of emacs.
(tty-color-canonicalize): Only copy COLOR if we need to change it.
(tty-color-approximate): Scale values from `color-name-rgb-alist'
appropriately. Return the whole color description, rather than just the
RGB values.
(tty-color-standard-values): New function. Code mostly taken from
`tty-color-translate'.
(tty-color-translate, tty-color-values): Use `tty-color-desc' to do all
the work.
(tty-color-desc): Do color lookup here instead of calling
`tty-color-translate' and `tty-color-by-index'; this is now the main
place to do it.
Colin Walters [Sun, 9 Jun 2002 00:16:29 +0000 (00:16 +0000)]
(ibuffer-mode): Do set `font-lock-defaults', and be sure to set
`font-lock-core-only'.
(ibuffer-compile-format): Don't pass third argument to column functions.
(filename-and-process): Ditto.
Colin Walters [Sat, 8 Jun 2002 20:58:59 +0000 (20:58 +0000)]
(sgml-html-meta-auto-coding-function): New function.
(auto-coding-from-file-contents): Delete; merge functionality into
`set-auto-coding'.
(set-auto-coding): Move tests from `auto-coding-functions' so that
they have a lower priority than coding: tags. Put
`auto-coding-regexp-alist' tests before coding: tag tests.
(sgml-xml-auto-coding-function): Simply `intern' the match, and
test if it's a valid coding system.
(auto-coding-functions): Add `sgml-html-meta-auto-coding-function'.
Colin Walters [Sat, 8 Jun 2002 20:44:42 +0000 (20:44 +0000)]
(occur-mode): Don't set up categories.
(occur-1): Pass `list-matching-lines-face' and
`list-matching-lines-buffer-name-face'.
(occur-engine): Use `font-lock-face' instead of categories.
Colin Walters [Sat, 8 Jun 2002 20:42:26 +0000 (20:42 +0000)]
(ibuffer-category-alist): Delete.
(ibuffer-get-category): Delete.
(ibuffer-compile-make-eliding-form): Use `font-lock-face' instead
of categories.
(ibuffer-compile-format): Don't treat `name' category specially.
(ibuffer-column name): Use `font-lock-face'.
(filename-and-process): Ditto.
(ibuffer-buffer-name-category): Renamed to
`ibuffer-buffer-name-face'. Don't use categories.
(ibuffer-update-title-and-summary): Use `font-lock-face'.
(ibuffer-insert-filter-group): Ditto.
(ibuffer-mode): Don't set up categories.
Colin Walters [Sat, 8 Jun 2002 20:39:29 +0000 (20:39 +0000)]
(font-lock-category-alist): Delete.
(turn-on-font-lock-if-enabled): Don't use it.
(font-lock-symbol-category-alist): Delete.
(font-lock-default-function): Use new `char-property-alias-alist' to
make `font-lock-face' an alias for `face' when font-lock mode is
enabled.