annotate lisp/generic-x.el @ 40292:b040e198106d

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