On 2018-06-19 15:45, IOhannes m zmoelnig wrote:
so eventually, i could be talked into implementing support for setting (unescaped and escaped) and getting (unexpanded and expanded) $args for [canvasargs]. mainly i'll have to find a nice API to expose that functionality on the patch level.
doh.
actually, i've already implemented getting the expanded and unexpanded $args after a bug reported by liam [7].
so i only need a nice way to be able to set $args.
probably the default (list) message, should unescape any dollars before saving them (so a [list $ 0(->[list $1$2(->[canvasargs] would set the first argument to be a $0 (the $zero from the parent patch), and an expanded "raw" message would save the escapes (so [list $ 0(->[raw $1$2(->[canvasargs] would actually become [myabs $0].
i also think that any $arg returned should be a proper symbol, rather than an A_DOLLSYM or simile.
sorry for all the noise. gfmasdr IOhannes