annotate lisp/generic-x.el @ 25413:c23f7efbfd57

(diff-parse-differences): Use a marker instead of an integer for `compilation-parsing-end'.
author Richard M. Stallman <rms@gnu.org>
date Sat, 28 Aug 1999 18:21:34 +0000
parents ba60301081e8
children db167bb5dfd8
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.
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
29 ;;
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).
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
40 ;;
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>
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
51 ;;
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:
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
58 ;;
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
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
61 ;;
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.
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
69 ;;
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.
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
72 ;;
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):
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
75 ;;
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
76 ;; '(("^\\(\\[.*\\]\\)" 1 'font-lock-reference-face)
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
77 ;; ("^\\(.*\\)=" 1 'font-lock-variable-name-face)
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
78 ;;
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:
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
81 ;;
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
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
84 ;;
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.
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
88 ;;
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.
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
109 Please note that if you set this variable after generic-x is loaded,
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
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
112 :type '(repeat sexp)
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
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
115 (defcustom generic-define-mswindows-modes
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
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
131 (append (list 'bat-generic-mode 'ini-generic-mode
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
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
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
134 'hosts-generic-mode 'apache-generic-mode)
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
135 generic-extras-enable-list)))
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
136
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
137 (and generic-define-unix-modes
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
138 (setq generic-extras-enable-list
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
139 (append (list 'apache-generic-mode 'samba-generic-mode
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
140 'hosts-generic-mode 'fvwm-generic-mode
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
141 'x-resource-generic-mode
21947
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
142 'alias-generic-mode
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
143 )
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
144 generic-extras-enable-list)))
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
145
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
146 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
147 ;; Generic-modes
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
148 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
149
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
150 ;;; Apache
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
151 (and
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
152 (memq 'apache-generic-mode generic-extras-enable-list)
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
153
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
154 (define-generic-mode 'apache-generic-mode
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
155 (list ?#)
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
156 nil
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
157 '(("^\\(<.*>\\)" 1 'font-lock-reference-face)
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
158 ("^\\(\\sw+\\)\\s-" 1 'font-lock-variable-name-face))
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
159 (list "srm\\.conf\\'" "httpd\\.conf\\'" "access\\.conf\\'")
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
160 nil
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
161 "Generic mode for Apache or HTTPD configuration files."))
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
162
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
163 ;;; Samba
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
164 (and
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
165 (memq 'samba-generic-mode generic-extras-enable-list)
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
166
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
167 (define-generic-mode 'samba-generic-mode
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
168 (list ?\;)
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
169 nil
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
170 '(("^\\(\\[.*\\]\\)" 1 'font-lock-reference-face))
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
171 (list "smb\\.conf\\'")
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
172 (list 'generic-bracket-support)
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
173 "Generic mode for Samba configuration files."))
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
174
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
175 ;;; Fvwm
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
176 ;; This is pretty basic. Also, modes for other window managers could
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
177 ;; be defined as well.
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
178 (and
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
179 (memq 'fvwm-generic-mode generic-extras-enable-list)
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
180
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
181 (define-generic-mode 'fvwm-generic-mode
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
182 (list ?#)
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
183 (list
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
184 "AddToMenu"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
185 "AddToFunc"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
186 "ButtonStyle"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
187 "EndFunction"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
188 "EndPopup"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
189 "Function"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
190 "IconPath"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
191 "Key"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
192 "ModulePath"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
193 "Mouse"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
194 "PixmapPath"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
195 "Popup"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
196 "Style"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
197 )
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
198 nil
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
199 (list "\\.fvwmrc\\'" "\\.fvwm2rc\\'")
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
200 nil
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
201 "Generic mode for FVWM configuration files."))
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
202
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
203 ;;; X Resource
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
204 ;; 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
205 ;; think it's standard with Emacs
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
206 (and
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
207 (memq 'x-resource-generic-mode generic-extras-enable-list)
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
208
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
209 (define-generic-mode 'x-resource-generic-mode
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
210 (list ?!)
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
211 nil
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
212 '(("^\\([^:\n]+:\\)" 1 'font-lock-variable-name-face))
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
213 (list "\\.Xdefaults\\'" "\\.Xresources\\'")
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
214 nil
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
215 "Generic mode for X Resource configuration files."))
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
216
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
217 ;;; Hosts
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
218 (and
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
219 (memq 'hosts-generic-mode generic-extras-enable-list)
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
220
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
221 (define-generic-mode 'hosts-generic-mode
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
222 (list ?#)
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
223 (list "localhost")
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
224 '(("\\([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+\\)" 1 'font-lock-reference-face))
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
225 (list "[hH][oO][sS][tT][sS]\\'")
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
226 nil
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
227 "Generic mode for HOSTS files."))
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
228
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
229 ;;; Windows INF files
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
230 (and
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
231 (memq 'inf-generic-mode generic-extras-enable-list)
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
232
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
233 (define-generic-mode 'inf-generic-mode
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
234 (list ?\;)
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 '(("^\\(\\[.*\\]\\)" 1 'font-lock-reference-face))
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
237 (list "\\.[iI][nN][fF]\\'")
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
238 (list 'generic-bracket-support)
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
239 "Generic mode for MS-Windows INF files."))
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
240
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
241 ;;; Windows INI files
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
242 ;; Should define escape character as well!
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
243 (and
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
244 (memq 'ini-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 'ini-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 '(("^\\(\\[.*\\]\\)" 1 'font-lock-reference-face)
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
250 ("^\\([^=\n\r]*\\)=\\([^\n\r]*\\)$"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
251 (1 font-lock-function-name-face)
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
252 (2 font-lock-variable-name-face)))
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
253 (list "\\.[iI][nN][iI]\\'")
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
254 (list
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
255 (function
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
256 (lambda ()
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
257 (setq imenu-generic-expression
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
258 '((nil "^\\[\\(.*\\)\\]" 1)
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
259 ("*Variables*" "^\\s-*\\([^=]+\\)\\s-*=" 1)))
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
260 )))
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
261 "Generic mode for MS-Windows INI files."))
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
262
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
263 ;;; Windows REG files
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
264 ;;; Unfortunately, Windows 95 and Windows NT have different REG file syntax!
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
265 (and
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
266 (memq 'reg-generic-mode generic-extras-enable-list)
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
267
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
268 (define-generic-mode 'reg-generic-mode
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 '("key" "classes_root" "REGEDIT" "REGEDIT4")
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
271 '(("\\(\\[.*]\\)" 1 'font-lock-reference-face)
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
272 ("^\\([^\n\r]*\\)\\s-*=" 1 'font-lock-variable-name-face))
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
273 '("\\.[rR][eE][gG]\\'")
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
274 (list
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
275 (function
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
276 (lambda ()
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
277 (setq imenu-generic-expression
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
278 '((nil "^\\s-*\\(.*\\)\\s-*=" 1))))))
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
279 "Generic mode for MS-Windows Registry files."))
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
280
23375
2656333fd35e (bat-generic-mode): Fix regexps for keywords and
Eli Zaretskii <eliz@gnu.org>
parents: 22110
diff changeset
281 ;;; DOS/Windows BAT files
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
282 (if (not (memq 'bat-generic-mode generic-extras-enable-list))
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
283 nil
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
284 (define-generic-mode 'bat-generic-mode
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
285 nil
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
286 nil
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
287 (list
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
288 ;; Make this one first in the list, otherwise comments will
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
289 ;; be over-written by other variables
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
290 (list "^[@ \t]*\\([rR][eE][mM][^\n\r]*\\)" 1 'font-lock-comment-face t)
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
291 (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
292 (list
2656333fd35e (bat-generic-mode): Fix regexps for keywords and
Eli Zaretskii <eliz@gnu.org>
parents: 22110
diff changeset
293 "^[@ \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
294 '(1 font-lock-builtin-face)
2656333fd35e (bat-generic-mode): Fix regexps for keywords and
Eli Zaretskii <eliz@gnu.org>
parents: 22110
diff changeset
295 '(2 font-lock-constant-face 'append t))
2656333fd35e (bat-generic-mode): Fix regexps for keywords and
Eli Zaretskii <eliz@gnu.org>
parents: 22110
diff changeset
296 ;; 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
297 (list
2656333fd35e (bat-generic-mode): Fix regexps for keywords and
Eli Zaretskii <eliz@gnu.org>
parents: 22110
diff changeset
298 "^[@ \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
299 '(1 font-lock-builtin-face)
2656333fd35e (bat-generic-mode): Fix regexps for keywords and
Eli Zaretskii <eliz@gnu.org>
parents: 22110
diff changeset
300 '(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
301 '(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
302 ;; 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
303 ;; 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
304 ;; are frequently used in simple text, we punt.)
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
305 (generic-make-keywords-list
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
306 (list
23375
2656333fd35e (bat-generic-mode): Fix regexps for keywords and
Eli Zaretskii <eliz@gnu.org>
parents: 22110
diff changeset
307 "FOR" "for" "For"
2656333fd35e (bat-generic-mode): Fix regexps for keywords and
Eli Zaretskii <eliz@gnu.org>
parents: 22110
diff changeset
308 "IF" "if" "If"
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
309 )
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
310 'font-lock-keyword-face "^[@ \t]*")
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
311 ;; These keywords can be anywhere on a line
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
312 (generic-make-keywords-list
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
313 (list
23375
2656333fd35e (bat-generic-mode): Fix regexps for keywords and
Eli Zaretskii <eliz@gnu.org>
parents: 22110
diff changeset
314 "DO" "do" "Do"
2656333fd35e (bat-generic-mode): Fix regexps for keywords and
Eli Zaretskii <eliz@gnu.org>
parents: 22110
diff changeset
315 "EXIST" "exist" "Exist"
2656333fd35e (bat-generic-mode): Fix regexps for keywords and
Eli Zaretskii <eliz@gnu.org>
parents: 22110
diff changeset
316 "ERRORLEVEL" "errorlevel" "ErrorLevel" "Errorlevel"
2656333fd35e (bat-generic-mode): Fix regexps for keywords and
Eli Zaretskii <eliz@gnu.org>
parents: 22110
diff changeset
317 "GOTO" "goto" "GoTo" "Goto"
2656333fd35e (bat-generic-mode): Fix regexps for keywords and
Eli Zaretskii <eliz@gnu.org>
parents: 22110
diff changeset
318 "NOT" "not" "Not"
2656333fd35e (bat-generic-mode): Fix regexps for keywords and
Eli Zaretskii <eliz@gnu.org>
parents: 22110
diff changeset
319 ) 'font-lock-keyword-face "[ \t|\n]")
2656333fd35e (bat-generic-mode): Fix regexps for keywords and
Eli Zaretskii <eliz@gnu.org>
parents: 22110
diff changeset
320 ; These are built-in commands. Only frequently-used ones are listed.
2656333fd35e (bat-generic-mode): Fix regexps for keywords and
Eli Zaretskii <eliz@gnu.org>
parents: 22110
diff changeset
321 (generic-make-keywords-list
2656333fd35e (bat-generic-mode): Fix regexps for keywords and
Eli Zaretskii <eliz@gnu.org>
parents: 22110
diff changeset
322 (list
2656333fd35e (bat-generic-mode): Fix regexps for keywords and
Eli Zaretskii <eliz@gnu.org>
parents: 22110
diff changeset
323 "CALL" "call" "Call"
2656333fd35e (bat-generic-mode): Fix regexps for keywords and
Eli Zaretskii <eliz@gnu.org>
parents: 22110
diff changeset
324 "CD" "cd" "Cd"
2656333fd35e (bat-generic-mode): Fix regexps for keywords and
Eli Zaretskii <eliz@gnu.org>
parents: 22110
diff changeset
325 "CLS" "cls" "Cls"
2656333fd35e (bat-generic-mode): Fix regexps for keywords and
Eli Zaretskii <eliz@gnu.org>
parents: 22110
diff changeset
326 "COPY" "copy" "Copy"
2656333fd35e (bat-generic-mode): Fix regexps for keywords and
Eli Zaretskii <eliz@gnu.org>
parents: 22110
diff changeset
327 "DEL" "del" "Del"
2656333fd35e (bat-generic-mode): Fix regexps for keywords and
Eli Zaretskii <eliz@gnu.org>
parents: 22110
diff changeset
328 "ECHO" "echo" "Echo"
2656333fd35e (bat-generic-mode): Fix regexps for keywords and
Eli Zaretskii <eliz@gnu.org>
parents: 22110
diff changeset
329 "MD" "md" "Md"
2656333fd35e (bat-generic-mode): Fix regexps for keywords and
Eli Zaretskii <eliz@gnu.org>
parents: 22110
diff changeset
330 "PATH" "path" "Path"
2656333fd35e (bat-generic-mode): Fix regexps for keywords and
Eli Zaretskii <eliz@gnu.org>
parents: 22110
diff changeset
331 "PAUSE" "pause" "Pause"
2656333fd35e (bat-generic-mode): Fix regexps for keywords and
Eli Zaretskii <eliz@gnu.org>
parents: 22110
diff changeset
332 "PROMPT" "prompt" "Prompt"
2656333fd35e (bat-generic-mode): Fix regexps for keywords and
Eli Zaretskii <eliz@gnu.org>
parents: 22110
diff changeset
333 "RD" "rd" "Rd"
2656333fd35e (bat-generic-mode): Fix regexps for keywords and
Eli Zaretskii <eliz@gnu.org>
parents: 22110
diff changeset
334 "REN" "ren" "Ren"
2656333fd35e (bat-generic-mode): Fix regexps for keywords and
Eli Zaretskii <eliz@gnu.org>
parents: 22110
diff changeset
335 "SET" "set" "Set"
2656333fd35e (bat-generic-mode): Fix regexps for keywords and
Eli Zaretskii <eliz@gnu.org>
parents: 22110
diff changeset
336 "START" "start" "Start"
2656333fd35e (bat-generic-mode): Fix regexps for keywords and
Eli Zaretskii <eliz@gnu.org>
parents: 22110
diff changeset
337 "SHIFT" "shift" "Shift"
2656333fd35e (bat-generic-mode): Fix regexps for keywords and
Eli Zaretskii <eliz@gnu.org>
parents: 22110
diff changeset
338 ) 'font-lock-builtin-face "[ \t|\n]")
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
339 (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
340 (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
341 (list "\\(%[0-9]\\)" 1 'font-lock-variable-name-face t)
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
342 (list "\\(/[^/ \"\t\n]+\\)" 1 'font-lock-type-face)
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
343 (list "[\t ]+\\([+-][^\t\n\" ]+\\)" 1 'font-lock-type-face)
23375
2656333fd35e (bat-generic-mode): Fix regexps for keywords and
Eli Zaretskii <eliz@gnu.org>
parents: 22110
diff changeset
344 (list "[ \t\n|]\\<\\([gG][oO][tT][oO]\\)\\>[ \t]*\\(\\sw+\\)?"
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
345 '(1 font-lock-keyword-face)
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
346 '(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
347 (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
348 '(1 font-lock-builtin-face)
2656333fd35e (bat-generic-mode): Fix regexps for keywords and
Eli Zaretskii <eliz@gnu.org>
parents: 22110
diff changeset
349 '(2 font-lock-variable-name-face t t))
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
350
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
351 )
23375
2656333fd35e (bat-generic-mode): Fix regexps for keywords and
Eli Zaretskii <eliz@gnu.org>
parents: 22110
diff changeset
352 (list
2656333fd35e (bat-generic-mode): Fix regexps for keywords and
Eli Zaretskii <eliz@gnu.org>
parents: 22110
diff changeset
353 "\\.[bB][aA][tT]\\'"
2656333fd35e (bat-generic-mode): Fix regexps for keywords and
Eli Zaretskii <eliz@gnu.org>
parents: 22110
diff changeset
354 "\\`[cC][oO][nN][fF][iI][gG]\\."
2656333fd35e (bat-generic-mode): Fix regexps for keywords and
Eli Zaretskii <eliz@gnu.org>
parents: 22110
diff changeset
355 "\\`[aA][uU][tT][oO][eE][xX][eE][cC]\\." )
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
356 (list 'generic-bat-mode-setup-function)
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
357 "Generic mode for MS-Windows BAT files.")
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
358
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
359 (defvar bat-generic-mode-syntax-table nil
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
360 "Syntax table in use in bat-generic-mode buffers.")
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
361
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
362 ;; Make underscores count as words
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
363 (if bat-generic-mode-syntax-table
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
364 nil
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
365 (setq bat-generic-mode-syntax-table (make-syntax-table))
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
366 (modify-syntax-entry ?_ "w" bat-generic-mode-syntax-table))
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
367
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
368 ;; bat-generic-mode doesn't use the comment functionality of generic-mode
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
369 ;; because it has a three-letter comment-string, so we do it
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
370 ;; here manually instead
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
371 (defun generic-bat-mode-setup-function ()
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
372 (make-local-variable 'parse-sexp-ignore-comments)
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
373 (make-local-variable 'comment-start)
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
374 (make-local-variable 'comment-start-skip)
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
375 (make-local-variable 'comment-end)
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
376 (setq imenu-generic-expression '((nil "^:\\(\\sw+\\)" 1))
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
377 parse-sexp-ignore-comments t
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
378 comment-end ""
21947
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
379 comment-start "REM "
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
380 comment-start-skip "[Rr][Ee][Mm] *"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
381 )
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
382 (set-syntax-table bat-generic-mode-syntax-table)
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
383 )
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
384 )
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
385
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
386 ;;; Mailagent
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
387 ;; 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
388 ;; for procmail?
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
389 (and
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
390 (memq 'mailagent-rules-generic-mode generic-extras-enable-list)
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
391
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
392 (define-generic-mode 'mailagent-rules-generic-mode
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
393 (list ?#)
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
394 (list "SAVE" "DELETE" "PIPE" "ANNOTATE" "REJECT")
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
395 '(("^\\(\\sw+\\)\\s-*=" 1 'font-lock-variable-name-face)
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
396 ("\\s-/\\([^/]+\\)/[i, \t\n]" 1 'font-lock-reference-face))
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
397 (list "\\.rules\\'")
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
398 (list 'mailagent-rules-setup-function)
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
399 "Mode for Mailagent rules files.")
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
400
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
401 (defun mailagent-rules-setup-function ()
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
402 (make-local-variable 'imenu-generic-expression)
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
403 (setq imenu-generic-expression
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
404 '((nil "\\s-/\\([^/]+\\)/[i, \t\n]" 1))))
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
405 )
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
406
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
407 ;; Solaris/Sys V prototype files
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
408 (and
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
409 (memq 'prototype-generic-mode generic-extras-enable-list)
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
410
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
411 (define-generic-mode 'prototype-generic-mode
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
412 (list ?#)
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
413 nil
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
414 '(
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
415 ("^\\([0-9]\\)?\\s-*\\([a-z]\\)\\s-+\\([A-Za-z_]+\\)\\s-+\\([^\n\r]*\\)$"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
416 (2 font-lock-reference-face)
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
417 (3 font-lock-keyword-face))
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
418 ("^\\([a-z]\\) \\([A-Za-z_]+\\)=\\([^\n\r]*\\)$"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
419 (1 font-lock-reference-face)
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
420 (2 font-lock-keyword-face)
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
421 (3 font-lock-variable-name-face))
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
422 ("^\\(!\\s-*\\(search\\|include\\|default\\)\\)\\s-*\\([^\n\r]*\\)$"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
423 (1 font-lock-keyword-face)
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
424 (3 font-lock-variable-name-face))
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
425 ("^\\(!\\s-*\\sw+\\)=\\([^\n\r]*\\)$"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
426 (1 font-lock-keyword-face)
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
427 (2 font-lock-variable-name-face))
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
428 )
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
429 (list "prototype\\'")
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
430 nil
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
431 "Mode for Sys V prototype files."))
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
432
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
433 ;; Solaris/Sys V pkginfo files
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
434 (and
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
435 (memq 'pkginfo-generic-mode generic-extras-enable-list)
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
436
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
437 (define-generic-mode 'pkginfo-generic-mode
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
438 (list ?#)
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
439 nil
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
440 '(
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
441 ("^\\([A-Za-z_]+\\)=\\([^\n\r]*\\)$"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
442 (1 font-lock-keyword-face)
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
443 (2 font-lock-variable-name-face))
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
444 )
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
445 (list "pkginfo\\'")
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
446 nil
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
447 "Mode for Sys V pkginfo files."))
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
448
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
449 ;; Javascript mode
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
450 (define-generic-mode 'javascript-generic-mode
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
451 (list "//")
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
452 (list
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
453 "document"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
454 "else"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
455 "function"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
456 "function"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
457 "if"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
458 "then"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
459 "var"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
460 )
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
461 (list
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
462 (list "^\\s-*function\\s-+\\([A-Za-z0-9]+\\)"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
463 '(1 font-lock-function-name-face))
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
464 (list "^\\s-*var\\s-+\\([A-Za-z0-9]+\\)"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
465 '(1 font-lock-variable-name-face))
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
466 )
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
467 (list "\\.js\\'")
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
468 (list
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
469 (function
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
470 (lambda ()
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
471 (setq imenu-generic-expression
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
472 '((nil "^function\\s-+\\([A-Za-z0-9_]+\\)" 1)))
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
473 )))
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
474 "Mode for JavaScript files.")
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 ;; VRML files
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
477 (define-generic-mode 'vrml-generic-mode
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
478 (list ?#)
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
479 (list
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
480 "DEF"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
481 "NULL"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
482 "USE"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
483 "Viewpoint"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
484 "ambientIntensity"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
485 "appearance"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
486 "children"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
487 "color"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
488 "coord"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
489 "coordIndex"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
490 "creaseAngle"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
491 "diffuseColor"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
492 "emissiveColor"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
493 "fieldOfView"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
494 "geometry"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
495 "info"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
496 "material"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
497 "normal"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
498 "orientation"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
499 "position"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
500 "shininess"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
501 "specularColor"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
502 "texCoord"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
503 "texture"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
504 "textureTransform"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
505 "title"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
506 "transparency"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
507 "type"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
508 )
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
509 (list
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
510 (list "USE\\s-+\\([-A-Za-z0-9_]+\\)"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
511 '(1 font-lock-reference-face))
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
512 (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
513 '(1 font-lock-type-face)
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
514 '(2 font-lock-reference-face))
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
515 (list "^\\s-*\\([-A-Za-z0-9_]+\\)\\s-*{"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
516 '(1 font-lock-function-name-face))
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
517 (list
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
518 "^\\s-*\\(geometry\\|appearance\\|material\\)\\s-+\\([-A-Za-z0-9_]+\\)"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
519 '(2 font-lock-variable-name-face))
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 (list "\\.wrl\\'")
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 (function
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
524 (lambda ()
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
525 (setq imenu-generic-expression
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
526 '((nil "^\\([A-Za-z0-9_]+\\)\\s-*{" 1)
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
527 ("*Definitions*"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
528 "DEF\\s-+\\([-A-Za-z0-9_]+\\)\\s-+\\([A-Za-z0-9]+\\)\\s-*{"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
529 1)))
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
530 )))
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
531 "Generic Mode for VRML 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 ;; Java Manifests
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
534 (define-generic-mode 'java-manifest-generic-mode
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
535 (list ?#)
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 "Name"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
538 "Digest-Algorithms"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
539 "Manifest-Version"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
540 "Required-Version"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
541 "Signature-Version"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
542 "Magic"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
543 "Java-Bean"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
544 "Depends-On"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
545 )
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
546 '(("^Name:\\s-+\\([^\n\r]*\\)$"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
547 (1 font-lock-variable-name-face))
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
548 ("^\\(Manifest\\|Required\\|Signature\\)-Version:\\s-+\\([^\n\r]*\\)$"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
549 (2 font-lock-reference-face))
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
550 )
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
551 (list "manifest\\.mf\\'")
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
552 nil
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
553 "Mode for Java Manifest files")
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
554
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
555 ;; Java properties files
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
556 (define-generic-mode 'java-properties-generic-mode
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
557 (list ?#)
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
558 nil
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
559 ;; Property and value can be separated with whitespace or an equal sign
21947
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
560 '(("^\\([\\.A-Za-z0-9_]+\\)\\(\\s-+\\|\\(\\s-*=\\s-*\\)\\)\\([^\r\n]*\\)$"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
561 (1 font-lock-reference-face) (4 font-lock-variable-name-face)))
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
562 nil
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
563 nil
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
564 "Mode for Java properties files.")
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
565
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
566 ;; C shell alias definitions
21947
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
567 (and
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
568 (memq 'alias-generic-mode generic-extras-enable-list)
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
569
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
570 (define-generic-mode 'alias-generic-mode
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
571 (list ?#)
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
572 (list "alias" "unalias")
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
573 '(("^alias\\s-+\\([-A-Za-z0-9_]+\\)\\s-+"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
574 (1 font-lock-variable-name-face))
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
575 ("^unalias\\s-+\\([-A-Za-z0-9_]+\\)\\s-*$"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
576 (1 font-lock-variable-name-face))
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
577 )
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
578 (list "alias\\'")
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
579 (list
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
580 (function
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
581 (lambda ()
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
582 (setq imenu-generic-expression
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
583 '((nil "^\\(alias\\|unalias\\)\\s-+\\([-a-zA-Z0-9_]+\\)" 2)))
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
584 )))
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
585 "Mode for C Shell alias files.")
21947
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
586 )
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
587
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
588 ;;; Windows RC files
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
589 ;; Contributed by ACorreir@pervasive-sw.com (Alfred Correira)
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
590 (and
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
591 (memq 'rc-generic-mode generic-extras-enable-list)
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
592
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
593 (define-generic-mode 'rc-generic-mode
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
594 ;; (list ?\/)
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
595 (list "//")
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
596 '("ACCELERATORS"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
597 "AUTO3STATE"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
598 "AUTOCHECKBOX"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
599 "AUTORADIOBUTTON"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
600 "BITMAP"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
601 "BOTTOMMARGIN"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
602 "BUTTON"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
603 "CAPTION"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
604 "CHARACTERISTICS"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
605 "CHECKBOX"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
606 "CLASS"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
607 "COMBOBOX"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
608 "CONTROL"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
609 "CTEXT"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
610 "CURSOR"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
611 "DEFPUSHBUTTON"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
612 "DESIGNINFO"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
613 "DIALOG"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
614 "DISCARDABLE"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
615 "EDITTEXT"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
616 "EXSTYLE"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
617 "FONT"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
618 "GROUPBOX"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
619 "GUIDELINES"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
620 "ICON"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
621 "LANGUAGE"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
622 "LEFTMARGIN"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
623 "LISTBOX"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
624 "LTEXT"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
625 "MENUITEM SEPARATOR"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
626 "MENUITEM"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
627 "MENU"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
628 "MOVEABLE"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
629 "POPUP"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
630 "PRELOAD"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
631 "PURE"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
632 "PUSHBOX"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
633 "PUSHBUTTON"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
634 "RADIOBUTTON"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
635 "RCDATA"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
636 "RIGHTMARGIN"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
637 "RTEXT"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
638 "SCROLLBAR"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
639 "SEPARATOR"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
640 "STATE3"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
641 "STRINGTABLE"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
642 "STYLE"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
643 "TEXTINCLUDE"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
644 "TOOLBAR"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
645 "TOPMARGIN"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
646 "VERSIONINFO"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
647 "VERSION"
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 ;; the choice of what tokens go where is somewhat arbitrary,
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
650 ;; as is the choice of which value tokens are included, as
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
651 ;; the choice of face for each token group
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
652 (list
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
653 (generic-make-keywords-list
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
654 (list
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
655 "FILEFLAGSMASK"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
656 "FILEFLAGS"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
657 "FILEOS"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
658 "FILESUBTYPE"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
659 "FILETYPE"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
660 "FILEVERSION"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
661 "PRODUCTVERSION"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
662 ) 'font-lock-type-face)
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
663 (generic-make-keywords-list
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
664 (list
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
665 "BEGIN"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
666 "BLOCK"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
667 "END"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
668 "VALUE"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
669 ) 'font-lock-function-name-face)
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
670 '("^#[ \t]*include[ \t]+\\(<[^>\"\n]+>\\)" 1 font-lock-string-face)
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
671 '("^#[ \t]*define[ \t]+\\(\\sw+\\)(" 1 font-lock-function-name-face)
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
672 '("^#[ \t]*\\(elif\\|if\\)\\>"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
673 ("\\<\\(defined\\)\\>[ \t]*(?\\(\\sw+\\)?" nil nil
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
674 (1 font-lock-reference-face) (2 font-lock-variable-name-face nil t)))
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
675 '("^#[ \t]*\\(\\sw+\\)\\>[ \t]*\\(\\sw+\\)?"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
676 (1 font-lock-reference-face) (2 font-lock-variable-name-face nil t)))
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
677 (list "\\.[rR][cC]$")
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
678 nil
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
679 "Generic mode for MS-Windows Resource files."))
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
680
21947
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
681 ;; InstallShield RUL files
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
682 ;; Contributed by Alfred.Correira@Pervasive.Com
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
683 (and
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
684 (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
685 ;;; build the regexp strings using regexp-opt
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
686 (defvar installshield-statement-keyword-list
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
687 (list
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
688 "abort"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
689 "begin"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
690 "call"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
691 "case"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
692 "declare"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
693 "default"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
694 "downto"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
695 "elseif"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
696 "else"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
697 "endfor"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
698 "endif"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
699 "endswitch"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
700 "endwhile"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
701 "end"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
702 "exit"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
703 "external"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
704 "for"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
705 "function"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
706 ;; "goto" -- handled elsewhere
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
707 "if"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
708 "program"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
709 "prototype"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
710 "repeat"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
711 "return"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
712 "step"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
713 "switch"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
714 "then"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
715 "to"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
716 "typedef"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
717 "until"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
718 "void"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
719 "while"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
720 )
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
721 "Statement keywords used in InstallShield 3 and 5.")
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
722
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
723 (defvar installshield-system-functions-list
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
724 (list
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
725 "AddFolderIcon"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
726 "AddProfString"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
727 "AddressString"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
728 "AppCommand"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
729 "AskDestPath"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
730 "AskOptions"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
731 "AskPath"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
732 "AskText"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
733 "AskYesNo"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
734 "BatchDeleteEx"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
735 "BatchFileLoad"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
736 "BatchFileSave"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
737 "BatchFind"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
738 "BatchGetFileName"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
739 "BatchMoveEx"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
740 "BatchSetFileName"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
741 "CloseFile"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
742 "CmdGetHwndDlg"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
743 "ComponentAddItem" ; differs between IS3 and IS5
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
744 "ComponentCompareSizeRequired" ; IS5 only
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
745 "ComponentDialog"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
746 "ComponentError" ; IS5 only
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
747 "ComponentFileEnum" ; IS5 only
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
748 "ComponentFileInfo" ; IS5 only
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
749 "ComponentFilterLanguage" ; IS5 only
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
750 "ComponentFilterOS" ; IS5 only
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
751 "ComponentGetData" ; IS5 only
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
752 "ComponentGetItemInfo" ; IS3 only
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
753 "ComponentGetItemSize" ; differs between IS3 and IS5
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
754 "ComponentIsItemSelected" ; differs between IS3 and IS5
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
755 "ComponentListItems"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
756 "ComponentMoveData" ; IS5 only
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
757 "ComponentSelectItem" ; differs between IS3 and IS5
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
758 "ComponentSetData" ; IS5 only
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
759 "ComponentSetItemInfo" ; IS3 only
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
760 "ComponentSetTarget" ; IS5 only
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
761 "ComponentSetupTypeEnum" ; IS5 only
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
762 "ComponentSetupTypeGetData" ; IS5 only
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
763 "ComponentSetupTypeSet" ; IS5 only
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
764 "ComponentTotalSize"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
765 "ComponentValidate" ; IS5 only
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
766 "CompressAdd" ; IS3 only
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
767 "CompressDel" ; IS3 only
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
768 "CompressEnum" ; IS3 only
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
769 "CompressGet" ; IS3 only
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
770 "CompressInfo" ; IS3 only
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
771 "CopyFile"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
772 "CreateDir"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
773 "CreateFile"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
774 "CreateProgramFolder"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
775 "DeinstallSetReference" ; IS5 only
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
776 "DeinstallStart"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
777 "Delay"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
778 "DeleteDir"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
779 "DeleteFile"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
780 "DialogSetInfo"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
781 "Disable"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
782 "DoInstall"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
783 "Do"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
784 "Enable"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
785 "EnterDisk"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
786 "ExistsDir"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
787 "ExistsDisk"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
788 "ExitProgMan"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
789 "EzBatchAddPath"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
790 "EzBatchAddString"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
791 "EzBatchReplace"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
792 "EzConfigAddDriver"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
793 "EzConfigAddString"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
794 "EzConfigGetValue"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
795 "EzConfigSetValue"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
796 "EzDefineDialog"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
797 "FileCompare"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
798 "FileDeleteLine"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
799 "FileGrep"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
800 "FileInsertLine"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
801 "FileSetBeginDefine" ; IS3 only
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
802 "FileSetEndDefine" ; IS3 only
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
803 "FileSetPerformEz" ; IS3 only
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
804 "FileSetPerform" ; IS3 only
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
805 "FileSetReset" ; IS3 only
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
806 "FileSetRoot" ; IS3 only
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
807 "FindAllDirs"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
808 "FindAllFiles"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
809 "FindFile"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
810 "FindWindow"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
811 "GetDiskSpace"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
812 "GetDisk"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
813 "GetEnvVar"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
814 "GetExtents"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
815 "GetFileInfo"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
816 "GetLine"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
817 "GetProfString"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
818 "GetSystemInfo"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
819 "GetValidDrivesList"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
820 "GetVersion"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
821 "GetWindowHandle"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
822 "InstallationInfo"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
823 "Is"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
824 "LaunchApp"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
825 "ListAddItem"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
826 "ListAddString"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
827 "ListCount"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
828 "ListCreate"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
829 "ListDestroy"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
830 "ListFindItem"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
831 "ListFindString"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
832 "ListGetFirstItem"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
833 "ListGetFirstString"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
834 "ListGetNextItem"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
835 "ListGetNextString"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
836 "ListReadFromFile"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
837 "ListSetNextItem"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
838 "ListSetNextString"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
839 "ListSetIndex"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
840 "ListWriteToFile"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
841 "LongPathToQuote"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
842 "LongPathToShortPath"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
843 "MessageBox"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
844 "NumToStr"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
845 "OpenFileMode"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
846 "OpenFile"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
847 "ParsePath"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
848 "PathAdd"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
849 "PathDelete"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
850 "PathFind"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
851 "PathGet"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
852 "PathMove"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
853 "PathSet"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
854 "Path"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
855 "PlaceBitmap"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
856 "PlaceWindow"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
857 "PlayMMedia" ; IS5 only
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
858 "ProgDefGroupType"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
859 "RegDBCreateKeyEx"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
860 "RegDbDeleteValue"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
861 "RegDBGetItem"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
862 "RegDBKeyExist"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
863 "RegDBSetItem"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
864 "RegDBGetKeyValueEx"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
865 "RegDBSetKeyValueEx"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
866 "RegDBSetDefaultRoot"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
867 "RenameFile"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
868 "ReplaceFolderIcon"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
869 "ReplaceProfString"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
870 "SdAskDestPath"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
871 "SdAskOptions"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
872 "SdAskOptionsList"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
873 "SdBitmap"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
874 "SdCloseDlg"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
875 "SdComponentAdvCheckSpace"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
876 "SdComponentAdvInit"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
877 "SdComponentAdvUpdateSpace"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
878 "SdComponentDialog"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
879 "SdComponentDialog2"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
880 "SdComponentDialogAdv"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
881 "SdComponentDialogEx"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
882 "SdComponentDlgCheckSpace"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
883 "SdComponentMult"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
884 "SdConfirmNewDir"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
885 "SdConfirmRegistration"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
886 "SdDiskSpace"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
887 "SdDisplayTopics"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
888 "SdDoStdButton"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
889 "SdEnablement"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
890 "SdError"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
891 "SdFinish"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
892 "SdFinishInit32"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
893 "SdFinishReboot"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
894 "SdGeneralInit"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
895 "SdGetItemName"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
896 "SdGetTextExtent"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
897 "SdGetUserCompanyInfo"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
898 "SdInit"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
899 "SdIsShellExplorer"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
900 "SdIsStdButton"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
901 "SdLicense"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
902 "SdMakeName"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
903 "SdOptionInit"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
904 "SdOptionSetState"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
905 "SdOptionsButtons"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
906 "SdOptionsButtonsInit"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
907 "SdPlugInProductName"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
908 "SdProductName"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
909 "SdRegEnableButton"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
910 "SdRegExEnableButton"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
911 "SdRegisterUser"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
912 "SdRegisterUserEx"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
913 "SdRemoveEndSpace"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
914 "SdSelectFolder"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
915 "SdSetSequentialItems"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
916 "SdSetStatic"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
917 "SdSetupTypeEx" ; IS5 only
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
918 "SdSetupType"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
919 "SdShowAnyDialog"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
920 "SdShowDlgEdit1"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
921 "SdShowDlgEdit2"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
922 "SdShowDlgEdit3"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
923 "SdShowFileMods"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
924 "SdShowInfoList"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
925 "SdShowMsg"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
926 "SdStartCopy"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
927 "SdUnInit"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
928 "SdUpdateComponentSelection"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
929 "SdWelcome"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
930 "SendMessage"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
931 "SetColor"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
932 "SetFont"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
933 "SetDialogTitle"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
934 "SetDisplayEffect" ; IS5 only
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
935 "SetFileInfo"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
936 "SetForegroundWindow"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
937 "SetStatusWindow"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
938 "SetTitle"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
939 "SetupType"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
940 "ShowProgramFolder"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
941 "Split" ; IS3 only
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
942 "SprintfBox"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
943 "Sprintf"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
944 "StatusUpdate"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
945 "StrCompare"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
946 "StrFind"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
947 "StrGetTokens"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
948 "StrLength"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
949 "StrRemoveLastSlash"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
950 "StrToLower"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
951 "StrToUpper"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
952 "StrSub"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
953 "VarRestore"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
954 "VarSave"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
955 "VerCompare"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
956 "VerGetFileVersion"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
957 "WaitOnDialog"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
958 "Welcome"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
959 "WriteLine"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
960 "WriteProfString"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
961 "XCopyFile"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
962 )
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
963 "System functions defined in InstallShield 3 and 5.")
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
964
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
965 (defvar installshield-system-variables-list
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
966 (list
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
967 "CMDLINE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
968 "CORECOMPONENTHANDLING"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
969 "ERRORFILENAME"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
970 "INFOFILENAME"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
971 "ISRES"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
972 "ISUSER"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
973 "ISVERSION"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
974 "MODE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
975 "SRCDIR"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
976 "SRCDISK"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
977 "SUPPORTDIR"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
978 "TARGETDIR"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
979 "TARGETDISK"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
980 "WINDIR"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
981 "WINDISK"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
982 "WINMAJOR"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
983 "WINSYSDIR"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
984 "WINSYSDISK"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
985 )
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
986 "System variables used in InstallShield 3 and 5.")
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
987
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
988 (defvar installshield-types-list
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
989 (list
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
990 "BOOL"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
991 "BYREF"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
992 "CHAR"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
993 "HIWORD"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
994 "HWND"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
995 "INT"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
996 "LIST"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
997 "LONG"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
998 "LOWORD"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
999 "NUMBER"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1000 "POINTER"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1001 "QUAD"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1002 "RGB"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1003 "SHORT"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1004 "STRINGLIST"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1005 "STRING"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1006 )
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1007 "Type keywords used in InstallShield 3 and 5.")
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1008
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1009 ;;; 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
1010 (defvar installshield-funarg-constants-list
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1011 (list
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1012 "AFTER"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1013 "APPEND"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1014 "ALLCONTENTS"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1015 "BACKBUTTON"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1016 "BACKGROUNDCAPTION"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1017 "BACKGROUND"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1018 "BACK"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1019 "BASEMEMORY"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1020 "BEFORE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1021 "BIOS"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1022 "BITMAPICON"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1023 "BK_BLUE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1024 "BK_GREEN"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1025 "BK_RED"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1026 "BLUE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1027 "BOOTUPDRIVE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1028 "CANCEL"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1029 "CDROM_DRIVE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1030 "CDROM"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1031 "CHECKBOX95"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1032 "CHECKBOX"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1033 "CHECKLINE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1034 "CHECKMARK"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1035 "COLORS"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1036 "COMMANDEX"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1037 "COMMAND"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1038 "COMP_NORMAL"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1039 "COMP_UPDATE_DATE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1040 "COMP_UPDATE_SAME"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1041 "COMP_UPDATE_VERSION"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1042 "COMPACT"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1043 "CONTINUE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1044 "CPU"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1045 "CUSTOM"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1046 "DATE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1047 "DEFWINDOWMODE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1048 "DIR_WRITEABLE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1049 "DIRECTORY"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1050 "DISABLE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1051 "DISK_TOTALSPACE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1052 "DISK"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1053 "DLG_OPTIONS"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1054 "DLG_PATH"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1055 "DLG_TEXT"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1056 "DLG_ASK_YESNO"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1057 "DLG_ENTER_DISK"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1058 "DLG_ERR"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1059 "DLG_INFO_ALTIMAGE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1060 "DLG_INFO_CHECKSELECTION"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1061 "DLG_INFO_KUNITS"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1062 "DLG_INFO_USEDECIMAL"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1063 "DLG_MSG_INFORMATION"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1064 "DLG_MSG_SEVERE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1065 "DLG_MSG_WARNING"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1066 "DLG_STATUS"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1067 "DLG_WARNING"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1068 "DLG_USER_CAPTION"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1069 "DRIVE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1070 "ENABLE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1071 "END_OF_FILE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1072 "END_OF_LIST"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1073 "ENVSPACE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1074 "EQUALS"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1075 "EXCLUDE_SUBDIR"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1076 "EXCLUSIVE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1077 "EXISTS"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1078 "EXIT"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1079 "EXTENDED_MEMORY"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1080 "EXTENSION_ONLY"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1081 "FAILIFEXISTS"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1082 "FALSE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1083 "FEEDBACK_FULL"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1084 "FILE_ATTR_ARCHIVED"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1085 "FILE_ATTR_DIRECTORY"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1086 "FILE_ATTR_HIDDEN"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1087 "FILE_ATTR_NORMAL"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1088 "FILE_ATTR_READONLY"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1089 "FILE_ATTR_SYSTEM"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1090 "FILE_ATTRIBUTE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1091 "FILE_DATE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1092 "FILE_LINE_LENGTH"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1093 "FILE_MODE_APPEND"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1094 "FILE_MODE_BINARYREADONLY"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1095 "FILE_MODE_BINARY"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1096 "FILE_MODE_NORMAL"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1097 "FILE_NO_VERSION"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1098 "FILE_NOT_FOUND"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1099 "FILE_SIZE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1100 "FILE_TIME"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1101 "FILENAME_ONLY"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1102 "FILENAME"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1103 "FIXED_DRIVE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1104 "FOLDER_DESKTOP"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1105 "FOLDER_STARTMENU"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1106 "FOLDER_STARTUP"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1107 "FREEENVSPACE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1108 "FULLWINDOWMODE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1109 "FULL"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1110 "FONT_TITLE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1111 "GREATER_THAN"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1112 "GREEN"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1113 "HOURGLASS"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1114 "INCLUDE_SUBDIR"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1115 "INDVFILESTATUS"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1116 "INFORMATION"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1117 "IS_WINDOWSNT"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1118 "IS_WINDOWS95"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1119 "IS_WINDOWS"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1120 "IS_WIN32S"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1121 "ISTYPE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1122 "LANGUAGE_DRV"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1123 "LANGUAGE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1124 "LESS_THAN"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1125 "LIST_NULL"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1126 "LISTFIRST"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1127 "LISTNEXT"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1128 "LOCKEDFILE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1129 "LOGGING"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1130 "LOWER_LEFT"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1131 "LOWER_RIGHT"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1132 "MAGENTA"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1133 "MOUSE_DRV"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1134 "MOUSE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1135 "NETWORK_DRV"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1136 "NETWORK"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1137 "NEXT"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1138 "NONEXCLUSIVE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1139 "NORMALMODE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1140 "NOSET"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1141 "NOTEXISTS"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1142 "NOWAIT"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1143 "NO"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1144 "OFF"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1145 "ONLYDIR"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1146 "ON"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1147 "OSMAJOR"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1148 "OSMINOR"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1149 "OS"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1150 "OTHER_FAILURE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1151 "PARALLEL"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1152 "PARTIAL"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1153 "PATH_EXISTS"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1154 "PATH"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1155 "RED"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1156 "REGDB_APPPATH_DEFAULT"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1157 "REGDB_APPPATH"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1158 "REGDB_BINARY"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1159 "REGDB_ERR_CONNECTIONEXISTS"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1160 "REGDB_ERR_CORRUPTEDREGSITRY"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1161 "REGDB_ERR_INITIALIZATION"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1162 "REGDB_ERR_INVALIDHANDLE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1163 "REGDB_ERR_INVALIDNAME"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1164 "REGDB_NUMBER"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1165 "REGDB_STRING_EXPAND"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1166 "REGDB_STRING_MULTI"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1167 "REGDB_STRING"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1168 "REGDB_UNINSTALL_NAME"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1169 "REMOTE_DRIVE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1170 "REMOVALE_DRIVE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1171 "REPLACE_ITEM"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1172 "REPLACE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1173 "RESET"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1174 "RESTART"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1175 "ROOT"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1176 "SELFREGISTER"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1177 "SERIAL"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1178 "SET"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1179 "SEVERE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1180 "SHAREDFILE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1181 "SHARE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1182 "SILENTMODE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1183 "SRCTARGETDIR"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1184 "STATUSBAR"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1185 "STATUSDLG"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1186 "STATUSOLD"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1187 "STATUS"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1188 "STYLE_NORMAL"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1189 "SW_MAXIMIZE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1190 "SW_MINIMIZE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1191 "SW_RESTORE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1192 "SW_SHOW"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1193 "TIME"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1194 "TRUE"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1195 "TYPICAL"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1196 "UPPER_LEFT"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1197 "UPPER_RIGHT"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1198 "VALID_PATH"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1199 "VERSION"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1200 "VIDEO"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1201 "VOLUMELABEL"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1202 "YELLOW"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1203 "YES"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1204 "WAIT"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1205 "WARNING"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1206 "WINMAJOR"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1207 "WINMINOR"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1208 "WIN32SINSTALLED"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1209 "WIN32SMAJOR"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1210 "WIN32SMINOR"
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1211 )
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1212 "Function argument constants used in InstallShield 3 and 5.")
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1213
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1214 (define-generic-mode 'rul-generic-mode
21947
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1215 ;; 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
1216 (list "//")
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1217 installshield-statement-keyword-list
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1218 (list
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1219 ;; preprocessor constructs
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1220 '("#[ \t]*include[ \t]+\\(<[^>\"\n]+>\\)"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1221 1 font-lock-string-face)
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1222 '("#[ \t]*\\(\\sw+\\)\\>[ \t]*\\(\\sw+\\)?"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1223 (1 font-lock-reference-face)
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1224 (2 font-lock-variable-name-face nil t))
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1225 ;; indirect string constants
21345
89cdcab46969 (rul-generic-mode): Use font-lock-builtin-face,
Richard M. Stallman <rms@gnu.org>
parents: 21205
diff changeset
1226 '("\\(@[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
1227 ;; gotos
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1228 '("[ \t]*\\(\\sw+:\\)" 1 font-lock-reference-face)
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1229 '("\\<\\(goto\\)\\>[ \t]*\\(\\sw+\\)?"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1230 (1 font-lock-keyword-face)
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1231 (2 font-lock-reference-face nil t))
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1232 ;; system variables
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1233 (generic-make-keywords-list
21947
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1234 installshield-system-variables-list
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1235 'font-lock-variable-name-face "[^_]" "[^_]")
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1236 ;; system functions
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1237 (generic-make-keywords-list
21947
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1238 installshield-system-functions-list
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1239 'font-lock-function-name-face "[^_]" "[^_]")
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1240 ;; type keywords
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1241 (generic-make-keywords-list
21947
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1242 installshield-types-list
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1243 'font-lock-type-face "[^_]" "[^_]")
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1244 ;; function argument constants
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1245 (generic-make-keywords-list
21947
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1246 installshield-funarg-constants-list
18722fb8716f (generic-x): Added defgroup declaration.
Richard M. Stallman <rms@gnu.org>
parents: 21345
diff changeset
1247 'font-lock-variable-name-face "[^_]" "[^_]") ; is this face the best choice?
21205
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1248 )
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1249 (list "\\.[rR][uU][lL]$")
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1250 (list
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1251 (function
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1252 (lambda ()
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1253 (setq imenu-generic-expression
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1254 '((nil "^function\\s-+\\([A-Za-z0-9_]+\\)" 1)))
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1255 )))
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1256 "Generic mode for InstallShield RUL files.")
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1257
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1258 (define-skeleton rul-if
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1259 "Insert an if statement."
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1260 "condition: "
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1261 "if(" str ") then" \n
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1262 > _ \n
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1263 ( "other condition, %s: "
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1264 > "elseif(" str ") then" \n
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1265 > \n)
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1266 > "else" \n
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1267 > \n
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1268 resume:
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1269 > "endif;"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1270 )
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1271
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1272 (define-skeleton rul-function
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1273 "Insert a function statement."
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1274 "function: "
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1275 "function " str " ()" \n
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1276 ( "local variables, %s: "
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1277 > " " str ";" \n)
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1278 > "begin" \n
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1279 > _ \n
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1280 resume:
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1281 > "end;")
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1282
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1283 )
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1284
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1285 ;; Additions by ACorreir@pervasive-sw.com (Alfred Correira)
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1286 (define-generic-mode 'mailrc-generic-mode
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1287 (list ?#)
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1288 (list
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1289 "alias"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1290 "else"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1291 "endif"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1292 "group"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1293 "if"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1294 "ignore"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1295 "set"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1296 "unset"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1297 )
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1298 '(("^\\s-*\\(alias\\|group\\)\\s-+\\([-A-Za-z0-9_]+\\)\\s-+\\([^\n\r#]*\\)\\(#.*\\)?$"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1299 (2 font-lock-reference-face) (3 font-lock-variable-name-face))
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1300 ("^\\s-*\\(unset\\|set\\|ignore\\)\\s-+\\([-A-Za-z0-9_]+\\)=?\\([^\n\r#]*\\)\\(#.*\\)?$"
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1301 (2 font-lock-reference-face) (3 font-lock-variable-name-face)))
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1302 (list "\\.mailrc\\'")
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1303 nil
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1304 "Mode for mailrc files.")
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1305
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1306 (provide 'generic-x)
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1307
f63ba9821988 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1308 ;;; generic-x.el ends here