<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>I am not a big fan of the ~backup files either (and just turned that off) but I do not completely agree on the SVN front. SVN certainly has its problems but there are some really nice clients available for OS X (e.g., Cornerstone <a href="http://www.zennaware.com/)">http://www.zennaware.com/)</a>. It works even without a SVN server. You can just make a local repository and still get all the benefit from version control. Of course, you could do most of this with command line SVN built into OS X but some of these systems have nice interactive features. For instance, if I change a file in CCL and command tab to Cornerstone it already shows the the modified files and even a side by side diff. In that sense CCL and version control already feel very connected.</div><div><br></div><div>With version control there is not a huge need for backup files. I do agree, however, it would be nice to have that separate folder collecting backups. Perhaps these backup files would automatically be deleted after n days.</div><div><br></div><div>Alex</div><div><br></div><div><br></div><br><div><div>On Aug 5, 2009, at 2:50 PM, Ron Garret wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>I wanted to change the way Hemlock stores backups.  I like having  <br>backups, but I don't like having them stored with the emacs convention  <br>of appending a twiddle to the file name.  (I'd rather have them stored  <br>in a hidden directory where I can get to them if I need them but they  <br>aren't in my face every time I look at a directory.  I'm a bit of a  <br>neat freak.)<br><br>While wandering through the sources I found this intriguing bit of  <br>code in cocoa-editor.lisp:<br><br>(defun write-hemlock-backup-file (url)<br>   (unless (%null-ptr-p url)<br>     (when (#/isFileURL url)<br>       (let* ((path (#/path url)))<br>         (unless (%null-ptr-p path)<br>           (let* ((newpath (#/stringByAppendingString: path #@"~"))<br>                  (fm (#/defaultManager ns:ns-file-manager)))<br>             ;; There are all kinds of ways for this to lose.<br>             ;; In order for the copy to succeed, the destination  <br>can't exist.<br>             ;; (It might exist, but be a directory, or there could be<br>             ;; permission problems ...)<br>             (#/removeFileAtPath:handler: fm newpath +null-ptr+)<br>             (#/copyPath:toPath:handler: fm path newpath +null-ptr <br>+)))))))<br><br>The reason it's intriguing is that quite a bit of effort seems to have  <br>been made to accept a URL as an argument, as opposed to accepting a  <br>file name, or simply converting the URL to a file name and calling  <br>COPY-FILE.  All this to me strongly hints at the possibility of using  <br>the IDE to edit source files that are stored in places other than the  <br>local file system.  Like, say, a RESTful web-based file store.  Like,  <br>say, a remote SVN repository.  (Well, maybe not SVN because SVN  <br>sucks ;-) but you can connect the dots.)<br><br>I would think that having an IDE whose editor was closely coupled with  <br>a revision control system would be a Cool Thing (tm).  It would  <br>significantly reduce the barriers to working on collaborative  <br>projects.  Might get people's attention.  Might be the sort of thing  <br>that those clever folks at Clozure might have already thought of.<br><br>So... is the fact that write-hemlock-backup-file takes a URL as its  <br>argument just a tease, or is something like this already on someone's  <br>agenda?<br><br>rg<br><br>_______________________________________________<br>Openmcl-devel mailing list<br><a href="mailto:Openmcl-devel@clozure.com">Openmcl-devel@clozure.com</a><br>http://clozure.com/mailman/listinfo/openmcl-devel<br></div></blockquote></div><br><div apple-content-edited="true"> <span class="Apple-style-span" style="font-size: 12px; "><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></body></html>