[PD] Alias an internal with an abstraction

cyrille henry ch at chnry.net
Fri Feb 12 21:36:02 CET 2010



Jonathan Wilkes a écrit :
> 
> --- On Fri, 2/12/10, Roman Haefeli <reduzierer at yahoo.de> wrote:
> 
>> From: Roman Haefeli <reduzierer at yahoo.de>
>> Subject: Re: [PD] Alias an internal with an abstraction
>> To: "Jonathan Wilkes" <jancsika at yahoo.com>
>> Cc: pd-list at iem.at
>> Date: Friday, February 12, 2010, 10:21 AM
>> On Fri, 2010-02-12 at 09:40 +0100,
>> Roman Haefeli wrote:
>>> On Thu, 2010-02-11 at 18:39 -0800, Jonathan Wilkes
>> wrote:
>>>> Hi Andrew,
>>>>
>>>> Thanks, but that doesn't help so much with with
>> the max to pd conversion. If I made it an external, I would
>> be able to use it to 
>>>> replace the internal, right?
>>> I _think_ that this is not possible with Pd <=
>> current versions.
>>
>> To correct myself: Since 0.42 or so there is way for
>> externals to
>> override internals.
>> Personally I find it was wrong to implement this 'feature'
>> without
>> providing a mechanism for a patch to protect it from using
>> externals
>> that override internals. This really can make debugging
>> hard and writing
>> portable patches impossible.
>>
>> IIRC, there is even a documented case on the list, where
>> someone posted
>> a patch, that was working only on some computers because a
>> slight
>> difference between Pd's [wrap] and zexy's [wrap] and only
>> on *some*
>> machines zexy was installed and did override Pd's internal
>> [wrap].
> 
> Isn't this is a problem with the way libraries have loaded by 
> default in Pd-ext (I think there's been a long thread about that but 
> I haven't followed it)?  I don't know much about zexy's [wrap], but this 
> seems a documentation issue rather than a bug-- whether it's at load 
> time or in the docs, at some point zexy needs to say, "Greetings, 
> gentleman.  All your [wrap] are belong to us."  Or maybe Pd needs to 
> say "All my [wrap] are belong to zexy."
well, that is curently almost what happend.
pd say somthing like :

warning: class 'wrap' overwritten\; old one renamed 'wrap_aliased'

but i suspect that very few peoples care about what pd say at startup....

Cyrille


> If I have a bunch of objects in folder "maxwise-abs," and I tell Pd 
> to add that folder to the path, it is extremely likely (99%) that I want 
> the abstraction to take precedence over the internal.  (Granted I 
> currently only have one object in that folder but I just started...)
> 
> -Jonathan
> 
>> 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
> 




More information about the Pd-list mailing list