[ic] table-organise question/gripe

Mike Heins mike at perusion.com
Tue Oct 25 00:39:12 EDT 2005


Quoting Peter (peter at pajamian.dhs.org):
> On 10/24/2005 07:05 PM, Mike Heins wrote:
> >Quoting Peter (peter at pajamian.dhs.org):
> >
> >>I'd like to be able to use table-organise with the rows attribute but 
> >>without the table attribute, unfortunately the code for table-organise 
> >>explicitly does not allow this and has a line added in to prevent it. 
> >>Any particular reason why this is the case?
> >
> >
> >I don't know why I did that -- or even if I did, because while I wrote
> >the tag originally there have been others working on it.
> >
> >I would think we could change it to:
> >
> >     $opt->{table} = ' ' if ! $opt->{table} and ! $opt->{no_table};
> 
> There's a nother bug when using the rows and columnize attributes 
> together (in order to be able to line up images and text across the 
> table).  The last row gets messed up if there's not an even number of 
> cell blocks (for lack of a better term) in it.

"Messed up" is really not enough of a problem description for me to call
something a bug, and I would argue the first was not necessarily a bug
at all as we have not considered all the ramifications of why the table
parameter was implied. Even if there is not a reason, it would seem to
be better called a deficiency.

Have you considered ramifications of your second "bug fix"? And what
is the problem with not supplying the empty table cell on the end
of the row?

> 
> Here's a diff that includes both referenced bug fixes (probably suffers 
> from word-wrap so best to implement manually)...

I guess you are using [table-organize] only for columnization? There
doesn't seem to be a reason to use it otherwise if you know the exact
size....

-- 
Mike Heins
Perusion -- Expert Interchange Consulting    http://www.perusion.com/
phone +1.765.647.1295  tollfree 800-949-1889 <mike at perusion.com>

Unix version of an Outlook-style virus:
It works on the honor system. Please forward this message to everyone
you know, and delete a bunch of your files at random.


More information about the interchange-users mailing list