annotate lisp/generic-x.el @ 23326:df3f641c9ca1

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