let
attach_globaction action =
assert
(!attach_detach_mode);
globactions := action :: !globactions