On Jun 1, 2009, at 8:24 PM, Jonathan Wilkes wrote:


Thanks, I've got a "Frankenstein" version working. I had to create
a "lib" folder and put the tcl/tk folders in it because it's not
finding mingw/lib, and I had to copy stuff from pd/obj into pd/bin
manually.

Yeah, that's part of the final packaging process, normally.

Here's the settings I'm trying in g_editor.c:
#define XTOLERANCE 18
#define YTOLERANCE 17
#define NHIST 35

This gives reasonable results, certainly better than the defaults.
X and YTOLERANCE are still low enough that vertical selections stay
vertical, and horizontal ones stay horizontal (unless the objects
overlap, which they shouldn't in the first place.).

NHIST sets the minimum vertical distance between logical groups of
objects.  It's normally 15, so if there's more than 15 pixels
separating the bottom of one object from the top of another, it
won't line them up vertically.  Obviously I like to "tidy up" one
group at a time, but maybe these should be customizable...

Would be nice to have a keyboard shortcut for this in the future
(CTRL+Y?)

I would definitely be nice to have a more functional tidy function. I was just thinking, if this was implemented on the Tcl side, then it would be much easier for people to modify or replace. No build environment needed, just edit pd.tk. Plus in Pd-devel already can load "startup.tcl" files to add/modify the GUI.

.hc




-Jonathan

--- On Mon, 6/1/09, Hans-Christoph Steiner <h...@at.or.at> wrote:

From: Hans-Christoph Steiner <h...@at.or.at>
Subject: Re: [PD] Tidy question
To: "Jonathan Wilkes" <jancs...@yahoo.com>
Cc: pd-list@iem.at
Date: Monday, June 1, 2009, 6:13 PM

On May 29, 2009, at 5:32 PM, Jonathan Wilkes wrote:




--- On Fri, 5/29/09, Hans-Christoph Steiner <h...@at.or.at>
wrote:

From: Hans-Christoph Steiner <h...@at.or.at>
Subject: Re: [PD] Tidy question
To: "Jonathan Wilkes" <jancs...@yahoo.com>
Cc: pd-list@iem.at
Date: Friday, May 29, 2009, 4:37 PM

On May 29, 2009, at 4:17 AM, Jonathan Wilkes
wrote:




--- On Thu, 5/28/09, Hans-Christoph Steiner
<h...@at.or.at>
wrote:

From: Hans-Christoph Steiner <h...@at.or.at>
Subject: Re: [PD] Tidy question
To: "Jonathan Wilkes" <jancs...@yahoo.com>
Cc: pd-list@iem.at
Date: Thursday, May 28, 2009, 4:06 PM

Sounds worth trying, I haven't
myself.  We've
recently
done some work on the whole MinGW build
environment and docs
so it should be relatively straightforward
to get
going.  If you just want to build Pd,
then
its much
easier.  Most of the build
environment setup
is for all
the libs, which Pd itself doesn't need.

http://puredata.info/docs/developer/mingw

I don't understand the final step under the
heading
"Building
Pd-extended with MinGW".  Am I supposed
to be in
a msys shell
or cygwin?  Because the "svn" command
only works
in cygwin.

The final step is to get the whole source tree
for
Pd-extended then
build just Pd (not the whole package).  The
'svn' part
can be run in
Cygwin.  You can install a MSYS svn or you
can add
Cgywin to the path
(last, so the MSYS always task precedence) then
you can use
the Cygwin
svn in MSYS.  The "make -f makefile.mingw"
must be run
in MSYS.

.hc

Ok, now I'm building in msys but getting the
mysterious message:
make: *** No rule to make target
`/usr/include/stdlib.h', needed by
`g_canvas.o'.  Stop.

I'm using your mingw installation, and stdlib.h
definitely exists.
Any ideas on why it's not pointing to the right
place?

Try deleting "makefile.dependencies" :

http://lists.puredata.info/pipermail/pd-dev/2007-12/010313.html

.hc




-Jonathan





-Jonathan


.hc

On May 28, 2009, at 12:00 AM, Jonathan
Wilkes
wrote:


Hi list,
       Has
anyone ever tried
increasing the values for XTOLERANCE and
YTOLERANCE in g_editor.c to improve
the
usefulness of
"Tidy Up"?

Like maybe jacking both values up to
14, for
example?  Currently,
objects have to be within 4 vertical
or 3
horizontal
pixels of each
other for "tidy up" to do anything at
all.

I would try it myself but I'm on
windows and
haven't
yet investigated
the whole build process.

Thanks,
Jonathan





_______________________________________________
Pd-list@iem.at
mailing list
UNSUBSCRIBE and account-management
-> http://lists.puredata.info/listinfo/pd-list





----------------------------------------------------------------------------

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













----------------------------------------------------------------------------

"It is convenient to imagine a power beyond us because that
means we
don't have to examine our own lives.", from "The Idols
of
Environmentalism", by Curtis White











----------------------------------------------------------------------------

If you are not part of the solution, you are part of the problem.



_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to