[Openmcl-devel] prompt-for-file (embarrassing question)

Toomas Altosaar toomas.altosaar at fi.abb.com
Wed Mar 29 21:32:23 PDT 2017


And I spent a good half hour just two days ago on Franz's Allegro Common Lisp trying to do exactly the same!

Why? So that I could see what a pathname looked like on ACL/Windows. I felt helpless and computer illiterate / humiliated.

[My Lisp path: 1987 (Symbolics) ==> 1994 (MCL) ==> present (ahem, ... still MCL)].

While trying to get ACL to throw me up something that resembled MCL's choose-directory-dialog, I estimated that my productivity for that hour was about 100x slower than usual (which is slow to begin with). Very much out of my comfort zone.

My goal is to move to CCL one day but alas, my understanding (definitely incorrect and biased)  is that there is no comparative GUI/IDE and the learning curve is way too steep (and thus too expensive to even consider partaking in until MCL hardware breaks down).

> On 30 Mar 2017, at 4.06, Andrew Shalit <alms at clozure.com> wrote:
> 
> choose-file-dialog
> choose-new-file-dialog
> choose-directory-dialog
> 
> I always have trouble remembering their names, too.
> 
>> On Mar 29, 2017, at 8:34 PM, Laughing Water <lw at mt.net> wrote:
>> 
>> I’m embarrassed to ask, but I have failed to figure out how to successfully execute PROMPT-FOR-FILE. This is on Mac OS X 10.11.6 and using a freshly-downloaded CCL 1.11-store-r16714 from the App Store.
>> 
>> ? (in-package :hi)
>> #<Package "HI">
>> ? (prompt-for-file)
>>> Error: There is no applicable method for the generic function:
>>>        #<STANDARD-GENERIC-FUNCTION HEMLOCK-ECHO-AREA-BUFFER #x30200094AAAF>
>>>      when called with arguments:
>>>        (NIL)
>>> While executing: #<CCL::STANDARD-KERNEL-METHOD NO-APPLICABLE-METHOD (T)>, in process Listener(4).
>> 
>> I first laid my hands on MCL in 1990, have used LispWorks for over 10 years and wanted to try running some of my code in CCL. I was hoping for some instant gratification with a small piece of programming, but no success after an hour or more poring through documentation.
>> 
>> Laughing Water
>> _______________________________________________
>> Openmcl-devel mailing list
>> Openmcl-devel at clozure.com
>> https://lists.clozure.com/mailman/listinfo/openmcl-devel
> 
> _______________________________________________
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
> https://lists.clozure.com/mailman/listinfo/openmcl-devel


More information about the Openmcl-devel mailing list