<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 2010-03-31, at 2:27 PM, Raffael Cavallaro wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><br>On Mar 31, 2010, at 2:07 PM, Philippe Sismondi wrote:<br><br><blockquote type="cite">I'm going through the APIS cocoa example.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">What is CCL:LOADING-FILE-SOURCE-FILE and where might I find documentation on it?<br></blockquote><br>In general, in the cocoa ide, if you have point at a symbol, typing meta-dot (option-period) will take you to the source location. In this case it takes you to l1-utils.lisp:<br><br>(defun loading-file-source-file ()<br>  *loading-file-source-file*<br>Source for *loading-file-source-file* shows that it is initially defparametered to nil in l0-init.lisp.<br><br>An ide muti-file search on *loading-file-source-file* shows that in l1-file.lisp it is bound by %load  to the namestring of the file being loaded. It is also bound by other things as well.<br><br>hth,<br><br>Ralph<font class="Apple-style-span" color="#000000"><font class="Apple-style-span" color="#144FAE"><br></font></font></div></blockquote><br></div><div>Thanks. I am clearly still struggling with figuring out how to wend my way through the CL learning process with ccl.</div><div><br></div><div>I have learned to use meta-. to check out source code in many cases. However, in this case, I came across the use of loading-file-source-file in what is meant to be a minimal example of a CL cocoa app. I am left wondering how I would know when, why and how to use such a function. Without some external documentation it looks like a magic incantation that would not spontaneously occur to me.</div><div><br></div><div>Not that I'm against a little magic now and then ;-)</div><div><br></div><div>Best,</div><div><br></div><div>- Phil -</div></body></html>