<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I agree. It should be OK to just keep the content of a file ASCII (or unicode) and apply the styling just in time. Even Google code can do this (using Java script) at a fast enough rate. Saving would only save ASCII/unicode but one could have a Save As option including saving the styled version as RTF.<div><br></div><div>alex<br><div><br></div><div><br></div><div><br></div><div><br></div><div><br><div><div>On Jun 20, 2009, at 7:23 PM, Glen Foy wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><br>On Jun 20, 2009, at 12:44 PM, Gail Zacharias wrote:<br><blockquote type="cite"><br></blockquote><blockquote type="cite">Yeah, here's the thing...  The API can easily provide any number of  <br></blockquote><blockquote type="cite">functions such as save/load-buffer-as-html or save/load-buffer-as- <br></blockquote><blockquote type="cite">rtf or save/load-buffer-in-home-baked-format-with-font-info-encoded- <br></blockquote><blockquote type="cite">in-lisp-comments or whatever, stuff like that would be trivial to  <br></blockquote><blockquote type="cite">write.  The problem is that it's not clear to me what Hemlock should  <br></blockquote><blockquote type="cite">actually do to save the attributes, given the reality of living in a  <br></blockquote><blockquote type="cite">unix file system.  Any thoughts?<br></blockquote><br>If we are just talking about Hemlock as a source code editor, it may  <br>not be necessary or even desirable to distribute styled files.   <br>Everyone has their own idea of what source code should look like anyway.<br><br> From that point of view, the styling information could be stored in  <br>an associated invisible file and distributed or not distributed as the  <br>author saw fit.  When hacking, Hemlock would look for the associated  <br>file, using it if it was there.  This would be a simple solution.<br><br><br>People may, however, want to use Hemlock for other purposes.  In which  <br>case the two file approach is not so good.<br><br><br>This issue clearly needs some brainstorming.<br><br><br><br><br><br><br>_______________________________________________<br>Openmcl-devel mailing list<br><a href="mailto:Openmcl-devel@clozure.com">Openmcl-devel@clozure.com</a><br><a href="http://clozure.com/mailman/listinfo/openmcl-devel">http://clozure.com/mailman/listinfo/openmcl-devel</a><br></div></blockquote></div><br><div> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">Prof. Alexander Repenning</font></p><p style="margin: 0.0px 0.0px 0.0px 0.0px"><br class="khtml-block-placeholder"></p><p style="margin: 0.0px 0.0px 0.0px 0.0px">University of Colorado</p><p style="margin: 0.0px 0.0px 0.0px 0.0px">Computer Science Department</p><p style="margin: 0.0px 0.0px 0.0px 0.0px">Boulder, CO 80309-430</p><p style="margin: 0.0px 0.0px 0.0px 0.0px"><br class="khtml-block-placeholder"></p><p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">vCard: <a href="http://www.cs.colorado.edu/~ralex/AlexanderRepenning.vcf">http://www.cs.colorado.edu/~ralex/AlexanderRepenning.vcf</a></font></p><br class="Apple-interchange-newline"></span></span></span></div></span> </div><br></div></div></body></html>