[PD-dev] replace spaces in list class names with hyphens

IOhannes m zmölnig zmoelnig at iem.at
Fri Jul 15 10:18:25 CEST 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07/14/2011 11:55 PM, Jonathan Wilkes wrote:
> I've got a working tooltip prototype going, and I just noticed that all the list classes screw up things on the tcl side, because with "list append" (for example) it suddenly looks like there is one more arg to the proc.
> 
> Are there any other objects that have a space in the creator name?  If not, could we just make it official that creator names can't have spaces, and change all the "list foo" creators objects to "list-foo"?
> 
> This would be transparent to the user*, since they can still type "list foo" and list_new will instantiate the right class.  (Although going forward I would suggest using "list-foo" as it is the standard for all the listabs abstractions.)
> 

while i was always opposed to using object names with spaces [1], i
don't think that we should forbid it at all. i would rather have the GUI
side have an idea of what is the object name and what are the arguments
(e.g. "create {list split} {1}" rather than "text list split 1") than to
add arbitrary limitations.

some externals use "proxy objects" for full-fledged non-first inlets,
and those proxies tend to have "hard to type" names as well. how do your
tooltips deal with those?

gfmasdr
IOhannes

[1]
https://sourceforge.net/tracker/index.php?func=detail&aid=1544083&group_id=55736&atid=478072
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk4f984ACgkQkX2Xpv6ydvTpDQCcDJRCiMa6Ai9IYvFNp84wJCJY
EyMAoIhuOhVq2Sra+Uhi8DOpZ8az1cLg
=XO7J
-----END PGP SIGNATURE-----



More information about the Pd-dev mailing list