<?xml version="1.0"?>
<paste-with-annotations>
  <paste>
    <number>
      <integer>14288</integer>
    </number>
    <user>
      <string>anaran</string>
    </user>
    <title>
      <string>html-helper-timestamp-hook example</string>
    </title>
    <contents>
      <string>(setq html-helper-timestamp-hook
      (lambda ()
	 ;; The trailing four spaces cause html-helper-timestamp-end
	 ;; to be indented correctly (kludge).
	 (let ((time (current-time-string))
	       (zone (nth 1 (current-time-zone))))
	   (insert &quot;    &lt;meta http-equiv=\&quot;Last-modified\&quot; content=\&quot;&quot;
		   time &quot; &quot; zone &quot;\&quot;/&gt;\n&quot;)
	   (insert &quot;    &lt;meta http-equiv=\&quot;Expires\&quot; content=\&quot;&quot;
		   time &quot; &quot; zone &quot;\&quot;/&gt;\n    &quot;))))</string>
    </contents>
    <universal-time>
      <integer>3342691262</integer>
    </universal-time>
    <channel>
      <string>#xemacs</string>
    </channel>
    <colorization-mode>
      <string></string>
    </colorization-mode>
    <maybe-spam>
      <null/>
    </maybe-spam>
    <is-unicode>
      <null/>
    </is-unicode>
    <deletion-requested>
      <null/>
    </deletion-requested>
    <deletion-requested-email>
      <null/>
    </deletion-requested-email>
    <expiration-time>
      <null/>
    </expiration-time>
  </paste>
  <annotation>
    <number>
      <integer>1</integer>
    </number>
    <user>
      <string>micha--</string>
    </user>
    <title>
      <string>My try</string>
    </title>
    <contents>
      <string>(setq html-helper-timestamp-hook
      (lambda ()
         ;; The trailing four spaces cause html-helper-timestamp-end
         ;; to be indented correctly (kludge).
         (let ((format-time-string &quot;%d. %m. %Y&quot;)
	       (time (current-time-string)))
           (insert &quot;    Letzte &amp;Auml;nderung: &quot;
                   time&quot;.&quot;)
                   )))</string>
    </contents>
    <universal-time>
      <integer>3342693475</integer>
    </universal-time>
    <channel>
      <string>#xemacs</string>
    </channel>
    <colorization-mode>
      <string></string>
    </colorization-mode>
    <maybe-spam>
      <null/>
    </maybe-spam>
    <is-unicode>
      <null/>
    </is-unicode>
    <deletion-requested>
      <null/>
    </deletion-requested>
    <deletion-requested-email>
      <null/>
    </deletion-requested-email>
    <expiration-time>
      <null/>
    </expiration-time>
  </annotation>
  <annotation>
    <number>
      <integer>2</integer>
    </number>
    <user>
      <string>micha--</string>
    </user>
    <title>
      <string>yet another try</string>
    </title>
    <contents>
      <string>(setq format-time-string &quot;%C&quot;) 
(setq html-helper-timestamp-hook
      (lambda ()
         ;; The trailing four spaces cause html-helper-timestamp-end
         ;; to be indented correctly (kludge).
	(let (time (current-time-string))
           (insert &quot;    Letzte &amp;Auml;nderung: &quot;
                   time&quot;.&quot;)
                   )))</string>
    </contents>
    <universal-time>
      <integer>3342694679</integer>
    </universal-time>
    <channel>
      <string>#xemacs</string>
    </channel>
    <colorization-mode>
      <string></string>
    </colorization-mode>
    <maybe-spam>
      <null/>
    </maybe-spam>
    <is-unicode>
      <null/>
    </is-unicode>
    <deletion-requested>
      <null/>
    </deletion-requested>
    <deletion-requested-email>
      <null/>
    </deletion-requested-email>
    <expiration-time>
      <null/>
    </expiration-time>
  </annotation>
  <annotation>
    <number>
      <integer>3</integer>
    </number>
    <user>
      <string>fledermaus</string>
    </user>
    <title>
      <string>corrected hook</string>
    </title>
    <contents>
      <string>;; format-time-string is a function, not a variable
;; don't add hooks with setq, use add-hook
;; don't add lambdas to hooks as a general rule, it can get messy later.

(defun html-helper-deutsche-timestamp ()
  (insert (format-time-string &quot;    Letzte &amp;Auml;nderung:  %d. %m. %Y&quot;)))

(add-hook 'html-helper-timestamp-hook 
	  'html-helper-deutsche-timestamp)</string>
    </contents>
    <universal-time>
      <integer>3342694833</integer>
    </universal-time>
    <channel>
      <string>#xemacs</string>
    </channel>
    <colorization-mode>
      <string></string>
    </colorization-mode>
    <maybe-spam>
      <null/>
    </maybe-spam>
    <is-unicode>
      <null/>
    </is-unicode>
    <deletion-requested>
      <null/>
    </deletion-requested>
    <deletion-requested-email>
      <null/>
    </deletion-requested-email>
    <expiration-time>
      <null/>
    </expiration-time>
  </annotation>
</paste-with-annotations>
