0
|
1 ;;; hm--html-configuration.el - Configurationfile for the html-mode
|
2
|
2 ;;;
|
22
|
3 ;;; $Id: hm--html-configuration.el,v 1.2 1997/02/16 01:29:08 steve Exp $
|
2
|
4 ;;;
|
22
|
5 ;;; Copyright (C) 1993 - 1997 Heiko Muenkel
|
0
|
6 ;;; email: muenkel@tnt.uni-hannover.de
|
|
7 ;;;
|
|
8 ;;; This program is free software; you can redistribute it and/or modify
|
|
9 ;;; it under the terms of the GNU General Public License as published by
|
|
10 ;;; the Free Software Foundation; either version 2, or (at your option)
|
|
11 ;;; any later version.
|
|
12 ;;;
|
|
13 ;;; This program is distributed in the hope that it will be useful,
|
|
14 ;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
15 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
16 ;;; GNU General Public License for more details.
|
|
17 ;;;
|
|
18 ;;; You should have received a copy of the GNU General Public License
|
|
19 ;;; along with this program; if not, write to the Free Software
|
|
20 ;;; Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
21 ;;;
|
|
22 ;;;
|
|
23 ;;; Description:
|
|
24 ;;;
|
2
|
25 ;;; This file is for the system wide configuration of the html mode.
|
|
26 ;;; User specific configuration should be done in the file
|
|
27 ;;; ~/.hm--html-configuration.el, which preceeds the settings in
|
|
28 ;;; this file.
|
|
29 ;;; All settings in this file are done with defvar's, therefore
|
|
30 ;;; you could overwrite them also with the function setq in your
|
|
31 ;;; .emacs or default.el and so on.
|
0
|
32 ;;;
|
|
33 ;;; Installation:
|
|
34 ;;;
|
|
35 ;;; Put this file in one of your lisp load path directories or
|
|
36 ;;; set the environment variable HTML_CONFIG_FILE to this file.
|
|
37 ;;; For example:
|
|
38 ;;; setenv HTML_CONFIG_FILE "~/data/hm--htm-environment.el"
|
|
39 ;;; if you have put this file in the directory "~/data/"
|
|
40 ;;;
|
|
41
|
2
|
42 ;(require 'adapt)
|
0
|
43
|
|
44
|
2
|
45 ;;; The User config file (an proposal of Manoj Srivastava)
|
0
|
46 (defvar hm--html-user-config-file nil
|
|
47 "*The location of the users config file.
|
|
48 This variable will only be used, if no environment variable
|
|
49 \"HTML_USER_CONFIG_FILE\" is set.
|
|
50 Example value: \"~/.hm--html-configuration.el\".")
|
|
51
|
22
|
52 ;;; The site specific config file
|
|
53 (defvar hm--html-site-config-file nil
|
|
54 "*The location of a site specific config file.
|
|
55 This variable will only be used, if no environment variable
|
|
56 \"HTML_SITE_CONFIG_FILE\" is set.")
|
0
|
57
|
2
|
58 ;;; Chose the initial popup menu
|
0
|
59 (defvar hm--html-expert nil
|
|
60 "*t : Use the HTML expert popup menu,
|
|
61 nil : Use the HTML novice (simple) menu.
|
|
62
|
2
|
63 NOTE: In the Emacs 19 you should set this variable only before
|
|
64 loading the mode.")
|
0
|
65
|
|
66 ;;; Your Signature
|
|
67
|
|
68 (defvar hm--html-signature-file nil
|
|
69 "*Your Signature file.
|
|
70 For example: \"http://www.tnt.uni-hannover.de:80/data/info/www/tnt/info/tnt/whois/muenkel.html\".")
|
|
71
|
|
72
|
|
73 (defvar hm--html-username nil
|
|
74 "*Your Name for the signature. For example: \"Heiko Münkel\".")
|
|
75
|
|
76
|
|
77 ;;; Your favorite server (eg: the name of the host of your own http server)
|
|
78 ;;; This is used in some other variables
|
|
79
|
|
80 (defvar hm--html-favorite-http-server-host-name "www.tnt.uni-hannover.de"
|
|
81 "*The name of your favorite http server host. It must be specified !")
|
|
82
|
|
83
|
|
84 ;;; For links to Info Gateways
|
|
85
|
2
|
86 (defvar hm--html-info-hostname:port-alist '(("www.tnt.uni-hannover.de:8005"))
|
0
|
87 "*Alist with hostnames and ports for the Info gateway.")
|
|
88
|
2
|
89 (defvar hm--html-info-hostname:port-default "www.tnt.uni-hannover.de:8005"
|
0
|
90 "*Default hostname with port for the Info gateway.")
|
|
91
|
2
|
92 (defvar hm--html-info-path-alist '((1 . "/appl/lemacs/Global/emacs/info")
|
|
93 (2 . "/appl/emacs/info")
|
|
94 (3 . "/appl/gnu/Global/info")
|
|
95 (4 . "/appl/emacs-19/Global/info")
|
|
96 (5 . "/"))
|
0
|
97 "*Alist with directories for the Info gateway.")
|
|
98
|
|
99
|
|
100 ;;; For links to WAIS Gateways
|
|
101
|
2
|
102 (defvar hm--html-wais-hostname:port-alist '(("www.tnt.uni-hannover.de:8001")
|
|
103 ("info.cern.ch:8001"))
|
0
|
104 "*Alist with hostnames and ports for the WAIS gateway.")
|
|
105
|
2
|
106 (defvar hm--html-wais-hostname:port-default "www.tnt.uni-hannover.de:8001"
|
0
|
107 "*Default hostname with port for the WAIS gateway.")
|
|
108
|
2
|
109 (defvar hm--html-wais-servername:port-alist
|
|
110 '(("wais.tnt.uni-hannover.de:210")
|
|
111 ("daedalus.tnt.uni-hannover.de:21408")
|
|
112 ("ikarus.tnt.uni-hannover.de:21401"))
|
0
|
113 "*Alist with servernames and ports for the WAIS gateway.")
|
|
114
|
2
|
115 (defvar hm--html-wais-servername:port-default "www.tnt.uni-hannover.de:210"
|
0
|
116 "*Default servername with port for the WAIS gateway.")
|
|
117
|
|
118 (defvar hm--html-wais-path-alist nil
|
|
119 "*Alist with directories for the wais gateway.")
|
|
120
|
|
121
|
|
122 ;;; For links to HTML servers
|
|
123
|
2
|
124 (defvar hm--html-html-hostname:port-alist '(("www.tnt.uni-hannover.de:80")
|
|
125 ("vxcrna.cern.ch:80")
|
|
126 ("www.ncsa.uiuc.edu:80"))
|
0
|
127 "*Alist with hostnames and ports for the HTML server.")
|
|
128
|
2
|
129 (defvar hm--html-html-hostname:port-default "www.tnt.uni-hannover.de:80"
|
0
|
130 "*Default hostname with port for the HTML server.")
|
|
131
|
2
|
132 (defvar hm--html-html-path-alist '((1 . "/data/info/www/tnt/")
|
|
133 (2 . "/data/info/www/")
|
|
134 (3 . "/data/info/")
|
|
135 (4 . "/data/")
|
|
136 (5 . "/appl/")
|
|
137 (6 . "/project/")
|
|
138 (7 . "~/")
|
|
139 (8 . "/"))
|
0
|
140 "*Alist with directories for the HTML server.")
|
|
141
|
|
142
|
|
143 ;;; For links to file gateways
|
|
144
|
2
|
145 (defvar hm--html-file-path-alist '((1 . "/data/info/www/tnt/")
|
|
146 (2 . "/data/info/www/")
|
|
147 (3 . "/data/info/")
|
|
148 (4 . "/data/")
|
|
149 (5 . "/appl/")
|
|
150 (6 . "/project/")
|
|
151 (7 . "~/")
|
|
152 (8 . "/"))
|
0
|
153 "*Alist with directories for the file gateway.")
|
|
154
|
|
155
|
|
156 ;;; For links to ftp servers
|
|
157
|
2
|
158 (defvar hm--html-ftp-hostname:port-alist '(("ftp.tnt.uni-hannover.de")
|
|
159 ("ftp.rrzn.uni-hannover.de")
|
|
160 ("wega.informatik.uni-hannover.de")
|
|
161 ("rusmv1.rus.uni-stuttgart.de")
|
|
162 ("export.lcs.mit.edu")
|
|
163 )
|
0
|
164 "*Alist with hostnames and ports for the ftp server.")
|
|
165
|
2
|
166 (defvar hm--html-ftp-hostname:port-default "ftp.rrzn.uni-hannover.de"
|
0
|
167 "*Default hostname with port for the ftp server.")
|
|
168
|
2
|
169 (defvar hm--html-ftp-path-alist '((1 . "/pub")
|
|
170 (2 . "/pub/gnu")
|
|
171 (3 . "/pub/linux")
|
|
172 (4 . "/pub/unix")
|
|
173 (5 . "/incoming")
|
|
174 (6 . "/"))
|
0
|
175 "*Alist with directories for the ftp server.")
|
|
176
|
|
177
|
|
178 ;;; For links to gopher servers
|
|
179
|
2
|
180 (defvar hm--html-gopher-hostname:port-alist
|
|
181 '(("newsserver.rrzn.uni-hannover.de:70")
|
|
182 ("solaris.rz.tu-clausthal.de:70")
|
|
183 ("veronica.scs.unr.edu:70")
|
|
184 ("pinus.slu.se:70")
|
|
185 ("sunic.sunet.se:70")
|
|
186 )
|
0
|
187 "*Alist with hostnames and ports for the gopher server.")
|
|
188
|
2
|
189 (defvar hm--html-gopher-doctype-alist '(("/1")
|
|
190 ("/11")
|
|
191 ("/00"))
|
0
|
192 "*Alist with doctype strings for the gopher server.")
|
|
193
|
2
|
194 (defvar hm--html-gopher-doctype-default "/1"
|
0
|
195 "*Default doctype string for the gopher server.")
|
|
196
|
2
|
197 (defvar hm--html-gopher-hostname:port-default
|
|
198 "newsserver.rrzn.uni-hannover.de:70"
|
0
|
199 "*Default hostname with port for the gopher server.")
|
|
200
|
2
|
201 (defvar hm--html-gopher-anchor-alist
|
|
202 '(("veronica")
|
|
203 ("Wide%20Area%20Information%20Services%20databases")
|
|
204 ("Subject%20Tree"))
|
0
|
205 "*Alist with directories for the gopher server.")
|
|
206
|
|
207
|
|
208 ;;; For the links to the Program Gateway
|
|
209
|
2
|
210 (defvar hm--html-proggate-hostname:port-alist
|
|
211 '(("www.tnt.uni-hannover.de:8007")
|
|
212 )
|
0
|
213 "*Alist with hostnames and ports for the proggate server.")
|
|
214
|
2
|
215 (defvar hm--html-proggate-hostname:port-default "www.tnt.uni-hannover.de:8007"
|
0
|
216 "*Default hostname with port for the proggate server.")
|
|
217
|
2
|
218 (defvar hm--html-proggate-allowed-file "/appl/www/bin/proggate.allowed"
|
0
|
219 "*The filename (with path) of the proggate allowed file.")
|
|
220
|
|
221
|
|
222 ;;; For links to the Local Program Gatewy
|
|
223
|
2
|
224 (defvar hm--html-local-proggate-path-alist '((1 . "/bin/")
|
|
225 (2 . "/usr/bin/")
|
|
226 (3 . "/usr/local/bin/")
|
|
227 (4 . "/appl/util/bin/")
|
|
228 (5 . "/appl/gnu/Global/bin/")
|
|
229 (6 . "/")
|
|
230 (7 . "/appl/")
|
|
231 (8 . "~/appl/Global/bin/")
|
|
232 (9 . "~/"))
|
0
|
233 "*Alist with directories for the local program gateway.")
|
|
234
|
|
235
|
|
236 ;;; For links to the mail gateway
|
|
237
|
2
|
238 (defvar hm--html-mail-hostname:port-alist '(("www.tnt.uni-hannover.de:8003")
|
|
239 )
|
0
|
240 "*Alist with hostnames and ports for the mail gateway.")
|
|
241
|
2
|
242 (defvar hm--html-mail-hostname:port-default "www.tnt.uni-hannover.de:8003"
|
0
|
243 "*Default hostname with port for the mail gateway.")
|
|
244
|
2
|
245 (defvar hm--html-mail-path-alist '((1 . "~/data/docs/mail")
|
|
246 (2 . "~/data/docs/news")
|
|
247 (3 . "~/docs/mail")
|
|
248 (4 . "~/docs/news")
|
|
249 (5 . "~/mail")
|
|
250 (6 . "~/news")
|
|
251 (7 . "~/")
|
|
252 (8 . "/data/info/mail")
|
|
253 (9 . "/data/info/news")
|
|
254 (10 . "/"))
|
0
|
255 "*Alist with directories for the mail gateway.")
|
|
256
|
|
257
|
|
258 ;;; For mailto links
|
|
259
|
2
|
260 (defvar hm--html-mailto-alist '(("muenkel@tnt.uni-hannover.de"))
|
0
|
261 "*Alist with mail adresses for the mailto alist.
|
|
262 The value of `user-mail-address' will also be added by the package to
|
|
263 this alist.")
|
|
264
|
|
265
|
|
266 ;;; For the server side include directive
|
2
|
267 ;;; not sure, if these directives works on any server
|
0
|
268
|
2
|
269 (defvar hm--html-server-side-include-command-alist '(("/bin/date")
|
|
270 ("/usr/bin/finger")
|
|
271 ("/bin/df"))
|
0
|
272 "*Alist with commands for the server side include directive.
|
|
273 These commands needs no parameter.")
|
|
274
|
2
|
275 (defvar hm--html-server-side-include-command-with-parameter-alist
|
|
276 '(("/usr/bin/man")
|
|
277 ("/usr/bin/finger")
|
|
278 ("/usr/bin/ls")
|
|
279 ("/bin/cat"))
|
0
|
280 "*Alist with commands for the server side include directive.
|
|
281 These commands needs parameters.")
|
|
282
|
|
283
|
|
284 ;;; Alist with URL'S for FORMS and IMAGE tags
|
|
285
|
2
|
286 (defvar hm--html-url-alist
|
|
287 (list
|
|
288 '("http://hoohoo.ncsa.uiuc.edu/htbin-post/post-query"
|
|
289 POST)
|
|
290 '("http://hoohoo.ncsa.uiuc.edu/htbin/query"
|
|
291 GET)
|
|
292 (list
|
|
293 (concat "http://"
|
|
294 hm--html-favorite-http-server-host-name
|
|
295 "/")
|
|
296 'IMAGE))
|
0
|
297 "*Alist with URL's for FORMS and IMAGE tags.
|
|
298 The cdr of each list contains symbols, which specifys the use of the
|
|
299 URL.")
|
|
300
|
|
301
|
|
302 ;;; For the marking of examples in the help buffer
|
|
303
|
|
304 (defvar hm--html-help-foreground "red"
|
|
305 "The foreground color to highlight examples.")
|
|
306
|
|
307 (defvar hm--html-help-background nil
|
|
308 "The background color to highlight examples.")
|
|
309
|
|
310 (defvar hm--html-help-font (face-font 'bold)
|
|
311 "The font to highlight examples.")
|
|
312
|
|
313
|
|
314 ;;; For the Templates
|
|
315
|
2
|
316 (defvar hm--html-template-dir "/data/info/www/tnt/guide/templates"
|
22
|
317 "*A directory with templatefiles.
|
|
318 It is now also possible to use it as a list of directories.
|
|
319 Look at the variable `tmpl-template-dir-list' for further descriptions.")
|
0
|
320
|
22
|
321 (if (listp hm--html-template-dir)
|
|
322 (unless (file-exists-p (car hm--html-template-dir))
|
|
323 ;; Use a system directory, if the above one doesn't exist
|
|
324 ;; This may only be useful, in the XEmacs >= 19.12
|
|
325 (setq hm--html-template-dir (cons (concat data-directory
|
|
326 "../lisp/hm--html-menus/")
|
|
327 hm--html-template-dir)))
|
|
328 (unless (file-exists-p hm--html-template-dir)
|
0
|
329 ;; Use a system directory, if the above one doesn't exist
|
22
|
330 ;; This may only be useful, in the XEmacs >= 19.12
|
0
|
331 (setq hm--html-template-dir (concat data-directory
|
22
|
332 "../lisp/hm--html-menus/"))))
|
0
|
333
|
22
|
334 (defvar hm--html-frame-template-file (concat data-directory
|
|
335 "../lisp/hm--html-menus/"
|
2
|
336 "frame.tmpl")
|
0
|
337 "File, which is used as template for a html frame.")
|
|
338
|
2
|
339 (defvar hm--html-automatic-expand-templates t
|
0
|
340 "*Automatic expansion of templates. This feature needs the file
|
|
341 tmpl-minor-mode.el from Heiko Muenkel (muenkel@tnt.uni-hannover.de),
|
|
342 which is distributed with the package hm--html-menus.")
|
|
343
|
22
|
344 (defvar hm--html-template-filter-regexp ".*\\.html\\.tmpl$"
|
|
345 "*Regexp for filtering out non template files in a directory.")
|
0
|
346
|
|
347 ;;; for deleting the automounter path-prefix
|
2
|
348 (defvar hm--html-delete-wrong-path-prefix '("/tmp_mnt" "/phys/[^/]+")
|
0
|
349 "If non nil, it specifies path-prefixes, which should be deleted in pathes.
|
|
350 The Sun automounter adds a temporary prefix to the automounted directories
|
|
351 (At our site the prefix is /tmp_mnt). But you can't select such a path, if
|
|
352 the automounter has currently not mounted the directory and so you can't
|
|
353 follow a html-link, which consists of such a path. To overcome this behaviour,
|
|
354 you can set this variable to the prefix (eg. \"/tmp_mnt\"). After that, the
|
|
355 prefix should be stripped from the pathes during the creation of the links.
|
|
356 ATTENTION: This variable is used as regular expression !
|
|
357 It can be set to a string or to a list of strings.")
|
|
358
|
|
359
|
|
360 ;;; For insertation of created and changed comments and automatic
|
|
361 ;;; date update in the title line
|
|
362
|
|
363 (defvar hm--html-automatic-new-date t
|
|
364 "*t => The date in the title line will be updated before filesaving.
|
|
365 nil => No automatic update of the date.")
|
|
366
|
|
367 (defvar hm--html-automatic-changed-comment t
|
|
368 "*t => A \"changed comment\" line will be added before filesaving.
|
|
369 nil => No automatic insertation of a \"changed comment\" line.")
|
|
370
|
|
371 (defvar hm--html-automatic-created-comment t
|
|
372 "*t => A \"created comment\" line will be added.
|
|
373 nil => No automatic insertation of a \"created comment\" line.")
|
|
374
|
|
375
|
|
376 ;;; Keybindings:
|
|
377
|
|
378 (defvar hm--html-bind-latin-1-char-entities t
|
|
379 "Set this to nil, if you don't want to use the ISO Latin 1 charcter entities.
|
|
380 This is only useful, if `hm--html-use-old-keymap' is set to nil. It is only
|
|
381 used during loading the html package the first time.")
|
|
382
|
|
383
|
2
|
384 ;;; The drag and drop interface
|
|
385 (defvar hm--html-idd-create-relative-links t
|
|
386 "If t, then the hm--html-idd-* functions are creating relative links.
|
|
387 Otherwise absolute links are used. The idd functions are used for
|
|
388 drag and drop.")
|
0
|
389
|
2
|
390 (defvar hm--html-idd-actions
|
22
|
391 '((nil (((idd-if-major-mode-p . dired-mode)
|
|
392 (idd-if-dired-file-on-line-p . ".*\\.\\(gif\\)\\|\\(jpg\\)"))
|
2
|
393 hm--html-idd-add-include-image-from-dired-line)
|
22
|
394 (((idd-if-major-mode-p . dired-mode)
|
|
395 (idd-if-dired-no-file-on-line-p . nil))
|
2
|
396 hm--html-idd-add-file-link-to-file-on-dired-line)
|
22
|
397 (((idd-if-major-mode-p . dired-mode)
|
|
398 (idd-if-dired-no-file-on-line-p . t))
|
2
|
399 hm--html-idd-add-file-link-to-directory-of-buffer)
|
22
|
400 (((idd-if-major-mode-p . w3-mode)
|
|
401 (idd-if-url-at-point-p . t))
|
2
|
402 hm--html-idd-add-html-link-from-w3-buffer-point)
|
22
|
403 (((idd-if-major-mode-p . w3-mode))
|
2
|
404 hm--html-idd-add-html-link-to-w3-buffer)
|
22
|
405 (((idd-if-local-file-p . t))
|
2
|
406 hm--html-idd-add-file-link-to-buffer)))
|
22
|
407 "The action list for the destination mode `hm--html-mode'.
|
2
|
408 Look at the description of the variable idd-actions")
|
0
|
409
|
2
|
410
|
|
411 ;;; The font lock keywords
|
|
412
|
22
|
413 (defconst hm--html-font-lock-keywords-1
|
2
|
414 (list
|
22
|
415 '("<!--.*-->" . font-lock-comment-face)
|
|
416 '("<[^>]*>" . font-lock-keyword-face)
|
|
417 '("<[^>=]*href[ \t\n]*=[ \t\n]*\"\\([^\"]*\\)\"" 1 font-lock-string-face t)
|
|
418 '("<[^>=]src[ \t\n]*=[ \t\n]*\"\\([^\"]*\\)\"" 1 font-lock-string-face t))
|
|
419 "Subdued level highlighting for hm--html-mode.")
|
|
420
|
|
421 (defconst hm--html-font-lock-keywords-2
|
|
422 (append hm--html-font-lock-keywords-1
|
|
423 (list
|
|
424 '(">\\([^<]*\\)</a>" 1 font-lock-reference-face)
|
|
425 '("</b>\\([^<]*\\)</b>" 1 bold)
|
|
426 '("</i>\\([^<]*\\)</i>" 1 italic)
|
|
427 ))
|
|
428 "Gaudy level highlighting for hm--html-mode.")
|
|
429
|
|
430 (defvar hm--html-font-lock-keywords hm--html-font-lock-keywords-1
|
2
|
431 "Default expressions to highlight in the hm--html-mode.")
|
|
432
|
0
|
433
|
22
|
434
|
2
|
435 ;;; The Prefix- Key for the keytables
|
|
436 (defvar hm--html-minor-mode-prefix-key "\C-z"
|
|
437 "The prefix key for the keytables in the `hm--html-minor-mode'.")
|
|
438
|
|
439 (defvar hm--html-mode-prefix-key "\C-c"
|
|
440 "The prefix key for the hm--html keys in the `hm--html-mode'.")
|
|
441
|
|
442
|
|
443 ;;; The pulldown menu names
|
|
444 (defvar hm--html-minor-mode-pulldown-menu-name "HM-HTML"
|
|
445 "The name of the pulldown menu in the minor html mode.")
|
|
446
|
|
447 (defvar hm--html-mode-pulldown-menu-name "HTML"
|
|
448 "The name of the pulldown menu in the major html mode.")
|
|
449
|
|
450
|
|
451 ;;; The hook variables
|
|
452 (defvar hm--html-load-hook nil
|
|
453 "*Hook variable to execute functions after loading the package.")
|
0
|
454
|
2
|
455 (defvar hm--html-mode-hook nil
|
|
456 "This hook will be called each time, when the hm--html-mode is invoked.")
|
|
457
|
|
458
|
|
459 ;;; For the file html-view.el
|
|
460 ;;; There are also some other variables in hmtl-view.el
|
|
461 ;;; Look at that file, if you've trouble with the functions
|
|
462 ;;; to preview the html document with the Mosaic
|
|
463 (defvar html-view-mosaic-command "/sol/www/bin/mosaic"
|
|
464 "The command that runs Mosaic on your system")
|
0
|
465
|
2
|
466 (defvar html-sigusr1-signal-value 16
|
|
467 "Value for the SIGUSR1 signal on your system.
|
|
468 See, usually, /usr/include/sys/signal.h.
|
|
469 SunOS 4.1.x : (setq html-sigusr1-signal-value 30)
|
|
470 SunOS 5.x : (setq html-sigusr1-signal-value 16)
|
|
471 Linux : (setq html-sigusr1-signal-value 10))")
|
|
472
|
|
473
|
22
|
474 ;;; indentation
|
|
475
|
|
476 (defvar hm--html-disable-indentation nil
|
|
477 "*Set this to t, if you want to disable the indentation in the hm--html-mode.
|
|
478 And may be send me (muenkel@tnt.uni-hannover.de) a note, why you've
|
|
479 done this.")
|
|
480
|
|
481 (defvar hm--html-inter-tag-indent 2
|
|
482 "*The indentation after a start tag.")
|
|
483
|
|
484 (defvar hm--html-comment-indent 5
|
|
485 "*The indentation of a comment.")
|
|
486
|
|
487 (defvar hm--html-intra-tag-indent 2
|
|
488 "*The indentation after the start of a tag.")
|
|
489
|
|
490 (defvar hm--html-tag-name-alist
|
|
491 '(("!--" (:hm--html-one-element-tag t))
|
|
492 )
|
|
493 "An alist with tag names known by the `hm--html-mode'.
|
|
494 CURRENTLY THIS LIST CONTAINS NOT ALL TAGS!!!!.
|
|
495
|
|
496 It is used to determine, if a tag is a one element tag or not.
|
|
497
|
|
498 In the future it should also be used to get possible parameters of
|
|
499 the tag.")
|
|
500
|
|
501
|
2
|
502 ;;; Announce the feature hm--html-configuration
|
|
503 (provide 'hm--html-configuration)
|
|
504
|