[PD] Patch load path

Krzysztof Czaja czaja at chopin.edu.pl
Wed Nov 7 14:42:15 CET 2001


Krzysztof Czaja wrote (and his old mouse rushed to send button):
...
> I would rather defend the way it is now, i.e. to
...

... give precedence to the main patch location, and try other locations
only if the abstraction/external-file has not been found there.

And yes, the next search, then, _should_ start from startup directory.
The problem is, that there is no notion of a startup directory in Pd
itself, but rather, it is maintaned (as `untitled_directory' variable)
by the gui.  Thus, once the main patch is loaded, Pd knows only of this
patch's directory.

[devel] Perhaps, it would would be ok to add sys_addpath() call for
pwd, before those sys_addpath() calls, that add -path paths?

Krzysztof



More information about the Pd-list mailing list