annotate lisp/hm--html-menus/hm--html-configuration.el @ 0:376386a54a3c r19-14

Import from CVS: tag r19-14
author cvs
date Mon, 13 Aug 2007 08:45:50 +0200
parents
children ac2d302a0011
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
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2 ;;; v3.6; 17 Sep 1995
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3 ;;; Copyright (C) 1993, 1994, 1995 Heiko Muenkel
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4 ;;; email: muenkel@tnt.uni-hannover.de
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
5 ;;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
6 ;;; This program is free software; you can redistribute it and/or modify
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
7 ;;; it under the terms of the GNU General Public License as published by
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
8 ;;; the Free Software Foundation; either version 2, or (at your option)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
9 ;;; any later version.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
10 ;;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
11 ;;; This program is distributed in the hope that it will be useful,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
12 ;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
13 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
14 ;;; GNU General Public License for more details.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
15 ;;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
16 ;;; You should have received a copy of the GNU General Public License
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
17 ;;; along with this program; if not, write to the Free Software
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
18 ;;; Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
19 ;;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
20 ;;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
21 ;;; Description:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
22 ;;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
23 ;;; This file is for the configuration of the html mode.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
24 ;;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
25 ;;; Installation:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
26 ;;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
27 ;;; Put this file in one of your lisp load path directories or
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
28 ;;; set the environment variable HTML_CONFIG_FILE to this file.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
29 ;;; For example:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
30 ;;; setenv HTML_CONFIG_FILE "~/data/hm--htm-environment.el"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
31 ;;; if you have put this file in the directory "~/data/"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
32 ;;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
33
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
34
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
35 (provide 'hm--html-configuration)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
36 (require 'adapt)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
37
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
38
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
39 ;; The User config file (an proposal of Manoj Srivastava)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
40 (defvar hm--html-user-config-file nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
41 "*The location of the users config file.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
42 This variable will only be used, if no environment variable
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
43 \"HTML_USER_CONFIG_FILE\" is set.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
44 Example value: \"~/.hm--html-configuration.el\".")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
45
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
46
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
47 ;; Chose the initial popup menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
48
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
49
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
50 (defvar hm--html-expert nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
51 "*t : Use the HTML expert popup menu,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
52 nil : Use the HTML novice (simple) menu.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
53 The variable 'hm--html-marc must be nil. If 'hm--html-marc is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
54 not nil, this variable has no effect.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
55
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
56
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
57 (defvar hm--html-marc nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
58 "*t : Use the HTML popup menu from Marc Andreessen.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
59
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
60
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
61 ;;; Your Signature
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
62
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
63 (defvar hm--html-signature-file nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
64 "*Your Signature file.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
65 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
66
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-username nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
69 "*Your Name for the signature. For example: \"Heiko Münkel\".")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
70
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
71
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
72 ;;; 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
73 ;;; This is used in some other variables
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
74
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
75 (defvar hm--html-favorite-http-server-host-name "www.tnt.uni-hannover.de"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
76 "*The name of your favorite http server host. It must be specified !")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
77
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
78
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
79 ;;; For links to Info Gateways
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
80
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
81 (defvar hm--html-info-hostname:port-alist nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
82 "*Alist with hostnames and ports for the Info gateway.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
83
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
84 (setq hm--html-info-hostname:port-alist '(("www.tnt.uni-hannover.de:8005")))
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-info-hostname:port-default nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
87 "*Default hostname with port for the Info gateway.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
88
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
89 (setq hm--html-info-hostname:port-default "www.tnt.uni-hannover.de:8005")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
90
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
91 (defvar hm--html-info-path-alist nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
92 "*Alist with directories for the Info gateway.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
93
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
94 (setq hm--html-info-path-alist '((1 . "/appl/lemacs/Global/emacs/info")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
95 (2 . "/appl/emacs/info")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
96 (3 . "/appl/gnu/Global/info")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
97 (4 . "/appl/emacs-19/Global/info")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
98 (5 . "/")))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
99
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
100
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
101 ;;; For links to WAIS Gateways
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
102
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
103 (defvar hm--html-wais-hostname:port-alist nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
104 "*Alist with hostnames and ports for the WAIS gateway.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
105
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
106 (setq hm--html-wais-hostname:port-alist '(("www.tnt.uni-hannover.de:8001")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
107 ("info.cern.ch:8001")))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
108
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
109 (defvar hm--html-wais-hostname:port-default nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
110 "*Default hostname with port for the WAIS gateway.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
111
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
112 (setq hm--html-wais-hostname:port-default "www.tnt.uni-hannover.de:8001")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
113
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
114 (defvar hm--html-wais-servername:port-alist nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
115 "*Alist with servernames and ports for the WAIS gateway.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
116
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
117 (setq hm--html-wais-servername:port-alist
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
118 '(("wais.tnt.uni-hannover.de:210")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
119 ("daedalus.tnt.uni-hannover.de:21408")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
120 ("ikarus.tnt.uni-hannover.de:21401")))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
121
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
122 (defvar hm--html-wais-servername:port-default nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
123 "*Default servername with port for the WAIS gateway.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
124
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
125 (setq hm--html-wais-servername:port-default "www.tnt.uni-hannover.de:210")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
126
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
127 (defvar hm--html-wais-path-alist nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
128 "*Alist with directories for the wais gateway.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
129
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
130 (setq hm--html-wais-path-alist nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
131
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
132
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
133 ;;; For links to HTML servers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
134
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
135 (defvar hm--html-html-hostname:port-alist nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
136 "*Alist with hostnames and ports for the HTML server.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
137
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
138 (setq hm--html-html-hostname:port-alist '(("www.tnt.uni-hannover.de:80")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
139 ("vxcrna.cern.ch:80")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
140 ("www.ncsa.uiuc.edu:80")))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
141
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
142 (defvar hm--html-html-hostname:port-default nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
143 "*Default hostname with port for the HTML server.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
144
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
145 (setq hm--html-html-hostname:port-default "www.tnt.uni-hannover.de:80")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
146
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
147 (defvar hm--html-html-path-alist nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
148 "*Alist with directories for the HTML server.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
149
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
150 (setq hm--html-html-path-alist '((1 . "/data/info/www/tnt/")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
151 (2 . "/data/info/www/")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
152 (3 . "/data/info/")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
153 (4 . "/data/")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
154 (5 . "/appl/")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
155 (6 . "/project/")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
156 (7 . "~/")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
157 (8 . "/")))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
158
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 file gateways
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
162
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
163 (defvar hm--html-file-path-alist nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
164 "*Alist with directories for the file gateway.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
165
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
166 (setq hm--html-file-path-alist '((1 . "/data/info/www/tnt/")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
167 (2 . "/data/info/www/")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
168 (3 . "/data/info/")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
169 (4 . "/data/")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
170 (5 . "/appl/")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
171 (6 . "/project/")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
172 (7 . "~/")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
173 (8 . "/")))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
174
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
175
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
176 ;;; For links to ftp servers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
177
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
178 (defvar hm--html-ftp-hostname:port-alist nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
179 "*Alist with hostnames and ports for the ftp server.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
180
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
181 (setq hm--html-ftp-hostname:port-alist '(("ftp.tnt.uni-hannover.de")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
182 ("ftp.rrzn.uni-hannover.de")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
183 ("wega.informatik.uni-hannover.de")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
184 ("rusmv1.rus.uni-stuttgart.de")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
185 ("export.lcs.mit.edu")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
186 ))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
187
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
188 (defvar hm--html-ftp-hostname:port-default nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
189 "*Default hostname with port for the ftp server.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
190
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
191 (setq hm--html-ftp-hostname:port-default "ftp.rrzn.uni-hannover.de")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
192
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
193 (defvar hm--html-ftp-path-alist nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
194 "*Alist with directories for the ftp server.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
195
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
196 (setq hm--html-ftp-path-alist '((1 . "/pub")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
197 (2 . "/pub/gnu")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
198 (3 . "/pub/linux")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
199 (4 . "/pub/unix")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
200 (5 . "/incoming")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
201 (6 . "/")))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
202
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
203
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
204 ;;; For links to gopher servers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
205
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
206 (defvar hm--html-gopher-hostname:port-alist nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
207 "*Alist with hostnames and ports for the gopher server.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
208
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
209 (setq hm--html-gopher-hostname:port-alist
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
210 '(("newsserver.rrzn.uni-hannover.de:70")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
211 ("solaris.rz.tu-clausthal.de:70")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
212 ("veronica.scs.unr.edu:70")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
213 ("pinus.slu.se:70")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
214 ("sunic.sunet.se:70")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
215 ))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
216
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
217 (defvar hm--html-gopher-doctype-alist nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
218 "*Alist with doctype strings for the gopher server.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
219
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
220 (setq hm--html-gopher-doctype-alist
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
221 '(("/1")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
222 ("/11")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
223 ("/00")))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
224
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
225 (defvar hm--html-gopher-doctype-default nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
226 "*Default doctype string for the gopher server.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
227
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
228 (setq hm--html-gopher-doctype-default "/1")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
229
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
230 (defvar hm--html-gopher-hostname:port-default nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
231 "*Default hostname with port for the gopher server.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
232
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
233 (setq hm--html-gopher-hostname:port-default
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
234 "newsserver.rrzn.uni-hannover.de:70")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
235
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
236 (defvar hm--html-gopher-anchor-alist nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
237 "*Alist with directories for the gopher server.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
238
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
239 (setq hm--html-gopher-anchor-alist
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
240 '(("veronica")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
241 ("Wide%20Area%20Information%20Services%20databases")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
242 ("Subject%20Tree")))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
243
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
244
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
245 ;;; For the links to the Program Gateway
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
246
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
247 (defvar hm--html-proggate-hostname:port-alist nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
248 "*Alist with hostnames and ports for the proggate server.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
249
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
250 (setq hm--html-proggate-hostname:port-alist '(("www.tnt.uni-hannover.de:8007")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
251 ))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
252
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
253 (defvar hm--html-proggate-hostname:port-default nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
254 "*Default hostname with port for the proggate server.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
255
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
256 (setq hm--html-proggate-hostname:port-default "www.tnt.uni-hannover.de:8007")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
257
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
258
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
259 (defvar hm--html-proggate-allowed-file nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
260 "*The filename (with path) of the proggate allowed file.")
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 (setq hm--html-proggate-allowed-file "/appl/www/bin/proggate.allowed")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
264
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
265
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
266 ;;; For links to the Local Program Gatewy
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
267
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
268 (defvar hm--html-local-proggate-path-alist nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
269 "*Alist with directories for the local program gateway.")
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 (setq hm--html-local-proggate-path-alist '((1 . "/bin/")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
273 (2 . "/usr/bin/")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
274 (3 . "/usr/local/bin/")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
275 (4 . "/appl/util/bin/")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
276 (5 . "/appl/gnu/Global/bin/")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
277 (6 . "/")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
278 (7 . "/appl/")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
279 (8 . "~/appl/Global/bin/")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
280 (9 . "~/")))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
281
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
282
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
283 ;;; For links to the mail gateway
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
284
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
285 (defvar hm--html-mail-hostname:port-alist nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
286 "*Alist with hostnames and ports for the mail gateway.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
287
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
288 (setq hm--html-mail-hostname:port-alist '(("www.tnt.uni-hannover.de:8003")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
289 ))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
290
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
291 (defvar hm--html-mail-hostname:port-default nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
292 "*Default hostname with port for the mail gateway.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
293
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
294 (setq hm--html-mail-hostname:port-default "www.tnt.uni-hannover.de:8003")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
295
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
296 (defvar hm--html-mail-path-alist nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
297 "*Alist with directories for the mail gateway.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
298
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
299 (setq hm--html-mail-path-alist '((1 . "~/data/docs/mail")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
300 (2 . "~/data/docs/news")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
301 (3 . "~/docs/mail")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
302 (4 . "~/docs/news")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
303 (5 . "~/mail")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
304 (6 . "~/news")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
305 (7 . "~/")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
306 (8 . "/data/info/mail")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
307 (9 . "/data/info/news")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
308 (10 . "/")))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
309
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
310 ;;; For mailto links
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-mailto-alist nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
313 "*Alist with mail adresses for the mailto alist.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
314 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
315 this alist.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
316
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
317 (setq hm--html-mailto-alist '(("muenkel@tnt.uni-hannover.de")))
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 server side include directive
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
321
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
322 (defvar hm--html-server-side-include-command-alist nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
323 "*Alist with commands for the server side include directive.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
324 These commands needs no parameter.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
325
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
326 (setq hm--html-server-side-include-command-alist
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
327 '(("/bin/date")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
328 ("/usr/bin/finger")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
329 ("/bin/df")))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
330
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
331 (defvar hm--html-server-side-include-command-with-parameter-alist nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
332 "*Alist with commands for the server side include directive.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
333 These commands needs parameters.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
334
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
335 (setq hm--html-server-side-include-command-with-parameter-alist
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
336 '(("/usr/bin/man")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
337 ("/usr/bin/finger")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
338 ("/usr/bin/ls")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
339 ("/bin/cat")))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
340
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
341
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
342 ;;; Alist with URL'S for FORMS and IMAGE tags
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
343
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
344 (defvar hm--html-url-alist nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
345 "*Alist with URL's for FORMS and IMAGE tags.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
346 The cdr of each list contains symbols, which specifys the use of the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
347 URL.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
348
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
349 (setq hm--html-url-alist (list
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
350 '("http://hoohoo.ncsa.uiuc.edu/htbin-post/post-query"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
351 POST)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
352 '("http://hoohoo.ncsa.uiuc.edu/htbin/query"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
353 GET)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
354 (list
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
355 (concat "http://"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
356 hm--html-favorite-http-server-host-name
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
357 "/")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
358 'IMAGE)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
359
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
360
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
361 ;;; For the marking of examples in the help buffer
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
362
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
363 (defvar hm--html-help-foreground "red"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
364 "The foreground color to highlight examples.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
365
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
366 (defvar hm--html-help-background nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
367 "The background color to highlight examples.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
368
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
369 (defvar hm--html-help-font (face-font 'bold)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
370 "The font to highlight examples.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
371
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
372
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
373 ;(if (not (face-foreground 'hm--html-help-face))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
374 ; (set-face-foreground 'hm--html-help-face "red"))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
375
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
376
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
377 ;;; For the Templates
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
378
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
379
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
380 (defvar hm--html-template-dir nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
381 "*A directory with templatefiles")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
382
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
383
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
384 (setq hm--html-template-dir "/data/info/www/tnt/guide/templates/")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
385
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
386 (if (not (file-exists-p hm--html-template-dir))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
387 ;; Use a system directory, if the above one doesn't exist
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
388 ;; This is only useful, in the XEmacs 19.12
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
389 (setq hm--html-template-dir (concat data-directory
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
390 "../lisp/hm--html-menus/")))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
391
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
392
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
393 (defvar hm--html-frame-template-file nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
394 "File, which is used as template for a html frame.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
395
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
396 (setq hm--html-frame-template-file (concat hm--html-template-dir
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
397 "frame.tmpl"))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
398
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
399
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
400 (defvar hm--html-automatic-expand-templates nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
401 "*Automatic expansion of templates. This feature needs the file
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
402 tmpl-minor-mode.el from Heiko Muenkel (muenkel@tnt.uni-hannover.de),
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
403 which is distributed with the package hm--html-menus.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
404
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
405
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
406 (setq hm--html-automatic-expand-templates t)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
407
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
408
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
409 ;;; For font lock mode
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
410 ;(defvar hm--html-font-lock-color
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
411 ; (if (facep 'font-lock-comment-face)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
412 ; (face-foreground 'font-lock-comment-face))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
413 ; "*The color for the html font lock.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
414
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
415
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
416 ;(setq hm--html-font-lock-color "grey80")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
417
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
418
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
419 ;;; for deleting the automounter path-prefix
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
420 (defvar hm--html-delete-wrong-path-prefix nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
421 "If non nil, it specifies path-prefixes, which should be deleted in pathes.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
422 The Sun automounter adds a temporary prefix to the automounted directories
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
423 (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
424 the automounter has currently not mounted the directory and so you can't
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
425 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
426 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
427 prefix should be stripped from the pathes during the creation of the links.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
428 ATTENTION: This variable is used as regular expression !
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
429 It can be set to a string or to a list of strings.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
430
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
431 (setq hm--html-delete-wrong-path-prefix '("/tmp_mnt" "/phys/[^/]+"))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
432
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
433
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
434 ;;; For insertation of created and changed comments and automatic
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
435 ;;; date update in the title line
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
436
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
437 (defvar hm--html-automatic-new-date t
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
438 "*t => The date in the title line will be updated before filesaving.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
439 nil => No automatic update of the date.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
440
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
441 (defvar hm--html-automatic-changed-comment t
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
442 "*t => A \"changed comment\" line will be added before filesaving.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
443 nil => No automatic insertation of a \"changed comment\" line.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
444
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
445 (defvar hm--html-automatic-created-comment t
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
446 "*t => A \"created comment\" line will be added.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
447 nil => No automatic insertation of a \"created comment\" line.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
448
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
449
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
450
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
451 ;;; For the file html-mode.el
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
452
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
453 (setq html-document-previewer "/appl/www/bin/mosaic")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
454
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
455
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
456 ;;; For the file html-view.el
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
457
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
458 (setq html-view-mosaic-command "/appl/www/bin/mosaic")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
459
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
460
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
461 ;;; For the files html-mode.el and html-view.el
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
462
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
463 ;; Value for the SIGUSR1 signal on your system. See, usually,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
464 ;; /usr/include/sys/signal.h.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
465 ;; SunOS 4.1.x : (setq html-sigusr1-signal-value 30)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
466 ;; Linux : (setq html-sigusr1-signal-value 10)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
467 (setq html-sigusr1-signal-value 30)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
468
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
469
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
470 ;;; Keybindings:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
471
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
472 (defvar hm--html-bind-latin-1-char-entities t
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
473 "Set this to nil, if you don't want to use the ISO Latin 1 charcter entities.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
474 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
475 used during loading the html package the first time.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
476
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
477 (defvar hm--html-use-old-keymap nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
478 "Set this to t, if you want to use the old keymap from Marc.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
479 This variable and the choice to use the old map will be deleted
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
480 in the future.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
481
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
482 (if (not hm--html-use-old-keymap)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
483 ;; The new map
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
484 (require 'hm--html-keys)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
485
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
486 ;; Additional bindings to the old map
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
487
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
488 ;;; Keytable html-mode-map (see also the file html-mode.el)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
489
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
490 (define-key html-mode-map "\C-cr" 'hm--html-add-link-target)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
491 (define-key html-mode-map "\C-ch" 'hm--html-add-header)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
492 (define-key html-mode-map "\C-ct" 'hm--html-add-title)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
493 (define-key html-mode-map "\C-cn" 'hm--html-add-numberlist)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
494 (define-key html-mode-map "\C-c\C-p" 'hm--html-add-preformated)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
495 (define-key html-mode-map "\C-c\C-b" 'hm--html-add-bold)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
496 (define-key html-mode-map "\C-c\C-i" 'hm--html-add-italic)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
497 (define-key html-mode-map "\C-c\M-h" 'hm--html-add-html-link)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
498 (define-key html-mode-map "\C-c\M-i" 'hm--html-add-info-link)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
499 (define-key html-mode-map "\C-c\M-g" 'hm--html-add-gopher-link)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
500 (define-key html-mode-map "\C-c\M-f" 'hm--html-add-file-link)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
501 (define-key html-mode-map "\C-c\M-n" 'hm--html-add-news-link)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
502 (define-key html-mode-map "\C-c\M-m" 'hm--html-add-mail-link)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
503 ;(define-key html-mode-map "\C-c\M-w" 'hm--html-add-wais-link)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
504 (define-key html-mode-map "\C-c\M-w" 'hm--html-add-direct-wais-link)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
505 (define-key html-mode-map "\C-c\M-t" 'hm--html-add-ftp-link)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
506 (if (adapt-xemacsp)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
507 (define-key html-mode-map '(button3) 'hm--popup-html-menu)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
508 (define-key html-mode-map [mouse-3] 'hm--popup-html-menu)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
509 ;;(define-key html-mode-map [S-mouse-3] 'hm--popup-html-menu)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
510 ;;(define-key html-mode-map [C-mouse-3] 'hm--popup-html-menu-region)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
511 )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
512
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
513 ;;; Keytable html-region-mode-map (for the minor mode region-mode-map
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
514 ;;; This minor mode is active, if a region is active
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
515
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
516 (if html-region-mode-map
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
517 ()
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
518 (setq html-region-mode-map (make-sparse-keymap))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
519 (define-key html-region-mode-map "\t" 'tab-to-tab-stop)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
520 (define-key html-region-mode-map "\C-ca" 'hm--html-add-address-to-region)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
521 (define-key html-region-mode-map "\C-cb" 'hm--html-add-blockquote-to-region)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
522 (define-key html-region-mode-map "\C-cc" 'hm--html-add-code-to-region)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
523 (define-key html-region-mode-map "\C-cd"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
524 'hm--html-add-description-list-to-region)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
525 (define-key html-region-mode-map "\C-ch" 'hm--html-add-header-to-region)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
526 (define-key html-region-mode-map "\C-cl" 'html-add-normal-link-to-region)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
527 (define-key html-region-mode-map "\C-cm" 'hm--html-add-menu-to-region)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
528 (define-key html-region-mode-map "\C-cn" 'hm--html-add-numberlist-to-region)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
529 (define-key html-region-mode-map "\C-cr" 'html-add-reference-to-region)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
530 (define-key html-region-mode-map "\C-cs" 'hm--html-add-list-to-region)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
531 (define-key html-region-mode-map "\C-ct" 'hm--html-add-title-to-region)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
532 (define-key html-region-mode-map "\C-cx" 'hm--html-add-plaintext-to-region)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
533 (define-key html-region-mode-map "\C-c\C-b" 'hm--html-add-bold-to-region)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
534 (define-key html-region-mode-map "\C-c\C-c" 'hm--html-add-citation-to-region)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
535 (define-key html-region-mode-map "\C-c\C-e"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
536 'hm--html-add-emphasized-to-region)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
537 (define-key html-region-mode-map "\C-c\C-f" 'hm--html-add-fixed-to-region)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
538 (define-key html-region-mode-map "\C-c\C-i" 'hm--html-add-italic-to-region)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
539 (define-key html-region-mode-map "\C-c\C-k" 'hm--html-add-keyboard-to-region)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
540 (define-key html-region-mode-map "\C-c\C-l" 'hm--html-add-listing-to-region)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
541 (define-key html-region-mode-map "\C-c\C-m" 'hm--html-add-sample-to-region)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
542 (define-key html-region-mode-map "\C-c\C-p"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
543 'hm--html-add-preformated-to-region)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
544 (define-key html-region-mode-map "\C-c\C-s" 'hm--html-add-strong-to-region)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
545 (define-key html-region-mode-map "\C-c\C-v" 'hm--html-add-variable-to-region)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
546 (define-key html-region-mode-map "<" 'html-less-than)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
547 (define-key html-region-mode-map ">" 'html-greater-than)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
548 (define-key html-region-mode-map "&" 'html-ampersand)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
549 (define-key html-region-mode-map "\C-c\C-rl" 'html-add-normal-link-to-region)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
550 (define-key html-region-mode-map "\C-c\C-rr" 'html-add-reference-to-region)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
551 (define-key html-region-mode-map "\C-c\M-h"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
552 'hm--html-add-html-link-to-region)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
553 (define-key html-region-mode-map "\C-c\M-i"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
554 'hm--html-add-info-link-to-region)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
555 (define-key html-region-mode-map "\C-c\M-g"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
556 'hm--html-add-gopher-link-to-region)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
557 (define-key html-region-mode-map "\C-c\M-f"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
558 'hm--html-add-file-link-to-region)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
559 (define-key html-region-mode-map "\C-c\M-n"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
560 'hm--html-add-news-link-to-region)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
561 (define-key html-region-mode-map "\C-c\M-m"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
562 'hm--html-add-mail-link-to-region)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
563 ; (define-key html-region-mode-map "\C-c\M-w"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
564 ; 'hm--html-add-wais-link-to-region)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
565 (define-key html-region-mode-map "\C-c\M-w"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
566 'hm--html-add-direct-wais-link-to-region)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
567 (define-key html-region-mode-map "\C-c\M-t"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
568 'hm--html-add-ftp-link-to-region)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
569 (if (adapt-xemacsp)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
570 (define-key html-region-mode-map '(button3) 'hm--popup-html-menu-region)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
571 (define-key html-region-mode-map [mouse-3] 'hm--popup-html-menu-region))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
572 )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
573
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
574 )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
575