annotate lisp/generic-x.el @ 28041:b4b10eeb9695

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