annotate lisp/hm--html-menus/hm--html-configuration.el @ 153:25f70ba0133c r20-3b3

Import from CVS: tag r20-3b3
author cvs
date Mon, 13 Aug 2007 09:38:25 +0200
parents 9f59509498e1
children 6075d714658b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1 ;;; hm--html-configuration.el - Configurationfile for the html-mode
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
2 ;;;
153
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 116
diff changeset
3 ;;; $Id: hm--html-configuration.el,v 1.6 1997/05/29 23:49:42 steve Exp $
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
4 ;;;
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
5 ;;; Copyright (C) 1993 - 1997 Heiko Muenkel
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
6 ;;; email: muenkel@tnt.uni-hannover.de
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
7 ;;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
8 ;;; This program is free software; you can redistribute it and/or modify
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
9 ;;; it under the terms of the GNU General Public License as published by
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
10 ;;; the Free Software Foundation; either version 2, or (at your option)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
11 ;;; any later version.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
12 ;;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
13 ;;; This program is distributed in the hope that it will be useful,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
14 ;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
15 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
16 ;;; GNU General Public License for more details.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
17 ;;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
18 ;;; You should have received a copy of the GNU General Public License
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
19 ;;; along with this program; if not, write to the Free Software
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
20 ;;; Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
21 ;;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
22 ;;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
23 ;;; Description:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
24 ;;;
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
25 ;;; This file is for the system wide configuration of the html mode.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
26 ;;; User specific configuration should be done in the file
116
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents: 102
diff changeset
27 ;;; ~/.hm--html-configuration.el, which precedes the settings in
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
28 ;;; this file.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
29 ;;; All settings in this file are done with defvar's, therefore
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
30 ;;; you could overwrite them also with the function setq in your
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
31 ;;; .emacs or default.el and so on.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
32 ;;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
33 ;;; Installation:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
34 ;;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
35 ;;; Put this file in one of your lisp load path directories or
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
36 ;;; set the environment variable HTML_CONFIG_FILE to this file.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
37 ;;; For example:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
38 ;;; setenv HTML_CONFIG_FILE "~/data/hm--htm-environment.el"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
39 ;;; if you have put this file in the directory "~/data/"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
40 ;;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
41
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
42 ;(require 'adapt)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
43
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
44
153
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 116
diff changeset
45
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
46 ;;; The User config file (an proposal of Manoj Srivastava)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
47 (defvar hm--html-user-config-file nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
48 "*The location of the users config file.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
49 This variable will only be used, if no environment variable
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
50 \"HTML_USER_CONFIG_FILE\" is set.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
51 Example value: \"~/.hm--html-configuration.el\".")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
52
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
53 ;;; The site specific config file
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
54 (defvar hm--html-site-config-file nil
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
55 "*The location of a site specific config file.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
56 This variable will only be used, if no environment variable
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
57 \"HTML_SITE_CONFIG_FILE\" is set.")
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
58
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
59 ;;; Chose the initial popup menu
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
60 (defvar hm--html-expert nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
61 "*t : Use the HTML expert popup menu,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
62 nil : Use the HTML novice (simple) menu.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
63
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
64 NOTE: In the Emacs 19 you should set this variable only before
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
65 loading the mode.")
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
66
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
67 ;;; Your Signature
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
68
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
69 (defvar hm--html-signature-file nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
70 "*Your Signature file.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
71 For example: \"http://www.tnt.uni-hannover.de:80/data/info/www/tnt/info/tnt/whois/muenkel.html\".")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
72
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
73
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
74 (defvar hm--html-username nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
75 "*Your Name for the signature. For example: \"Heiko Münkel\".")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
76
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
77
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
78 ;;; HTML Doctype
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
79 (defvar hm--html-html-doctype-version "-//W3C//DTD HTML 3.2 Final//EN"
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
80 "The HTML version. This is used in the doctype element.")
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
81
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
82
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
83 ;;; Your favorite server (eg: the name of the host of your own http server)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
84 ;;; This is used in some other variables
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
85
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
86 (defvar hm--html-favorite-http-server-host-name "www.tnt.uni-hannover.de"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
87 "*The name of your favorite http server host. It must be specified !")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
88
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
89
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
90 ;;; For links to Info Gateways
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
91
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
92 (defvar hm--html-info-hostname:port-alist '(("www.tnt.uni-hannover.de:8005"))
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
93 "*Alist with hostnames and ports for the Info gateway.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
94
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
95 (defvar hm--html-info-hostname:port-default "www.tnt.uni-hannover.de:8005"
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
96 "*Default hostname with port for the Info gateway.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
97
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
98 (defvar hm--html-info-path-alist '((1 . "/appl/lemacs/Global/emacs/info")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
99 (2 . "/appl/emacs/info")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
100 (3 . "/appl/gnu/Global/info")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
101 (4 . "/appl/emacs-19/Global/info")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
102 (5 . "/"))
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
103 "*Alist with directories for the Info gateway.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
104
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
105
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
106 ;;; For links to WAIS Gateways
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
107
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
108 (defvar hm--html-wais-hostname:port-alist '(("www.tnt.uni-hannover.de:8001")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
109 ("info.cern.ch:8001"))
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
110 "*Alist with hostnames and ports for the WAIS gateway.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
111
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
112 (defvar hm--html-wais-hostname:port-default "www.tnt.uni-hannover.de:8001"
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
113 "*Default hostname with port for the WAIS gateway.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
114
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
115 (defvar hm--html-wais-servername:port-alist
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
116 '(("wais.tnt.uni-hannover.de:210")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
117 ("daedalus.tnt.uni-hannover.de:21408")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
118 ("ikarus.tnt.uni-hannover.de:21401"))
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
119 "*Alist with servernames and ports for the WAIS gateway.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
120
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
121 (defvar hm--html-wais-servername:port-default "www.tnt.uni-hannover.de:210"
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
122 "*Default servername with port for the WAIS gateway.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
123
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
124 (defvar hm--html-wais-path-alist nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
125 "*Alist with directories for the wais gateway.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
126
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
127
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
128 ;;; For links to HTML servers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
129
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
130 (defvar hm--html-html-hostname:port-alist '(("www.tnt.uni-hannover.de:80")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
131 ("vxcrna.cern.ch:80")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
132 ("www.ncsa.uiuc.edu:80"))
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
133 "*Alist with hostnames and ports for the HTML server.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
134
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
135 (defvar hm--html-html-hostname:port-default "www.tnt.uni-hannover.de:80"
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
136 "*Default hostname with port for the HTML server.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
137
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
138 (defvar hm--html-html-path-alist '((1 . "/data/info/www/tnt/")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
139 (2 . "/data/info/www/")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
140 (3 . "/data/info/")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
141 (4 . "/data/")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
142 (5 . "/appl/")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
143 (6 . "/project/")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
144 (7 . "~/")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
145 (8 . "/"))
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
146 "*Alist with directories for the HTML server.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
147
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
148
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
149 ;;; For links to file gateways
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
150
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
151 (defvar hm--html-file-path-alist '((1 . "/data/info/www/tnt/")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
152 (2 . "/data/info/www/")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
153 (3 . "/data/info/")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
154 (4 . "/data/")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
155 (5 . "/appl/")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
156 (6 . "/project/")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
157 (7 . "~/")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
158 (8 . "/"))
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
159 "*Alist with directories for the file gateway.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
160
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
161
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
162 ;;; For links to ftp servers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
163
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
164 (defvar hm--html-ftp-hostname:port-alist '(("ftp.tnt.uni-hannover.de")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
165 ("ftp.rrzn.uni-hannover.de")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
166 ("wega.informatik.uni-hannover.de")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
167 ("rusmv1.rus.uni-stuttgart.de")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
168 ("export.lcs.mit.edu")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
169 )
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
170 "*Alist with hostnames and ports for the ftp server.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
171
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
172 (defvar hm--html-ftp-hostname:port-default "ftp.rrzn.uni-hannover.de"
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
173 "*Default hostname with port for the ftp server.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
174
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
175 (defvar hm--html-ftp-path-alist '((1 . "/pub")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
176 (2 . "/pub/gnu")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
177 (3 . "/pub/linux")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
178 (4 . "/pub/unix")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
179 (5 . "/incoming")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
180 (6 . "/"))
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
181 "*Alist with directories for the ftp server.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
182
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
183
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
184 ;;; For links to gopher servers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
185
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
186 (defvar hm--html-gopher-hostname:port-alist
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
187 '(("newsserver.rrzn.uni-hannover.de:70")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
188 ("solaris.rz.tu-clausthal.de:70")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
189 ("veronica.scs.unr.edu:70")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
190 ("pinus.slu.se:70")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
191 ("sunic.sunet.se:70")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
192 )
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
193 "*Alist with hostnames and ports for the gopher server.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
194
116
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents: 102
diff changeset
195 (defvar hm--html-gopher-hostname:port-default
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents: 102
diff changeset
196 "newsserver.rrzn.uni-hannover.de:70"
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents: 102
diff changeset
197 "*Default hostname with port for the gopher server.")
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents: 102
diff changeset
198
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
199 (defvar hm--html-gopher-doctype-alist '(("/1")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
200 ("/11")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
201 ("/00"))
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
202 "*Alist with doctype strings for the gopher server.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
203
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
204 (defvar hm--html-gopher-doctype-default "/1"
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
205 "*Default doctype string for the gopher server.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
206
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
207 (defvar hm--html-gopher-anchor-alist
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
208 '(("veronica")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
209 ("Wide%20Area%20Information%20Services%20databases")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
210 ("Subject%20Tree"))
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
211 "*Alist with directories for the gopher server.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
212
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
213
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
214 ;;; For the links to the Program Gateway
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
215
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
216 (defvar hm--html-proggate-hostname:port-alist
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
217 '(("www.tnt.uni-hannover.de:8007")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
218 )
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
219 "*Alist with hostnames and ports for the proggate server.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
220
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
221 (defvar hm--html-proggate-hostname:port-default "www.tnt.uni-hannover.de:8007"
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
222 "*Default hostname with port for the proggate server.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
223
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
224 (defvar hm--html-proggate-allowed-file "/appl/www/bin/proggate.allowed"
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
225 "*The filename (with path) of the proggate allowed file.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
226
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
227
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
228 ;;; For links to the Local Program Gatewy
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
229
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
230 (defvar hm--html-local-proggate-path-alist '((1 . "/bin/")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
231 (2 . "/usr/bin/")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
232 (3 . "/usr/local/bin/")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
233 (4 . "/appl/util/bin/")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
234 (5 . "/appl/gnu/Global/bin/")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
235 (6 . "/")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
236 (7 . "/appl/")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
237 (8 . "~/appl/Global/bin/")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
238 (9 . "~/"))
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
239 "*Alist with directories for the local program gateway.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
240
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
241
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
242 ;;; For links to the mail gateway
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
243
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
244 (defvar hm--html-mail-hostname:port-alist '(("www.tnt.uni-hannover.de:8003")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
245 )
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
246 "*Alist with hostnames and ports for the mail gateway.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
247
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
248 (defvar hm--html-mail-hostname:port-default "www.tnt.uni-hannover.de:8003"
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
249 "*Default hostname with port for the mail gateway.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
250
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
251 (defvar hm--html-mail-path-alist '((1 . "~/data/docs/mail")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
252 (2 . "~/data/docs/news")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
253 (3 . "~/docs/mail")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
254 (4 . "~/docs/news")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
255 (5 . "~/mail")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
256 (6 . "~/news")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
257 (7 . "~/")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
258 (8 . "/data/info/mail")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
259 (9 . "/data/info/news")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
260 (10 . "/"))
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
261 "*Alist with directories for the mail gateway.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
262
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
263
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
264 ;;; For mailto links
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
265
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
266 (defvar hm--html-mailto-alist '(("muenkel@tnt.uni-hannover.de"))
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
267 "*Alist with mail adresses for the mailto alist.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
268 The value of `user-mail-address' will also be added by the package to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
269 this alist.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
270
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
271
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
272 ;;; For the server side include directive
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
273 ;;; not sure, if these directives works on any server
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
274
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
275 (defvar hm--html-server-side-include-command-alist '(("/bin/date")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
276 ("/usr/bin/finger")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
277 ("/bin/df"))
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
278 "*Alist with commands for the server side include directive.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
279 These commands needs no parameter.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
280
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
281 (defvar hm--html-server-side-include-command-with-parameter-alist
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
282 '(("/usr/bin/man")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
283 ("/usr/bin/finger")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
284 ("/usr/bin/ls")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
285 ("/bin/cat"))
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
286 "*Alist with commands for the server side include directive.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
287 These commands needs parameters.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
288
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
289
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
290 ;;; Alist with URL'S for FORMS and IMAGE tags
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
291
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
292 (defvar hm--html-url-alist
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
293 (list
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
294 '("http://hoohoo.ncsa.uiuc.edu/htbin-post/post-query"
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
295 POST)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
296 '("http://hoohoo.ncsa.uiuc.edu/htbin/query"
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
297 GET)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
298 (list
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
299 (concat "http://"
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
300 hm--html-favorite-http-server-host-name
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
301 "/")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
302 'IMAGE))
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
303 "*Alist with URL's for FORMS and IMAGE tags.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
304 The cdr of each list contains symbols, which specifys the use of the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
305 URL.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
306
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
307
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
308 ;;; For the marking of examples in the help buffer
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
309
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
310 (defvar hm--html-help-foreground "red"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
311 "The foreground color to highlight examples.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
312
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
313 (defvar hm--html-help-background nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
314 "The background color to highlight examples.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
315
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
316 (defvar hm--html-help-font (face-font 'bold)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
317 "The font to highlight examples.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
318
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
319
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
320 ;;; For the Templates
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
321
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
322 (defvar hm--html-template-dir "/data/info/www/tnt/guide/templates"
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
323 "*A directory with templatefiles.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
324 It is now also possible to use it as a list of directories.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
325 Look at the variable `tmpl-template-dir-list' for further descriptions.")
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
326
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
327 (if (listp hm--html-template-dir)
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
328 (unless (file-exists-p (car hm--html-template-dir))
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
329 ;; Use a system directory, if the above one doesn't exist
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
330 ;; This may only be useful, in the XEmacs >= 19.12
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
331 (setq hm--html-template-dir (cons (concat data-directory
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
332 "../lisp/hm--html-menus/")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
333 hm--html-template-dir)))
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
334 (unless (file-exists-p hm--html-template-dir)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
335 ;; Use a system directory, if the above one doesn't exist
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
336 ;; This may only be useful, in the XEmacs >= 19.12
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
337 (setq hm--html-template-dir (concat data-directory
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
338 "../lisp/hm--html-menus/"))))
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
339
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
340 (defvar hm--html-frame-template-file (concat data-directory
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
341 "../lisp/hm--html-menus/"
116
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents: 102
diff changeset
342 "frame.html.tmpl")
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
343 "File, which is used as template for a html frame.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
344
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
345 (defvar hm--html-automatic-expand-templates t
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
346 "*Automatic expansion of templates. This feature needs the file
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
347 tmpl-minor-mode.el from Heiko Muenkel (muenkel@tnt.uni-hannover.de),
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
348 which is distributed with the package hm--html-menus.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
349
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
350 (defvar hm--html-template-filter-regexp ".*\\.html\\.tmpl$"
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
351 "*Regexp for filtering out non template files in a directory.")
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
352
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
353 ;;; for deleting the automounter path-prefix
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
354 (defvar hm--html-delete-wrong-path-prefix '("/tmp_mnt" "/phys/[^/]+")
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
355 "If non nil, it specifies path-prefixes, which should be deleted in pathes.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
356 The Sun automounter adds a temporary prefix to the automounted directories
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
357 (At our site the prefix is /tmp_mnt). But you can't select such a path, if
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
358 the automounter has currently not mounted the directory and so you can't
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
359 follow a html-link, which consists of such a path. To overcome this behaviour,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
360 you can set this variable to the prefix (eg. \"/tmp_mnt\"). After that, the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
361 prefix should be stripped from the pathes during the creation of the links.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
362 ATTENTION: This variable is used as regular expression !
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
363 It can be set to a string or to a list of strings.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
364
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
365
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
366 ;;; For insertation of created and changed comments and automatic
153
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 116
diff changeset
367 ;;; date update in the title line and a visible modification date
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
368
153
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 116
diff changeset
369 (defvar hm--html-automatic-create-title-date t
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 116
diff changeset
370 "*t => A date string will be inserted in the title line.
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 116
diff changeset
371 This will be updated each time before file saving, if
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 116
diff changeset
372 `hm--html-automatic-update-title-date' is also set to t.")
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 116
diff changeset
373
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 116
diff changeset
374 (defvar hm--html-automatic-update-title-date t
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
375 "*t => The date in the title line will be updated before filesaving.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
376 nil => No automatic update of the date.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
377
153
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 116
diff changeset
378 (define-obsolete-variable-alias 'hm--html-automatic-new-date
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 116
diff changeset
379 'hm--html-automatic-update-title-date)
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 116
diff changeset
380
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
381 (defvar hm--html-automatic-changed-comment t
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
382 "*t => A \"changed comment\" line will be added before filesaving.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
383 nil => No automatic insertation of a \"changed comment\" line.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
384
153
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 116
diff changeset
385 (defvar hm--html-changed-comment-prefix "Changed by: "
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 116
diff changeset
386 "*The prefix text of the \"changed comment\" lines.")
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 116
diff changeset
387
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 116
diff changeset
388 (defvar hm--html-created-comment-prefix "Created by: "
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 116
diff changeset
389 "*The prefix text of the \"created comment\" lines.")
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 116
diff changeset
390
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 116
diff changeset
391 (defvar hm--html-comment-infix nil
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 116
diff changeset
392 "*The infix (second part) of the \"changed/created comment\" lines.
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 116
diff changeset
393 By default, if this variable is nil, the username is used.
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 116
diff changeset
394 Then the infix looks like \"Heiko Münkel, \".
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 116
diff changeset
395 Set it to an empty string, if you don't want to have your name
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 116
diff changeset
396 in the comments.")
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 116
diff changeset
397
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
398 (defvar hm--html-automatic-created-comment t
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
399 "*t => A \"created comment\" line will be added.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
400 nil => No automatic insertation of a \"created comment\" line.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
401
153
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 116
diff changeset
402 (defvar hm--html-automatic-create-modified-line nil
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 116
diff changeset
403 "*t => Inserts a visible \"modified\" line with the current date.
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 116
diff changeset
404 Visible means, that it is not a HTML comment.")
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 116
diff changeset
405
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 116
diff changeset
406 (defvar hm--html-automatic-update-modified-line nil
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 116
diff changeset
407 "*t => Updates a visible \"modified\" line with the current date.
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 116
diff changeset
408 Visible means, that it is not a HTML comment.")
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 116
diff changeset
409
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 116
diff changeset
410 (defvar hm--html-modified-prefix "Modified: "
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 116
diff changeset
411 "*Prefix of the last modified entry.")
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 116
diff changeset
412
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 116
diff changeset
413 (defvar hm--html-modified-start-tag "<EM>"
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 116
diff changeset
414 "*Start tag of the modified line.
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 116
diff changeset
415 If you change this, you'll need to change also
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 116
diff changeset
416 `hm--html-modified-end-tag'.")
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 116
diff changeset
417
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 116
diff changeset
418 (defvar hm--html-modified-end-tag "</EM>"
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 116
diff changeset
419 "*End tag of the modified line.
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 116
diff changeset
420 If you change this, you'll need to change also
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 116
diff changeset
421 `hm--html-modified-start-tag'.")
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 116
diff changeset
422
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 116
diff changeset
423 (defvar hm--html-modified-insert-before "</body>"
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 116
diff changeset
424 "Insert modified line before this string.
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 116
diff changeset
425 The search will be done from the end to the beginning.")
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 116
diff changeset
426
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
427
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
428 ;;; Keybindings:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
429
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
430 (defvar hm--html-bind-latin-1-char-entities t
116
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents: 102
diff changeset
431 "Set this to nil, if you don't want to use the ISO Latin 1 character entities.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
432 This is only useful, if `hm--html-use-old-keymap' is set to nil. It is only
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
433 used during loading the html package the first time.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
434
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
435
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
436 ;;; The drag and drop interface
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
437 (defvar hm--html-idd-create-relative-links t
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
438 "If t, then the hm--html-idd-* functions are creating relative links.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
439 Otherwise absolute links are used. The idd functions are used for
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
440 drag and drop.")
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
441
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
442 (defvar hm--html-idd-actions
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
443 '((nil (((idd-if-major-mode-p . dired-mode)
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
444 (idd-if-dired-file-on-line-p . ".*\\.\\(gif\\)\\|\\(jpg\\)"))
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
445 hm--html-idd-add-include-image-from-dired-line)
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
446 (((idd-if-major-mode-p . dired-mode)
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
447 (idd-if-dired-no-file-on-line-p . nil))
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
448 hm--html-idd-add-file-link-to-file-on-dired-line)
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
449 (((idd-if-major-mode-p . dired-mode)
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
450 (idd-if-dired-no-file-on-line-p . t))
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
451 hm--html-idd-add-file-link-to-directory-of-buffer)
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
452 (((idd-if-major-mode-p . w3-mode)
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
453 (idd-if-url-at-point-p . t))
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
454 hm--html-idd-add-html-link-from-w3-buffer-point)
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
455 (((idd-if-major-mode-p . w3-mode))
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
456 hm--html-idd-add-html-link-to-w3-buffer)
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
457 (((idd-if-local-file-p . t))
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
458 hm--html-idd-add-file-link-to-buffer)))
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
459 "The action list for the destination mode `hm--html-mode'.
116
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents: 102
diff changeset
460 Look at the description of the variable idd-actions.")
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
461
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
462
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
463 ;;; The font lock keywords
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
464
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
465 (defconst hm--html-font-lock-keywords-1
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
466 (list
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
467 '("<!--.*-->" . font-lock-comment-face)
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
468 '("<[^>]*>" . font-lock-keyword-face)
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
469 '("<[^>=]*href[ \t\n]*=[ \t\n]*\"\\([^\"]*\\)\"" 1 font-lock-string-face t)
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
470 '("<[^>=]src[ \t\n]*=[ \t\n]*\"\\([^\"]*\\)\"" 1 font-lock-string-face t))
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
471 "Subdued level highlighting for hm--html-mode.")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
472
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
473 (defconst hm--html-font-lock-keywords-2
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
474 (append hm--html-font-lock-keywords-1
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
475 (list
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
476 '(">\\([^<]*\\)</a>" 1 font-lock-reference-face)
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
477 '("</b>\\([^<]*\\)</b>" 1 bold)
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
478 '("</i>\\([^<]*\\)</i>" 1 italic)
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
479 ))
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
480 "Gaudy level highlighting for hm--html-mode.")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
481
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
482 (defvar hm--html-font-lock-keywords hm--html-font-lock-keywords-1
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
483 "Default expressions to highlight in the hm--html-mode.")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
484
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
485
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
486
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
487 ;;; The Prefix- Key for the keytables
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
488 (defvar hm--html-minor-mode-prefix-key "\C-z"
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
489 "The prefix key for the keytables in the `hm--html-minor-mode'.")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
490
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
491 (defvar hm--html-mode-prefix-key "\C-c"
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
492 "The prefix key for the hm--html keys in the `hm--html-mode'.")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
493
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
494
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
495 ;;; The pulldown menu names
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
496 (defvar hm--html-minor-mode-pulldown-menu-name "HM-HTML"
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
497 "The name of the pulldown menu in the minor html mode.")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
498
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
499 (defvar hm--html-mode-pulldown-menu-name "HTML"
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
500 "The name of the pulldown menu in the major html mode.")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
501
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
502
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
503 ;;; The hook variables
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
504 (defvar hm--html-load-hook nil
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
505 "*Hook variable to execute functions after loading the package.")
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
506
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
507 (defvar hm--html-mode-hook nil
116
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents: 102
diff changeset
508 "*This hook will be called each time, when the hm--html-mode is invoked.")
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
509
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
510
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
511 ;;; For the file html-view.el
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
512 ;;; There are also some other variables in hmtl-view.el
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
513 ;;; Look at that file, if you've trouble with the functions
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
514 ;;; to preview the html document with the Mosaic
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
515 (defvar html-view-mosaic-command "/sol/www/bin/mosaic"
116
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents: 102
diff changeset
516 "The command that runs Mosaic on your system.")
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
517
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
518 (defvar html-sigusr1-signal-value 16
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
519 "Value for the SIGUSR1 signal on your system.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
520 See, usually, /usr/include/sys/signal.h.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
521 SunOS 4.1.x : (setq html-sigusr1-signal-value 30)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
522 SunOS 5.x : (setq html-sigusr1-signal-value 16)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
523 Linux : (setq html-sigusr1-signal-value 10))")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
524
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
525
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
526 ;;; Meta information
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
527 (defvar hm--html-meta-name-alist '(("Expires") ("Keys") ("Author"))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
528 "*Alist with possible names for the name or http-equiv attribute of meta.")
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
529
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
530 ;;; indentation
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
531
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
532 (defvar hm--html-disable-indentation nil
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
533 "*Set this to t, if you want to disable the indentation in the hm--html-mode.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
534 And may be send me (muenkel@tnt.uni-hannover.de) a note, why you've
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
535 done this.")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
536
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
537 (defvar hm--html-inter-tag-indent 2
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
538 "*The indentation after a start tag.")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
539
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
540 (defvar hm--html-comment-indent 5
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
541 "*The indentation of a comment.")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
542
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
543 (defvar hm--html-intra-tag-indent 2
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
544 "*The indentation after the start of a tag.")
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
545
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
546 (defvar hm--html-tag-name-alist
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
547 '(("!--" (:hm--html-one-element-tag t))
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
548 ("!doctype" (:hm--html-one-element-tag t))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
549 ("isindex" (:hm--html-one-element-tag t)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
550 (:hm--html-optional-attributes (prompt)))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
551 ("base" (:hm--html-one-element-tag t)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
552 (:hm--html-required-attributes (href)))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
553 ("meta" (:hm--html-one-element-tag t)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
554 (:hm--html-required-attributes (content))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
555 (:hm--html-optional-attributes (http-equiv name)))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
556 ("link" (:hm--html-one-element-tag t)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
557 (:hm--html-optional-attributes (href rel rev title)))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
558 ("hr" (:hm--html-one-element-tag t)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
559 (:hm--html-optional-attributes (align noshade size width)))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
560 ("input" (:hm--html-one-element-tag t)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
561 (:hm--html-optional-attributes
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
562 (type name value checked size maxlength src align)))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
563 ("img" (:hm--html-one-element-tag t)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
564 (:hm--html-required-attributes (src))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
565 (:hm--html-optional-attributes
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
566 (alt align height width border hspace vspace usemap ismap)))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
567 ("param" (:hm--html-one-element-tag t)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
568 (:hm--html-required-attributes (name))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
569 (:hm--html-optional-attributes (value)))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
570 ("br" (:hm--html-one-element-tag t)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
571 (:hm--html-optional-attributes (clear)))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
572 ("basefont" (:hm--html-one-element-tag t)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
573 (:hm--html-optional-attributes size))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
574 ("area" (:hm--html-one-element-tag t)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
575 (:hm--html-required-attributes (alt))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
576 (:hm--html-optional-attributes (shape coords href nohref)))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
577 ("option" (:hm--html-one-element-tag t)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
578 (:hm--html-optional-attributes (selected value)))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
579
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
580 ("html" (:hm--html-two-element-tag t))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
581 ("head" (:hm--html-two-element-tag t))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
582 ("body" (:hm--html-two-element-tag t)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
583 (:hm--html-optional-attributes (bgcolor text link vlink alink background))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
584 )
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
585 ("h1" (:hm--html-two-element-tag t)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
586 (:hm--html-optional-attributes (align)))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
587 ("h2" (:hm--html-two-element-tag t)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
588 (:hm--html-optional-attributes (align)))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
589 ("h3" (:hm--html-two-element-tag t)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
590 (:hm--html-optional-attributes (align)))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
591 ("h4" (:hm--html-two-element-tag t)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
592 (:hm--html-optional-attributes (align)))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
593 ("h5" (:hm--html-two-element-tag t)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
594 (:hm--html-optional-attributes (align)))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
595 ("h6" (:hm--html-two-element-tag t)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
596 (:hm--html-optional-attributes (align)))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
597 ("address" (:hm--html-two-element-tag t))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
598 ("p" (:hm--html-one-or-two-element-tag t)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
599 (:hm--html-optional-attributes (align)))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
600 ("ul" (:hm--html-two-element-tag t)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
601 (:hm--html-optional-attributes (type compact)))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
602 ("ol" (:hm--html-two-element-tag t)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
603 (:hm--html-optional-attributes (type start compact)))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
604 ("dl" (:hm--html-two-element-tag t)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
605 (:hm--html-optional-attributes (compact)))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
606 ("li" (:hm--html-one-or-two-element-tag t)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
607 (:hm--html-optional-attributes (type (value "ol"))))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
608 ("dt" (:hm--html-one-or-two-element-tag t))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
609 ("dd" (:hm--html-one-or-two-element-tag t))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
610 ("dir" (:hm--html-two-element-tag t)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
611 (:hm--html-optional-attributes (compact)))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
612 ("menu" (:hm--html-two-element-tag t)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
613 (:hm--html-optional-attributes (compact)))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
614 ("pre" (:hm--html-two-element-tag t)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
615 (:hm--html-optional-attributes (width)))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
616 ("div" (:hm--html-two-element-tag t)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
617 (:hm--html-optional-attributes (align)))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
618 ("center" (:hm--html-two-element-tag t))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
619 ("blockquote" (:hm--html-two-element-tag t))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
620 ("form" (:hm--html-two-element-tag t)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
621 (:hm--html-optional-attributes (action method enctype)))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
622 ("select" (:hm--html-two-element-tag t)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
623 (:hm--html-required-attributes (name))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
624 (:hm--html-optional-attributes (size multiple)))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
625 ("textarea" (:hm--html-two-element-tag t)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
626 (:hm--html-required-attributes (name rows cols)))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
627 ("table" (:hm--html-two-element-tag t)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
628 (:hm--html-optional-attributes
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
629 (align width border cellspacing cellpading)))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
630 ("caption" (:hm--html-two-element-tag t)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
631 (:hm--html-optional-attributes (align)))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
632 ("tr" (:hm--html-one-or-two-element-tag t)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
633 (:hm--html-optional-attributes (align valign)))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
634 ("th" (:hm--html-one-or-two-element-tag t)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
635 (:hm--html-optional-attributes
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
636 (nowrap rowspan colspan align valign width height)))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
637 ("td" (:hm--html-one-or-two-element-tag t)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
638 (:hm--html-optional-attributes
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
639 (nowrap rowspan colspan align valign width height)))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
640 ("tt" (:hm--html-two-element-tag t))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
641 ("i" (:hm--html-two-element-tag t))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
642 ("b" (:hm--html-two-element-tag t))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
643 ("u" (:hm--html-two-element-tag t))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
644 ("strike" (:hm--html-two-element-tag t))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
645 ("big" (:hm--html-two-element-tag t))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
646 ("small" (:hm--html-two-element-tag t))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
647 ("sub" (:hm--html-two-element-tag t))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
648 ("sup" (:hm--html-two-element-tag t))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
649 ("em" (:hm--html-two-element-tag t))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
650 ("strong" (:hm--html-two-element-tag t))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
651 ("dfn" (:hm--html-two-element-tag t))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
652 ("code" (:hm--html-two-element-tag t))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
653 ("samp" (:hm--html-two-element-tag t))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
654 ("kbd" (:hm--html-two-element-tag t))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
655 ("var" (:hm--html-two-element-tag t))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
656 ("cite" (:hm--html-two-element-tag t))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
657 ("a" (:hm--html-two-element-tag t)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
658 (:hm--html-optional-attributes (name href rel rev title)))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
659 ("applet" (:hm--html-two-element-tag t)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
660 (:hm--html-required-attributes (code width height))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
661 (:hm--html-optional-attributes (codebase alt name align hspace vspace)))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
662 ("font" (:hm--html-two-element-tag t)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
663 (:hm--html-optional-attributes (size color)))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
664 ("map" (:hm--html-two-element-tag t)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
665 (:hm--html-required-attributes (name)))
102
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents: 100
diff changeset
666 ("style" (:hm--html-two-element-tag t))
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents: 100
diff changeset
667 ("script" (:hm--html-two-element-tag t))
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
668 )
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
669 "An alist with tag names known by the `hm--html-mode'.
116
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents: 102
diff changeset
670 CURRENTLY THIS LIST MIGHT NOT CONTAIN ALL TAGS!!!!.
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
671
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
672 It is used to determine, if a tag is a one element tag or not.
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
673
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
674 In the future it should also be used to get possible parameters of
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
675 the tag.
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
676
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
677 Use lower case characters in this list!!!!")
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
678
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
679
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
680 ;;; Announce the feature hm--html-configuration
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
681 (provide 'hm--html-configuration)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
682