begin quoting [EMAIL PROTECTED] as of Sun, Jun 04, 2006 at 01:00:41PM -0700: [snip] > Seriously, I can't be the first person to think of this idea. > Couldn't we avoid all this by just storing code in some neutral > format that allowed viewing in multiple formats? You like braces? > Fine, just set your editor.conf file to add them. You like > foobar? Fine, open up editor.conf again.... > > When you *save* code it goes back to the neutral format.
This has been suggested. XML is typically the 'neutral' format suggested. I don't think it would work. For people who don't use whitespace as syntax, whitespace is often used as a sort of documentation. Like things are aligned. Serious breaks of indentation are done for a reason (I tend to use breaks to column 0 as a flag for debug/stubbed code, for example.) that cannot be recorded in the 'neutral' format. People will no doubt prefer to work in the 'neutral' format anyway, over time. "What I see is what I have" is not an uncommon desire. -- _ |\_ \| -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
