<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Sep 21, 2009, at 9:45 PM, András Murányi wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><br><br><div class="gmail_quote">2009/9/17 Hans-Christoph Steiner <span dir="ltr">&lt;<a href="mailto:hans@at.or.at">hans@at.or.at</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div><div></div><div class="h5"><br> On Sep 16, 2009, at 7:46 PM, András Murányi wrote:<br> <br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> BTW, I have a dream which is that the console is tabbed, and the default tab displays system messages, while for each [print PREFIX] a new tab is opened. That way messages get separated by PREFIX. It's just a silly dream, forget it ;op<br> </blockquote> Tabs in the Pd window would be very nice indeed. &nbsp;Someone just needs to code it. :-D<br> .hc<br> </blockquote></blockquote> <br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> I made up the tabs, but I don't want to brute-regex every message so I need to catch where [print] generates user-made messages.<br> </blockquote> <br> OK... It seems it is well buried in the C side. If I'm right, user<br> messages are composed by print_anything() in x_interface.c which gives<br> post() a single string which calls dopost() which finally calls<br> pdtk_post in pdwindows.tcl.<br> I see no much chance to supply additional information to the tcl side, do you?<br> </blockquote> <br> <br></div></div> Great start! &nbsp;Tcl's a bit weird, but you can do a lot with a few lines of code.<br> <br> Sounds like you got it right. &nbsp;I think you'll have to brute regex it in pdtk_post for this idea to work. &nbsp;But since its a plugin, I think its ok if its a bit heavy since it can be easily disabled.<br> <br> I think the easiest thing to do here would be to create your own ::pdwindow::pdtk_post and then use the 'rename' command to swap yours in for the standard one.<br> </blockquote></div><br>Hello HC,<br><br>i'm assembling regex for filtering out system messages and i have a problem, which is that $::pd_path and $::startup_libraries are empty on startup, they only get loaded when path or startup is modified. Can you help this from the C side?</blockquote><br></div><div>I was actually planning a little hack for this release, then it can be changed later to something better. &nbsp;But this weekend, I plan on making it so that the GUI requests the path and startup panels so that it gets the info, but it doesn't show the dialog panels the first time.</div><div><br></div><div>.hc</div><br><div apple-content-edited="true"> <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>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://at.or.at/hans/">http://at.or.at/hans/</a></div><br class="Apple-interchange-newline"></span></span> </div><br></body></html>