annotate lisp/hm--html-menus/README @ 2:ac2d302a0011 r19-15b2

Import from CVS: tag r19-15b2
author cvs
date Mon, 13 Aug 2007 08:46:35 +0200
parents 376386a54a3c
children 8fc7fe29b841
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
1 This README file describes the emacs lisp package hm--html-menus-5.0.
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.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
5
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
6 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
7 Netscape, the w3-package from William M. Perry and Mosaic with the
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
8 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
9 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
10 clicking on them.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
11
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
12 Look at the file NEWS, to see what is new in this release. One of the
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
13 main changes is, that it is no longer based on the html-mode.el
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
14 package from Marc Andreessen. Therefore the name of the mode has
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
15 changed to hm--html-mode and also the way to install the package is a
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
16 little bit different. So please read the installtion hints CAREFULLY!
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
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
26 This package is tested with the xemacs 19.14 and the emacs 19.30 on
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
27 Suns with SunOS 4.1.3 and 5.5 and on PC's with linux. But it should
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
28 work also on other (possibly only UNIX ?) platforms.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
29
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
30 Read the file README-EMACS-19, if you want to use this package with
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
31 GNU Emacs 19.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
32
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
33 Thanks to Richard Stallman, who has helped me to port this package to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
34 the Emacs 19 and thanks to John Ladwig, who has corrected a lot of the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
35 text and comments in this package and to all the other people, who had
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
36 provided code, ideas, bug fixes or bug reports for this package.
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 package consists of the following files:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
40
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
41 README : this file;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
42 README-EMACS-19 : only for the GNU Emacs 19 user;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
43 ANNOUNCEMENT : Text of the announcement of this package;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
44 LSM : Entry for the Linux Software Map;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
45 NEWS : Change logfile;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
46 adapt.el : provides functions to use this package
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
47 with the GNU Emacs 19
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
48 hm--html.el : provides functions to write html pages;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
49 some of these functions are similar to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
50 functions of the html-mode.el;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
51 hm--html-keys.el : provides the new keybindings;
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
52 hm--html-menu.el : provides the menus;
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
53 hm--html-mode.el : provides the functions for the definition
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
54 of the hm--html-mode; this is now the
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
55 main file of the package;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
56 hm--html-configuration.el : configuration file for the html mode;
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
57 choose this as system configuration file;
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
58 hm--html-drag-and-drop.el : defines the HTML- specific functions
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
59 for the drag and drop interface;
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
60 hm--date.el : defines the function hm--date, which
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
61 returns the date in the format
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
62 "day-month-year" like "30-Jun-1993".
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
63 html-view.el : Ron Tapia's html-view.el to view html-pages
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
64 in the Xmosaic; it is patched for use
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
65 with the xemacs;
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
66 internal-drag-and-drop.el : provides the general (html-mode
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
67 independend functions) of the drag and
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
68 drop interface;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
69 templates.doc : describes the syntax of the templates
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
70 provided in the file tmpl-minor-mode.el
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
71 tmpl-minor-mode.el : provides functions for the tmpl-minor-mode;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
72 with this mode you can expand templates,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
73 which are described in the file
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
74 templates-syntax.doc (look at the files
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
75 command-description.tmpl and frame.tmpl for
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
76 examples);
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
77 templates can be expanded automatically, if
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
78 you include a file with templates via the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
79 html pulldown menu item "Templates ...";
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
80 command-description.tmpl : Templatefile for the use with the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
81 tmpl-minor-mode;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
82 frame.tmpl : Templatefile, provides a simple frame;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
83
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
84
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
85
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
86
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
87
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
88 INSTALLATION:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
89 =============
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
90
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
91 Note: In this version the setting of the environment variables
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
92 HTML_CONFIG_FILE and HTML_USER_CONFIG_FILE are no longer necessary,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
93 if you put the user configuration file in the home directrory and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
94 the system (site) configuration file in one of the load path directories
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
95 of your xemacs or GNU Emacs 19.
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 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
98 directories (i.e. lisp/packages).
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
99
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
100 2. Put the following in your .emacs (or default.el or site-init.el):
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
101
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
102 (autoload 'hm--html-mode "hm--html-mode" "HTML major mode." t)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
103 (autoload 'hm--html-minor-mode "hm--html-mode" "HTML minor mode." t)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
104 (or (assoc "\\.html$" auto-mode-alist)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
105 (setq auto-mode-alist (cons '("\\.html$" . hm--html-mode)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
106 auto-mode-alist)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
107
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
108 (autoload 'tmpl-expand-templates-in-buffer "tmpl-minor-mode"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
109 "Expand all templates in the current buffer." t)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
110
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
111 (autoload 'html-view-start-mosaic "html-view" "Start Xmosaic." t)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
112 (autoload 'html-view-view-buffer
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
113 "html-view"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
114 "View the current buffer in Xmosaic."
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
115 t)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
116 (autoload 'html-view-view-file
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
117 "html-view"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
118 "View a file in Xmosaic."
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
119 t)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
120 (autoload 'html-view-goto-url
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
121 "html-view"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
122 "Goto url in Xmosaic."
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
123 t)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
124 (autoload 'html-view-get-display
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
125 "html-view"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
126 "Get the display for Xmosaic (i.e. hostxy:0.0)."
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
127 t)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
128 (autoload 'w3-preview-this-buffer "w3" "WWW Previewer" t)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
129 (autoload 'w3 "w3" "WWW Browser" t)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
130 (autoload 'w3-open-local "w3" "Open local file for WWW browsing" t)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
131 (autoload 'w3-fetch "w3" "Open remote file for WWW browsing" t)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
132 (autoload 'w3-use-hotlist "w3" "Use shortcuts to view WWW docs" t)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
133
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
134 The above lines assume that you have not installed already another
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
135 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
136
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
137 (setq auto-mode-alist (cons '("\\.html$" . hm--html-mode)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
138 auto-mode-alist))
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
139
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
140 instead of
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
141
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
142 (or (assoc "\\.html$" auto-mode-alist)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
143 (setq auto-mode-alist (cons '("\\.html$" . hm--html-mode)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
144 auto-mode-alist)))
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
145
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
146 It could also be, that you've already the autoload lines for
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
147 the w3 package in your emacs.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
148
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
149 3. Set the environment variable HTML_CONFIG_FILE to the html system
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
150 configuration file i.e.:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
151 setenv HTML_CONFIG_FILE /usr/xemacs/lisp/hm--html-configuration.el
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
152
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
153 4. Set (if you want) the environment variable HTML_USER_CONFIG_FILE to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
154 the html user configuration file i.e.:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
155 setenv HTML_USER_CONFIG_FILE ~/.hm--html-configuration.el
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
156 And put the file .hm--html-configuration.el in your Home directory.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
157 An example for this user specific file is given below.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
158
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
159 5. Check the files hm--html-configuration.el and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
160 .hm--html-configuration.el whether all variables are set suitable for
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
161 you and your site or not. You can make changes in both of these files.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
162 Note that .hm--html-configuration.el precedes the settings in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
163 hm--html-configuration.el, because it is the user specific
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
164 configuration file. So you should made site specific changes in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
165 hm--html-configuration.el.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
166
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
167 Look at first at the following variables:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
168
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
169 hm--html-signaturefile
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
170 hm--html-username
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
171 hm--html-template-dir
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
172 hm--html-favorite-http-server-host-name
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
173 html-document-previewer
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
174 html-view-mosaic-command
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
175 w3-default-homepage
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
176
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
177 6. If you want to use templatefiles, you should put these files
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
178 in the directory to which `hm--html-template-dir' points.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
179 You can use the file command-description.tmpl as
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
180 an example.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
181
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
182 7. If you don't want to use the feature of adding html comments
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
183 about the creation date and author and with a change log, then
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
184 you should set the following three variables to nil:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
185 hm--html-automatic-changed-comment
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
186 hm--html-automatic-created-comment
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
187
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
188 8. If you don't want to set a date in the title line, than you should
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
189 set the following to nil:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
190 hm--html-automatic-new-date
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
191
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
192 The following is an example for a user specific configuration file
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
193 called .hm--html-configuration.el. You should put such a file in your
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
194 home directory and put all the variable settings in it, which are user
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
195 specific.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
196
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
197 ---- BEGIN of .hm--html-configuration.el ----
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
198 ;;; Private html configuration file
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
199
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
200 ;; Signature file
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
201 (setq hm--html-signature-file
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
202 "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
203
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
204 ;; Username (Only necessary if it differs from the passwd entry)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
205 (setq hm--html-username "Heiko Münkel")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
206
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
207
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
208 ;; X Window System display for the html-view
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
209 (setq html-view-display "daedalus:0.0")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
210
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
211
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
212 ;; Use the expert menus?
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
213 (setq hm--html-expert t)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
214
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
215
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
216 ;; Delete the automounter path prefix /tmp_mount
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
217 (setq hm--html-delete-wrong-path-prefix "/tmp_mount")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
218
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
219
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
220 ;;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
221 ;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
222 ; W3
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
223
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
224 ;; Default Home Page for w3-mode in lemacs or GNU Emacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
225 (setq w3-default-homepage "file:/home/muenkel/data/docs/www/home.html")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
226 ---- END of .hm--html-configuration.el ----
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
227
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
228
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
229 Every hm--*.el file has a description and installation part. Look at first
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
230 at these parts, if you have any questions.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
231
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
232 Look at first at the configuration files, if you have problems with
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
233 this package!
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
234
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
235
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
236 Sorry, I know that the documentation of this package isn't so good as
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
237 it should be, but at the moment I've not the time to make a better
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
238 one.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
239
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
240 There is also a html documentation about the package. You can find it on:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
241 http://www.tnt.uni-hannover.de:80/data/info/www/tnt/soft/info/www/html-editors/hm--html-menus/overview.html
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
242
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
243
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
244 Please send any bug reports, fixes or comments to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
245 muenkel@daedalus.tnt.uni-hannover.de
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
246
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
247
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
248 I hope these files will be useful,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
249
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
250 Heiko
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
251
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
252