Joris;

you may feel ill at the sight of this mis-use:

<assign|global-put|<macro|key|value|<with|the-label|<arg|value>|<label|<arg|key>>>>>
<assign|global-get|<macro|key|<get-binding|<arg|key>|0>>>

GET=<global-get|value-345>
PUT=<global-put|value-345|xlots of stuff>

Certainly it is a wicked way to use <label|...> and the references section.

But it's a great API for whole-document state.

I guess the key could be prefixed with something very un-label like to create a sort of namespace.

Sam

--
*Sam's signature*
_______________________________________________
Texmacs-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/texmacs-dev

Reply via email to