[PD] symbolatom: why does it not allow to type spaces?

Hans-Christoph Steiner hans at eds.org
Tue Dec 11 02:13:14 CET 2007


On Dec 10, 2007, at 6:48 PM, Roman Haefeli wrote:

> On Mon, 2007-12-10 at 16:34 -0500, Mathieu Bouchard wrote:
>> On Mon, 10 Dec 2007, Roman Haefeli wrote:
>>  (or am i
>>> overseeing something?).
>>
>> It would only break externals that rely on lack of spaces in any  
>> way, and
>> only if supposing that you weren't already using some other way of
>> producing the spaces.
>>
>> about spaces, those that break are: [netsend], [print],  
>> [textfile], ...
>> anything using atom_string().
>
> ah, yes i am overseeing. thank you for mentioning them. to be added:
> labels in iemguis, when saved.
>
> but these are things that already would break now and it is  
> possible to
> create symbols containing spaces in pd, it's just not as easy as just
> using a symbolbox. fact is, that people do it anyway, so why trying to
> prevent them?
>
> i didn't know that [print] would be affected. in what way is it
> affected? at least visually it doesn't seem to be.
>
> i encounter that ' ' is treated in a non-comprehensibly special way,
> since other characters such as ';' or ',' are escaped by symbolatom  
> (or
> by pd, i don't know) and can be used, atltough they have a meaning  
> in pd
> as well (like 'space' has). wouldn't it be more consistent, if ' ',  
> ','
> and ';' would be treated the same way?

A simple fix for allowing spaces is making the label be based on a  
list rather than a symbol.  This is what I am doing tkwidgets.  But  
for the iemguis, I'm not sure it would work since it might break  
backwards compatibility.

.hc



>
> roman
>
>
>
> 		
> ___________________________________________________________
> Telefonate ohne weitere Kosten vom PC zum PC: http:// 
> messenger.yahoo.de
>
>
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/ 
> listinfo/pd-list



------------------------------------------------------------------------ 
----

Terrorism is not an enemy.  It cannot be defeated.  It's a tactic.   
It's about as sensible to say we declare war on night attacks and  
expect we're going to win that war.  We're not going to win the war  
on terrorism.        - retired U.S. Army general, William Odom






More information about the Pd-list mailing list