Predictably, having just a pair of symbol options is not configurable enough for the popup "define" menu. Remove the option symbols and instead support callback functions for the definition-finding and name-extracting tasks. Each callback receives the default implementation, in case it finds that helpful, and the former option symbols have turned into optional keyword arguments for the default definition-finding implementation.
Predictably, having just a pair of symbol options is not configurable enough for the popup "define" menu. Remove the option symbols and instead support callback functions for the definition-finding and name-extracting tasks. Each callback receives the default implementation, in case it finds that helpful, and the former option symbols have turned into optional keyword arguments for the default definition-finding implementation.
Rhombus branch that uses the new protocol: https://github.com/mflatt/rhombus-prototype/tree/define-popup2, implementation in https://github.com/mflatt/rhombus-prototype/blob/define-popup2/rhombus/private/define-popup.rkt.