Tim, Running indent again on the same source produces more changes. It looks like some comments are getting put all the way to the right and running indent again moves them to the right some more. The man page has a comment about this. I'll see if there is anything else. Jonathan
Jonathan wrote:
Running indent again on the same source produces more changes. It looks like some comments are getting put all the way to the right and running indent again moves them to the right some more.
To successfully use indent, one has to discover a style of comments that a particular set of indent settings favors, and then convert the comments to that style. This is a big effort, big enough that it is hard to globally. It is feasible to convert a file at a time. But once we get the hang of it we can distrinute the effort. Tim
On Sunday 04 May 2003 04:01 pm, Tim Wegner wrote:
Running indent again on the same source produces more changes. It looks like some comments are getting put all the way to the right and running indent again moves them to the right some more.
To successfully use indent, one has to discover a style of comments that a particular set of indent settings favors, and then convert the comments to that style. This is a big effort, big enough that it is hard to globally. It is feasible to convert a file at a time. But once we get the hang of it we can distribute the effort.
By using the options: -nut -fca -d2, I managed to get the diff between calls to indent down to 12 KB, from 5 MB. However, fighting with indent is not on my list of things I want to do. I added a pretty option to the Makefile pretty: indent -nut -fca -d2 *.c *.h rm *.c~ *.h~ If it would work, this will make keeping the changes in the same format very easy. At least for Xfractint. Can the Gnu Make utility call the MS C compiler? Don't see why not. Jonathan
Tim,
Running indent again on the same source produces more changes. It looks like some comments are getting put all the way to the right and running indent again moves them to the right some more.
I've gone back to using the un-indented code. Made no progress with the boundary tracing problem. I've been able to make it better, but can't figure out how the various values are getting changed. Jonathan
Jonathan wrote:
Made no progress with the boundary tracing problem. I've been able to make it better, but can't figure out how the various values are getting changed.
Just got back from Ohio (my son's MFA sculpture show), so I haven't been looking at it. I'll have another look. Tim
participants (2)
-
Jonathan Osuch -
Tim Wegner