<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<div><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: 12.0px Helvetica">Oops, one other detail with the "encode" proc.  While namespaces are probably the current way to handle function names, they are not used for any other functions in u_main.tk  So for this function, I think it should be called something like pdtk_encodelist without the namespace, then grouped with pdtk_encode.  Something like this:</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: 12.0px Helvetica">proc pdtk_encodelist {listdata} {</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: 12.0px Helvetica"><span class="Apple-tab-span" style="white-space:pre">        </span>set outlist {}</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: 12.0px Helvetica"><span class="Apple-tab-span" style="white-space:pre">        </span>foreach this_path $listdata {</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: 12.0px Helvetica"><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span>if {0==[string match "" $this_path]} {</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: 12.0px Helvetica"><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span>lappend outlist [pdtk_encodedialog $this_path]</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: 12.0px Helvetica"><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span>}</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: 12.0px Helvetica"><span class="Apple-tab-span" style="white-space:pre">        </span>}</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: 12.0px Helvetica"><span class="Apple-tab-span" style="white-space:pre">        </span>return $outlist</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: 12.0px Helvetica">}</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: 12.0px Helvetica">Then perhaps namespaces can be introduced later as a more systematic approach.</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: 12.0px Helvetica">.hc</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; min-height: 14px; "><br></div><div><div>On May 11, 2008, at 3:15 PM, Hans-Christoph Steiner wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"> <div><br></div><div>I just thought of one other thing:  I think it would be very useful if Path, Startup, Audio Settings, and MIDI settings where all tabs in one panel, instead of four separate panels.</div><div><br></div><div>.hc</div><br><div><div>On May 11, 2008, at 1:29 PM, Hans-Christoph Steiner wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"> <div><br></div><div>Wow, what an improvement!  I like it a lot.  I have some comments:</div><div><br></div><div>- minor thing, maybe there could be less space on the sides, so the panel would be narrower?</div><div><br></div><div>- about the Apply button, I think it should only show up on platforms where it is a common thing.  On Mac OS X, it should just be OK and Cancel.  On Windows, there should be Apply.  I think GNOME has moved away from Apply, but I don't know anything about KDE.</div><div><br></div><div>- some separation of the buttons on the right column would make things clearer, I think.  Like maybe Up/Down on the right side, and then Add..., Edit..., and Delete on the bottom?  Or maybe just changing Up and Down to arrows?</div><div><br></div><div>- the startup thing is trickier.  I think that the textfield for entering values should be embedded into the panel instead of a popup.  Also, it doesn't seem to work for me (I am using 0.41-4 vanilla).  I can't add items to the list.</div><div><br></div><div>I think once this is worked out, the best plan would be to submit a patch to the tracker and assign it to Miller.  Then I'll also include it in Pd-extended.</div><div><br></div><div>.hc</div><div><br></div><div><div>On May 11, 2008, at 2:25 AM, David Golightly wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Just verified against my own install of Pd-extended-0.40.3 on OS X 10.4 - enough differences exist otherwise in the nightlies that this version of the file will only work with <a href="http://0.41.4.">0.41.4.</a><br><br>Attached is an updated (slightly bugfixed) version.<br> <br>So... what's the procedure for checking in to svn :)?<br><br>-David<br><br><br><div class="gmail_quote">On Sat, May 10, 2008 at 4:24 PM, David Golightly &lt;<a href="mailto:davigoli@gmail.com">davigoli@gmail.com</a>> wrote:<br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Well scratch that then, perhaps that will only work when you're building pd on your own machine.  If you launch Pd from Terminal, you might see error output in that terminal window - that would be helpful to have.<div> <div></div><div class="Wj3C7c"><br><br> <div class="gmail_quote">On Sat, May 10, 2008 at 3:17 PM, marius schebella &lt;<a href="mailto:marius.schebella@gmail.com" target="_blank">marius.schebella@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> I tried this with pd extended 0.40-3, but did not get a startup pref window at all and the path window was very small and empty. (os x, 10.5.)<br> marius.<br> <br> David Golightly wrote:<br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> And, here's a version with an updated Startup dialog.  Simply copy this to bin/<a href="http://pd.tk" target="_blank">pd.tk</a> &lt;<a href="http://pd.tk" target="_blank">http://pd.tk</a>> (make a backup first!) to try it out.<div> <br> <br> <br> On Sat, May 10, 2008 at 12:48 PM, David Golightly &lt;<a href="mailto:davigoli@gmail.com" target="_blank">davigoli@gmail.com</a> &lt;mailto:<a href="mailto:davigoli@gmail.com" target="_blank">davigoli@gmail.com</a>>> wrote:<br> <br> <br> <br>    On Sat, May 10, 2008 at 12:36 PM, Steffen Juul &lt;<a href="mailto:stffn@dibidut.dk" target="_blank">stffn@dibidut.dk</a><br></div><div><div></div><div>    &lt;mailto:<a href="mailto:stffn@dibidut.dk" target="_blank">stffn@dibidut.dk</a>>> wrote:<br> <br> <br>        On 10/05/2008, at 19.48, David Golightly wrote:<br> <br>            Ok, after a busy week this is what I've been able to come up<br>            with for the Path dialog.<br> <br> <br>        Looking really good! The browse functionality is a fair idiom in<br>        a such GUI as oppose to entering text, i think.<br> <br> <br>    Thanks!  I've often been kind of frustrated that I have to type in<br>    the full directory name rather than simply browsing to it.  For the<br>    keyboard-inclined, however, text entry should still be possible.<br>     <br> <br>        "One" comment: I have a beef with the functionality of the<br>        buttons. Not the Cancel one. The others. 'Apply' does something.<br>        'Ok' does 'apply' plus 'cancel'. 'Save...' does 'Apply' plus<br>        saves. But it says the list is only gonna work from next time Pd<br>        is lunched, why i don't get the 'Apply' and 'Ok'. 'Ok' should do<br>        save and cancel. Thats all one wants, anit?<br> <br> <br>    I agree.  I've preserved the pre-existing functionality for those<br>    buttons from before, but do we really need both "Save" and "Apply"?     Currently, "Save" also "saves preferences" (verbose &amp; use standard<br>    extensions).  I think that should also happen when you click<br>    "Apply", so we can do away with the "Save" button, and also make<br>    sure that the message about needing to restart PD pops up when you<br>    click "OK" or "Apply".<br>     <br> <br> <br>            I'm thinking about adapting this UI for the Startup dialog -<br>            shouldn't be hard to do - except instead of choosing<br>            directories you want to enter arbitrary text.<br> <br> <br>        I haven't checked your code but i suppose most "proc's" can be<br>        reused?<br> <br> <br>            I've set up some various key bindings so I want to make sure<br>            it seems usable for everyone.<br> <br> <br>        Nice. What are they?<br> <br> <br>    Default key bindings for the listbox widget give you "up" and "down"<br>    keys to select, I've added "Delete" to delete the current selection,<br>    and "Return" to open the browse dialog (same as pressing "Edit").<br>     <br> <br> <br>            So far I've only tested this on Mac OS X<br> <br> <br>        OS X.4 here.<br> <br> <br> <br> <br></div></div> ------------------------------------------------------------------------<div><br> <br> _______________________________________________<br> <a href="mailto:PD-list@iem.at" target="_blank">PD-list@iem.at</a> mailing list<br> UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br> </div></blockquote> <br> </blockquote></div><br> </div></div></blockquote></div><br><span>&lt;u_main.tk></span><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><a href="mailto:PD-list@iem.at">PD-list@iem.at</a> mailing list</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a></div> </blockquote></div><br><div> <span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><br class="Apple-interchange-newline"><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div><br class="khtml-block-placeholder"></div><div>----------------------------------------------------------------------------</div><div><br class="khtml-block-placeholder"></div><div>                                              <a href="http://at.or.at/hans/">http://at.or.at/hans/</a></div><br class="Apple-interchange-newline"></span></span> </div><br></blockquote></div><br><div> <span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><br class="Apple-interchange-newline"><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div><br></div><div>----------------------------------------------------------------------------<br></div><div><br class="khtml-block-placeholder"></div><div>News is what people want to keep hidden and everything else is publicity.          - Bill Moyers</div><br class="Apple-interchange-newline"></span></span> </div><br></blockquote></div><br><div> <span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><br class="Apple-interchange-newline"><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div><br class="khtml-block-placeholder"></div><div>----------------------------------------------------------------------------</div><div><br></div><div>"[W]e have invented the technology to eliminate scarcity, but we are deliberately throwing it away to benefit those who profit from scarcity."        -John Gilmore</div><br class="Apple-interchange-newline"></span></span> </div><br></body></html>