annotate lisp/hm--html-menus/README @ 189:489f57a838ef r20-3b21

Import from CVS: tag r20-3b21
author cvs
date Mon, 13 Aug 2007 09:57:07 +0200
parents 6075d714658b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
177
6075d714658b Import from CVS: tag r20-3b15
cvs
parents: 153
diff changeset
1 This README file describes the emacs lisp package hm--html-menus-5.8.
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
3 The package provides functions and various popup and pulldown menus
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
4 for a html mode called hm--html-mode, a mode for writing html pages.
102
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents: 100
diff changeset
5 It provides also a minor mode (hm--html-minor-mode), which can be used
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents: 100
diff changeset
6 together with another html major mode, like the psgml-html mode in the
153
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 116
diff changeset
7 XEmacs 19.15.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
8
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
9 It has an interface to view the html documents in a W3 browser with
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
10 Netscape, the w3-package from William M. Perry and Mosaic with the
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
11 file html-view.el from Ron Tapia. It provides also a drag and drop
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
12 interface, which makes it very easy to insert links or images, by just
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
13 clicking on them.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
14
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
15 Look at the file NEWS, to see what is new in this release. Some
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
16 of the major changes are also listed in the ANNOUNCEMENT file.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
17
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
18 You should (but don't need) also get the w3 package from:
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
19
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
20 cs.indiana.edu:/pub/elisp/w3/w3.tar.z
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
21
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
22 which provides an world wide web browser mode for the xemacs, emacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
23 and epoch.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
24
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
25
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
26 This package is tested with the xemacs 19.15 on Suns with SunOS 5.5
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
27 and on PC's with linux. But it should work also on other (possibly
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
28 only UNIX ?) platforms.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
29
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
30 Read the file README-EMACS-19, if you want to use this package with
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
31 GNU Emacs 19.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
32
153
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 116
diff changeset
33 Thanks to Richard Stallman, who helped me to port this package to the
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 116
diff changeset
34 Emacs 19, thanks to John Ladwig, who corrected a lot of the text and
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 116
diff changeset
35 comments in this package and thanks to Michael D. Harnois, who
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 116
diff changeset
36 corrected the Texinfo documentation and to all the other people like
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 116
diff changeset
37 Jerry G. DeLapp, Andreas Ernst, Bob Weiner, Luca Pisati, Guylaine
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 116
diff changeset
38 Prat, Gary D. Foster, Martin Buchholz, Ola Stromfors, Berthold
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 116
diff changeset
39 Crysmann, Noriaki Seki, Valeriy E. Ushakov, D-P Deng, Rick
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 116
diff changeset
40 Braumoeller, Sean Dowd and so on, who provided code, ideas, bug fixes
25f70ba0133c Import from CVS: tag r20-3b3
cvs
parents: 116
diff changeset
41 or bug reports for this package.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
42
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
43
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
44 The package consists of the following files:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
45
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
46 README : this file;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
47 README-EMACS-19 : only for the GNU Emacs 19 user;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
48 ANNOUNCEMENT : Text of the announcement of this package;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
49 LSM : Entry for the Linux Software Map;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
50 NEWS : Change logfile;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
51 adapt.el : provides functions to use this package
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
52 with the GNU Emacs 19
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
53 hm--html.el : provides functions to write html pages;
102
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents: 100
diff changeset
54 in this file are all commands defined,
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents: 100
diff changeset
55 which inserts html elements and entities;
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
56 hm--html-indentation.el : provides the indentation stuff;
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 98
diff changeset
57 hm--html-keys.el : provides the keybindings;
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
58 hm--html-menu.el : provides the menus;
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
59 hm--html-mode.el : provides the functions for the definition
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
60 of the hm--html-mode; this is now the
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
61 main file of the package;
102
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents: 100
diff changeset
62 hm--html-not-standard.el : provides functions to insert some
116
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents: 102
diff changeset
63 non standard html elements;
102
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents: 100
diff changeset
64 this file is not evaluated by default;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
65 hm--html-configuration.el : configuration file for the html mode;
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
66 choose this as system configuration file;
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
67 hm--html-drag-and-drop.el : defines the HTML- specific functions
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
68 for the drag and drop interface;
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
69 hm--date.el : defines the function hm--date, which
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
70 returns the date in the format
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
71 "day-month-year" like "30-Jun-1993".
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
72 html-view.el : Ron Tapia's html-view.el to view html-pages
116
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents: 102
diff changeset
73 in the Xmosaic; it is patched for the use
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
74 with the xemacs;
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
75 internal-drag-and-drop.el : provides the general (html-mode
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
76 independend functions) of the drag and
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
77 drop interface;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
78 templates.doc : describes the syntax of the templates
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
79 provided in the file tmpl-minor-mode.el
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
80 tmpl-minor-mode.el : provides functions for the tmpl-minor-mode;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
81 with this mode you can expand templates,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
82 which are described in the file
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
83 templates-syntax.doc (look at the files
116
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents: 102
diff changeset
84 command-description.html.tmpl and
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
85 frame.html.tmpl for examples);
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
86 templates can be expanded automatically, if
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
87 you include a file with templates via the
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
88 html pulldown menu item "Templates ..."
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
89 or with the item "Templates (fixed dirs)...";
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
90 command-description.html.tmpl : Templatefile for the use with the
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
91 tmpl-minor-mode;
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
92 frame.html.tmpl : Templatefile, provides a simple frame;
177
6075d714658b Import from CVS: tag r20-3b15
cvs
parents: 153
diff changeset
93 drop : xbm file with the drag and drop mouse pointer
6075d714658b Import from CVS: tag r20-3b15
cvs
parents: 153
diff changeset
94 dropmsk : xbm file with mask for the d&d mouse pointer
116
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents: 102
diff changeset
95 doc/hm--html-mode.texinfo : Package documentation in the Texinfo format;
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents: 102
diff changeset
96 doc/umlaute.texinfo : Texinfo include file for german vowel
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents: 102
diff changeset
97 mutation (deutsche Umlaute);
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
98
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
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
102 INSTALLATION:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
103 =============
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
104
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
105 Note: In this version the setting of the environment variables
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
106 HTML_CONFIG_FILE and HTML_USER_CONFIG_FILE are no longer necessary,
116
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents: 102
diff changeset
107 if you put the user configuration file in the home directory and
102
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents: 100
diff changeset
108 the system configuration file in one of the load path directories
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents: 100
diff changeset
109 of your XEmacs or Emacs 19.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
110
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
111 1. Put all the *.el files in one of your xemacs (or emacs) lisp load
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
112 directories (i.e. lisp/packages).
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
113
177
6075d714658b Import from CVS: tag r20-3b15
cvs
parents: 153
diff changeset
114 2. For XEmacs only: Put the files drop and dropmask in the
6075d714658b Import from CVS: tag r20-3b15
cvs
parents: 153
diff changeset
115 directory specified by the lisp variable `idd-data-directory'.
6075d714658b Import from CVS: tag r20-3b15
cvs
parents: 153
diff changeset
116 By default this directory is <prefix>/lib/xemacs-<version>/etc/idd.
6075d714658b Import from CVS: tag r20-3b15
cvs
parents: 153
diff changeset
117 (eg: if you've installed the Xemacs 19.15 in /usr/local, it is
6075d714658b Import from CVS: tag r20-3b15
cvs
parents: 153
diff changeset
118 /usr/local/xemacs/lib/xemacs-19.15/etc/idd).
6075d714658b Import from CVS: tag r20-3b15
cvs
parents: 153
diff changeset
119 If you'd like to put the files in another directory, then you must
6075d714658b Import from CVS: tag r20-3b15
cvs
parents: 153
diff changeset
120 set the variable `idd-data-directory' to this directory (eg:
6075d714658b Import from CVS: tag r20-3b15
cvs
parents: 153
diff changeset
121 (setq idd-data-directory "/usr/local/data")
6075d714658b Import from CVS: tag r20-3b15
cvs
parents: 153
diff changeset
122
6075d714658b Import from CVS: tag r20-3b15
cvs
parents: 153
diff changeset
123 3. Put the following in your .emacs (or default.el or site-init.el):
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
124
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
125 (autoload 'hm--html-mode "hm--html-mode" "HTML major mode." t)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
126 (autoload 'hm--html-minor-mode "hm--html-mode" "HTML minor mode." t)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
127 (or (assoc "\\.html$" auto-mode-alist)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
128 (setq auto-mode-alist (cons '("\\.html$" . hm--html-mode)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
129 auto-mode-alist)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
130
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
131 (autoload 'tmpl-expand-templates-in-buffer "tmpl-minor-mode"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
132 "Expand all templates in the current buffer." t)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
133
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
134 (autoload 'html-view-start-mosaic "html-view" "Start Xmosaic." t)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
135 (autoload 'html-view-view-buffer
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
136 "html-view"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
137 "View the current buffer in Xmosaic."
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
138 t)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
139 (autoload 'html-view-view-file
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
140 "html-view"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
141 "View a file in Xmosaic."
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
142 t)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
143 (autoload 'html-view-goto-url
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
144 "html-view"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
145 "Goto url in Xmosaic."
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
146 t)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
147 (autoload 'html-view-get-display
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
148 "html-view"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
149 "Get the display for Xmosaic (i.e. hostxy:0.0)."
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
150 t)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
151 (autoload 'w3-preview-this-buffer "w3" "WWW Previewer" t)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
152 (autoload 'w3 "w3" "WWW Browser" t)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
153 (autoload 'w3-open-local "w3" "Open local file for WWW browsing" t)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
154 (autoload 'w3-fetch "w3" "Open remote file for WWW browsing" t)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
155 (autoload 'w3-use-hotlist "w3" "Use shortcuts to view WWW docs" t)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
156
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
157 The above lines assume that you have not installed already another
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
158 html mode. If this isn't true, then you should use the following
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
159
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
160 (setq auto-mode-alist (cons '("\\.html$" . hm--html-mode)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
161 auto-mode-alist))
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
162
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
163 instead of
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
164
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
165 (or (assoc "\\.html$" auto-mode-alist)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
166 (setq auto-mode-alist (cons '("\\.html$" . hm--html-mode)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
167 auto-mode-alist)))
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
168
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
169 It could also be, that you've already the autoload lines for
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
170 the w3 package in your emacs.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
171
102
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents: 100
diff changeset
172 If you want to use this the hm--html-minor-mode together
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents: 100
diff changeset
173 with the psgml-html modes, then you should add the following
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents: 100
diff changeset
174 line (works only in XEmacs version >= 19.15 and != 20.0)
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents: 100
diff changeset
175 (add-hook 'html-mode-hook 'hm--html-minor-mode)
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents: 100
diff changeset
176
177
6075d714658b Import from CVS: tag r20-3b15
cvs
parents: 153
diff changeset
177 4. Set (if you want) the environment variable HTML_CONFIG_FILE
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
178 to the html system configuration file i.e.:
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
179 setenv HTML_CONFIG_FILE /usr/xemacs/lisp/hm--html-configuration.el
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
180
177
6075d714658b Import from CVS: tag r20-3b15
cvs
parents: 153
diff changeset
181 5. Set (if you want) the environment variable HTML_USER_CONFIG_FILE to
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
182 the html user configuration file i.e.:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
183 setenv HTML_USER_CONFIG_FILE ~/.hm--html-configuration.el
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
184 And put the file .hm--html-configuration.el in your Home directory.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
185 An example for this user specific file is given below.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
186
177
6075d714658b Import from CVS: tag r20-3b15
cvs
parents: 153
diff changeset
187 6. Check the files hm--html-configuration.el and
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
188 .hm--html-configuration.el whether all variables are set suitable for
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
189 you and your site or not. You can make changes in both of these files
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
190 and you can also create a site specific configuration file, called
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
191 hm--html-site-config-file.el and specified by the lisp variable
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
192 hm--html-site-config-file or the environment variable
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
193 HTML_SITE_CONFIG_FILE, and put your site specific settings in this
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
194 file. A site specific configuration file is useful, if you're a
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
195 system administrator and want to make site specific settings
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
196 without changing a file of this package or use the normal emacs
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
197 configuration files.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
198 Note that .hm--html-configuration.el precedes the settings in
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
199 hm--html-site-config-file.el, which precedes the settings in
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
200 hm--html-configuration.el (user specific configuration overwrites
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
201 site specific configuration and site specific configuration
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
202 overwrites the settings made by the package).
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
203
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
204 Look at first at the following variables:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
205
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
206 hm--html-signaturefile
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
207 hm--html-username
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
208 hm--html-template-dir
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
209 hm--html-favorite-http-server-host-name
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
210 html-document-previewer
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
211 html-view-mosaic-command
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
212 w3-default-homepage
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
213
177
6075d714658b Import from CVS: tag r20-3b15
cvs
parents: 153
diff changeset
214 7. If you want to use templatefiles, you should put these files
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
215 in the directory to which `hm--html-template-dir' points.
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
216 You can use the file command-description.html.tmpl as
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
217 an example.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
218
177
6075d714658b Import from CVS: tag r20-3b15
cvs
parents: 153
diff changeset
219 8. If you don't want to use the feature of adding html comments
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
220 about the creation date and author and with a change log, then
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
221 you should set the following three variables to nil:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
222 hm--html-automatic-changed-comment
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
223 hm--html-automatic-created-comment
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
224
177
6075d714658b Import from CVS: tag r20-3b15
cvs
parents: 153
diff changeset
225 9. If you don't want to set a date in the title line, than you should
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
226 set the following to nil:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
227 hm--html-automatic-new-date
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
228
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
229 The following is an example for a user specific configuration file
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
230 called .hm--html-configuration.el. You should put such a file in your
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
231 home directory and put all the variable settings in it, which are user
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
232 specific.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
233
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
234 ---- BEGIN of .hm--html-configuration.el ----
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
235 ;;; Private html configuration file
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
236
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
237 ;; Signature file
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
238 (setq hm--html-signature-file
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
239 "http://www.tnt.uni-hannover.de:80/data/info/www/tnt/org/tnt/whois/wissmit/muenkel.html")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
240
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
241 ;; Username (Only necessary if it differs from the passwd entry)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
242 (setq hm--html-username "Heiko Münkel")
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 ;; X Window System display for the html-view
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
246 (setq html-view-display "daedalus:0.0")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
247
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
248
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
249 ;; Use the expert menus?
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
250 (setq hm--html-expert t)
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 ;; Delete the automounter path prefix /tmp_mount
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
254 (setq hm--html-delete-wrong-path-prefix "/tmp_mount")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
255
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
256
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 ; W3
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
260
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
261 ;; Default Home Page for w3-mode in lemacs or GNU Emacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
262 (setq w3-default-homepage "file:/home/muenkel/data/docs/www/home.html")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
263 ---- END of .hm--html-configuration.el ----
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 Every hm--*.el file has a description and installation part. Look at first
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
267 at these parts, if you have any questions.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
268
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
269 Look at first at the configuration files, if you have problems with
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
270 this package!
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
271
177
6075d714658b Import from CVS: tag r20-3b15
cvs
parents: 153
diff changeset
272 You should also look at the Texinfo documentation of this package.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
273
177
6075d714658b Import from CVS: tag r20-3b15
cvs
parents: 153
diff changeset
274 There is a html documentation about the package. You can find it on:
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
275 http://www.tnt.uni-hannover.de/~muenkel/software/own/hm--html-menus/overview.html
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
276
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
277
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
278 Please send any bug reports, fixes or comments to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
279 muenkel@daedalus.tnt.uni-hannover.de
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
280
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
281
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
282 I hope these files will be useful,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
283
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
284 Heiko
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
285
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
286