1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-25 07:28:20 +00:00
Commit Graph

35 Commits

Author SHA1 Message Date
Lute Kamstra
d4fb185de9 Fix callers of define-generic-mode.
(generic-x-modes): Delete group.
(show-tabs-tab-face, show-tabs-space-face): Put them in the generic-x
customization group.
2005-05-12 13:19:29 +00:00
Lute Kamstra
1fffafda43 Update commentary section.
Only require font-lock when compiling.
Define all modes conditionally.
Place all generic modes in the generic-x-modes customization group.
(generic-x-modes): New customization group.
(generic-default-modes, generic-mswindows-modes)
(generic-unix-modes, generic-other-modes): New constants.
(generic-define-mswindows-modes, generic-define-unix-modes):
Update docstrings.  Make them obsolete.
(generic-extras-enable-list): New default value.  Update
docstring.  Improve :type.  Change :set function.
(bat-generic-mode-syntax-table, rul-generic-mode-syntax-table):
Fix docstring.
2005-04-28 09:17:06 +00:00
Lute Kamstra
a2d66c78bb (generic-mode-ini-file-find-file-hook):
Rename to ini-generic-mode-find-file-hook.
Keep generic-mode-ini-file-find-file-hook as an alias.
(ini-generic-mode-find-file-hook): Rename from
generic-mode-ini-file-find-file-hook.  Fix docstring.
(ini-generic-mode): Docstring change.
(bat-generic-mode-run-as-comint): Silence the byte compiler.
2005-04-13 09:24:57 +00:00
Lute Kamstra
60c19d5ef8 (rc-generic-mode, rul-generic-mode): Fix auto-mode-alist entries.
(etc-fstab-generic-mode): Tweak fontification.
2005-04-11 23:34:04 +00:00
Lute Kamstra
9285b8bc55 (generic-x): Docstring fix. Put it in the data group.
(generic-use-find-file-hook, generic-lines-to-scan)
(generic-find-file-regexp, generic-ignore-files-regexp)
(default-generic-mode, generic-mode-find-file-hook)
(generic-mode-ini-file-find-file-hook): Move from generic.el.
2005-04-11 08:10:23 +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
91d2928047 (show-tabs-tab-face, show-tabs-space-face): Put them in the generic-x group. 2005-04-05 18:33:50 +00:00
Lute Kamstra
0c0a9c995c Specify :group for all generic modes. 2005-04-03 20:52:46 +00:00
Lute Kamstra
16a013c23c Rename generic-font-lock-defaults to generic-font-lock-keywords
throughout.
(mailagent-rules-setup-function): Delete it.
(mailagent-rules-generic-mode): Use anonymous function instead.
(show-tabs-generic-mode-font-lock-defaults-1)
(show-tabs-generic-mode-font-lock-defaults-2): Make them constants.
Quote faces.
(show-tabs-tab-face, show-tabs-space-face): Specify background,
not foreground.
2005-03-24 09:15:21 +00:00
Lute Kamstra
82e38f3e4c Code cleanup: make arguments constant whenever possible.
(installshield-statement-keyword-list)
(installshield-system-functions-list)
(installshield-system-variables-list, installshield-types-list)
(installshield-funarg-constants-list): Make them constants.
2005-03-23 10:48:20 +00:00
Andreas Schwab
9660f8683f Revert last change. 2005-03-22 16:43:10 +00:00
Lute Kamstra
e6c901b674 Require generic again. 2005-03-22 08:30:24 +00:00
Lute Kamstra
d86771563f Don't prevent compilation. Don't require generic.
Follow coding conventions.  Minor code cleanup.
(etc-fstab-generic-mode): Add some keywords.
2005-03-21 17:10:57 +00:00
Eli Zaretskii
fbb48945d4 (etc-modules-conf-generic-mode): A more complete set of keywords. 2003-12-29 11:22:19 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Martin Stjernholm
0dd3ea4da4 Did away with the dependency on `c-emacs-features' when populating
`rul-generic-mode-syntax-table'; we already know this isn't XEmacs.
2003-07-04 10:47:06 +00:00
Peter Breton
9845e6697b Use fixes to rul-generic-mode, contributed by "Rolf Sandau" <Rolf.Sandau@marconi.com>
Add etc-modules-conf-generic-mode
2003-03-22 13:00:38 +00:00
Steven Tamm
3ce073568e javascript-generic-mode: Added C style block comment as used in ECMA-262 2002-12-10 16:57:48 +00:00
Juanma Barranquero
0a10297a06 Add "no-byte-compile: t" in first line. 2002-10-01 17:06:54 +00:00
Francesco Potortì
17f8ff6af5 * generic-x.el (apache-conf-generic-mode): Highlight the first
word in a line even if preceded by blanks.
2002-01-21 12:49:11 +00:00
Richard M. Stallman
1fd714a410 (various face definitions): Use :weight, not :bold. 2001-12-31 20:44:44 +00:00
Francesco Potortì
5d1c524737 (mailrc-generic-mode): Highlight the `source' keyword. 2001-11-23 09:36:24 +00:00
Peter Breton
4e953aff35 Removed eval-when-compile statements from rul-generic-mode 2000-10-08 12:24:23 +00:00
Peter Breton
b9dccd9ea5 (rul-generic-mode): Removed one eval-when-compile
which caused a max-specpdl-size exceeded error.
2000-10-04 04:55:12 +00:00
Peter Breton
7aeb9d6fd7 * generic-x.el (apache-conf-generic-mode):
Regexp now allows leading whitespace.
(rc-generic-mode): Added eval-when-compile
around generic-make-keywords-list.
Deleted duplicate regexp
(rul-generic-mode): Added eval-when-compile
around generic-make-keywords-list.
(etc-fstab-generic-mode): New generic mode.
2000-10-04 04:45:55 +00:00
Peter Breton
01fdb1dd73 (bat-generic-mode-keymap): Added thio variable
(bat-generic-mode-compile): Added this function
(bat-generic-mode-run-as-comint): Added this function
1999-10-16 04:11:07 +00:00
Peter Breton
ffe0c7efca Added new InstallShield keywords.
Change font-lock-reference-face to font-lock-constant-face throughout.

(resolve-conf-generic-mode): Added this mode.
(named-database-generic-mode): Added this mode.
(named-boot-generic-mode): Added this mode.
(apache-conf-generic-mode): Added Directories and Locations to imenu-generic-expression.
(generic-define-mswindows-modes): Added apache-conf-generic-mode and apache-log-generic-mode.
(generic-define-unix-modes): Added apache-conf-generic-mode and apache-log-generic-mode.
(apache-conf-generic-mode): This new mode replaces apache-generic-mode.
(apache-log-generic-mode): Added this generic-mode
1999-10-16 03:59:43 +00:00
Richard M. Stallman
774b98f30d (bat-generic-mode): "::"-style comments don't
need to begin with "-".  Fix the font-lock definitions of ON/OFF
after BREAK/VERIFY.  Remove built-in commands like CALL and ECHO
from the list of keywords.  Add DO to the list of keywords.
1999-09-09 21:03:07 +00:00
Richard M. Stallman
bb53e1ee9a (generic-define-unix-modes): Added new modes:
inetd-conf-generic-mode, etc-services-generic-mode,
etc-passwd-generic-mode.  These are all defined for Unix by default.
(apache-generic-mode): Use an imenu-generic-expression to list
Configuration keywords.
(samba-generic-mode): Use both ; and # as comment characters.
(samba-generic-mode): Font-lock expressions now highlight name value pairs.
(bat-generic-mode): Keywords are now case-insensitive through
font-lock-defaults setting.
(java-properties-generic-mode): Supports both ! and # as comment characters.
(java-properties-generic-mode): Added an imenu-generic-expression
(java-properties-generic-mode): Reworked to support the various
different ways to separate name and value (viz, '=', ':' and whitespace).
(show-tabs-generic-mode): Added this new generic-mode.
1999-09-08 07:32:49 +00:00
Dave Love
762f539bd4 Commentary clarification. 1999-01-10 18:21:58 +00:00
Eli Zaretskii
60bdd17f96 (bat-generic-mode): Fix regexps for keywords and
built-in commands.  Add more built-in commands and fix face names.
1998-10-06 12:19:11 +00:00
Dan Nicolaescu
10714c98bf *** empty log message *** 1998-05-17 02:09:05 +00:00
Richard M. Stallman
ef1c5063e5 (generic-x): Added defgroup declaration.
(generic-bat-mode-setup-function): Fixed comment-start variable.

(generic-define-mswindows-modes): Enable
hosts-generic-mode and apache-generic-mode.
(generic-define-unix-modes): Enable alias-generic-mode.
(java-properties-generic-mode): Changed regexp to allow property
and value to be separated by whitespace or an equal sign.
(alias-generic-mode): Check generic-extras-enable-list before
defining this mode.

(installshield-statement-keyword-list): New variable.
(installshield-system-functions-list): Likewise.
(installshield-system-variables-list): Likewise.
(installshield-types-list): Likewise.
(installshield-funarg-constants-list): Likewise.
(rul-generic-mode): Uses the variables listed above instead of
hard-coding the lists of keywords.
1998-05-05 19:26:50 +00:00
Richard M. Stallman
18e5a64ad6 (rul-generic-mode): Use font-lock-builtin-face,
not font-lock-em[hasized-face.
1998-04-03 04:40:40 +00:00
Richard M. Stallman
ca1e63a5a5 Initial revision 1998-03-17 23:49:33 +00:00