Developers notes:

Be forewarned, to develop this was a total PITA.  When not enuff
functions are marked safe, sbx-with-sandbox and
sbx-collect-functions-called both basically halt emacs.  Developing
sbx involved restarting emacs far more times than I care to think
about.  

I *think* I've got all the required functions marked now, so it should
give you none of this trouble.  But if I'm wrong, be prepared for some
heavy, heavy work.

====

When you want to see which functions a specific block of code uses,
you'll want to use:

(sbx-collect-functions-called 
  (call your)(code (here)))

It will return a list of functions that got called, not including the
ones it already knew about.

====

In the event some symbol is giving you problems and
sbx-collect-functions-called can't determine which symbol it is (I
*think* it should always be able to now, but just in case), one
technique is to add:

(defconst sbx-testing-string "some-string" )

somewhere and use an additional test in
sbx-include-only-safe-functions like:

(string< (symbol-name s) sbx-testing-string )

and vary some-string in different trial.

====

end of sandbox-dev-notes.txt