<div dir="ltr"><div>Thanks IO that's (again) a really nice work!</div><div><br></div><div>Everything works as expected here. I agree "paste replace" could take place of "paste".</div><div><br></div><div>Something I find slightly disturbing (which is caused by changes motivated by inserting/bypassing features): now, selecting a connection doesn't deselect previously selected objects anymore, so when you press "Del" key to remove the connection these objects are also destroyed. Maybe the patcher could only remove the connection in such case (e.g when the connection was last selected)?</div><div><br></div><div>Anyway I think we will all have to get used to these new features before we can take full advantage of them, but indeed it's worth the effort!<br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><font face="arial, helvetica, sans-serif"> Antoine Rousseau </font></div><div dir="ltr"><font face="arial, helvetica, sans-serif">  <a href="http://metalu.net" target="_blank">http://www.metalu.net</a> __ <a href="http://www.metaluachahuter.com/compagnies/al1-ant1/" target="_blank">http://www.metaluachahuter.com/</a><br><br></font></div></div></div></div></div></div>
<br><div class="gmail_quote">2018-07-13 13:43 GMT+02:00 Liam Goodacre <span dir="ltr"><<a href="mailto:liamg_uw@hotmail.com" target="_blank">liamg_uw@hotmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="ltr">
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Oh wow, these look great. Many thanks for working on this. It's going to make things so much easier!<br>
</div>
<hr style="display:inline-block;width:98%">
<div id="m_-2379450725227758583divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> Pd-list <<a href="mailto:pd-list-bounces@lists.iem.at" target="_blank">pd-list-bounces@lists.iem.at</a>> on behalf of IOhannes m zmölnig <<a href="mailto:zmoelnig@iem.at" target="_blank">zmoelnig@iem.at</a>><br>
<b>Sent:</b> 12 July 2018 12:01<br>
<b>To:</b> <a href="mailto:pd-list@lists.iem.at" target="_blank">pd-list@lists.iem.at</a><br>
<b>Subject:</b> [PD] more intelligent patching (was Re: intelligent patching)</font>
<div> </div>
</div><div><div class="h5">
<div class="m_-2379450725227758583BodyFragment"><font size="2"><span style="font-size:11pt">
<div class="m_-2379450725227758583PlainText">the summer update...<br>
<br>
TL;DR: <a href="https://vimeo.com/album/5289665/video/279631360" target="_blank">https://vimeo.com/album/<wbr>5289665/video/279631360</a><br>
<br>
I've implemented a few more features in my "intelligent patching"<br>
pull-request [374], that might make patching easier.<br>
<br>
so what's new:<br>
<br>
- everything is undoable.<br>
 - single actions can be undo with a single undo (e.g. if you've<br>
"intelligently" connected an outlet to all inlets of an object (or<br>
rather not so intelligently, as you want to undo that), doing a <Ctrl>-Z<br>
will no longer only undo the connection to the first inlet, but all<br>
connections in one go.<br>
<br>
- inserting an object into an existing connection<br>
 (similar to what Max8 offers, but without wobbly lines and using a<br>
keystroke rather than mouse foo)<br>
 - select an object and a connection; and press <Ctrl>-k<br>
 - OR select two connected objects and one object that is not; and press<br>
 <Ctrl>-k<br>
- bypassing an object (removing it from a connection)<br>
 - select 3 objects that are connected in a chain; and press <Ctrl>-k<br>
<br>
- completely disconnect an object<br>
 - select 1 object; and press <Ctrl>-k<br>
<br>
- swap connections<br>
 - select one connection; shift-click another connection<br>
<br>
- paste replace<br>
 - copy (or cut) a single object (or msgbox,...); then select a number<br>
of other objects (or msgboxes) and do "Paste Replace".<br>
by default, the type of an "object" will not be changed (so if you try<br>
to paste/replace a msgbox onto a floatatom, it will be ignored)...unless<br>
your selection only contains a single type (e.g. objectboxes).<br>
right now "paste/replace" is a separate menu entry (without keyboard<br>
accelerator). i wonder whether it would make sense to merge it into the<br>
ordinary "paste" <Ctrl>-v (as you need to have a copybuffer that only<br>
contains a single element *and* elements must be selected in the target<br>
canvas; so the paste/replace is pretty well guarded)<br>
<br>
- pasting with offset<br>
 - if the position of the pasted objects (really only the first object<br>
in the paste-buffer) is already occupied by an object, the paste will<br>
get an offset (as with duplicate).<br>
<br>
- autopatching into subpatches<br>
 - when autopatching is turned on and you create a subpatch ([pd ...]),<br>
the subpatch will automatically obtain an inlet (or inlet~, if the<br>
upstream object has a signal outlet~), so you can keep autopatching.<br>
<br>
that's probably it.<br>
thanks to Alex, Dan, José & Liam for more inspirational ideas.<br>
<br>
of course this is just a pull request, so we depend on miller to merge<br>
it into the "master" branch :-)<br>
<br>
mgfdsr<br>
IOhannes<br>
<br>
[374] <a href="https://github.com/pure-data/pure-data/pull/374" target="_blank">https://github.com/pure-data/<wbr>pure-data/pull/374</a><br>
<br>
</div>
</span></font></div>
</div></div></div>

<br>______________________________<wbr>_________________<br>
<a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">https://lists.puredata.info/<wbr>listinfo/pd-list</a><br>
<br></blockquote></div><br></div>