annotate lisp/hm--html-menus/hm--html-configuration.el @ 102:a145efe76779 r20-1b3

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