From xemacs-m  Mon Feb 17 17:13:32 1997
Received: from newman (root@newman.aventail.com [38.225.141.10])
	by xemacs.org (8.8.5/8.8.5) with SMTP id RAA23909
	for <xemacs-beta@xemacs.org>; Mon, 17 Feb 1997 17:13:29 -0600 (CST)
Received: from kramer.in.aventail.com.aventail.com (wmperry@kramer [192.168.1.12]) by newman (8.6.12/8.6.9) with SMTP id PAA23394 for <xemacs-beta@xemacs.org>; Mon, 17 Feb 1997 15:11:31 -0800
Date: Mon, 17 Feb 1997 15:11:31 -0800
Message-Id: <199702172311.PAA23394@newman>
From: "William M. Perry" <wmperry@aventail.com>
To: xemacs-beta@xemacs.org
Subject: Safe elisp functions?
Errors-to: wmperry@aventail.com
Reply-to: wmperry@aventail.com
X-Face: O~Rn;(l][/-o1sALg4A@xpE:9-"'IR[%;,,!m7</SYF`{vYQ(&RI1&EiH[FvT;J}@f!4kfz
 x_!Y#=y{Uuj9GvUi=cPuajQ(Z42R[wE@{G,sn$qGr5g/wnb*"*ktI+,CD}1Z'wxrM2ag-r0p5I6\nA
 [WJopW_J.WY;

anyone want to vote on the functions that Emacs-W3 will let you call from
downloaded emacs-lisp?  I broke down last night and added in basic support
for scripting (right now just plugged in the 'onmouseover' property (on
_any_ tag)).

So you can do:

<html>
  <head>
    <title>Testing of Scripting</title>
  </head>
  <body>
    <h1 onmouseover='(message "hello!")'>Testing</h1>
    <h1 onmouseover='(message "%d:%d" (event-x e) (event-y e))'>Testing 2</h1>
  </body>
</html>

But, where do I draw the boundaries of the sandbox?  Right now, I allow
access to:

Basics: message format garbage-collect progn prog1 prog2 progn-with-message
All text property manipulation
w3-fetch, w3-refresh-buffer
Event stuff: all event accessor functions

What else should be added?

-Bill P.

