Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id AAAB79FA373 for ; Thu, 14 Dec 2006 17:34:21 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-new, port 10024) with ESMTP id 03458-07 for ; Thu, 14 Dec 2006 17:34:14 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 7062E9FA344 for ; Thu, 14 Dec 2006 17:34:17 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id kBELY6Sp025333; Thu, 14 Dec 2006 16:34:06 -0500 (EST) To: Scott Marlowe cc: josh@agliodbs.com, pgsql-docs@postgresql.org, Bruce Momjian , Peter Eisentraut , "Joshua D. Drake" , David Fetter , Guillaume Lelarge Subject: Re: Authoring Tools WAS: Switching to XML In-reply-to: <1166131397.3243.181.camel@state.g2switchworks.com> References: <200612131714.kBDHEI800289@momjian.us> <200612141258.44479.josh@agliodbs.com> <1166131397.3243.181.camel@state.g2switchworks.com> Comments: In-reply-to Scott Marlowe message dated "Thu, 14 Dec 2006 15:23:17 -0600" Date: Thu, 14 Dec 2006 16:34:06 -0500 Message-ID: <25332.1166132046@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200612/156 X-Sequence-Number: 4079 Scott Marlowe writes: > On Thu, 2006-12-14 at 14:58, Josh Berkus wrote: >> It would be more accurate to say that we have not identified a WYSWYG tool >> which does not mess up the source. There may be one, it would just take a >> fair amount of testing to find it. > Is this strictly a question of indentation, or one of actually mangling > tags and such? What we need is something that does not change regions of the file that the user did not intend to modify. I think horizonal-white-space-only changes could be worked around if the user is careful to use diff --ignore-space-change when submitting the patch, but I suspect that an editor that thinks it can mangle whitespace will also figure that it can change line boundaries, and then diff will never be able to extract any signal from that noise. regards, tom lane