annotate lisp/generic-x.el @ 60831:74476de5b3b7

*** empty log message ***
author Kim F. Storm <storm@cua.dk>
date Tue, 22 Mar 2005 21:51:50 +0000
parents 8c9e495766cb
children c96f650fe125
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1 ;;; generic-x.el --- Extra Modes for generic-mode
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
3 ;; Copyright (C) 1997, 1998, 2003, 2005 Free Software Foundation, Inc.
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
4
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
5 ;; Author: Peter Breton <pbreton@cs.umb.edu>
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
6 ;; Created: Tue Oct 08 1996
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
7 ;; Keywords: generic, comment, font-lock
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
8
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
9 ;; This file is part of GNU Emacs.
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
10
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
11 ;; GNU Emacs is free software; you can redistribute it and/or modify
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
12 ;; it under the terms of the GNU General Public License as published by
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
13 ;; the Free Software Foundation; either version 2, or (at your option)
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
14 ;; any later version.
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
15
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
16 ;; GNU Emacs is distributed in the hope that it will be useful,
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
17 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
18 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
19 ;; GNU General Public License for more details.
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
20
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
21 ;; You should have received a copy of the GNU General Public License
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
22 ;; along with GNU Emacs; see the file COPYING. If not, write to the
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
23 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
24 ;; Boston, MA 02111-1307, USA.
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
25
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
26 ;;; Commentary:
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
27 ;;
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
28 ;; This file contains some pre-defined generic-modes.
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
29 ;;
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
30 ;; INSTALLATION:
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
31 ;;
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
32 ;; Add this line to your .emacs file:
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
33 ;;
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
34 ;; (require 'generic-x)
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
35 ;;
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
36 ;; You can decide which modes to load by setting the variable
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
37 ;; `generic-extras-enable-list'. Some platform-specific modes are
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
38 ;; affected by the variables `generic-define-mswindows-modes' and
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
39 ;; `generic-define-unix-modes' (which see).
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
40 ;;
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
41 ;; You can also send in new modes; if the file types a reasonably common,
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
42 ;; we would like to install them.
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
43 ;;
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
44 ;; PROBLEMS WHEN USED WITH FOLDING MODE:
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
45 ;;
24036
ba60301081e8 Commentary clarification.
Dave Love <fx@gnu.org>
parents: 23375
diff changeset
46 ;; [The following relates to the obsolete selective-display technique.
ba60301081e8 Commentary clarification.
Dave Love <fx@gnu.org>
parents: 23375
diff changeset
47 ;; Folding mode should use invisible text properties instead. -- Dave
ba60301081e8 Commentary clarification.
Dave Love <fx@gnu.org>
parents: 23375
diff changeset
48 ;; Love]
ba60301081e8 Commentary clarification.
Dave Love <fx@gnu.org>
parents: 23375
diff changeset
49 ;;
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
50 ;; From Anders Lindgren <andersl@csd.uu.se>
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
51 ;;
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
52 ;; Problem summary: Wayne Adams has found a problem when using folding
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
53 ;; mode in conjuction with font-lock for a mode defined in
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
54 ;; `generic-x.el'.
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
55 ;;
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
56 ;; The problem, as Wayne described it, was that error messages of the
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
57 ;; following form appeared when both font-lock and folding are used:
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
58 ;;
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
59 ;; > - various msgs including "Fontifying region...(error Stack
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
60 ;; > overflow in regexp matcher)" appear
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
61 ;;
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
62 ;; I have just tracked down the cause of the problem. The regexp:s in
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
63 ;; `generic-x.el' does not take into account the way that folding
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
64 ;; hides sections of the buffer. The technique is known as
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
65 ;; `selective-display' and has been available for a very long time (I
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
66 ;; started using it back in the good old' Emacs 18 days). Basically, a
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
67 ;; section is hidden by creating one very long line were the newline
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
68 ;; character (C-j) is replaced by a linefeed (C-m) character.
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
69 ;;
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
70 ;; Many other hiding packages, besides folding, use the same technique,
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
71 ;; the problem should occur when using them as well.
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
72 ;;
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
73 ;; The erroronous lines in `generic-extras' look like the following (this
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
74 ;; example is from the `ini' section):
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
75 ;;
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
76 ;; '(("^\\(\\[.*\\]\\)" 1 'font-lock-constant-face)
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
77 ;; ("^\\(.*\\)=" 1 'font-lock-variable-name-face)
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
78 ;;
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
79 ;; The intention of these lines is to highlight lines of the following
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
80 ;; form:
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
81 ;;
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
82 ;; [foo]
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
83 ;; bar = xxx
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
84 ;;
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
85 ;; However, since the `.' regexp symbol match the linefeed character the
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
86 ;; entire folded section is searched, resulting in a regexp stack
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
87 ;; overflow.
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
88 ;;
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
89 ;; Solution suggestion 2: Instead of using ".", use the sequence
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
90 ;; "[^\n\r]". This will make the rules behave just as before, but they
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
91 ;; will work together with selective-display.
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
92
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
93 ;;; Code:
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
94
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
95 (require 'font-lock)
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
96
21947
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
97 (defgroup generic-x nil
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
98 "Extra modes for generic mode."
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
99 :prefix "generic-"
22110
47ffa41d5ed5 *** empty log message ***
Dan Nicolaescu <done@ece.arizona.edu>
parents: 21947
diff changeset
100 :group 'generic
47ffa41d5ed5 *** empty log message ***
Dan Nicolaescu <done@ece.arizona.edu>
parents: 21947
diff changeset
101 :version "20.3")
21947
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
102
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
103 (defcustom generic-extras-enable-list nil
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
104 "*List of generic modes to enable by default.
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
105 Each entry in the list should be a symbol. The variables
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
106 `generic-define-mswindows-modes' and `generic-define-unix-modes'
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
107 also affect which generic modes are defined. Please note that if
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
108 you set this variable after generic-x is loaded, you must reload
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
109 generic-x to enable the specified modes."
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
110 :group 'generic-x
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
111 :type '(repeat sexp))
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
112
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
113 (defcustom generic-define-mswindows-modes
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
114 (memq system-type '(windows-nt ms-dos))
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
115 "*If non-nil, some MS-Windows specific generic modes will be defined."
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
116 :group 'generic-x
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
117 :type 'boolean)
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
118
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
119 (defcustom generic-define-unix-modes
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
120 (not (memq system-type '(windows-nt ms-dos)))
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
121 "*If non-nil, some Unix specific generic modes will be defined."
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
122 :group 'generic-x
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
123 :type 'boolean)
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
124
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
125 (and generic-define-mswindows-modes
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
126 (setq generic-extras-enable-list
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
127 (append (list 'bat-generic-mode
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
128 'ini-generic-mode
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
129 'inf-generic-mode
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
130 'rc-generic-mode
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
131 'reg-generic-mode
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
132 'rul-generic-mode
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
133 'hosts-generic-mode
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
134 'apache-conf-generic-mode
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
135 'apache-log-generic-mode)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
136 generic-extras-enable-list)))
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
137
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
138 (and generic-define-unix-modes
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
139 (setq generic-extras-enable-list
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
140 (append (list 'apache-conf-generic-mode
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
141 'apache-log-generic-mode
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
142 'samba-generic-mode
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
143 'hosts-generic-mode
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
144 'fvwm-generic-mode
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
145 'x-resource-generic-mode
21947
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
146 'alias-generic-mode
25603
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
147 'inetd-conf-generic-mode
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
148 'etc-services-generic-mode
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
149 'etc-passwd-generic-mode
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
150 'etc-fstab-generic-mode)
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
151 generic-extras-enable-list)))
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
152
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
153 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
154 ;; Generic-modes
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
155 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
156
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
157 ;;; Apache
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
158 (when (memq 'apache-conf-generic-mode generic-extras-enable-list)
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
159
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
160 (define-generic-mode apache-conf-generic-mode
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
161 (list ?#)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
162 nil
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
163 '(("^\\s-*\\(<.*>\\)" 1 'font-lock-constant-face)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
164 ("^\\s-*\\(\\sw+\\)\\s-" 1 'font-lock-variable-name-face))
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
165 (list "srm\\.conf\\'" "httpd\\.conf\\'" "access\\.conf\\'")
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
166 (list
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
167 (function
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
168 (lambda ()
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
169 (setq imenu-generic-expression
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
170 '((nil "^\\([-A-Za-z0-9_]+\\)" 1)
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
171 ("*Directories*" "^\\s-*<Directory\\s-*\\([^>]+\\)>" 1)
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
172 ("*Locations*" "^\\s-*<Location\\s-*\\([^>]+\\)>" 1))))))
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
173 "Generic mode for Apache or HTTPD configuration files."))
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
174
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
175 (when (memq 'apache-log-generic-mode generic-extras-enable-list)
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
176
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
177 (define-generic-mode apache-log-generic-mode
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
178 nil
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
179 nil
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
180 ;; Hostname ? user date request return-code number-of-bytes
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
181 '(("^\\([-a-zA-z0-9.]+\\) - [-A-Za-z]+ \\(\\[.*\\]\\)"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
182 (1 font-lock-constant-face)
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
183 (2 font-lock-variable-name-face)))
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
184 (list "access_log\\'")
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
185 nil
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
186 "Mode for Apache log files"))
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
187
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
188 ;;; Samba
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
189 (when (memq 'samba-generic-mode generic-extras-enable-list)
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
190
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
191 (define-generic-mode samba-generic-mode
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
192 (list ?\; ?#)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
193 nil
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
194 '(("^\\(\\[.*\\]\\)" 1 'font-lock-constant-face)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
195 ("^\\s-*\\(.+\\)=\\([^\r\n]*\\)"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
196 (1 'font-lock-variable-name-face)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
197 (2 'font-lock-type-face)))
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
198 (list "smb\\.conf\\'")
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
199 (list 'generic-bracket-support)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
200 "Generic mode for Samba configuration files."))
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
201
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
202 ;;; Fvwm
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
203 ;; This is pretty basic. Also, modes for other window managers could
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
204 ;; be defined as well.
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
205 (when (memq 'fvwm-generic-mode generic-extras-enable-list)
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
206
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
207 (define-generic-mode fvwm-generic-mode
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
208 (list ?#)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
209 (list
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
210 "AddToMenu"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
211 "AddToFunc"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
212 "ButtonStyle"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
213 "EndFunction"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
214 "EndPopup"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
215 "Function"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
216 "IconPath"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
217 "Key"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
218 "ModulePath"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
219 "Mouse"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
220 "PixmapPath"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
221 "Popup"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
222 "Style")
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
223 nil
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
224 (list "\\.fvwmrc\\'" "\\.fvwm2rc\\'")
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
225 nil
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
226 "Generic mode for FVWM configuration files."))
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
227
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
228 ;;; X Resource
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
229 ;; I'm pretty sure I've seen an actual mode to do this, but I don't
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
230 ;; think it's standard with Emacs
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
231 (when (memq 'x-resource-generic-mode generic-extras-enable-list)
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
232
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
233 (define-generic-mode x-resource-generic-mode
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
234 (list ?!)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
235 nil
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
236 '(("^\\([^:\n]+:\\)" 1 'font-lock-variable-name-face))
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
237 (list "\\.Xdefaults\\'" "\\.Xresources\\'" "\\.Xenvironment\\'" "\\.ad\\'")
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
238 nil
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
239 "Generic mode for X Resource configuration files."))
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
240
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
241 ;;; Hosts
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
242 (when (memq 'hosts-generic-mode generic-extras-enable-list)
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
243
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
244 (define-generic-mode hosts-generic-mode
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
245 (list ?#)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
246 (list "localhost")
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
247 '(("\\([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+\\)" 1 'font-lock-constant-face))
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
248 (list "[hH][oO][sS][tT][sS]\\'")
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
249 nil
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
250 "Generic mode for HOSTS files."))
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
251
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
252 ;;; Windows INF files
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
253 (when (memq 'inf-generic-mode generic-extras-enable-list)
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
254
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
255 (define-generic-mode inf-generic-mode
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
256 (list ?\;)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
257 nil
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
258 '(("^\\(\\[.*\\]\\)" 1 'font-lock-constant-face))
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
259 (list "\\.[iI][nN][fF]\\'")
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
260 (list 'generic-bracket-support)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
261 "Generic mode for MS-Windows INF files."))
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
262
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
263 ;;; Windows INI files
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
264 ;; Should define escape character as well!
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
265 (when (memq 'ini-generic-mode generic-extras-enable-list)
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
266
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
267 (define-generic-mode ini-generic-mode
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
268 (list ?\;)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
269 nil
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
270 '(("^\\(\\[.*\\]\\)" 1 'font-lock-constant-face)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
271 ("^\\([^=\n\r]*\\)=\\([^\n\r]*\\)$"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
272 (1 font-lock-function-name-face)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
273 (2 font-lock-variable-name-face)))
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
274 (list "\\.[iI][nN][iI]\\'")
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
275 (list
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
276 (function
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
277 (lambda ()
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
278 (setq imenu-generic-expression
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
279 '((nil "^\\[\\(.*\\)\\]" 1)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
280 ("*Variables*" "^\\s-*\\([^=]+\\)\\s-*=" 1))))))
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
281 "Generic mode for MS-Windows INI files."))
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
282
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
283 ;;; Windows REG files
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
284 ;;; Unfortunately, Windows 95 and Windows NT have different REG file syntax!
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
285 (when (memq 'reg-generic-mode generic-extras-enable-list)
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
286
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
287 (define-generic-mode reg-generic-mode
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
288 '(?\;)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
289 '("key" "classes_root" "REGEDIT" "REGEDIT4")
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
290 '(("\\(\\[.*]\\)" 1 'font-lock-constant-face)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
291 ("^\\([^\n\r]*\\)\\s-*=" 1 'font-lock-variable-name-face))
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
292 '("\\.[rR][eE][gG]\\'")
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
293 (list
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
294 (function
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
295 (lambda ()
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
296 (setq imenu-generic-expression
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
297 '((nil "^\\s-*\\(.*\\)\\s-*=" 1))))))
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
298 "Generic mode for MS-Windows Registry files."))
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
299
23375
2656333fd35e (bat-generic-mode): Fix regexps for keywords and
Eli Zaretskii <eliz@gnu.org>
parents: 22110
diff changeset
300 ;;; DOS/Windows BAT files
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
301 (when (memq 'bat-generic-mode generic-extras-enable-list)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
302
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
303 (define-generic-mode bat-generic-mode
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
304 nil
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
305 nil
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
306 (list
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
307 ;; Make this one first in the list, otherwise comments will
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
308 ;; be over-written by other variables
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
309 (list "^[@ \t]*\\([rR][eE][mM][^\n\r]*\\)" 1 'font-lock-comment-face t)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
310 (list "^[ \t]*\\(::.*\\)" 1 'font-lock-comment-face t)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
311 (list
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
312 "^[@ \t]*\\([bB][rR][eE][aA][kK]\\|[vV][eE][rR][iI][fF][yY]\\)[ \t]+\\([oO]\\([nN]\\|[fF][fF]\\)\\)"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
313 '(1 font-lock-builtin-face)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
314 '(2 font-lock-constant-face t t))
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
315 ;; Any text (except ON/OFF) following ECHO is a string.
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
316 (list
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
317 "^[@ \t]*\\([eE][cC][hH][oO]\\)[ \t]+\\(\\([oO]\\([nN]\\|[fF][fF]\\)\\)\\|\\([^>|\r\n]+\\)\\)"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
318 '(1 font-lock-builtin-face)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
319 '(3 font-lock-constant-face t t)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
320 '(5 font-lock-string-face t t))
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
321 ;; These keywords appear as the first word on a line. (Actually, they
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
322 ;; can also appear after "if ..." or "for ..." clause, but since they
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
323 ;; are frequently used in simple text, we punt.)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
324 ;; In `generic-bat-mode-setup-function' we make the keywords
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
325 ;; case-insensitive
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
326 (generic-make-keywords-list
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
327 (list
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
328 "for"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
329 "if")
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
330 'font-lock-keyword-face "^[@ \t]*")
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
331 ;; These keywords can be anywhere on a line
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
332 ;; In `generic-bat-mode-setup-function' we make the keywords
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
333 ;; case-insensitive
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
334 (generic-make-keywords-list
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
335 (list
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
336 "do"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
337 "exist"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
338 "errorlevel"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
339 "goto"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
340 "not")
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
341 'font-lock-keyword-face)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
342 ;; These are built-in commands. Only frequently-used ones are listed.
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
343 (generic-make-keywords-list
23375
2656333fd35e (bat-generic-mode): Fix regexps for keywords and
Eli Zaretskii <eliz@gnu.org>
parents: 22110
diff changeset
344 (list
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
345 "CALL" "call" "Call"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
346 "CD" "cd" "Cd"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
347 "CLS" "cls" "Cls"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
348 "COPY" "copy" "Copy"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
349 "DEL" "del" "Del"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
350 "ECHO" "echo" "Echo"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
351 "MD" "md" "Md"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
352 "PATH" "path" "Path"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
353 "PAUSE" "pause" "Pause"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
354 "PROMPT" "prompt" "Prompt"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
355 "RD" "rd" "Rd"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
356 "REN" "ren" "Ren"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
357 "SET" "set" "Set"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
358 "START" "start" "Start"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
359 "SHIFT" "shift" "Shift")
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
360 'font-lock-builtin-face "[ \t|\n]")
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
361 (list "^[ \t]*\\(:\\sw+\\)" 1 'font-lock-function-name-face t)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
362 (list "\\(%\\sw+%\\)" 1 'font-lock-variable-name-face t)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
363 (list "\\(%[0-9]\\)" 1 'font-lock-variable-name-face t)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
364 (list "\\(/[^/ \"\t\n]+\\)" 1 'font-lock-type-face)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
365 (list "[\t ]+\\([+-][^\t\n\" ]+\\)" 1 'font-lock-type-face)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
366 (list "[ \t\n|]\\<\\([gG][oO][tT][oO]\\)\\>[ \t]*\\(\\sw+\\)?"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
367 '(1 font-lock-keyword-face)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
368 '(2 font-lock-function-name-face nil t))
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
369 (list "[ \t\n|]\\<\\([sS][eE][tT]\\)\\>[ \t]*\\(\\sw+\\)?[ \t]*=?"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
370 '(1 font-lock-builtin-face)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
371 '(2 font-lock-variable-name-face t t)))
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
372 (list
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
373 "\\.[bB][aA][tT]\\'"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
374 "\\`[cC][oO][nN][fF][iI][gG]\\."
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
375 "\\`[aA][uU][tT][oO][eE][xX][eE][cC]\\." )
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
376 (list 'generic-bat-mode-setup-function)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
377 "Generic mode for MS-Windows BAT files.")
26045
03ebfe42764f (bat-generic-mode-keymap): Added thio variable
Peter Breton <pbreton@attbi.com>
parents: 26044
diff changeset
378
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
379 (defvar bat-generic-mode-syntax-table nil
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
380 "Syntax table in use in bat-generic-mode buffers.")
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
381
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
382 (defvar bat-generic-mode-keymap (make-sparse-keymap)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
383 "Keymap for bet-generic-mode.")
26045
03ebfe42764f (bat-generic-mode-keymap): Added thio variable
Peter Breton <pbreton@attbi.com>
parents: 26044
diff changeset
384
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
385 (defun bat-generic-mode-compile ()
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
386 "Run the current BAT file in a compilation buffer."
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
387 (interactive)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
388 (let ((compilation-buffer-name-function
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
389 (function
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
390 (lambda(ign)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
391 (concat "*" (buffer-file-name) "*")))))
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
392 (compile
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
393 (concat (w32-shell-name) " -c " (buffer-file-name)))))
26045
03ebfe42764f (bat-generic-mode-keymap): Added thio variable
Peter Breton <pbreton@attbi.com>
parents: 26044
diff changeset
394
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
395 (defun bat-generic-mode-run-as-comint ()
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
396 "Run the current BAT file in a comint buffer."
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
397 (interactive)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
398 (require 'comint)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
399 (let* ((file (buffer-file-name))
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
400 (buf-name (concat "*" file "*")))
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
401 (save-excursion
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
402 (set-buffer
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
403 (get-buffer-create buf-name))
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
404 (erase-buffer)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
405 (comint-mode)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
406 (comint-exec
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
407 buf-name
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
408 file
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
409 (w32-shell-name)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
410 nil
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
411 (list "-c" file))
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
412 (display-buffer buf-name))))
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
413
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
414 (define-key bat-generic-mode-keymap "\C-c\C-c" 'bat-generic-mode-compile)
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
415
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
416 ;; Make underscores count as words
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
417 (unless bat-generic-mode-syntax-table
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
418 (setq bat-generic-mode-syntax-table (make-syntax-table))
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
419 (modify-syntax-entry ?_ "w" bat-generic-mode-syntax-table))
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
420
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
421 ;; bat-generic-mode doesn't use the comment functionality of generic-mode
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
422 ;; because it has a three-letter comment-string, so we do it
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
423 ;; here manually instead
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
424 (defun generic-bat-mode-setup-function ()
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
425 (make-local-variable 'parse-sexp-ignore-comments)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
426 (make-local-variable 'comment-start)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
427 (make-local-variable 'comment-start-skip)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
428 (make-local-variable 'comment-end)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
429 (setq imenu-generic-expression '((nil "^:\\(\\sw+\\)" 1))
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
430 parse-sexp-ignore-comments t
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
431 comment-end ""
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
432 comment-start "REM "
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
433 comment-start-skip "[Rr][Ee][Mm] *")
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
434 (set-syntax-table bat-generic-mode-syntax-table)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
435 ;; Make keywords case-insensitive
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
436 (setq font-lock-defaults (list 'generic-font-lock-defaults nil t))
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
437 (use-local-map bat-generic-mode-keymap)))
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
438
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
439 ;;; Mailagent
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
440 ;; Mailagent is a Unix mail filtering program. Anyone wanna do a generic mode
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
441 ;; for procmail?
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
442 (when (memq 'mailagent-rules-generic-mode generic-extras-enable-list)
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
443
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
444 (define-generic-mode mailagent-rules-generic-mode
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
445 (list ?#)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
446 (list "SAVE" "DELETE" "PIPE" "ANNOTATE" "REJECT")
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
447 '(("^\\(\\sw+\\)\\s-*=" 1 'font-lock-variable-name-face)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
448 ("\\s-/\\([^/]+\\)/[i, \t\n]" 1 'font-lock-constant-face))
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
449 (list "\\.rules\\'")
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
450 (list 'mailagent-rules-setup-function)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
451 "Mode for Mailagent rules files.")
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
452
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
453 (defun mailagent-rules-setup-function ()
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
454 (make-local-variable 'imenu-generic-expression)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
455 (setq imenu-generic-expression
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
456 '((nil "\\s-/\\([^/]+\\)/[i, \t\n]" 1)))))
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
457
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
458 ;; Solaris/Sys V prototype files
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
459 (when (memq 'prototype-generic-mode generic-extras-enable-list)
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
460
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
461 (define-generic-mode prototype-generic-mode
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
462 (list ?#)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
463 nil
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
464 '(("^\\([0-9]\\)?\\s-*\\([a-z]\\)\\s-+\\([A-Za-z_]+\\)\\s-+\\([^\n\r]*\\)$"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
465 (2 font-lock-constant-face)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
466 (3 font-lock-keyword-face))
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
467 ("^\\([a-z]\\) \\([A-Za-z_]+\\)=\\([^\n\r]*\\)$"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
468 (1 font-lock-constant-face)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
469 (2 font-lock-keyword-face)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
470 (3 font-lock-variable-name-face))
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
471 ("^\\(!\\s-*\\(search\\|include\\|default\\)\\)\\s-*\\([^\n\r]*\\)$"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
472 (1 font-lock-keyword-face)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
473 (3 font-lock-variable-name-face))
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
474 ("^\\(!\\s-*\\sw+\\)=\\([^\n\r]*\\)$"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
475 (1 font-lock-keyword-face)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
476 (2 font-lock-variable-name-face)))
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
477 (list "prototype\\'")
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
478 nil
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
479 "Mode for Sys V prototype files."))
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
480
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
481 ;; Solaris/Sys V pkginfo files
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
482 (when (memq 'pkginfo-generic-mode generic-extras-enable-list)
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
483
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
484 (define-generic-mode pkginfo-generic-mode
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
485 (list ?#)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
486 nil
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
487 '(("^\\([A-Za-z_]+\\)=\\([^\n\r]*\\)$"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
488 (1 font-lock-keyword-face)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
489 (2 font-lock-variable-name-face)))
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
490 (list "pkginfo\\'")
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
491 nil
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
492 "Mode for Sys V pkginfo files."))
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
493
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
494 ;; Javascript mode
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
495 ;; Includes extra keywords from Armando Singer [asinger@MAIL.COLGATE.EDU]
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
496 (define-generic-mode javascript-generic-mode
48791
bef3b39de757 javascript-generic-mode: Added C style block comment as used in ECMA-262
Steven Tamm <steventamm@mac.com>
parents: 47726
diff changeset
497 (list "//" '("/*" . "*/"))
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
498 (list
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
499 "break"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
500 "case"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
501 "continue"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
502 "default"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
503 "delete"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
504 "do"
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
505 "else"
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
506 "export"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
507 "for"
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
508 "function"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
509 "if"
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
510 "import"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
511 "in"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
512 "new"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
513 "return"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
514 "switch"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
515 "this"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
516 "typeof"
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
517 "var"
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
518 "void"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
519 "while"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
520 "with"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
521 ;; words reserved for ECMA extensions below
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
522 "catch"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
523 "class"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
524 "const"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
525 "debugger"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
526 "enum"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
527 "extends"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
528 "finally"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
529 "super"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
530 "throw"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
531 "try"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
532 ;; Java Keywords reserved by JavaScript
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
533 "abstract"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
534 "boolean"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
535 "byte"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
536 "char"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
537 "double"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
538 "false"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
539 "final"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
540 "float"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
541 "goto"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
542 "implements"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
543 "instanceof"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
544 "int"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
545 "interface"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
546 "long"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
547 "native"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
548 "null"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
549 "package"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
550 "private"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
551 "protected"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
552 "public"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
553 "short"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
554 "static"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
555 "synchronized"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
556 "throws"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
557 "transient"
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
558 "true")
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
559 (list
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
560 (list "^\\s-*function\\s-+\\([A-Za-z0-9_]+\\)"
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
561 '(1 font-lock-function-name-face))
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
562 (list "^\\s-*var\\s-+\\([A-Za-z0-9_]+\\)"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
563 '(1 font-lock-variable-name-face)))
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
564 (list "\\.js\\'")
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
565 (list
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
566 (function
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
567 (lambda ()
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
568 (setq imenu-generic-expression
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
569 '((nil "^function\\s-+\\([A-Za-z0-9_]+\\)" 1)
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
570 ("*Variables*" "^var\\s-+\\([A-Za-z0-9_]+\\)" 1))))))
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
571 "Mode for JavaScript files.")
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
572
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
573 ;; VRML files
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
574 (define-generic-mode vrml-generic-mode
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
575 (list ?#)
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
576 (list
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
577 "DEF"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
578 "NULL"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
579 "USE"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
580 "Viewpoint"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
581 "ambientIntensity"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
582 "appearance"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
583 "children"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
584 "color"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
585 "coord"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
586 "coordIndex"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
587 "creaseAngle"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
588 "diffuseColor"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
589 "emissiveColor"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
590 "fieldOfView"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
591 "geometry"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
592 "info"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
593 "material"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
594 "normal"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
595 "orientation"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
596 "position"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
597 "shininess"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
598 "specularColor"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
599 "texCoord"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
600 "texture"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
601 "textureTransform"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
602 "title"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
603 "transparency"
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
604 "type")
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
605 (list
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
606 (list "USE\\s-+\\([-A-Za-z0-9_]+\\)"
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
607 '(1 font-lock-constant-face))
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
608 (list "DEF\\s-+\\([-A-Za-z0-9_]+\\)\\s-+\\([A-Za-z0-9]+\\)\\s-*{"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
609 '(1 font-lock-type-face)
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
610 '(2 font-lock-constant-face))
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
611 (list "^\\s-*\\([-A-Za-z0-9_]+\\)\\s-*{"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
612 '(1 font-lock-function-name-face))
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
613 (list
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
614 "^\\s-*\\(geometry\\|appearance\\|material\\)\\s-+\\([-A-Za-z0-9_]+\\)"
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
615 '(2 font-lock-variable-name-face)))
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
616 (list "\\.wrl\\'")
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
617 (list
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
618 (function
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
619 (lambda ()
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
620 (setq imenu-generic-expression
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
621 '((nil "^\\([A-Za-z0-9_]+\\)\\s-*{" 1)
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
622 ("*Definitions*"
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
623 "DEF\\s-+\\([-A-Za-z0-9_]+\\)\\s-+\\([A-Za-z0-9]+\\)\\s-*{"
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
624 1))))))
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
625 "Generic Mode for VRML files.")
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
626
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
627 ;; Java Manifests
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
628 (define-generic-mode java-manifest-generic-mode
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
629 (list ?#)
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
630 (list
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
631 "Name"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
632 "Digest-Algorithms"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
633 "Manifest-Version"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
634 "Required-Version"
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
635 "Signature-Version"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
636 "Magic"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
637 "Java-Bean"
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
638 "Depends-On")
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
639 '(("^Name:\\s-+\\([^\n\r]*\\)$"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
640 (1 font-lock-variable-name-face))
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
641 ("^\\(Manifest\\|Required\\|Signature\\)-Version:\\s-+\\([^\n\r]*\\)$"
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
642 (2 font-lock-constant-face)))
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
643 (list "[mM][aA][nN][iI][fF][eE][sS][tT]\\.[mM][fF]\\'")
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
644 nil
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
645 "Mode for Java Manifest files")
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
646
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
647 ;; Java properties files
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
648 (define-generic-mode java-properties-generic-mode
25603
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
649 (list ?! ?#)
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
650 nil
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
651 (let ((java-properties-key
25603
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
652 "\\(\\([-A-Za-z0-9_\\./]\\|\\(\\\\[ =:]\\)\\)+\\)")
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
653 (java-properties-value
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
654 "\\([^\r\n]*\\)"))
25603
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
655 ;; Property and value can be separated in a number of different ways:
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
656 ;; * whitespace
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
657 ;; * an equal sign
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
658 ;; * a colon
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
659 (mapcar
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
660 (function
25603
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
661 (lambda (elt)
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
662 (list
25603
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
663 (concat "^" java-properties-key elt java-properties-value "$")
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
664 '(1 font-lock-constant-face)
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
665 '(4 font-lock-variable-name-face))))
25603
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
666 ;; These are the separators
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
667 (list ":\\s-*" "\\s-+" "\\s-*=\\s-*")))
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
668 nil
25603
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
669 (list
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
670 (function
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
671 (lambda ()
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
672 (setq imenu-generic-expression
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
673 '((nil "^\\([^#! \t\n\r=:]+\\)" 1))))))
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
674 "Mode for Java properties files.")
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
675
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
676 ;; C shell alias definitions
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
677 (when (memq 'alias-generic-mode generic-extras-enable-list)
21947
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
678
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
679 (define-generic-mode alias-generic-mode
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
680 (list ?#)
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
681 (list "alias" "unalias")
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
682 '(("^alias\\s-+\\([-A-Za-z0-9_]+\\)\\s-+"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
683 (1 font-lock-variable-name-face))
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
684 ("^unalias\\s-+\\([-A-Za-z0-9_]+\\)\\s-*$"
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
685 (1 font-lock-variable-name-face)))
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
686 (list "alias\\'")
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
687 (list
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
688 (function
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
689 (lambda ()
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
690 (setq imenu-generic-expression
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
691 '((nil "^\\(alias\\|unalias\\)\\s-+\\([-a-zA-Z0-9_]+\\)" 2))))))
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
692 "Mode for C Shell alias files."))
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
693
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
694 ;;; Windows RC files
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
695 ;; Contributed by ACorreir@pervasive-sw.com (Alfred Correira)
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
696 (when (memq 'rc-generic-mode generic-extras-enable-list)
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
697
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
698 (define-generic-mode rc-generic-mode
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
699 ;; (list ?\/)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
700 (list "//")
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
701 '("ACCELERATORS"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
702 "AUTO3STATE"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
703 "AUTOCHECKBOX"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
704 "AUTORADIOBUTTON"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
705 "BITMAP"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
706 "BOTTOMMARGIN"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
707 "BUTTON"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
708 "CAPTION"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
709 "CHARACTERISTICS"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
710 "CHECKBOX"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
711 "CLASS"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
712 "COMBOBOX"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
713 "CONTROL"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
714 "CTEXT"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
715 "CURSOR"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
716 "DEFPUSHBUTTON"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
717 "DESIGNINFO"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
718 "DIALOG"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
719 "DISCARDABLE"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
720 "EDITTEXT"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
721 "EXSTYLE"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
722 "FONT"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
723 "GROUPBOX"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
724 "GUIDELINES"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
725 "ICON"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
726 "LANGUAGE"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
727 "LEFTMARGIN"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
728 "LISTBOX"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
729 "LTEXT"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
730 "MENUITEM SEPARATOR"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
731 "MENUITEM"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
732 "MENU"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
733 "MOVEABLE"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
734 "POPUP"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
735 "PRELOAD"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
736 "PURE"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
737 "PUSHBOX"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
738 "PUSHBUTTON"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
739 "RADIOBUTTON"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
740 "RCDATA"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
741 "RIGHTMARGIN"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
742 "RTEXT"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
743 "SCROLLBAR"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
744 "SEPARATOR"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
745 "STATE3"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
746 "STRINGTABLE"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
747 "STYLE"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
748 "TEXTINCLUDE"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
749 "TOOLBAR"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
750 "TOPMARGIN"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
751 "VERSIONINFO"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
752 "VERSION")
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
753 ;; the choice of what tokens go where is somewhat arbitrary,
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
754 ;; as is the choice of which value tokens are included, as
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
755 ;; the choice of face for each token group
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
756 (list
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
757 (eval-when-compile
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
758 (generic-make-keywords-list
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
759 (list
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
760 "FILEFLAGSMASK"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
761 "FILEFLAGS"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
762 "FILEOS"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
763 "FILESUBTYPE"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
764 "FILETYPE"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
765 "FILEVERSION"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
766 "PRODUCTVERSION")
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
767 'font-lock-type-face))
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
768 (eval-when-compile
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
769 (generic-make-keywords-list
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
770 (list
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
771 "BEGIN"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
772 "BLOCK"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
773 "END"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
774 "VALUE")
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
775 'font-lock-function-name-face))
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
776 '("^#[ \t]*include[ \t]+\\(<[^>\"\n]+>\\)" 1 font-lock-string-face)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
777 '("^#[ \t]*define[ \t]+\\(\\sw+\\)(" 1 font-lock-function-name-face)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
778 '("^#[ \t]*\\(elif\\|if\\)\\>"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
779 ("\\<\\(defined\\)\\>[ \t]*(?\\(\\sw+\\)?" nil nil
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
780 (1 font-lock-constant-face) (2 font-lock-variable-name-face nil t)))
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
781 '("^#[ \t]*\\(\\sw+\\)\\>[ \t]*\\(\\sw+\\)?"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
782 (1 font-lock-constant-face) (2 font-lock-variable-name-face nil t)))
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
783 (list "\\.[rR][cC]$")
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
784 nil
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
785 "Generic mode for MS-Windows Resource files."))
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
786
21947
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
787 ;; InstallShield RUL files
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
788 ;; Contributed by Alfred.Correira@Pervasive.Com
50265
e8baa2ffdd8f Use fixes to rul-generic-mode, contributed by "Rolf Sandau" <Rolf.Sandau@marconi.com>
Peter Breton <pbreton@attbi.com>
parents: 48791
diff changeset
789 ;; Bugfixes by "Rolf Sandau" <Rolf.Sandau@marconi.com>
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
790 (when (memq 'rul-generic-mode generic-extras-enable-list)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
791
21947
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
792 ;;; build the regexp strings using regexp-opt
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
793 (defvar installshield-statement-keyword-list
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
794 (list
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
795 "abort"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
796 "begin"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
797 "call"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
798 "case"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
799 "declare"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
800 "default"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
801 "downto"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
802 "elseif"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
803 "else"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
804 "endfor"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
805 "endif"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
806 "endswitch"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
807 "endwhile"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
808 "end"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
809 "exit"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
810 "external"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
811 "for"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
812 "function"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
813 ;; "goto" -- handled elsewhere
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
814 "if"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
815 "program"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
816 "prototype"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
817 "repeat"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
818 "return"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
819 "step"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
820 "switch"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
821 "then"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
822 "to"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
823 "typedef"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
824 "until"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
825 "void"
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
826 "while")
21947
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
827 "Statement keywords used in InstallShield 3 and 5.")
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
828
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
829 (defvar installshield-system-functions-list
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
830 (list
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
831 "AddFolderIcon"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
832 "AddProfString"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
833 "AddressString"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
834 "AppCommand"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
835 "AskDestPath"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
836 "AskOptions"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
837 "AskPath"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
838 "AskText"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
839 "AskYesNo"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
840 "BatchDeleteEx"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
841 "BatchFileLoad"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
842 "BatchFileSave"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
843 "BatchFind"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
844 "BatchGetFileName"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
845 "BatchMoveEx"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
846 "BatchSetFileName"
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
847 "ChangeDirectory"
21947
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
848 "CloseFile"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
849 "CmdGetHwndDlg"
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
850 "ComponentAddItem" ; differs between IS3 and IS5
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
851 "ComponentCompareSizeRequired" ; IS5 only
21947
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
852 "ComponentDialog"
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
853 "ComponentError" ; IS5 only
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
854 "ComponentFileEnum" ; IS5 only
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
855 "ComponentFileInfo" ; IS5 only
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
856 "ComponentFilterLanguage" ; IS5 only
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
857 "ComponentFilterOS" ; IS5 only
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
858 "ComponentGetData" ; IS5 only
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
859 "ComponentGetItemInfo" ; IS3 only
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
860 "ComponentGetItemSize" ; differs between IS3 and IS5
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
861 "ComponentIsItemSelected" ; differs between IS3 and IS5
21947
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
862 "ComponentListItems"
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
863 "ComponentMoveData" ; IS5 only
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
864 "ComponentSelectItem" ; differs between IS3 and IS5
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
865 "ComponentSetData" ; IS5 only
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
866 "ComponentSetItemInfo" ; IS3 only
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
867 "ComponentSetTarget" ; IS5 only
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
868 "ComponentSetupTypeEnum" ; IS5 only
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
869 "ComponentSetupTypeGetData" ; IS5 only
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
870 "ComponentSetupTypeSet" ; IS5 only
21947
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
871 "ComponentTotalSize"
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
872 "ComponentValidate" ; IS5 only
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
873 "CompressAdd" ; IS3 only
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
874 "CompressDel" ; IS3 only
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
875 "CompressEnum" ; IS3 only
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
876 "CompressGet" ; IS3 only
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
877 "CompressInfo" ; IS3 only
21947
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
878 "CopyFile"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
879 "CreateDir"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
880 "CreateFile"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
881 "CreateProgramFolder"
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
882 "DeinstallSetReference" ; IS5 only
21947
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
883 "DeinstallStart"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
884 "Delay"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
885 "DeleteDir"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
886 "DeleteFile"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
887 "DialogSetInfo"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
888 "Disable"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
889 "DoInstall"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
890 "Do"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
891 "Enable"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
892 "EnterDisk"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
893 "ExistsDir"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
894 "ExistsDisk"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
895 "ExitProgMan"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
896 "EzBatchAddPath"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
897 "EzBatchAddString"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
898 "EzBatchReplace"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
899 "EzConfigAddDriver"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
900 "EzConfigAddString"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
901 "EzConfigGetValue"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
902 "EzConfigSetValue"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
903 "EzDefineDialog"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
904 "FileCompare"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
905 "FileDeleteLine"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
906 "FileGrep"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
907 "FileInsertLine"
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
908 "FileSetBeginDefine" ; IS3 only
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
909 "FileSetEndDefine" ; IS3 only
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
910 "FileSetPerformEz" ; IS3 only
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
911 "FileSetPerform" ; IS3 only
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
912 "FileSetReset" ; IS3 only
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
913 "FileSetRoot" ; IS3 only
21947
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
914 "FindAllDirs"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
915 "FindAllFiles"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
916 "FindFile"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
917 "FindWindow"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
918 "GetDiskSpace"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
919 "GetDisk"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
920 "GetEnvVar"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
921 "GetExtents"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
922 "GetFileInfo"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
923 "GetLine"
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
924 "GetProfInt"
21947
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
925 "GetProfString"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
926 "GetSystemInfo"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
927 "GetValidDrivesList"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
928 "GetVersion"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
929 "GetWindowHandle"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
930 "InstallationInfo"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
931 "Is"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
932 "LaunchApp"
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
933 "LaunchAppAndWait"
21947
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
934 "ListAddItem"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
935 "ListAddString"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
936 "ListCount"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
937 "ListCreate"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
938 "ListDestroy"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
939 "ListFindItem"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
940 "ListFindString"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
941 "ListGetFirstItem"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
942 "ListGetFirstString"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
943 "ListGetNextItem"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
944 "ListGetNextString"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
945 "ListReadFromFile"
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
946 "ListSetCurrentItem"
21947
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
947 "ListSetNextItem"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
948 "ListSetNextString"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
949 "ListSetIndex"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
950 "ListWriteToFile"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
951 "LongPathToQuote"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
952 "LongPathToShortPath"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
953 "MessageBox"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
954 "NumToStr"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
955 "OpenFileMode"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
956 "OpenFile"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
957 "ParsePath"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
958 "PathAdd"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
959 "PathDelete"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
960 "PathFind"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
961 "PathGet"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
962 "PathMove"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
963 "PathSet"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
964 "Path"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
965 "PlaceBitmap"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
966 "PlaceWindow"
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
967 "PlayMMedia" ; IS5 only
21947
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
968 "ProgDefGroupType"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
969 "RegDBCreateKeyEx"
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
970 "RegDBDeleteValue"
21947
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
971 "RegDBGetItem"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
972 "RegDBKeyExist"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
973 "RegDBSetItem"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
974 "RegDBGetKeyValueEx"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
975 "RegDBSetKeyValueEx"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
976 "RegDBSetDefaultRoot"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
977 "RenameFile"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
978 "ReplaceFolderIcon"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
979 "ReplaceProfString"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
980 "SdAskDestPath"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
981 "SdAskOptions"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
982 "SdAskOptionsList"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
983 "SdBitmap"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
984 "SdCloseDlg"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
985 "SdComponentAdvCheckSpace"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
986 "SdComponentAdvInit"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
987 "SdComponentAdvUpdateSpace"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
988 "SdComponentDialog"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
989 "SdComponentDialog2"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
990 "SdComponentDialogAdv"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
991 "SdComponentDialogEx"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
992 "SdComponentDlgCheckSpace"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
993 "SdComponentMult"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
994 "SdConfirmNewDir"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
995 "SdConfirmRegistration"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
996 "SdDiskSpace"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
997 "SdDisplayTopics"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
998 "SdDoStdButton"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
999 "SdEnablement"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1000 "SdError"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1001 "SdFinish"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1002 "SdFinishInit32"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1003 "SdFinishReboot"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1004 "SdGeneralInit"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1005 "SdGetItemName"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1006 "SdGetTextExtent"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1007 "SdGetUserCompanyInfo"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1008 "SdInit"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1009 "SdIsShellExplorer"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1010 "SdIsStdButton"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1011 "SdLicense"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1012 "SdMakeName"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1013 "SdOptionInit"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1014 "SdOptionSetState"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1015 "SdOptionsButtons"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1016 "SdOptionsButtonsInit"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1017 "SdPlugInProductName"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1018 "SdProductName"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1019 "SdRegEnableButton"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1020 "SdRegExEnableButton"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1021 "SdRegisterUser"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1022 "SdRegisterUserEx"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1023 "SdRemoveEndSpace"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1024 "SdSelectFolder"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1025 "SdSetSequentialItems"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1026 "SdSetStatic"
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1027 "SdSetupTypeEx" ; IS5 only
21947
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1028 "SdSetupType"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1029 "SdShowAnyDialog"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1030 "SdShowDlgEdit1"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1031 "SdShowDlgEdit2"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1032 "SdShowDlgEdit3"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1033 "SdShowFileMods"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1034 "SdShowInfoList"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1035 "SdShowMsg"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1036 "SdStartCopy"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1037 "SdUnInit"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1038 "SdUpdateComponentSelection"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1039 "SdWelcome"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1040 "SendMessage"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1041 "SetColor"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1042 "SetFont"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1043 "SetDialogTitle"
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1044 "SetDisplayEffect" ; IS5 only
21947
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1045 "SetFileInfo"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1046 "SetForegroundWindow"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1047 "SetStatusWindow"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1048 "SetTitle"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1049 "SetupType"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1050 "ShowProgramFolder"
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1051 "Split" ; IS3 only
21947
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1052 "SprintfBox"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1053 "Sprintf"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1054 "StatusUpdate"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1055 "StrCompare"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1056 "StrFind"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1057 "StrGetTokens"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1058 "StrLength"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1059 "StrRemoveLastSlash"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1060 "StrToLower"
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1061 "StrToNum"
21947
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1062 "StrToUpper"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1063 "StrSub"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1064 "VarRestore"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1065 "VarSave"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1066 "VerCompare"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1067 "VerGetFileVersion"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1068 "WaitOnDialog"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1069 "Welcome"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1070 "WriteLine"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1071 "WriteProfString"
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1072 "XCopyFile")
21947
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1073 "System functions defined in InstallShield 3 and 5.")
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1074
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1075 (defvar installshield-system-variables-list
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1076 (list
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1077 "BATCH_INSTALL"
21947
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1078 "CMDLINE"
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1079 "COMMONFILES"
21947
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1080 "CORECOMPONENTHANDLING"
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1081 "DIALOGCACHE"
21947
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1082 "ERRORFILENAME"
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1083 "FOLDER_DESKTOP"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1084 "FOLDER_PROGRAMS"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1085 "FOLDER_STARTMENU"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1086 "FOLDER_STARTUP"
21947
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1087 "INFOFILENAME"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1088 "ISRES"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1089 "ISUSER"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1090 "ISVERSION"
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1091 "MEDIA"
21947
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1092 "MODE"
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1093 "PROGRAMFILES"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1094 "SELECTED_LANGUAGE"
21947
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1095 "SRCDIR"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1096 "SRCDISK"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1097 "SUPPORTDIR"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1098 "TARGETDIR"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1099 "TARGETDISK"
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1100 "UNINST"
21947
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1101 "WINDIR"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1102 "WINDISK"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1103 "WINMAJOR"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1104 "WINSYSDIR"
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1105 "WINSYSDISK")
21947
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1106 "System variables used in InstallShield 3 and 5.")
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1107
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1108 (defvar installshield-types-list
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1109 (list
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1110 "BOOL"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1111 "BYREF"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1112 "CHAR"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1113 "HIWORD"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1114 "HWND"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1115 "INT"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1116 "LIST"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1117 "LONG"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1118 "LOWORD"
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1119 "LPSTR"
21947
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1120 "NUMBER"
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1121 "NUMBERLIST"
21947
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1122 "POINTER"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1123 "QUAD"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1124 "RGB"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1125 "SHORT"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1126 "STRINGLIST"
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1127 "STRING")
21947
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1128 "Type keywords used in InstallShield 3 and 5.")
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1129
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1130 ;;; some might want to skip highlighting these to improve performance
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1131 (defvar installshield-funarg-constants-list
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1132 (list
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1133 "AFTER"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1134 "APPEND"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1135 "ALLCONTENTS"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1136 "BACKBUTTON"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1137 "BACKGROUNDCAPTION"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1138 "BACKGROUND"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1139 "BACK"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1140 "BASEMEMORY"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1141 "BEFORE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1142 "BIOS"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1143 "BITMAPICON"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1144 "BK_BLUE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1145 "BK_GREEN"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1146 "BK_RED"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1147 "BLUE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1148 "BOOTUPDRIVE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1149 "CANCEL"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1150 "CDROM_DRIVE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1151 "CDROM"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1152 "CHECKBOX95"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1153 "CHECKBOX"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1154 "CHECKLINE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1155 "CHECKMARK"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1156 "COLORS"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1157 "COMMANDEX"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1158 "COMMAND"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1159 "COMP_NORMAL"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1160 "COMP_UPDATE_DATE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1161 "COMP_UPDATE_SAME"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1162 "COMP_UPDATE_VERSION"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1163 "COMPACT"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1164 "CONTINUE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1165 "CPU"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1166 "CUSTOM"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1167 "DATE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1168 "DEFWINDOWMODE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1169 "DIR_WRITEABLE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1170 "DIRECTORY"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1171 "DISABLE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1172 "DISK_TOTALSPACE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1173 "DISK"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1174 "DLG_OPTIONS"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1175 "DLG_PATH"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1176 "DLG_TEXT"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1177 "DLG_ASK_YESNO"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1178 "DLG_ENTER_DISK"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1179 "DLG_ERR"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1180 "DLG_INFO_ALTIMAGE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1181 "DLG_INFO_CHECKSELECTION"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1182 "DLG_INFO_KUNITS"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1183 "DLG_INFO_USEDECIMAL"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1184 "DLG_MSG_INFORMATION"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1185 "DLG_MSG_SEVERE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1186 "DLG_MSG_WARNING"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1187 "DLG_STATUS"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1188 "DLG_WARNING"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1189 "DLG_USER_CAPTION"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1190 "DRIVE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1191 "ENABLE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1192 "END_OF_FILE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1193 "END_OF_LIST"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1194 "ENVSPACE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1195 "EQUALS"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1196 "EXCLUDE_SUBDIR"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1197 "EXCLUSIVE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1198 "EXISTS"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1199 "EXIT"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1200 "EXTENDED_MEMORY"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1201 "EXTENSION_ONLY"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1202 "FAILIFEXISTS"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1203 "FALSE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1204 "FEEDBACK_FULL"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1205 "FILE_ATTR_ARCHIVED"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1206 "FILE_ATTR_DIRECTORY"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1207 "FILE_ATTR_HIDDEN"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1208 "FILE_ATTR_NORMAL"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1209 "FILE_ATTR_READONLY"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1210 "FILE_ATTR_SYSTEM"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1211 "FILE_ATTRIBUTE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1212 "FILE_DATE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1213 "FILE_LINE_LENGTH"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1214 "FILE_MODE_APPEND"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1215 "FILE_MODE_BINARYREADONLY"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1216 "FILE_MODE_BINARY"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1217 "FILE_MODE_NORMAL"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1218 "FILE_NO_VERSION"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1219 "FILE_NOT_FOUND"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1220 "FILE_SIZE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1221 "FILE_TIME"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1222 "FILENAME_ONLY"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1223 "FILENAME"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1224 "FIXED_DRIVE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1225 "FOLDER_DESKTOP"
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1226 "FOLDER_PROGRAMS"
21947
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1227 "FOLDER_STARTMENU"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1228 "FOLDER_STARTUP"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1229 "FREEENVSPACE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1230 "FULLWINDOWMODE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1231 "FULL"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1232 "FONT_TITLE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1233 "GREATER_THAN"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1234 "GREEN"
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1235 "HKEY_CLASSES_ROOT"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1236 "HKEY_CURRENT_USER"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1237 "HKEY_LOCAL_MACHINE"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1238 "HKEY_USERS"
21947
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1239 "HOURGLASS"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1240 "INCLUDE_SUBDIR"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1241 "INDVFILESTATUS"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1242 "INFORMATION"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1243 "IS_WINDOWSNT"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1244 "IS_WINDOWS95"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1245 "IS_WINDOWS"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1246 "IS_WIN32S"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1247 "ISTYPE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1248 "LANGUAGE_DRV"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1249 "LANGUAGE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1250 "LESS_THAN"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1251 "LIST_NULL"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1252 "LISTFIRST"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1253 "LISTNEXT"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1254 "LOCKEDFILE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1255 "LOGGING"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1256 "LOWER_LEFT"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1257 "LOWER_RIGHT"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1258 "MAGENTA"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1259 "MOUSE_DRV"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1260 "MOUSE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1261 "NETWORK_DRV"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1262 "NETWORK"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1263 "NEXT"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1264 "NONEXCLUSIVE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1265 "NORMALMODE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1266 "NOSET"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1267 "NOTEXISTS"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1268 "NOWAIT"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1269 "NO"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1270 "OFF"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1271 "ONLYDIR"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1272 "ON"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1273 "OSMAJOR"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1274 "OSMINOR"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1275 "OS"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1276 "OTHER_FAILURE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1277 "PARALLEL"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1278 "PARTIAL"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1279 "PATH_EXISTS"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1280 "PATH"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1281 "RED"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1282 "REGDB_APPPATH_DEFAULT"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1283 "REGDB_APPPATH"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1284 "REGDB_BINARY"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1285 "REGDB_ERR_CONNECTIONEXISTS"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1286 "REGDB_ERR_CORRUPTEDREGSITRY"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1287 "REGDB_ERR_INITIALIZATION"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1288 "REGDB_ERR_INVALIDHANDLE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1289 "REGDB_ERR_INVALIDNAME"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1290 "REGDB_NUMBER"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1291 "REGDB_STRING_EXPAND"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1292 "REGDB_STRING_MULTI"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1293 "REGDB_STRING"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1294 "REGDB_UNINSTALL_NAME"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1295 "REMOTE_DRIVE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1296 "REMOVALE_DRIVE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1297 "REPLACE_ITEM"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1298 "REPLACE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1299 "RESET"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1300 "RESTART"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1301 "ROOT"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1302 "SELFREGISTER"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1303 "SERIAL"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1304 "SET"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1305 "SEVERE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1306 "SHAREDFILE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1307 "SHARE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1308 "SILENTMODE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1309 "SRCTARGETDIR"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1310 "STATUSBAR"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1311 "STATUSDLG"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1312 "STATUSOLD"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1313 "STATUS"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1314 "STYLE_NORMAL"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1315 "SW_MAXIMIZE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1316 "SW_MINIMIZE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1317 "SW_RESTORE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1318 "SW_SHOW"
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1319 "SYS_BOOTMACHINE"
21947
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1320 "TIME"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1321 "TRUE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1322 "TYPICAL"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1323 "UPPER_LEFT"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1324 "UPPER_RIGHT"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1325 "VALID_PATH"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1326 "VERSION"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1327 "VIDEO"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1328 "VOLUMELABEL"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1329 "YELLOW"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1330 "YES"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1331 "WAIT"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1332 "WARNING"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1333 "WINMAJOR"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1334 "WINMINOR"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1335 "WIN32SINSTALLED"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1336 "WIN32SMAJOR"
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1337 "WIN32SMINOR")
21947
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1338 "Function argument constants used in InstallShield 3 and 5.")
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1339
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1340 (defvar rul-generic-mode-syntax-table nil
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1341 "Syntax table to use in rul-generic-mode buffers.")
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1342
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1343 (setq rul-generic-mode-syntax-table
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1344 (make-syntax-table c++-mode-syntax-table))
50265
e8baa2ffdd8f Use fixes to rul-generic-mode, contributed by "Rolf Sandau" <Rolf.Sandau@marconi.com>
Peter Breton <pbreton@attbi.com>
parents: 48791
diff changeset
1345
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1346 (modify-syntax-entry ?\r "> b" rul-generic-mode-syntax-table)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1347 (modify-syntax-entry ?\n "> b" rul-generic-mode-syntax-table)
50265
e8baa2ffdd8f Use fixes to rul-generic-mode, contributed by "Rolf Sandau" <Rolf.Sandau@marconi.com>
Peter Breton <pbreton@attbi.com>
parents: 48791
diff changeset
1348
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1349 (modify-syntax-entry ?/ ". 124b" rul-generic-mode-syntax-table)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1350 (modify-syntax-entry ?* ". 23" rul-generic-mode-syntax-table)
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1351
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1352 ;; here manually instead
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1353 (defun generic-rul-mode-setup-function ()
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1354 (make-local-variable 'parse-sexp-ignore-comments)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1355 (make-local-variable 'comment-start)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1356 (make-local-variable 'comment-start-skip)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1357 (make-local-variable 'comment-end)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1358 (setq imenu-generic-expression
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1359 '((nil "^function\\s-+\\([A-Za-z0-9_]+\\)" 1))
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1360 parse-sexp-ignore-comments t
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1361 comment-end "*/"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1362 comment-start "/*"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1363 ;;; comment-end ""
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1364 ;;; comment-start "//"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1365 ;;; comment-start-skip ""
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1366 )
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1367 ;; (set-syntax-table rul-generic-mode-syntax-table)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1368 (setq font-lock-syntax-table rul-generic-mode-syntax-table))
50265
e8baa2ffdd8f Use fixes to rul-generic-mode, contributed by "Rolf Sandau" <Rolf.Sandau@marconi.com>
Peter Breton <pbreton@attbi.com>
parents: 48791
diff changeset
1369
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1370 ;; moved mode-definition behind defun-definition to be warning-free - 15.11.02/RSan
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1371 (define-generic-mode rul-generic-mode
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1372 ;; Using "/*" and "*/" doesn't seem to be working right
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1373 (list "//" '("/*" . "*/" ))
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1374 installshield-statement-keyword-list
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1375 (list
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1376 ;; preprocessor constructs
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1377 '("#[ \t]*include[ \t]+\\(<[^>\"\n]+>\\)"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1378 1 font-lock-string-face)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1379 '("#[ \t]*\\(\\sw+\\)\\>[ \t]*\\(\\sw+\\)?"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1380 (1 font-lock-reference-face)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1381 (2 font-lock-variable-name-face nil t))
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1382 ;; indirect string constants
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1383 '("\\(@[A-Za-z][A-Za-z0-9_]+\\)" 1 font-lock-builtin-face)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1384 ;; gotos
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1385 '("[ \t]*\\(\\sw+:\\)" 1 font-lock-reference-face)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1386 '("\\<\\(goto\\)\\>[ \t]*\\(\\sw+\\)?"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1387 (1 font-lock-keyword-face)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1388 (2 font-lock-reference-face nil t))
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1389 ;; system variables
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1390 (generic-make-keywords-list
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1391 installshield-system-variables-list
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1392 'font-lock-variable-name-face "[^_]" "[^_]")
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1393 ;; system functions
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1394 (generic-make-keywords-list
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1395 installshield-system-functions-list
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1396 'font-lock-function-name-face "[^_]" "[^_]")
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1397 ;; type keywords
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1398 (generic-make-keywords-list
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1399 installshield-types-list
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1400 'font-lock-type-face "[^_]" "[^_]")
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1401 ;; function argument constants
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1402 (generic-make-keywords-list
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1403 installshield-funarg-constants-list
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1404 'font-lock-variable-name-face "[^_]" "[^_]")) ; is this face the best choice?
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1405 (list "\\.[rR][uU][lL]$")
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1406 (list 'generic-rul-mode-setup-function)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1407 "Generic mode for InstallShield RUL files.")
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1408
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1409 (define-skeleton rul-if
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1410 "Insert an if statement."
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1411 "condition: "
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1412 "if(" str ") then" \n
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1413 > _ \n
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1414 ( "other condition, %s: "
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1415 > "elseif(" str ") then" \n
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1416 > \n)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1417 > "else" \n
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1418 > \n
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1419 resume:
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1420 > "endif;")
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1421
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1422 (define-skeleton rul-function
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1423 "Insert a function statement."
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1424 "function: "
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1425 "function " str " ()" \n
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1426 ( "local variables, %s: "
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1427 > " " str ";" \n)
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1428 > "begin" \n
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1429 > _ \n
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1430 resume:
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1431 > "end;"))
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1432
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1433 ;; Additions by ACorreir@pervasive-sw.com (Alfred Correira)
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1434 (define-generic-mode mailrc-generic-mode
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1435 (list ?#)
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1436 (list
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1437 "alias"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1438 "else"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1439 "endif"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1440 "group"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1441 "if"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1442 "ignore"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1443 "set"
41393
8c295b635eb8 (mailrc-generic-mode): Highlight the `source' keyword.
Francesco Potortì <pot@gnu.org>
parents: 32282
diff changeset
1444 "source"
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1445 "unset")
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1446 '(("^\\s-*\\(alias\\|group\\)\\s-+\\([-A-Za-z0-9_]+\\)\\s-+\\([^\n\r#]*\\)\\(#.*\\)?$"
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1447 (2 font-lock-constant-face) (3 font-lock-variable-name-face))
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1448 ("^\\s-*\\(unset\\|set\\|ignore\\)\\s-+\\([-A-Za-z0-9_]+\\)=?\\([^\n\r#]*\\)\\(#.*\\)?$"
41393
8c295b635eb8 (mailrc-generic-mode): Highlight the `source' keyword.
Francesco Potortì <pot@gnu.org>
parents: 32282
diff changeset
1449 (2 font-lock-constant-face) (3 font-lock-variable-name-face))
8c295b635eb8 (mailrc-generic-mode): Highlight the `source' keyword.
Francesco Potortì <pot@gnu.org>
parents: 32282
diff changeset
1450 ("^\\s-*\\(source\\)\\s-+\\([^\n\r#]*\\)\\(#.*\\)?$"
8c295b635eb8 (mailrc-generic-mode): Highlight the `source' keyword.
Francesco Potortì <pot@gnu.org>
parents: 32282
diff changeset
1451 (2 font-lock-variable-name-face)))
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1452 (list "\\.mailrc\\'")
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1453 nil
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1454 "Mode for mailrc files.")
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1455
25603
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
1456 ;; Inetd.conf
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1457 (when (memq 'inetd-conf-generic-mode generic-extras-enable-list)
25603
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
1458
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1459 (define-generic-mode inetd-conf-generic-mode
25603
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
1460 (list ?#)
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1461 (list
25603
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
1462 "stream"
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
1463 "dgram"
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
1464 "tcp"
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
1465 "udp"
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
1466 "wait"
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
1467 "nowait"
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1468 "internal")
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1469 '(("^\\([-A-Za-z0-9_]+\\)"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1470 1 'font-lock-type-face))
25603
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
1471 '("/etc/inetd.conf\\'")
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1472 (list
25603
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
1473 (function
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
1474 (lambda ()
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1475 (setq imenu-generic-expression
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1476 '((nil "^\\([-A-Za-z0-9_]+\\)" 1))))))))
25603
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
1477
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
1478 ;; Services
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1479 (when (memq 'etc-services-generic-mode generic-extras-enable-list)
25603
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
1480
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1481 (define-generic-mode etc-services-generic-mode
25603
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
1482 (list ?#)
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1483 (list
25603
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
1484 "tcp"
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
1485 "udp"
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1486 "ddp")
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1487 '(("^\\([-A-Za-z0-9_]+\\)\\s-+\\([0-9]+\\)/"
25603
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
1488 (1 'font-lock-type-face)
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1489 (2 'font-lock-variable-name-face)))
25603
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
1490 '("/etc/services\\'")
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1491 (list
25603
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
1492 (function
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
1493 (lambda ()
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1494 (setq imenu-generic-expression
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1495 '((nil "^\\([-A-Za-z0-9_]+\\)" 1))))))))
25603
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
1496
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
1497 ;; Password and Group files
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1498 (when (memq 'etc-passwd-generic-mode generic-extras-enable-list)
25603
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
1499
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1500 (define-generic-mode etc-passwd-generic-mode
25603
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
1501 nil ;; No comment characters
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
1502 (list "root") ;; Only one keyword
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
1503 (list
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1504 (list
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1505 (concat
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1506 "^"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1507 ;; User name -- Never blank!
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1508 "\\([^:]+\\)"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1509 ":"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1510 ;; Password, UID and GID
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1511 (mapconcat
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1512 'identity
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1513 (make-list 3 "\\([^:]+\\)")
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1514 ":")
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1515 ":"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1516 ;; GECOS/Name -- might be blank
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1517 "\\([^:]*\\)"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1518 ":"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1519 ;; Home directory and shell
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1520 "\\([^:]+\\)"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1521 ":?"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1522 "\\([^:]*\\)"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1523 "$")
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1524 '(1 'font-lock-type-face)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1525 '(5 'font-lock-variable-name-face)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1526 '(6 'font-lock-constant-face)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1527 '(7 'font-lock-warning-face))
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1528 '("^\\([^:]+\\):\\([^:]*\\):\\([0-9]+\\):\\(.*\\)$"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1529 (1 'font-lock-type-face)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1530 (4 'font-lock-variable-name-face)))
25603
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
1531 '("/etc/passwd\\'" "/etc/group\\'")
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1532 (list
25603
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
1533 (function
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
1534 (lambda ()
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1535 (setq imenu-generic-expression
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1536 '((nil "^\\([-A-Za-z0-9_]+\\):" 1))))))))
25603
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
1537
32117
20c617dc8696 * generic-x.el (apache-conf-generic-mode):
Peter Breton <pbreton@attbi.com>
parents: 26045
diff changeset
1538 ;; Fstab
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1539 (when (memq 'etc-fstab-generic-mode generic-extras-enable-list)
32117
20c617dc8696 * generic-x.el (apache-conf-generic-mode):
Peter Breton <pbreton@attbi.com>
parents: 26045
diff changeset
1540
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1541 (define-generic-mode etc-fstab-generic-mode
32117
20c617dc8696 * generic-x.el (apache-conf-generic-mode):
Peter Breton <pbreton@attbi.com>
parents: 26045
diff changeset
1542 (list ?#)
20c617dc8696 * generic-x.el (apache-conf-generic-mode):
Peter Breton <pbreton@attbi.com>
parents: 26045
diff changeset
1543 (list
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1544 "adfs"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1545 "affs"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1546 "autofs"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1547 "coda"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1548 "coherent"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1549 "cramfs"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1550 "devpts"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1551 "efs"
32117
20c617dc8696 * generic-x.el (apache-conf-generic-mode):
Peter Breton <pbreton@attbi.com>
parents: 26045
diff changeset
1552 "ext2"
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1553 "ext3"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1554 "hfs"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1555 "hpfs"
32117
20c617dc8696 * generic-x.el (apache-conf-generic-mode):
Peter Breton <pbreton@attbi.com>
parents: 26045
diff changeset
1556 "iso9660"
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1557 "jfs"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1558 "minix"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1559 "msdos"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1560 "ncpfs"
32117
20c617dc8696 * generic-x.el (apache-conf-generic-mode):
Peter Breton <pbreton@attbi.com>
parents: 26045
diff changeset
1561 "nfs"
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1562 "ntfs"
32117
20c617dc8696 * generic-x.el (apache-conf-generic-mode):
Peter Breton <pbreton@attbi.com>
parents: 26045
diff changeset
1563 "proc"
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1564 "qnx4"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1565 "reiserfs"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1566 "romfs"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1567 "smbfs"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1568 "sysv"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1569 "tmpfs"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1570 "udf"
32117
20c617dc8696 * generic-x.el (apache-conf-generic-mode):
Peter Breton <pbreton@attbi.com>
parents: 26045
diff changeset
1571 "ufs"
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1572 "umsdos"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1573 "vfat"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1574 "xenix"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1575 "xfs"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1576 "swap"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1577 "auto"
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1578 "ignore")
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1579 '(("^\\([/-A-Za-z0-9_]+\\)\\s-+\\([/-A-Za-z0-9_]+\\)"
32117
20c617dc8696 * generic-x.el (apache-conf-generic-mode):
Peter Breton <pbreton@attbi.com>
parents: 26045
diff changeset
1580 (1 'font-lock-type-face)
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1581 (2 'font-lock-variable-name-face)))
32117
20c617dc8696 * generic-x.el (apache-conf-generic-mode):
Peter Breton <pbreton@attbi.com>
parents: 26045
diff changeset
1582 '("/etc/[v]*fstab\\'")
20c617dc8696 * generic-x.el (apache-conf-generic-mode):
Peter Breton <pbreton@attbi.com>
parents: 26045
diff changeset
1583 (list
20c617dc8696 * generic-x.el (apache-conf-generic-mode):
Peter Breton <pbreton@attbi.com>
parents: 26045
diff changeset
1584 (function
20c617dc8696 * generic-x.el (apache-conf-generic-mode):
Peter Breton <pbreton@attbi.com>
parents: 26045
diff changeset
1585 (lambda ()
20c617dc8696 * generic-x.el (apache-conf-generic-mode):
Peter Breton <pbreton@attbi.com>
parents: 26045
diff changeset
1586 (setq imenu-generic-expression
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1587 '((nil "^\\([/-A-Za-z0-9_]+\\)\\s-+" 1))))))))
25603
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
1588
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
1589 ;; From Jacques Duthen <jacques.duthen@sncf.fr>
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
1590 (defvar show-tabs-generic-mode-font-lock-defaults-1
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1591 '( ;; trailing spaces must come before...
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1592 ("[ \t]+$" . 'show-tabs-space-face)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1593 ;; ...embedded tabs
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1594 ("[^\n\t]\\(\t+\\)" (1 'show-tabs-tab-face))))
25603
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
1595
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
1596 (defvar show-tabs-generic-mode-font-lock-defaults-2
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1597 '( ;; trailing spaces must come before...
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1598 ("[ \t]+$" . 'show-tabs-space-face)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1599 ;; ...tabs
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1600 ("\t+" . 'show-tabs-tab-face)))
25603
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
1601
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
1602 (defface show-tabs-tab-face
42456
8a4077ab418c (various face definitions): Use :weight, not :bold.
Richard M. Stallman <rms@gnu.org>
parents: 41393
diff changeset
1603 '((((class grayscale) (background light)) (:foreground "LightGray" :weight bold))
8a4077ab418c (various face definitions): Use :weight, not :bold.
Richard M. Stallman <rms@gnu.org>
parents: 41393
diff changeset
1604 (((class grayscale) (background dark)) (:foreground "DimGray" :weight bold))
25603
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
1605 (((class color) (background light)) (:foreground "red"))
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
1606 (((class color) (background dark)) (:foreground "red"))
42456
8a4077ab418c (various face definitions): Use :weight, not :bold.
Richard M. Stallman <rms@gnu.org>
parents: 41393
diff changeset
1607 (t (:weight bold)))
25603
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
1608 "Font Lock mode face used to highlight TABs."
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
1609 :group 'show-tabs)
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
1610
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
1611 (defface show-tabs-space-face
42456
8a4077ab418c (various face definitions): Use :weight, not :bold.
Richard M. Stallman <rms@gnu.org>
parents: 41393
diff changeset
1612 '((((class grayscale) (background light)) (:foreground "LightGray" :weight bold))
8a4077ab418c (various face definitions): Use :weight, not :bold.
Richard M. Stallman <rms@gnu.org>
parents: 41393
diff changeset
1613 (((class grayscale) (background dark)) (:foreground "DimGray" :weight bold))
25603
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
1614 (((class color) (background light)) (:foreground "yellow"))
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
1615 (((class color) (background dark)) (:foreground "yellow"))
42456
8a4077ab418c (various face definitions): Use :weight, not :bold.
Richard M. Stallman <rms@gnu.org>
parents: 41393
diff changeset
1616 (t (:weight bold)))
25603
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
1617 "Font Lock mode face used to highlight spaces."
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
1618 :group 'show-tabs)
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
1619
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1620 (define-generic-mode show-tabs-generic-mode
25603
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
1621 () ;; no comment char
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
1622 () ;; no keywords
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1623 show-tabs-generic-mode-font-lock-defaults-1
25603
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
1624 () ;; no auto-mode-alist
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
1625 ;; (list 'show-tabs-generic-mode-hook-fun)
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
1626 nil
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
1627 "Generic mode to show tabs and trailing spaces")
db167bb5dfd8 (generic-define-unix-modes): Added new modes:
Richard M. Stallman <rms@gnu.org>
parents: 24036
diff changeset
1628
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1629 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1630 ;; DNS modes
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1631 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1632
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1633 (define-generic-mode named-boot-generic-mode
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1634 ;; List of comment characters
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1635 (list ?\;)
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1636 ;; List of keywords
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1637 (list "cache" "primary" "secondary" "forwarders" "limit" "options"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1638 "directory" "check-names")
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1639 ;; List of additional font-lock-expressions
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1640 (list
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1641 (list "\\([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+\\)" 1 'font-lock-constant-face)
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1642 (list "^directory\\s-+\\(.*\\)" 1 'font-lock-variable-name-face)
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1643 (list "^\\(primary\\|cache\\)\\s-+\\([.A-Za-z]+\\)\\s-+\\(.*\\)"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1644 (list 2 'font-lock-variable-name-face)
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1645 (list 3 'font-lock-constant-face)))
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1646 ;; List of additional automode-alist expressions
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1647 (list "/etc/named.boot\\'")
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1648 ;; List of set up functions to call
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1649 nil)
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1650
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1651 (define-generic-mode named-database-generic-mode
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1652 ;; List of comment characters
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1653 (list ?\;)
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1654 ;; List of keywords
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1655 (list "IN" "NS" "CNAME" "SOA" "PTR" "MX" "A")
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1656 ;; List of additional font-lock-expressions
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1657 (list
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1658 (list "\\([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+\\)" 1 'font-lock-constant-face)
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1659 (list "^\\([.A-Za-z0-9]+\\)" 1 'font-lock-variable-name-face))
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1660 ;; List of additional automode-alist expressions
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1661 nil
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1662 ;; List of set up functions to call
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1663 nil)
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1664
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1665 (defvar named-database-time-string "%Y%m%d%H"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1666 "Timestring for named serial numbers.")
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1667
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1668 (defun named-database-print-serial ()
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1669 "Print a serial number based on the current date."
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1670 (interactive)
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1671 (insert (format-time-string named-database-time-string (current-time))))
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1672
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1673 (define-generic-mode resolve-conf-generic-mode
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1674 ;; List of comment characters
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1675 (list ?#)
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1676 ;; List of keywords
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1677 (list "nameserver" "domain" "search" "sortlist" "options")
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1678 ;; List of additional font-lock-expressions
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1679 nil
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1680 ;; List of additional automode-alist expressions
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1681 (list "/etc/resolv[e]?.conf\\'")
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1682 ;; List of set up functions to call
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1683 nil)
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1684
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1685 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1686 ;; Modes for spice and common electrical engineering circuit netlist formats
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1687 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1688
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1689 (define-generic-mode spice-generic-mode
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1690 nil
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1691 (list
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1692 "and"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1693 "cccs"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1694 "ccvs"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1695 "delay"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1696 "nand"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1697 "nor"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1698 "npwl"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1699 "or"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1700 "par"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1701 "ppwl"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1702 "pwl"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1703 "vccap"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1704 "vccs"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1705 "vcr"
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1706 "vcvs")
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1707 '(
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1708 ("^\\s-*\\([*].*\\)" 1 'font-lock-comment-face)
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1709 (" \\(\\$ .*\\)$" 1 'font-lock-comment-face)
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1710 ("^\\(\\$ .*\\)$" 1 'font-lock-comment-face)
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1711 ("\\([*].*\\)" 1 'font-lock-comment-face)
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1712 ("^\\([+]\\)" 1 'font-lock-string-face)
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1713 ("^\\s-*\\([.]\\w+\\>\\)" 1 'font-lock-keyword-face)
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1714 ("\\(\\([.]\\|_\\|\\w\\)+\\)\\s-*=" 1 'font-lock-variable-name-face)
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1715 ("\\('[^']+'\\)" 1 'font-lock-string-face)
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1716 ("\\(\"[^\"]+\"\\)" 1 'font-lock-string-face))
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1717 (list "\\.[sS][pP]\\'"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1718 "\\.[sS][pP][iI]\\'"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1719 "\\.[sS][pP][iI][cC][eE]\\'"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1720 "\\.[iI][nN][cC]\\'")
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1721 (list
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1722 'generic-bracket-support
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1723 ;; Make keywords case-insensitive
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1724 (function
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1725 (lambda()
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1726 (setq font-lock-defaults (list 'generic-font-lock-defaults nil t)))))
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1727 "Generic mode for SPICE circuit netlist files.")
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1728
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1729 (define-generic-mode ibis-generic-mode
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1730 (list ?|)
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1731 nil
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1732 '(
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1733 ("[[]\\([^]]*\\)[]]" 1 'font-lock-keyword-face)
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1734 ("\\(\\(_\\|\\w\\)+\\)\\s-*=" 1 'font-lock-variable-name-face))
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1735 (list "\\.[iI][bB][sS]\\'")
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1736 (list 'generic-bracket-support)
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1737 "Generic mode for IBIS circuit netlist files.")
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1738
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1739 (define-generic-mode astap-generic-mode
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1740 nil
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1741 (list
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1742 "analyze"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1743 "description"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1744 "elements"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1745 "execution"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1746 "features"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1747 "functions"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1748 "ground"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1749 "model"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1750 "outputs"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1751 "print"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1752 "run"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1753 "controls"
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1754 "table")
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1755 '(("^\\s-*\\([*].*\\)" 1 'font-lock-comment-face)
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1756 (";\\s-*\\([*].*\\)" 1 'font-lock-comment-face)
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1757 ("^\\s-*\\([.]\\w+\\>\\)" 1 'font-lock-keyword-face)
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1758 ("\\('[^']+'\\)" 1 'font-lock-string-face)
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1759 ("\\(\"[^\"]+\"\\)" 1 'font-lock-string-face)
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1760 ("[(,]\\s-*\\(\\([.]\\|_\\|\\w\\)+\\)\\s-*=" 1 'font-lock-variable-name-face))
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1761 (list "\\.[aA][pP]\\'"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1762 "\\.[aA][sS][xX]\\'"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1763 "\\.[aA][sS][tT][aA][pP]\\'"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1764 "\\.[pP][sS][pP]\\'"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1765 "\\.[dD][eE][cC][kK]\\'"
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1766 "\\.[gG][oO][dD][aA][tT][aA]")
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1767 (list
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1768 'generic-bracket-support
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1769 ;; Make keywords case-insensitive
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1770 (function
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1771 (lambda()
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1772 (setq font-lock-defaults (list 'generic-font-lock-defaults nil t)))))
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1773 "Generic mode for ASTAP circuit netlist files.")
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1774
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1775 (define-generic-mode etc-modules-conf-generic-mode
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1776 ;; List of comment characters
50265
e8baa2ffdd8f Use fixes to rul-generic-mode, contributed by "Rolf Sandau" <Rolf.Sandau@marconi.com>
Peter Breton <pbreton@attbi.com>
parents: 48791
diff changeset
1777 (list ?#)
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1778 ;; List of keywords
53360
c5e477f739fb (etc-modules-conf-generic-mode): A more complete set of keywords.
Eli Zaretskii <eliz@is.elta.co.il>
parents: 52401
diff changeset
1779 (list
c5e477f739fb (etc-modules-conf-generic-mode): A more complete set of keywords.
Eli Zaretskii <eliz@is.elta.co.il>
parents: 52401
diff changeset
1780 "above"
c5e477f739fb (etc-modules-conf-generic-mode): A more complete set of keywords.
Eli Zaretskii <eliz@is.elta.co.il>
parents: 52401
diff changeset
1781 "alias"
c5e477f739fb (etc-modules-conf-generic-mode): A more complete set of keywords.
Eli Zaretskii <eliz@is.elta.co.il>
parents: 52401
diff changeset
1782 "below"
c5e477f739fb (etc-modules-conf-generic-mode): A more complete set of keywords.
Eli Zaretskii <eliz@is.elta.co.il>
parents: 52401
diff changeset
1783 "define"
c5e477f739fb (etc-modules-conf-generic-mode): A more complete set of keywords.
Eli Zaretskii <eliz@is.elta.co.il>
parents: 52401
diff changeset
1784 "depfile"
c5e477f739fb (etc-modules-conf-generic-mode): A more complete set of keywords.
Eli Zaretskii <eliz@is.elta.co.il>
parents: 52401
diff changeset
1785 "else"
c5e477f739fb (etc-modules-conf-generic-mode): A more complete set of keywords.
Eli Zaretskii <eliz@is.elta.co.il>
parents: 52401
diff changeset
1786 "elseif"
c5e477f739fb (etc-modules-conf-generic-mode): A more complete set of keywords.
Eli Zaretskii <eliz@is.elta.co.il>
parents: 52401
diff changeset
1787 "endif"
c5e477f739fb (etc-modules-conf-generic-mode): A more complete set of keywords.
Eli Zaretskii <eliz@is.elta.co.il>
parents: 52401
diff changeset
1788 "if"
c5e477f739fb (etc-modules-conf-generic-mode): A more complete set of keywords.
Eli Zaretskii <eliz@is.elta.co.il>
parents: 52401
diff changeset
1789 "include"
c5e477f739fb (etc-modules-conf-generic-mode): A more complete set of keywords.
Eli Zaretskii <eliz@is.elta.co.il>
parents: 52401
diff changeset
1790 "insmod_opt"
c5e477f739fb (etc-modules-conf-generic-mode): A more complete set of keywords.
Eli Zaretskii <eliz@is.elta.co.il>
parents: 52401
diff changeset
1791 "install"
c5e477f739fb (etc-modules-conf-generic-mode): A more complete set of keywords.
Eli Zaretskii <eliz@is.elta.co.il>
parents: 52401
diff changeset
1792 "keep"
c5e477f739fb (etc-modules-conf-generic-mode): A more complete set of keywords.
Eli Zaretskii <eliz@is.elta.co.il>
parents: 52401
diff changeset
1793 "options"
c5e477f739fb (etc-modules-conf-generic-mode): A more complete set of keywords.
Eli Zaretskii <eliz@is.elta.co.il>
parents: 52401
diff changeset
1794 "path"
c5e477f739fb (etc-modules-conf-generic-mode): A more complete set of keywords.
Eli Zaretskii <eliz@is.elta.co.il>
parents: 52401
diff changeset
1795 "generic_stringfile"
c5e477f739fb (etc-modules-conf-generic-mode): A more complete set of keywords.
Eli Zaretskii <eliz@is.elta.co.il>
parents: 52401
diff changeset
1796 "pcimapfile"
c5e477f739fb (etc-modules-conf-generic-mode): A more complete set of keywords.
Eli Zaretskii <eliz@is.elta.co.il>
parents: 52401
diff changeset
1797 "isapnpmapfile"
c5e477f739fb (etc-modules-conf-generic-mode): A more complete set of keywords.
Eli Zaretskii <eliz@is.elta.co.il>
parents: 52401
diff changeset
1798 "usbmapfile"
c5e477f739fb (etc-modules-conf-generic-mode): A more complete set of keywords.
Eli Zaretskii <eliz@is.elta.co.il>
parents: 52401
diff changeset
1799 "parportmapfile"
c5e477f739fb (etc-modules-conf-generic-mode): A more complete set of keywords.
Eli Zaretskii <eliz@is.elta.co.il>
parents: 52401
diff changeset
1800 "ieee1394mapfile"
c5e477f739fb (etc-modules-conf-generic-mode): A more complete set of keywords.
Eli Zaretskii <eliz@is.elta.co.il>
parents: 52401
diff changeset
1801 "pnpbiosmapfile"
c5e477f739fb (etc-modules-conf-generic-mode): A more complete set of keywords.
Eli Zaretskii <eliz@is.elta.co.il>
parents: 52401
diff changeset
1802 "probe"
c5e477f739fb (etc-modules-conf-generic-mode): A more complete set of keywords.
Eli Zaretskii <eliz@is.elta.co.il>
parents: 52401
diff changeset
1803 "probeall"
c5e477f739fb (etc-modules-conf-generic-mode): A more complete set of keywords.
Eli Zaretskii <eliz@is.elta.co.il>
parents: 52401
diff changeset
1804 "prune"
c5e477f739fb (etc-modules-conf-generic-mode): A more complete set of keywords.
Eli Zaretskii <eliz@is.elta.co.il>
parents: 52401
diff changeset
1805 "post-install"
c5e477f739fb (etc-modules-conf-generic-mode): A more complete set of keywords.
Eli Zaretskii <eliz@is.elta.co.il>
parents: 52401
diff changeset
1806 "post-remove"
c5e477f739fb (etc-modules-conf-generic-mode): A more complete set of keywords.
Eli Zaretskii <eliz@is.elta.co.il>
parents: 52401
diff changeset
1807 "pre-install"
c5e477f739fb (etc-modules-conf-generic-mode): A more complete set of keywords.
Eli Zaretskii <eliz@is.elta.co.il>
parents: 52401
diff changeset
1808 "pre-remove"
c5e477f739fb (etc-modules-conf-generic-mode): A more complete set of keywords.
Eli Zaretskii <eliz@is.elta.co.il>
parents: 52401
diff changeset
1809 "remove"
c5e477f739fb (etc-modules-conf-generic-mode): A more complete set of keywords.
Eli Zaretskii <eliz@is.elta.co.il>
parents: 52401
diff changeset
1810 "persistdir")
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1811 ;; List of additional font-lock-expressions
50265
e8baa2ffdd8f Use fixes to rul-generic-mode, contributed by "Rolf Sandau" <Rolf.Sandau@marconi.com>
Peter Breton <pbreton@attbi.com>
parents: 48791
diff changeset
1812 nil
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1813 ;; List of additional automode-alist expressions
50265
e8baa2ffdd8f Use fixes to rul-generic-mode, contributed by "Rolf Sandau" <Rolf.Sandau@marconi.com>
Peter Breton <pbreton@attbi.com>
parents: 48791
diff changeset
1814 (list "/etc/modules.conf" "/etc/conf.modules")
60774
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1815 ;; List of set up functions to call
65f5b049afac Don't prevent compilation. Don't require generic.
Lute Kamstra <lute@gnu.org>
parents: 53360
diff changeset
1816 nil)
26044
a0f47d3e4a95 Added new InstallShield keywords.
Peter Breton <pbreton@attbi.com>
parents: 25624
diff changeset
1817
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1818 (provide 'generic-x)
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1819
52401
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 51716
diff changeset
1820 ;;; arch-tag: cde692a5-9ff6-4506-9999-c67999c2bdb5
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1821 ;;; generic-x.el ends here