[PD] a patch closing itself

Enrique Erne pd at mild.ch
Tue Nov 6 20:44:50 CET 2007


oh, i wasn't aware that there are other differences

[bng] <- click here
|
[;
bind2.pd menuclose 0(

does crash Pd-0.40.3-extended-20071026

doesn't crash Pd-0.40-2


-------------- next part --------------
A non-text attachment was scrubbed...
Name: bind2.pd
Type: application/octet-stream
Size: 167 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20071106/56f53b45/attachment.obj>
-------------- next part --------------



eni


On Nov 6, 2007, at 6:44 PM, Hans-Christoph Steiner wrote:

>
> This patch crashes on Pd-0.40-2 on Mac OS X:
>
> <bind.pd>
> I think the bug is that if it is triggered by user clicks, it works  
> fine, but if it is triggered in a patch, then it crashes.
>
> .hc
>
> On Nov 6, 2007, at 3:58 AM, Enrique Erne wrote:
>
>> menuclose from within a patch crashes extended but it works in  
>> vanilla pd.
>>
>>
>> On Die Nov  6  4:24 , marius schebella  sent:
>>
>>> I think that causes pd to crash. you have to send the message to some
>>> parent patch, together with the name of the patch, that should be
>>> closed, and do the menuclose from there with a dalay 0.
>>> marius.
>>>
>>> Hans-Christoph Steiner wrote:
>>>> I just thought of a very useful reason to be able to use [menuclose
>>>> ( to close the current patch.  If we replace things like the find
>>>> panel, preferences, etc with pd patches, then they should be able to
>>>> close themselves so you can do things like bind Return/Enter to "OK"
>>>> and Esc to "Cancel".
>>>>
>>>> Has anyone found a way to do this?
>>>>
>>>> .hc
>>>>
>>>> -------------------------------------------------------------------- 
>>>> ----
>>>> ----
>>>>
>>>> If nature has made any one thing less susceptible than all others of
>>>> exclusive property, it is the action of the thinking power called an
>>>> idea, which an individual may exclusively possess as long as he  
>>>> keeps
>>>> it to himself; but the moment it is divulged, it forces itself into
>>>> the possession of everyone, and the receiver cannot dispossess
>>>> himself of it.            - Thomas Jefferson
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> PD-list at iem.at mailing list
>>>> UNSUBSCRIBE and account-management ->  
>>>> http://lists.puredata.info/listinfo/pd-list
>>>>
>>>
>>>
>>> _______________________________________________
>>> PD-list at iem.at mailing list
>>> UNSUBSCRIBE and account-management ->  
>>> http://lists.puredata.info/listinfo/pd-list
>>
>
>
>
> ----------------------------------------------------------------------- 
> -----
>
> Man has survived hitherto because he was too ignorant to know how to  
> realize his wishes.  Now that he can realize them, he must either  
> change them, or perish.    -William Carlos Williams
>
>


More information about the Pd-list mailing list