1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-04 11:40:22 +00:00
Commit Graph

283 Commits

Author SHA1 Message Date
Juri Linkov
a4deefedf3 (font-lock-faces): Rename this defgroup from
`font-lock-highlighting-faces'.
(font-lock-comment-face, font-lock-comment-delimiter-face)
(font-lock-string-face, font-lock-doc-face)
(font-lock-keyword-face, font-lock-builtin-face)
(font-lock-function-name-face, font-lock-variable-name-face)
(font-lock-type-face, font-lock-constant-face)
(font-lock-warning-face, font-lock-negation-char-face)
(font-lock-preprocessor-face)
(font-lock-regexp-grouping-backslash)
(font-lock-regexp-grouping-construct): Rename :group from
`font-lock-highlighting-faces' to `font-lock-faces'.
2005-11-17 07:16:45 +00:00
Dan Nicolaescu
d60b49ac4e * font-lock.el: Don't deal with font-lock-face-attributes here,
move the code ...

* startup.el (command-line): ... here. Use face-spec-set instead
of custom-declare-face.

* faces.el (face-spec-set): Reset the face if spec is not nil.
2005-11-05 07:29:45 +00:00
Dan Nicolaescu
11ec76b7ea (font-lock-warning-face): Use the more vivid red1,
not red.
2005-11-03 22:29:43 +00:00
Dan Nicolaescu
c94f08ff7a * loadup.el: Load emacs-lisp/syntax, font-lock and jit-lock so
that global-font-lock-mode can be enabled by default.

* font-lock.el (font-lock-keywords, font-lock-mode-internal)
(font-lock-add-keywords, font-lock-remove-keywords)
(font-lock-fontify-buffer): Remove autoload cookies.

* jit-lock.el (jit-lock-register): Likewise.

* emacs-lisp/syntax.el (syntax-ppss): Likewise.

* puresize.h (BASE_PURESIZE): Increment to 1170000.
2005-10-31 16:41:15 +00:00
Andreas Schwab
9f40e1d51e (lisp-font-lock-keywords-2): Add eval-at-startup
and eval-next-after-load.
2005-10-23 09:45:44 +00:00
Stefan Monnier
5ae158bf21 (font-lock-default-fontify-region): Check the multiline
property independently from the font-lock-multiline variable.
2005-10-21 17:41:54 +00:00
Stefan Monnier
d55c4199f7 (font-lock-compile-keywords): Add a help-echo to the
warning face on open-paren-in-column-0.
2005-10-21 06:29:52 +00:00
Richard M. Stallman
9bab4985d9 (font-lock-syntactic-keywords, font-lock-keywords): Doc fixes. 2005-10-10 03:25:34 +00:00
Stefan Monnier
5d4247d31a (font-lock-default-fontify-region): Don't unconditionally add a line, since
the after-change-function already did it.
2005-09-19 12:08:07 +00:00
Richard M. Stallman
595f66af31 (font-lock-keywords): Add autoload. 2005-09-12 15:37:44 +00:00
Richard M. Stallman
59442c8050 (font-lock-support-mode): Doc fix. 2005-09-09 01:15:25 +00:00
Stefan Monnier
a9efeb1df8 (fast-lock, lazy-lock) <defgroup>: Remove.
(font-lock-lines-before): Change default to being inactive.
(font-lock-after-change-function): Don't handle font-lock-lines-before here.
(font-lock-default-fontify-region): Handle it here.
2005-09-01 14:04:03 +00:00
Thien-Thi Nguyen
0d30b33766 Update years in copyright notice; nfc. 2005-08-06 22:13:43 +00:00
Juri Linkov
d8d5c28c13 (font-lock-regexp-grouping-backslash): Don't
inherit from escape-glyph (use bold for all cases).
2005-07-19 11:31:31 +00:00
Stefan Monnier
8a08764f7a (font-lock-fontify-keywords-region): Avoid inf-loops
when the matched text is empty.
2005-07-13 04:39:14 +00:00
Lute Kamstra
086add1519 Update FSF's address. 2005-07-04 23:32:44 +00:00
Eli Zaretskii
112abe2467 (font-lock-regexp-grouping-construct): Fix the bogus name from
the last change.
2005-07-03 05:00:31 +00:00
Eli Zaretskii
9ad5e4d4ee (font-lock-regexp-grouping-backslash): Rename from
font-lock-regexp-backslash.  Doc fix.
(font-lock-regexp-backslash-grouping-construct): Rename from
font-lock-regexp-backslash-construct.  Doc fix.
(lisp-font-lock-keywords-2): Fix highlighting of ELisp regexp
grouping constructs.
2005-07-02 09:40:42 +00:00
Stefan Monnier
56d8206be3 (save-buffer-state): Use `declare'. 2005-06-29 08:19:17 +00:00
Juanma Barranquero
97f38995a5 (font-lock-keywords): Fix spelling in docstrings. 2005-06-16 16:09:42 +00:00
Luc Teirlinck
dd314c0fc3 (font-lock-add-keywords): Doc fix. 2005-06-06 21:32:57 +00:00
Juri Linkov
c711faac0a (font-lock-regexp-backslash)
(font-lock-regexp-backslash-construct): New faces.
(lisp-font-lock-keywords-2): Use new faces.  Match `?:' only
after `('.  Add `while-no-input' to control structures.
2005-06-06 12:02:35 +00:00
Luc Teirlinck
1224500961 (font-lock-set-defaults): Fix omission in last change. 2005-06-05 03:37:59 +00:00
Luc Teirlinck
bed8843851 (font-lock-add-keywords): Doc fix. Comment change.
(font-lock-remove-keywords): Doc fix.
(font-lock-mode-major-mode): Compiler defvar.
(font-lock-set-defaults): Use `font-lock-mode-major-mode '.
2005-06-04 22:23:44 +00:00
Richard M. Stallman
a159470388 (font-lock-fontify-syntactically-region):
Pass t for GREEDY to looking-back.
2005-05-29 08:39:40 +00:00
Lute Kamstra
822b23b008 (font-lock-beginning-of-syntax-function): Fix docstring. 2005-05-22 23:48:12 +00:00
Stefan Monnier
9605a00f9c (lisp-font-lock-keywords-2): Don't error. Minor regexp-optimization. 2005-05-20 13:25:58 +00:00
Daniel Pfeiffer
ae0c69273e (lisp-font-lock-keywords-2): Do \\) only in strings, because (eq ... ?\\) is fairly frequent. 2005-05-19 02:15:09 +00:00
Daniel Pfeiffer
71994ae7da (lisp-font-lock-keywords-1): Set `font-lock-negation-char-face' for [^...] char group.
(lisp-font-lock-keywords-2): Highlight regexp's \\( \\| \\).
2005-05-16 20:36:45 +00:00
Richard M. Stallman
7435a76be7 (font-lock-comment-start-skip): New variable.
(font-lock-comment-end-skip): New variable.
(font-lock-fontify-syntactically-region): Use them if non-nil.
2005-05-15 14:28:55 +00:00
Stefan Monnier
3989c3e714 (font-lock-comment-delimiter-face): Fix up the inheritance. 2005-05-13 03:34:50 +00:00
Stefan Monnier
3187cffc0d (font-lock-comment-delimiter-face): Fix last change. 2005-05-12 21:23:04 +00:00
Stefan Monnier
bf2cea1da0 (font-lock-comment-delimiter-face): Inherit from
font-lock-comment-face rather than copying its setting.
2005-05-12 20:04:32 +00:00
Kim F. Storm
39eae0731c (font-lock-negation-char-face): Default to "off". 2005-05-12 08:57:17 +00:00
Stefan Monnier
90cbc9cda0 (font-lock-fontify-syntactically-region): Don't use comment-end if
comment-start-skip is not set.
Obey the font-lock-comment-delimiter-face variables.
2005-05-11 18:52:17 +00:00
Richard M. Stallman
a447965796 (font-lock-fontify-syntactically-region):
Use font-lock-comment-delimiter-face for comment delimiters.
2005-05-11 16:27:25 +00:00
Stefan Monnier
b71813cb9a (font-lock-fontify-keywords-region): Use a marker
when trying to ensure forward progress.
2005-05-11 15:55:16 +00:00
Lute Kamstra
0003d2e319 (font-lock-keywords-alist, font-lock-removed-keywords-alist): Clarify docstrings. 2005-05-10 09:02:40 +00:00
Daniel Pfeiffer
5d27cf9f35 (font-lock-negation-char-face): New face and variable. 2005-05-05 19:01:39 +00:00
Lute Kamstra
95965740cf (font-lock-add-keywords, font-lock-remove-keywords): Clarify docstring.
(font-lock-keywords-alist, font-lock-removed-keywords-alist):
Don't start docstrings with a `*'.
(font-lock-update-removed-keyword-alist): Give it a docstring.
2005-04-28 11:48:53 +00:00
Stefan Monnier
8a2a65356d (font-lock-default-fontify-region): Don't force
parse-sexp-lookup-properties to nil.
2005-04-27 19:43:50 +00:00
Lute Kamstra
0edd2744ad (font-lock-fontify-region-function): Fix docstring.
(font-lock-comment-delimiter-face): Ditto.
2005-04-26 14:14:42 +00:00
Lute Kamstra
8ba81e936d (font-lock-syntactic-face-function): Fix docstring. 2005-04-25 11:12:33 +00:00
Richard M. Stallman
4403a96955 (font-lock-comment-delimiter-face): Doc fix. 2005-04-24 21:31:37 +00:00
Richard M. Stallman
9177dd93a4 (font-lock-comment-face): On terminals with few colors,
use the default appearance.
(font-lock-comment-delimiter-face): New face, new variable.
2005-04-23 16:45:21 +00:00
Dan Nicolaescu
ea81d57ec5 * mh-customize.el (mh-speedbar-selected-folder-face): Special case
high number of colors displays.

* textmodes/table.el (table-cell-face): Add special case for
displays supporting a high number of colors.
* progmodes/vhdl-mode.el (vhdl-font-lock-prompt-face)
(vhdl-font-lock-reserved-words-face)
(vhdl-speedbar-architecture-face)
(vhdl-speedbar-instantiation-face)
(vhdl-speedbar-architecture-selected-face)
(vhdl-speedbar-instantiation-selected-face): Likewise.
* progmodes/sh-script.el (sh-heredoc-face): Likewise.
* progmodes/idlw-help.el (idlwave-help-link-face): Likewise.
* progmodes/ebrowse.el (ebrowse-tree-mark-face)
(ebrowse-root-class-face, ebrowse-member-attribute-face)
(ebrowse-progress-face): Likewise.
* progmodes/compile.el (compilation-info-face): Likewise.
* progmodes/cc-fonts.el (c-invalid-face): Likewise.
* emacs-lisp/re-builder.el (reb-match-3): Likewise.
* calendar/calendar.el (diary-face): Likewise.
* woman.el (woman-italic-face, woman-bold-face)
(woman-unknown-face): Likewise.
* wid-edit.el (widget-button-pressed-face): Likewise.
* whitespace.el (whitespace-highlight-face): Likewise.
* smerge-mode.el (smerge-mine-face, smerge-base-face): Likewise.
* pcvs-info.el (cvs-marked-face): Likewise.
* info.el (info-xref): Likewise.
* ido.el (ido-subdir-face, ido-indicator-face): Likewise.
* hilit-chg.el (highlight-changes-face)
(highlight-changes-delete-face): Likewise.
* hi-lock.el (hi-yellow, hi-green, hi-blue-b, hi-green-b)
(hi-red-b): Likewise.
* generic-x.el (show-tabs-tab-face, show-tabs-space-face): Likewise.
* font-lock.el (font-lock-keyword-face)
(font-lock-function-name-face, font-lock-warning-face): Likewise.
* cus-edit.el (custom-invalid-face, custom-modified-face)
(custom-set-face, custom-changed-face, custom-variable-tag-face)
(custom-group-tag-face-1, custom-group-tag-face): Likewise.
* comint.el (comint-highlight-prompt): Likewise.
2005-04-08 14:26:13 +00:00
Lute Kamstra
67b4790bd3 (font-lock-keywords): Docstring fixes. 2005-04-08 12:51:07 +00:00
Luc Teirlinck
2d526287db Bind `font-lock-fontify-block' to M-o M-o. 2005-03-28 16:49:20 +00:00
Lute Kamstra
f665853a1a (lisp-font-lock-keywords-1): Font lock a call to define-generic-mode
like a function declaration.
2005-03-21 17:12:01 +00:00
Richard M. Stallman
f9d0b1eda1 (font-lock-lines-before): New user option.
(font-lock-after-change-function): Obey it.
2005-03-17 23:44:19 +00:00