[PD-dev] verbose(), sys_verbose, and recommended practice

Miller Puckette mpuckett at imusic1.ucsd.edu
Fri Mar 5 07:08:33 CET 2010


My intent was to have sys_verbose set when you needed extra output to debug
a patch (in particular, figuring out why files didn't get found along
search paths).  But I think any sort of "advice" message could be put on 
the sys_verbose flag... including some that aren't in Pd vanilla at the
moment.

cheers
Miller

On Thu, Mar 04, 2010 at 07:07:04PM -0500, Hans-Christoph Steiner wrote:
> 
> Hey Martin,
> 
> I think this would be a good question for pd-dev, hope you don't mind  
> that I forwarded it there:
> 
> On Mar 4, 2010, at 2:10 PM, <martin.peach at sympatico.ca> 
> <martin.peach at sympatico.ca > wrote:
> 
> >
> >Hi Hans,
> >
> >Thanks for pointing this out. I guess the new recommended practice  
> >is to use
> >    if (sys_verbose) post()
> >for non-essential messages, and pd_error() for problems?
> >If so I guess I should make my externals consistent with that.
> >
> >Martin
> >
> >----------------------------------------
> >>From: hans at at.or.at
> >>To: martin.peach at sympatico.ca
> >>Subject: verbose mode
> >>Date: Thu, 4 Mar 2010 11:49:01 -0500
> >>
> >>
> >>Hey Martin,
> >>
> >>I just saw this check-in. Do you know about the sys_verbose in
> >>s_stuff.h and verbose() in m_pd.h? Its the global built-in stuff for
> >>verbosity. IOhannes has been trying to make it more useful, but it is
> >>somewhat useful now.
> >>
> >>.hc
> >>
> >>
> >>>----------------------------------------------------------------------
> >>>
> >>>Message: 1
> >>>Date: Tue, 02 Mar 2010 17:44:37 +0000
> >>>From: mrpeach at users.sourceforge.net
> >>>Subject: [PD-cvs] SF.net SVN: pure-data:[13193]
> >>>trunk/externals/mrpeach/net
> >>>To: pd-cvs at iem.at
> >>>Message-ID:
> >>>Content-Type: text/plain; charset=UTF-8
> >>>
> >>>Revision: 13193
> >>>http://pure-data.svn.sourceforge.net/pure-data/?rev=13193&view=rev
> >>>Author: mrpeach
> >>>Date: 2010-03-02 17:44:36 +0000 (Tue, 02 Mar 2010)
> >>>
> >>>Log Message:
> >>>-----------
> >>>Added a verbosity method to stop [tcpclient] printing in the main
> >>>window every time it connects/disconnects.
> >>>Updated the help patch to match.
> >>>
> >>>Modified Paths:
> >>>--------------
> >>>trunk/externals/mrpeach/net/tcpclient-help.pd
> >>>trunk/externals/mrpeach/net/tcpclient.c
> >>>
> >>>
> >>>This was sent by the SourceForge.net collaborative development
> >>>platform, the world's largest Open Source development site.
> >>
> >>
> >>
> >>----------------------------------------------------------------------------
> >>
> >>News is what people want to keep hidden and everything else is
> >>publicity. - Bill Moyers
> >>
> >>
> >		 	   		
> 
> 
> 
> ----------------------------------------------------------------------------
> 
> There is no way to peace, peace is the way.       -A.J. Muste
> 
> 
> 
> _______________________________________________
> Pd-dev mailing list
> Pd-dev at iem.at
> http://lists.puredata.info/listinfo/pd-dev




More information about the Pd-dev mailing list