[Openmcl-devel] listener ? prompt - retrieve previously eval'd expressions?

Gary Byers gb at clozure.com
Tue Jul 5 11:45:20 PDT 2016



On 07/04/2016 04:31 PM, ◒ Simon Lucas ◒ wrote:
>
> On 4 Jul 2016, at 17:00, Ron Garret wrote:
>
>> When you say “does not seem to work” what exactly do you mean?  Does
>> it crash?  Generate an error? Do nothing?  What exactly are you doing
>> to test it?
>
> Not an error, just the option-arrow moves the insertion point up a line
>>
>> And while you’re at it, what do you mean by:
>>
>>> The '+' etc, does not work on my install.
>>
>> That is very peculiar.  Those variables are part of the CL standard.
>>  That they would “not work” is almost inconceivable.
>>
>
> Ok, I misunderstood how to use the +, ++ etc. I now see that it does
> work, it simply needs a RETURN afterwards. But you do not see what line
> is being accessed until after the eval.
>
>> Also:
>>
>>> I know the Listener is reading it because if I remove the
>>> 'in-package...' it produces an error at start-up.
>>
>> There are less radical ways to check if your ccl-ide-init file is
>> being loaded, e.g.:
>>
>> (print “CCL-IDE-INIT has been loaded”)
>
> This produces no output when I open CCL.
>
>> (setf *load-verbose* t)
>> (load “your-real-ccl-ide-init.lisp”)
>>
>
> This was helpful. I found a bug in the init file where a curly quote had
> crept in.
>
> I can now load the init file using load. I see the output of the print
> expression. Then the opt-arrow(s) work fine. But they no longer work
> when I restart CCL.
>
> This seems to tell me that the init file is not being loaded at
> start-up. I wonder – is this option somehow turned off in my install?

that ssems unlikely, as does the possibility that a file named 
"ccl-ide-init.iisp" is not loaded by the CCL IDE when such a file
is present in the user's home directory and no one but you has ever 
noticed that.

When you call LOAD, what arguments are you calling it with and what 
values are returned by that call ?
what directory is the file being loaded from?
what does the file contain?  how did the curly quote get there ?

>
> _______________________________________________
> 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