<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>
<blockquote type="cite">If any of these methods is cut, then my
patches won't work anymore - hopefully someone else's as well.</blockquote>
You are using private APIs. Nobody made a guarantee that it would
work forever.<br>
</p>
<p>That being said, we try not to change - let alone remove - those
methods unless absolutely necessary.</p>
<p>
<blockquote type="cite">but I've been using them for more than 15
years with no big issues.</blockquote>
Well, a few years ago Miller changed the [donecanvasdialog(
message. I noticed that it will break dynamic patching and asked
him to use a workaround. He was nice enough to do it. So you were
just lucky ;-)</p>
<p>Note that the messages found in Pd patch files, like [obj ...(,
are pretty stable. We can't really change them without breaking
literally all existing patches. However, anything else should
really be considered private. Particularly mnssages like [mouse(,
[mouseup(, [donecanvasdialog( are obviously internal messages sent
between Pd core and the GUI process. People just discovered them
in the source code (or by watching the GUI/Pd traffic) and started
(ab)using them for dynamic patching. The Pd extended folks
included them in their documentation, so usage became more
wide-spread. However, it was never officially supported in Pd
vanilla.<br>
</p>
<p>Christof<br>
</p>
<div class="moz-cite-prefix">On 27.11.2021 12:22, João Pais wrote:<br>
</div>
<blockquote type="cite"
cite="mid:0ec00ac1-17e7-6c98-2810-790599b19c1c@gmail.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<br>
<blockquote type="cite"
cite="mid:CAEAsFmjf8HYPQcakOhMcOrnYkO77dOTfj5jrQBOo_2jjpGKj0w@mail.gmail.com">
<meta http-equiv="content-type" content="text/html;
charset=UTF-8">
<div dir="ltr">
<div dir="ltr">Em sex., 26 de nov. de 2021 às 20:19, João Pais
<<a href="mailto:jmmmpais@gmail.com"
moz-do-not-send="true" class="moz-txt-link-freetext">jmmmpais@gmail.com</a>>
escreveu:<br>
</div>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">I don't see a mention
to these messages: mouse, mouseup, mousedown, <br>
relocate. And also all other messages related to gui
stuff.<br>
</blockquote>
<div><br>
</div>
<div>yeah, I didn't put it. It felt like something hard to
document and for more extreme cases. And now that Christof
says I should really keep out of this dark corner, I
wonder if I did right. <br>
</div>
</div>
</div>
</blockquote>
<p>I don't remember now exactly why these methods are "dangerous"
and "unofficial" (it was discussed already a lot in the list
anyway), but I've been using them for more than 15 years with no
big issues. If any of these methods is cut, then my patches
won't work anymore - hopefully someone else's as well.<br>
</p>
<p> </p>
<blockquote type="cite"
cite="mid:CAEAsFmjf8HYPQcakOhMcOrnYkO77dOTfj5jrQBOo_2jjpGKj0w@mail.gmail.com">
<div dir="ltr">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex"> It could also be
clearly mentioned that subpatches receive messages sent <br>
to pd-[subpatch], and abstractions are named
[abstraction].pd (if I'm <br>
recalling correctly) - unless there is a namecanvas used
in those.<br>
</blockquote>
<div><br>
</div>
<div>how isn't it clearly mentioned?</div>
</div>
</div>
</blockquote>
<p>The first one is mentioned in [pd Dynamic-Patching], although
it might be easier to understand if there is an example
immediately under the text. But there are enough examples of [s
pd-xxxx] in the patch anyway to deduce it.</p>
<p>The second isn't mentioned at all, the search results for
"abstraction" and ".pd" return elements in other types of
contexts.<br>
</p>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
<a class="moz-txt-link-abbreviated" href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list
UNSUBSCRIBE and account-management -> <a class="moz-txt-link-freetext" href="https://lists.puredata.info/listinfo/pd-list">https://lists.puredata.info/listinfo/pd-list</a>
</pre>
</blockquote>
</body>
</html>