Is there a way to make MIDIdefs survive a Cmd+period? For example,
MIDIdef.cc(\test1, {arg ...args; args.postln}, 1);
MIDIdef.all;
if you execute this code, it will print out the list of MIDIdefs including the one just created, but when you press Cmd+period, executing the second line shows that there are no MIDIdefs any longer.