On 9/1/23 10:33 AM, Peri Didaskalou wrote:
-------- Forwarded Message --------
From: - Fri <>, 34 GMT <>
X-Mozilla-Status: 1011
X-Mozilla-Status2: 00800000
Message-ID: <[email protected]>
Date: Fri, 1 Sep 2023 13:28:33 -0400
MIME-Version: 1.0
User-Agent: Thunderbird Daily
Subject: Re: [cmucl-help] -edit and -slave switch options vital
for Hemlock
To: Raymond Toy <[email protected]>
References: <[email protected]>
<[email protected]>
Content-Language: en-US
From: Peri Didaskalou <[email protected]>
In-Reply-To: <[email protected]>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
On 9/1/23 10:14, Raymond Toy wrote:
On 8/31/23 1:17 PM, Peri Didaskalou wrote:
Hello All,
Pardon my ignorance, mainly due to my not being interested in making
use of Hemlock until now; but, was the first, pre-snapshots version
of 21d,
as per the cmucl-user manual of Dec.2018, the last version of cmucl
which still had the -edit and -slave switch options?
Hemlock also looks for the binary 'cmucl' for compilation. At
first, I thought I was on my way, when I created a 'cmucl' copy of
the 'lisp' binary in /bin.
Of course, that was only the superficial issue. CMUCL hasn't had
these two switches, -edit and -slave, for a few years, it seems.
Sorry for the delay!
You’re right. I’m not a Hemlock user, but the Hemlock user manual
<https://cmucl.org/docs/hem/user/hemlock-user.html#edit_002dswitch>
says -edit and -slave should exist.
However, I tried 18c (the oldest that will run on my computers), and
|lisp file.txt -edit| doesn’t recognize the -edit option. In fact,
the only recognized options are -quiet, -load, and -eval.
I’m not sure exactly what these switches are really supposed to do;
I’ve only tried running hemlock via |(ed)| after starting lisp.
Not a problem!
Without a functional -slave ability/switch Hemlock, being a lisp
program, can't spawn a secondary lisp for compiling. One has to exit,
compile-file and return with (ed "file").
I’ll have to do some digging into what these things actually did. For
whatever reason, they’ve been gone from cmucl since at least 18c
(released sometime before 2004-10) so they’ve been gone for a long
time. I don’t know why; it will take some time to figure out when they
were last available and what they actually did. In the meantime, I’ve
file a bug <https://gitlab.common-lisp.net/cmucl/cmucl/-/issues/260> for
this. Feel free to comment on it.
Or one has to compile in another shell terminal, in a separate lisp
session.
I really started enjoying using Hemlock, once I learned to stop
crashing it by pressing and holding arrow keys. I also really like the
built-in context-sensitive help features.
You should report that crashing bug too. No promises on getting that
fixed, though. :-)
Thanks for pointing out 18c. Although, I think I might see if
Hemlock, running with the most current snapshot, might yield some
benefits as a customized editor.
Of course, I also use cmucl in Emacs/SLIME, with paredit, company,
etc. There are times when I need to compile or use SBCL in Emacs, for
certain packages.
At the same time I like also running cmucl in Hemlock, and/or cmucl in
another fancy terminal/shell that I can copy/paste to/from.
Feel free to file bugs for Hemlock. No promises if they’ll get fixed,
but if we don’t know, they can’t possibly be corrected!
Peri
_______________________________________________
cmucl-help mailing list
[email protected]
https://lists.zs64.net/mailman/listinfo/cmucl-help
_______________________________________________
cmucl-help mailing list
[email protected]
https://lists.zs64.net/mailman/listinfo/cmucl-help
_______________________________________________
cmucl-help mailing list
[email protected]
https://lists.zs64.net/mailman/listinfo/cmucl-help
_______________________________________________
cmucl-help mailing list
[email protected]
https://lists.zs64.net/mailman/listinfo/cmucl-help