[PD] Pd 0.52 test 2 is out
Christof Ressi
info at christofressi.com
Tue Nov 23 21:58:17 CET 2021
> It seems we need to force add "\" like symbol boxes do in these cases
This would also be possible. Probably better than silently bashing to
individual symbols.
> (but not on adding a space, cause we usually want spaces in the list
> box).
We can't really automatically escape them anyway because the unescaped
and escaped white space have different meanings.
On 23.11.2021 21:36, Alexandre Torres Porres wrote:
> Em ter., 23 de nov. de 2021 às 14:59, Christof Ressi
> <info at christofressi.com> escreveu:
>
>> - if I type "hi, there" in a list box I get an unescaped (and
>> seemingly ilegal) "," symbol.
>
> Generally, list atoms contain FUDI strings and colons, semicolons
> and dollars have special meanings. You have to escape them
> explicitly if you want them to part of a symbol.
>
> "foo,bar" -> 3 atoms
>
> "foo\,bar" -> 1 symbol atom
>
> However, you're right that the list atom forgets to bash those
> special to symbols, so you end up with A_SEMI, A_COMMA, A_DOLLAR
> and A_DOLLSYM atoms on the patch level - which is bad!
>
> It seems we need to force add "\" like symbol boxes do in these cases
> (but not on adding a space, cause we usually want spaces in the list
> box).
>
> In parallel, there's the idea to hide this force adding "\" visually
> on the boxes, but this can be taken care further in both cases of
> list/symbol boxes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20211123/1ac09b1f/attachment.htm>
More information about the Pd-list
mailing list