annotate lisp/generic-x.el @ 25737:542f95129dd9

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