annotate lisp/hm--html-menus/hm--html-configuration.el @ 79:5b0a5bbffab6

Added tag r20-0b34 for changeset c7528f8e288d
author cvs
date Mon, 13 Aug 2007 09:05:44 +0200
parents 131b0175ea99
children 0d2f883870bc
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 ;;;
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 46
diff changeset
3 ;;; $Id: hm--html-configuration.el,v 1.1.1.1 1996/12/18 22:43:20 steve Exp $
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
4 ;;;
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 46
diff changeset
5 ;;; Copyright (C) 1993, 1994, 1995, 1996 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
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
52
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
53 ;;; Chose the initial popup menu
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
54 (defvar hm--html-expert nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
55 "*t : Use the HTML expert popup menu,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
56 nil : Use the HTML novice (simple) menu.
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 NOTE: In the Emacs 19 you should set this variable only before
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
59 loading the mode.")
0
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
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
81 (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
82 "*Alist with hostnames and ports for the Info gateway.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
83
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
84 (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
85 "*Default hostname with port for the Info gateway.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
86
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
87 (defvar hm--html-info-path-alist '((1 . "/appl/lemacs/Global/emacs/info")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
88 (2 . "/appl/emacs/info")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
89 (3 . "/appl/gnu/Global/info")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
90 (4 . "/appl/emacs-19/Global/info")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
91 (5 . "/"))
0
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
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
95 ;;; For links to WAIS Gateways
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-wais-hostname:port-alist '(("www.tnt.uni-hannover.de:8001")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
98 ("info.cern.ch:8001"))
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
99 "*Alist with hostnames and ports for the WAIS gateway.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
100
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
101 (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
102 "*Default hostname with port for the WAIS gateway.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
103
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
104 (defvar hm--html-wais-servername:port-alist
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
105 '(("wais.tnt.uni-hannover.de:210")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
106 ("daedalus.tnt.uni-hannover.de:21408")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
107 ("ikarus.tnt.uni-hannover.de:21401"))
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
108 "*Alist with servernames and ports for the WAIS gateway.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
109
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
110 (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
111 "*Default servername with port for the WAIS gateway.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
112
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
113 (defvar hm--html-wais-path-alist nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
114 "*Alist with directories for the wais gateway.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
115
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
116
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
117 ;;; For links to HTML servers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
118
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
119 (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
120 ("vxcrna.cern.ch:80")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
121 ("www.ncsa.uiuc.edu:80"))
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
122 "*Alist with hostnames and ports for the HTML server.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
123
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
124 (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
125 "*Default hostname with port for the HTML server.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
126
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
127 (defvar hm--html-html-path-alist '((1 . "/data/info/www/tnt/")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
128 (2 . "/data/info/www/")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
129 (3 . "/data/info/")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
130 (4 . "/data/")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
131 (5 . "/appl/")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
132 (6 . "/project/")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
133 (7 . "~/")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
134 (8 . "/"))
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
135 "*Alist with directories for the HTML server.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
136
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
137
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
138 ;;; For links to file gateways
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
139
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
140 (defvar hm--html-file-path-alist '((1 . "/data/info/www/tnt/")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
141 (2 . "/data/info/www/")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
142 (3 . "/data/info/")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
143 (4 . "/data/")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
144 (5 . "/appl/")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
145 (6 . "/project/")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
146 (7 . "~/")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
147 (8 . "/"))
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
148 "*Alist with directories for the file gateway.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
149
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
150
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
151 ;;; For links to ftp servers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
152
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
153 (defvar hm--html-ftp-hostname:port-alist '(("ftp.tnt.uni-hannover.de")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
154 ("ftp.rrzn.uni-hannover.de")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
155 ("wega.informatik.uni-hannover.de")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
156 ("rusmv1.rus.uni-stuttgart.de")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
157 ("export.lcs.mit.edu")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
158 )
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
159 "*Alist with hostnames and ports for the ftp server.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
160
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
161 (defvar hm--html-ftp-hostname:port-default "ftp.rrzn.uni-hannover.de"
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
162 "*Default hostname with port for the ftp server.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
163
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
164 (defvar hm--html-ftp-path-alist '((1 . "/pub")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
165 (2 . "/pub/gnu")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
166 (3 . "/pub/linux")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
167 (4 . "/pub/unix")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
168 (5 . "/incoming")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
169 (6 . "/"))
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
170 "*Alist with directories for the ftp server.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
171
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
172
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
173 ;;; For links to gopher servers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
174
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
175 (defvar hm--html-gopher-hostname:port-alist
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
176 '(("newsserver.rrzn.uni-hannover.de:70")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
177 ("solaris.rz.tu-clausthal.de:70")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
178 ("veronica.scs.unr.edu:70")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
179 ("pinus.slu.se:70")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
180 ("sunic.sunet.se:70")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
181 )
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
182 "*Alist with hostnames and ports for the gopher server.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
183
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
184 (defvar hm--html-gopher-doctype-alist '(("/1")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
185 ("/11")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
186 ("/00"))
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
187 "*Alist with doctype strings for the gopher server.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
188
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
189 (defvar hm--html-gopher-doctype-default "/1"
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
190 "*Default doctype string for the gopher server.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
191
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 46
diff changeset
192 (defvar hm--html-gopher-hostname:port-default
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 46
diff changeset
193 "newsserver.rrzn.uni-hannover.de:70"
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 46
diff changeset
194 "*Default hostname with port for the gopher server.")
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 46
diff changeset
195
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
196 (defvar hm--html-gopher-anchor-alist
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
197 '(("veronica")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
198 ("Wide%20Area%20Information%20Services%20databases")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
199 ("Subject%20Tree"))
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
200 "*Alist with directories for the gopher server.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
201
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
202
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
203 ;;; For the links to the Program Gateway
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
204
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
205 (defvar hm--html-proggate-hostname:port-alist
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
206 '(("www.tnt.uni-hannover.de:8007")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
207 )
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
208 "*Alist with hostnames and ports for the proggate server.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
209
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
210 (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
211 "*Default hostname with port for the proggate server.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
212
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
213 (defvar hm--html-proggate-allowed-file "/appl/www/bin/proggate.allowed"
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
214 "*The filename (with path) of the proggate allowed file.")
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 ;;; For links to the Local Program Gatewy
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
218
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
219 (defvar hm--html-local-proggate-path-alist '((1 . "/bin/")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
220 (2 . "/usr/bin/")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
221 (3 . "/usr/local/bin/")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
222 (4 . "/appl/util/bin/")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
223 (5 . "/appl/gnu/Global/bin/")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
224 (6 . "/")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
225 (7 . "/appl/")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
226 (8 . "~/appl/Global/bin/")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
227 (9 . "~/"))
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
228 "*Alist with directories for the local program gateway.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
229
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
230
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
231 ;;; For links to the mail gateway
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
232
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
233 (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
234 )
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
235 "*Alist with hostnames and ports for the mail gateway.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
236
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
237 (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
238 "*Default hostname with port for the mail gateway.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
239
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
240 (defvar hm--html-mail-path-alist '((1 . "~/data/docs/mail")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
241 (2 . "~/data/docs/news")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
242 (3 . "~/docs/mail")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
243 (4 . "~/docs/news")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
244 (5 . "~/mail")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
245 (6 . "~/news")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
246 (7 . "~/")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
247 (8 . "/data/info/mail")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
248 (9 . "/data/info/news")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
249 (10 . "/"))
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
250 "*Alist with directories for the mail gateway.")
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 ;;; For mailto links
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
254
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
255 (defvar hm--html-mailto-alist '(("muenkel@tnt.uni-hannover.de"))
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
256 "*Alist with mail adresses for the mailto alist.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
257 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
258 this alist.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
259
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
260
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
261 ;;; For the server side include directive
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
262 ;;; not sure, if these directives works on any server
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
263
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
264 (defvar hm--html-server-side-include-command-alist '(("/bin/date")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
265 ("/usr/bin/finger")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
266 ("/bin/df"))
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
267 "*Alist with commands for the server side include directive.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
268 These commands needs no parameter.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
269
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
270 (defvar hm--html-server-side-include-command-with-parameter-alist
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
271 '(("/usr/bin/man")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
272 ("/usr/bin/finger")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
273 ("/usr/bin/ls")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
274 ("/bin/cat"))
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
275 "*Alist with commands for the server side include directive.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
276 These commands needs parameters.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
277
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
278
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
279 ;;; Alist with URL'S for FORMS and IMAGE tags
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
280
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
281 (defvar hm--html-url-alist
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
282 (list
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
283 '("http://hoohoo.ncsa.uiuc.edu/htbin-post/post-query"
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
284 POST)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
285 '("http://hoohoo.ncsa.uiuc.edu/htbin/query"
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
286 GET)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
287 (list
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
288 (concat "http://"
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
289 hm--html-favorite-http-server-host-name
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
290 "/")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
291 'IMAGE))
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
292 "*Alist with URL's for FORMS and IMAGE tags.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
293 The cdr of each list contains symbols, which specifys the use of the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
294 URL.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
295
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
296
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
297 ;;; For the marking of examples in the help buffer
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
298
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
299 (defvar hm--html-help-foreground "red"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
300 "The foreground color to highlight examples.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
301
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
302 (defvar hm--html-help-background nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
303 "The background color to highlight examples.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
304
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
305 (defvar hm--html-help-font (face-font 'bold)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
306 "The font to highlight examples.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
307
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
308
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
309 ;;; For the Templates
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
310
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
311 (defvar hm--html-template-dir "/data/info/www/tnt/guide/templates"
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 46
diff changeset
312 "*A directory with templatefiles")
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
313
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 46
diff changeset
314 (if (not (file-exists-p hm--html-template-dir))
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
315 ;; Use a system directory, if the above one doesn't exist
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 46
diff changeset
316 ;; This is only useful, in the XEmacs 19.12
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
317 (setq hm--html-template-dir (concat data-directory
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 46
diff changeset
318 "../lisp/hm--html-menus/")))
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
319
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 46
diff changeset
320 (defvar hm--html-frame-template-file (concat hm--html-template-dir
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 46
diff changeset
321 "frame.tmpl")
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
322 "File, which is used as template for a html frame.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
323
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
324 (defvar hm--html-automatic-expand-templates t
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
325 "*Automatic expansion of templates. This feature needs the file
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
326 tmpl-minor-mode.el from Heiko Muenkel (muenkel@tnt.uni-hannover.de),
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
327 which is distributed with the package hm--html-menus.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
328
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
329
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
330 ;;; for deleting the automounter path-prefix
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
331 (defvar hm--html-delete-wrong-path-prefix '("/tmp_mnt" "/phys/[^/]+")
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
332 "If non nil, it specifies path-prefixes, which should be deleted in pathes.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
333 The Sun automounter adds a temporary prefix to the automounted directories
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
334 (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
335 the automounter has currently not mounted the directory and so you can't
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
336 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
337 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
338 prefix should be stripped from the pathes during the creation of the links.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
339 ATTENTION: This variable is used as regular expression !
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
340 It can be set to a string or to a list of strings.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
341
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
342
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
343 ;;; For insertation of created and changed comments and automatic
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
344 ;;; date update in the title line
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
345
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
346 (defvar hm--html-automatic-new-date t
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
347 "*t => The date in the title line will be updated before filesaving.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
348 nil => No automatic update of the date.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
349
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
350 (defvar hm--html-automatic-changed-comment t
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
351 "*t => A \"changed comment\" line will be added before filesaving.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
352 nil => No automatic insertation of a \"changed comment\" line.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
353
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
354 (defvar hm--html-automatic-created-comment t
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
355 "*t => A \"created comment\" line will be added.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
356 nil => No automatic insertation of a \"created comment\" line.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
357
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
358
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
359 ;;; Keybindings:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
360
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
361 (defvar hm--html-bind-latin-1-char-entities t
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 46
diff changeset
362 "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
363 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
364 used during loading the html package the first time.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
365
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
366
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
367 ;;; The drag and drop interface
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
368 (defvar hm--html-idd-create-relative-links t
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
369 "If t, then the hm--html-idd-* functions are creating relative links.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
370 Otherwise absolute links are used. The idd functions are used for
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
371 drag and drop.")
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
372
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
373 (defvar hm--html-idd-actions
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 46
diff changeset
374 '((nil (((idd-major-mode-p . dired-mode)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 46
diff changeset
375 (idd-dired-file-on-line-p . ".*\\.\\(gif\\)\\|\\(jpq\\)"))
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
376 hm--html-idd-add-include-image-from-dired-line)
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 46
diff changeset
377 (((idd-major-mode-p . dired-mode)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 46
diff changeset
378 (idd-dired-no-file-on-line-p . nil))
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
379 hm--html-idd-add-file-link-to-file-on-dired-line)
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 46
diff changeset
380 (((idd-major-mode-p . dired-mode)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 46
diff changeset
381 (idd-dired-no-file-on-line-p . t))
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
382 hm--html-idd-add-file-link-to-directory-of-buffer)
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 46
diff changeset
383 (((idd-major-mode-p . w3-mode)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 46
diff changeset
384 (idd-url-at-point-p . t))
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
385 hm--html-idd-add-html-link-from-w3-buffer-point)
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 46
diff changeset
386 (((idd-major-mode-p . w3-mode))
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
387 hm--html-idd-add-html-link-to-w3-buffer)
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 46
diff changeset
388 (((idd-local-file-p . t))
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
389 hm--html-idd-add-file-link-to-buffer)))
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 46
diff changeset
390 "The action list for the source mode `hm--html-mode'.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 46
diff changeset
391 Look at the description of the variable idd-actions")
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
392
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
393
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
394 ;;; The font lock keywords
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
395
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 46
diff changeset
396 (defvar hm--html-font-lock-keywords
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
397 (list
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 46
diff changeset
398 '("\\(<!--.*-->\\)\\|\\(<[^>]*>\\)+" . font-lock-comment-face)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 46
diff changeset
399 '("[Hh][Rr][Ee][Ff]=\"\\([^\"]*\\)\"" 1 font-lock-string-face t)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 46
diff changeset
400 '("[Ss][Rr][Cc]=\"\\([^\"]*\\)\"" 1 font-lock-string-face t))
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
401 "Default expressions to highlight in the hm--html-mode.")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
402
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
403
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
404 ;;; The Prefix- Key for the keytables
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
405 (defvar hm--html-minor-mode-prefix-key "\C-z"
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
406 "The prefix key for the keytables in the `hm--html-minor-mode'.")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
407
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
408 (defvar hm--html-mode-prefix-key "\C-c"
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
409 "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
410
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
411
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
412 ;;; The pulldown menu names
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
413 (defvar hm--html-minor-mode-pulldown-menu-name "HM-HTML"
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
414 "The name of the pulldown menu in the minor html mode.")
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 (defvar hm--html-mode-pulldown-menu-name "HTML"
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
417 "The name of the pulldown menu in the major html mode.")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
418
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
419
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
420 ;;; The hook variables
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
421 (defvar hm--html-load-hook nil
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
422 "*Hook variable to execute functions after loading the package.")
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
423
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
424 (defvar hm--html-mode-hook nil
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 46
diff changeset
425 "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
426
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
427
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
428 ;;; For the file html-view.el
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
429 ;;; There are also some other variables in hmtl-view.el
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
430 ;;; Look at that file, if you've trouble with the functions
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
431 ;;; to preview the html document with the Mosaic
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
432 (defvar html-view-mosaic-command "/sol/www/bin/mosaic"
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 46
diff changeset
433 "The command that runs Mosaic on your system")
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
434
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
435 (defvar html-sigusr1-signal-value 16
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
436 "Value for the SIGUSR1 signal on your system.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
437 See, usually, /usr/include/sys/signal.h.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
438 SunOS 4.1.x : (setq html-sigusr1-signal-value 30)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
439 SunOS 5.x : (setq html-sigusr1-signal-value 16)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
440 Linux : (setq html-sigusr1-signal-value 10))")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
441
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
442
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
443 ;;; Announce the feature hm--html-configuration
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
444 (provide 'hm--html-configuration)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
445