File: index-beta.html

package info (click to toggle)
html-helper-mode 3.0.4kilo-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny, squeeze, wheezy
  • size: 284 kB
  • ctags: 262
  • sloc: lisp: 2,756; makefile: 42; sh: 32
file content (274 lines) | stat: -rw-r--r-- 9,495 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
<html> <head>
<title>HTML helper mode beta</title>
</head>

<body>
<h1>HTML helper mode beta</h1>

<p>This is technically beta code, but is quite stable. Don't let the
"beta" scare you. For news and documentation for 2.19.1.1, see the <a
href="index.html">main web page</a> for hhm.</p>

<p>News 5/17/00 Ben Tindale has kindly contributed
<a href="http://sourceforge.net/snippet/detail.php?type=snippet&id=100223">
code for JSP tags</a>.</p>

<hr>

<b>DOWNLOADING NOTE</b>: some browsers (notably lynx, and some versions
of netscape) have trouble saving html-helper-mode correctly: they
corrupt files with long lines. You'll have better luck if you can save
the file to disk without displaying it first (shift-click in Netscape,
capital D in lynx). Sorry about that, can't help buggy browsers.<p>

<ul>
  <li><a href="html-helper-mode.el">html-helper-mode.el</a>
  <li><a href="tempo.el">tempo.el</a>
</ul>

<h2>Major new features</h2>
See change log below for more detail.
<ul>
  <li>Font-lock support, thanks to
      <a href="http://www.nbi.dk/~dickow/">Ulrik Dickow</a>!
      
  <li>Menus. Yes, I've finally done menus.</li>

  <li>User-extensible tag database!
      See the <a href="adding-tags.html">accompanying documentation</a>
      for information, as well as the
      <a href="contrib-tags.html">user contributed extensions</a>.
      
  <li>HTML 2.0 compliance</li>

  <li>Integration with
      <a href="http://wombat.doc.ic.ac.uk/emacs/browse-url.el">browse-url</a>.
      Load or autoload browse-url first, then <kbd>C-cC-zv</kbd> will load the
      current buffer up in your browser. Previewing!
</ul>

<h2>Todo</h2>
<ul>
  <li>consider using <tt>write-contents-hooks</tt>
  <li>fix indentation code to handle tag attributes
      (quick fix - match "&lt;li" instead of "&lt;li&gt;", but that has bad
      potential consequences).
  <li>decide about doctype string (2.0, 3.0, some hybrid?)
  <li>decide about &lt;/li&gt; and &lt;/p&gt;
  <li>update docs
      <ul>
	<li>Document new features (Based on changelog): configuration, et al.</li>
	<li>how to deal with browse-url</li>
	<li>explain how to do upcasing of tags (ick)
	<li>explain which HTML spec we're using.
	<li>hints for European character sets (iso-acc mode, no need
	    to do anything HTML specific). Link
	    <a href="http://ppewww.ph.gla.ac.uk/%7Eflavell/iso8859/iso8859-pointers.html">http://ppewww.ph.gla.ac.uk/%7Eflavell/iso8859/iso8859-pointers.html</a>
      </ul>
  </li>
</ul>

<h2>Notes for various emacsen</h2>

<dl>
  <dt>GNU emacs 19</dt>
  <dd>I develop this code under emacs 19.29, so it should work fine
      there. It should work fine on most modern emacs 19s, although
      some not-so-old versions had a different completion behaviour.<p>

      Note if you save your files with <kbd>C-xC-w</kbd> (write-file)
      then <code>local-write-file-hooks</code> isn't run, which means
      timestamps don't update. (Even worse, the variable is cleared!).
      <kbd>C-xC-s</kbd> (save-file) does run
      the hook and the timestamps are updated. I don't understand why
      write-file
      doesn't run the local-write-file-hooks, but I recommend using
      save-file instead.<p>
  </dd>

  <dt>XEmacs 19</dt>
  <dd>I intend this code to work under XEmacs, and I've heard
      occasional reports that it works.
  </dd>

  <dt>GNU emacs 18</dt>
  <dd>I think this code still works under emacs 18, but you should
      definitely upgrade to 19. Now that the FSF boycott of Apple is
      over, some enterprising person should get cracking on porting
      emacs 19 to the Macintosh. To run under emacs 18, you will need
      to have a definition of
      <a href="ftp://archive.cis.ohio-state.edu/pub/gnu/emacs/elisp-archive/functions/add-hook.el.Z">add-hook</a>
      loaded, and you will need to have 
      <a href="ftp://archive.cis.ohio-state.edu/pub/gnu/emacs/elisp-archive/misc/auc-menu.el.gz">auc-menu.el</a>
      installed.
  </dd>
</dl>

<b>Special Menu Note</b>: there are two packages that provide the same
menuing interfaces: auc-menu and easymenu. Unfortunately, they don't
all work the same. Recent versions of GNU emacs 19 and XEmacs 19 both
come with easymenu as part of the standard lisp library. If you are
having menu troubles, verify that the shipped easymenu is being
loaded: not any versions of auc-menu or easymenu that you might have
lying around elsewhere (from auc-tex, in particular). Emacs 18 people
still need to use auc-menu (which just stubs the functions so they do nothing).<p>

<h2>Changes</h2>

<h3>2.2 - rms cleanups</h3>
<ul>
  <li> Improved docstrings, (provide 'html-mode) for 14 character filenames
</ul>

<h3>2.3 - menus</h3>
<ul>
  <li> Updated my location to @santafe.edu
  <li> Added menu support (using easymenu)
  <li> Changed format of cookie database a bit, renamed a few cookies
  <li> Added timezone to timestamp
</ul>

<h3>2.4 - stupid bug fixes</h3>

<h3>2.5 - modularization</h3>

<ul>
  <li>Added quot and # entities</li>
  <li>Made &lt;p&gt;, &lt;li&gt;, &lt;dd&gt;, &lt;dt&gt; containers. Bleah!</li>
  <li>Removed extraneous whitespace from &lt;li&gt;, etc. Changed default
      indentation to account for this.</li>
  <li>Removed emacs18 support (sorry! Time for you to upgrade.)</li>
  <li>Reworked the keymap and menu scheme so types are modular, you
      can add them later.. Lots
      or reorganization of code, reordered cookie database, etc.</li>
</ul>

<h3>2.6 - emacs18 added in again</h3>
<ul>
  <li>Added back in emacs18 support, grudgingly.
      emacs18ers need auc-menu.el installed as "easymenu.el", and
      some version of the add-hook function.</li>
  <li>Changed the paragraph tag to include a newline</li>
</ul>

<h3>2.7 - HTML/2.0 compliance</h3>
<ul>
  <li>Added full HTML/2.0 compliance: removed old tags, added in new ones.
      Thanks, Marc!</li>
</ul>

<h3>2.8 - new indentation code</h3>
<ul>
  <li>Added in html-helper-htmldtd-version for the skeleton</li>
  <li>moved headers to C-cC-h to make C-cC-t free (why not before?)</li>
  <li>run text-mode-hook, html-mode-hook, html-load-hook</li>
  <li>change indentation logic around to make it clearer</li>
  <li>new type of list item, end of items</li>
  <li>give &lt;select&gt; and &lt;option&gt; stuff indentation like lists</li>
  <li>new form cookies, courtesy of Marc</li>
</ul>

<h3>2.9 - menu cleanups</h3>
<ul>
  <li>Added in a novice menu, on by default.</li>
  <li>Cleaned up the menu presentation</li>
  <li><b>MAJOR CHANGE</b> in the cookie format: the 3rd argument is
      now the menu string (it is also coerced into a symbol to make
      the function.)</li>
</ul>

<h3>2.10</h3>
<ul>
  <li>a bit more hilit19 code: headers, titles, forms (no logical styles)</li>
  <li>move headers back from <kbd>C-cC-h</kbd> to <kbd>C-cC-t</kbd>. Sorry.</li>
  <li>Update tempo insertions from (p . foo) to (p foo)</li>
  <li>now looks in features to check for hilit19</li>
  <li>if you have 'browse-url loaded (forthcoming code) then
      <kbd>M-C-q</kbd> and a menu item will bring up your current file in your
      browser. There's also url-at-point, but we'll leave that to the
      user to bind. Should we save file first? Probably no.
  </li>
  <li>skeletons and timestamps now on by default</li>
</ul>

<h3>2.11</h3>
<ul>
  <li>More hilit19 changes: do comments right, change &lt;h#&gt; colouring</li>
  <li>Moved timestamp-delimiter to <kbd>C-cC-zt</kbd> and
      browse-url-of-file to <kbd>C-cC-zv</kbd> to make things better.
  </li>
  <li>Mucked with menus: verbified, added in timestamps and toggling
      to expert menu.</li>
</ul>

<h3>2.12</h3>
<ul>
  <li>Better loading of easymenu and/or auc-menu</li>
  <li>Change logic for checking if browse-url, hilit19 are loaded</li>
  <li>Bind 'browse-url-at-point into keymap and menu</li>
  <li>More hilit19 regexp changes</li>
  <li>Call (easy-menu-add) and (easy-menu-remove) at the right times.</li>
</ul>

<h3>2.13</h3>
<ul>
  <li>Changed all references to "cookie" into "tag"</li>
  <li>Cleaned up doc strings</li>
  <li>Fixed dumb easy-menu bug (affects XEmacs)</li>
  <li>Look at html-helper-user-menu when building expert menu, allow
      users to add things in.</li>
</ul>

<h3>2.14</h3>
<ul>
  <li>Got rid of &lt;/p&gt;, &lt;/li&gt;, &lt;/dd&gt;, &lt;/dt&gt;.
      Best as I can tell, these are optional and too confusing. I
      might make them into an add-on package.
</ul>

<h3>2.15</h3>
<ul>
  <li>Added in Ulrik Dickow's font-lock support. Many thanks to him
      for his great work and infinite patience.
</ul>

<h3>2.16</h3>
<ul>
  <li>Updated Ulriks' font-lock code.
</ul>

<h3>2.17</h3>
<ul>
  <li>Added table indentation
</ul>

<h3>2.18</h3>
<ul>
  <li>small change to hilit19 entity pattern
  <li>changed <code>html-helper-htmldtd-version</code> meaning to
      include the entire comment.
</ul>

<h3>2.19</h3>
<ul>
  <li>Added <code>html-helper-mode-version</code>, changed the version
      identification in the comments.
</ul>

<h3>2.19.1</h3>
<ul>
  <li>Included some font-lock regexp changes.
</ul>

<hr>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr>
    <td align=left><a href="http://nelson.www.media.mit.edu/people/nelson/">Nelson Minar</a></td>
    <td align=right>Created: March 24, 1995</td>
  </tr>
  <tr>
    <td align=left><a href="mailto:nelson@media.mit.edu"><tt>&lt;nelson@media.mit.edu&gt;</tt></a></td>
    <td align=right>Updated: <!-- hhmts start -->May 17, 2000<!-- hhmts end --></td>
  </tr>
</table> 
</body> </html>