<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>IMHO, it's a mistake to put code in files at all, especially Lisp code. Lisp code isn't text, it's a data structure. It belongs in a database, not a file. The idea that code consists of lines of text is a leftover from the days when code resided on punched cards.</div><div><br></div><div>rg<br><div><br></div><div><br><div><div>On Jun 22, 2009, at 10:50 AM, Dan Weinreb wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"> <div text="#000000" bgcolor="#ffffff"> Any approach that involves storing data in a separate file<br> runs into problems when someone tries to move the file,<br> rename the file, mail the file, back up the file, compress<br> the file, put the file into an archive file, and so on.<br> -- Dan<br> <br> Glen Foy wrote: <blockquote type="cite" cite="mid:71F0A1DE-C8A9-4BA9-8DAF-686E60BD9B4C@clairvaux.org"> <pre wrap="">On Jun 20, 2009, at 12:44 PM, Gail Zacharias wrote:
</pre> <blockquote type="cite"> <pre wrap="">Yeah, here's the thing... The API can easily provide any number of
functions such as save/load-buffer-as-html or save/load-buffer-as-
rtf or save/load-buffer-in-home-baked-format-with-font-info-encoded-
in-lisp-comments or whatever, stuff like that would be trivial to
write. The problem is that it's not clear to me what Hemlock should
actually do to save the attributes, given the reality of living in a
unix file system. Any thoughts?
</pre> </blockquote> <pre wrap=""><!---->
If we are just talking about Hemlock as a source code editor, it may
not be necessary or even desirable to distribute styled files.
Everyone has their own idea of what source code should look like anyway.
From that point of view, the styling information could be stored in
an associated invisible file and distributed or not distributed as the
author saw fit. When hacking, Hemlock would look for the associated
file, using it if it was there. This would be a simple solution.
People may, however, want to use Hemlock for other purposes. In which
case the two file approach is not so good.
This issue clearly needs some brainstorming.
Openmcl-devel mailing list
<a href="mailto:Openmclfirstname.lastname@example.org" class="moz-txt-link-abbreviated">Openmclemail@example.com</a>
<a href="http://clozure.com/mailman/listinfo/openmcl-devel" class="moz-txt-link-freetext">http://clozure.com/mailman/listinfo/openmcl-devel</a>
</pre> </blockquote> </div> _______________________________________________<br>Openmcl-devel mailing list<br><a href="mailto:Openmclfirstname.lastname@example.org">Openmclemail@example.com</a><br>http://clozure.com/mailman/listinfo/openmcl-devel<br></blockquote></div><br></div></div></body></html>